AWS CloudFormation Resource Types: Difference between revisions
Jump to navigation
Jump to search
Line 43: | Line 43: | ||
==AWS::S3::Bucket== | ==AWS::S3::Bucket== | ||
Resources: | |||
Resources: | BuildBucket: | ||
Type: AWS::S3::Bucket | |||
Properties: | |||
AccessControl: BucketOwnerFullControl | |||
Revision as of 03:43, 14 March 2019
Internal
AWS::CloudFormation
AWS::CloudFormation::Stack
AWS::CloudFormation::Stack enables nesting another stack as a resource within a template.
AWS::CodeBuild
AWS::CodeBuild::Project
AWS::ECR
AWS::ECR::Repository
Resources:
Repository:
Type: AWS::ECR::Repository
Properties:
RepositoryName: some-docker-repository-name
AWS::IAM
AWS::IAM::Role
Resources: CodeBuildServiceRole: Type: AWS::IAM::Role Properties: ...
If this role is declared by an "example" stack, then, after successful creation, its ARN will be arn:aws:iam::AccountID:role/service-role/example-CodeBuildServiceRole-1V7H0HL94BUX6
AWS::S3
AWS::S3::Bucket
Resources: BuildBucket: Type: AWS::S3::Bucket Properties: AccessControl: BucketOwnerFullControl