Skip to content

Commit f554842

Browse files
committed
restructure and minor fixes
1 parent f082467 commit f554842

File tree

3 files changed

+15
-10
lines changed

3 files changed

+15
-10
lines changed
File renamed without changes.

case-summarization/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,12 @@ This plugin comes with the following reasonable defaults that can be overriden t
3838

3939
* <kbd> <br> [Launch Stack >>](https://console.aws.amazon.com/cloudformation/home#/stacks/create/review?&templateURL=https://aws-managed-cost-intelligence-dashboards-us-east-1.s3.amazonaws.com/cfn/plugins/support-case-summarization/deploy/case-summarization.yaml&stackName=CidSupportCaseSummarizationStack&param_BedrockRegion=REPLACE%20WITH%20TARGET%20REGION)  <br> </kbd>
4040

41+
42+
## Guardrail
43+
44+
See [GUARDRAIL](GUARDRAIL.md) for more information.
45+
46+
4147
## Support and Contribution
4248

4349
See [CONTRIBUTING](CONTRIBUTING.md) for more information.

case-summarization/guardail/guardrail.yaml renamed to case-summarization/deploy/guardrail.yaml

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
AWSTemplateFormatVersion: '2010-09-09'
2-
Description: AWS Bedrock Guardrail Template Stack
2+
Description: CID AWS Bedrock Guardrail Template Stack v0.0.1
33
Metadata:
44
AWS::CloudFormation::Interface:
55
ParameterGroups:
@@ -152,45 +152,45 @@ Resources:
152152
BlockedInputMessaging: !Ref BlockedInputMessage
153153
BlockedOutputsMessaging: !Ref BlockedOutputMessage
154154
ContentPolicyConfig:
155-
FiltersConfig:
156-
- !If
155+
FiltersConfig:
156+
- !If
157157
- DeploySexualContentFilter
158158
- InputStrength: !Ref SexualContentFilterInputStrength
159159
OutputStrength: !Ref SexualContentFilterOutputStrength
160160
Type: SEXUAL
161161
- !Ref AWS::NoValue
162-
- !If
162+
- !If
163163
- DeployViolentContentFilter
164164
- InputStrength: !Ref ViolentContentFilterInputStrength
165165
OutputStrength: !Ref ViolentContentFilterOutputStrength
166166
Type: VIOLENCE
167167
- !Ref AWS::NoValue
168-
- !If
168+
- !If
169169
- DeployHateContentFilter
170170
- InputStrength: !Ref HateContentFilterInputStrength
171171
OutputStrength: !Ref HateContentFilterOutputStrength
172172
Type: HATE
173173
- !Ref AWS::NoValue
174-
- !If
174+
- !If
175175
- DeployInsultsContentFilter
176176
- InputStrength: !Ref InsultsContentFilterInputStrength
177177
OutputStrength: !Ref InsultsContentFilterOutputStrength
178178
Type: INSULTS
179179
- !Ref AWS::NoValue
180-
- !If
180+
- !If
181181
- DeployMisconductContentFilter
182182
- InputStrength: !Ref MisconductContentFilterInputStrength
183183
OutputStrength: !Ref MisconductContentFilterOutputStrength
184184
Type: MISCONDUCT
185185
- !Ref AWS::NoValue
186-
- !If
186+
- !If
187187
- DeployPromptAttackContentFilter
188188
- InputStrength: !Ref PromptAttackContentFilterInputStrength
189189
OutputStrength: 'NONE'
190190
Type: PROMPT_ATTACK
191191
- !Ref AWS::NoValue
192192
WordPolicyConfig:
193-
ManagedWordListsConfig:
193+
ManagedWordListsConfig:
194194
- Type: PROFANITY
195195
Metadata:
196196
cfn-lint:
@@ -203,4 +203,3 @@ Resources:
203203
Properties:
204204
Description: Amazon Bedrock Guardrail
205205
GuardrailIdentifier: !Ref BedrockGuardrail
206-

0 commit comments

Comments
 (0)