You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: aws_sra_examples/solutions/genai/sra_guardduty_malware_protection_for_s3/templates/sra-guardduty-malware-protection-for-s3-main.yaml
+77-70
Original file line number
Diff line number
Diff line change
@@ -25,6 +25,7 @@ Metadata:
25
25
Parameters:
26
26
- pCreateNewBucket
27
27
- pS3MalwareProtectedBucketNamePrefix
28
+
- pS3AccessLogsBucket
28
29
- pKmsKeyAlias
29
30
- Label:
30
31
default: EventBridge Properties
@@ -35,81 +36,83 @@ Metadata:
35
36
Parameters:
36
37
- pSRAAlarmEmail
37
38
ParameterLabels:
38
-
pExistingBucketName:
39
-
default: Existing S3 Bucket Name
39
+
pEventRuleRoleName:
40
+
default: Event Rule Role Name
40
41
pExistingBucketKmsKey:
41
42
default: Existing S3 KMS Key ARN
42
-
pSRAAlarmEmail:
43
-
default: (Optional) SRA Alarm Email
44
-
pSRASolutionName:
45
-
default: SRA Solution Name
43
+
pExistingBucketName:
44
+
default: Existing S3 Bucket Name
46
45
pKmsKeyAlias:
47
46
default: KMS Key Alias
47
+
pS3AccessLogsBucket:
48
+
default: S3 Access Logs Bucket Name
48
49
pS3MalwareProtectedBucketNamePrefix:
49
50
default: S3 Malware Protected Bucket Name Prefix
50
-
pEventRuleRoleName:
51
-
default: Event Rule Role Name
51
+
pSRAAlarmEmail:
52
+
default: (Optional) SRA Alarm Email
53
+
pSRASolutionName:
54
+
default: SRA Solution Name
52
55
pUseExistingBucket:
53
56
default: Use Existing S3 Bucket
54
57
55
58
Parameters:
56
59
pCreateNewBucket:
57
60
AllowedValues: ['true', 'false']
58
61
Default: 'true'
59
-
Description: Create a new S3 bucket for malware protection
62
+
Description: Create a new S3 bucket
60
63
Type: String
61
-
pUseExistingBucket:
62
-
AllowedValues: ['true', 'false']
63
-
Default: 'false'
64
-
Description: Use an existing S3 bucket for malware protection
64
+
pEventRuleRoleName:
65
+
AllowedPattern: ^[\w+=,.@-]{1,64}$
66
+
ConstraintDescription: Max 64 alphanumeric characters. Also special characters supported [+, =, ., @, -].
ConstraintDescription: Bucket name can include numbers, lowercase letters,
69
-
uppercase letters, and hyphens (-). It cannot start or end with a hyphen (-).
78
+
ConstraintDescription: Bucket name can include numbers, lowercase letters, uppercase letters, and hyphens (-). It cannot start or end with a hyphen (-).
70
79
Default: ''
71
-
Description: (Optional) Existing S3 bucket name for malware protection
80
+
Description: (Optional) Existing S3 bucket name for malware protection.
ConstraintDescription: The alias must be string of 1-256 characters. It can contain only alphanumeric characters, forward slashes (/), underscores (_), and dashes (-).
ConstraintDescription: Bucket name can include numbers, lowercase letters, uppercase letters, and hyphens (-). It cannot start or end with a hyphen (-).
76
91
Default: ''
77
-
Description: (Optional) Existing S3 KMS key ARN for malware protection
92
+
Description: (Optional) S3 bucket name for the S3 Server Access Logs
ConstraintDescription: S3 bucket name can include numbers, lowercase letters, uppercase letters, and hyphens (-). It cannot start or end with a hyphen (-).
97
+
Default: sra-protected-bucket
98
+
Description: S3 Malware Protected Bucket Name Prefix
0 commit comments