-
Notifications
You must be signed in to change notification settings - Fork 27
/
awscommunity-s3-deletebucketcontents.json
49 lines (49 loc) · 1.31 KB
/
awscommunity-s3-deletebucketcontents.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
{
"typeName": "AwsCommunity::S3::DeleteBucketContents",
"description": "An experimental extension that deletes all contents of the referenced bucket when the stack is deleted. Use with caution!",
"sourceUrl": "https://github.com/aws-cloudformation/community-registry-extensions.git",
"definitions": { },
"properties": {
"BucketName": {
"description": "The name of the bucket",
"type": "string"
}
},
"additionalProperties": false,
"tagging": {
"taggable": false
},
"required": [
"BucketName"
],
"createOnlyProperties": [
"/properties/BucketName"
],
"primaryIdentifier": [
"/properties/BucketName"
],
"handlers": {
"create": {
"permissions": [
"s3:ListBucket",
"s3:GetBucketTagging",
"s3:PutBucketTagging"
]
},
"read": {
"permissions": [
"s3:ListBucket",
"s3:GetBucketTagging"
]
},
"delete": {
"permissions": [
"s3:DeleteObject",
"s3:ListBucket",
"s3:ListBucketVersions",
"s3:GetBucketTagging",
"s3:PutBucketTagging"
]
}
}
}