Instance Profile
- CloudFormation template: yaml
AWSTemplateFormatVersion: 2010-09-09 Description: A simple S3 bucket
Parameters
Parameters:
Param | Value |
---|---|
DeploymentName | test |
DeploymentName
DeploymentName: Type: String Description: A name for this deployment
A deployment is a deployed application, potentially comprised of many
CloudFormation stacks. This is sometimes called an "environment", but that is an
overloaded and confusing term. Use the DeploymentName
to indicate which
logical deployment a stack belongs to.
If a deployment is completely specified by exactly one CloudFormation template,
the DeploymentName
and the AWS::StackName refer to the same things. In that
case, consider not using a DeploymentName
parameter.
Resources
Resources:
Bucket
Bucket: Type: AWS::S3::Bucket Properties: Tags: - Key: DeploymentName Value: !Ref DeploymentName
Outputs
Outputs: BucketName: Description: Name of the created bucket Value: !Ref Bucket