AWS CloudFormation Resource Types: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 19: Line 19:
==AWS::ECR::Repository==
==AWS::ECR::Repository==


CloudFormation specification:
<syntaxhighlight lang='yaml'>
<syntaxhighlight lang='yaml'>
Resources:
Resources:
Line 26: Line 25:
     Properties:
     Properties:
       RepositoryName: some-docker-repository-name
       RepositoryName: some-docker-repository-name
</syntaxhighlight>
=AWS::S3=
==AWS::S3::Bucket==
<syntaxhighlight lang='yaml'>
Resources:
  BuildBucket:
    Type: AWS::S3::Bucket
    Properties:
      AccessControl: BucketOwnerFullControl
</syntaxhighlight>
</syntaxhighlight>

Revision as of 20:11, 13 March 2019

Internal

AWS::CloudFormation

AWS::CloudFormation::Stack

https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-stack.html

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::S3

AWS::S3::Bucket

Resources:
  BuildBucket:
    Type: AWS::S3::Bucket
    Properties:
      AccessControl: BucketOwnerFullControl