forked from aliyun/ros-templates
-
Notifications
You must be signed in to change notification settings - Fork 1
/
bucket.yml
41 lines (41 loc) · 888 Bytes
/
bucket.yml
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
ROSTemplateFormatVersion: '2015-09-01'
Description: OSS Bucket resource example
Parameters:
AccessControl:
Type: String
Description: The access control list.
Default: private
AllowedValues:
- private
- public-read
- public-read-write
BucketName:
Type: String
Description: bucket name.
Resources:
Bucket:
Type: ALIYUN::OSS::Bucket
Properties:
AccessControl:
Ref: AccessControl
BucketName:
Ref: BucketName
Outputs:
InternalDomainName:
Description: The internal DNS name of the specified bucket.
Value:
Fn::GetAtt:
- Bucket
- InternalDomainName
Name:
Description: The name of Bucket
Value:
Fn::GetAtt:
- Bucket
- Name
DomainName:
Description: The public DNS name of the specified bucket.
Value:
Fn::GetAtt:
- Bucket
- DomainName