AWS CloudFormation updates for Amazon EC2, Amazon ECS, Amazon EFS, Amazon S3 and more

Posted on: Jun 14, 2019

AWS CloudFormation provides a common language for you to describe and provision all the infrastructure resources in your cloud environment. It allows you to use a simple text file to model and provision, in an automated and secure manner, all the resources needed for your applications across all regions and accounts. 

The following resources were updated as part of this release: AWS::EC2::Host, AWS::EC2::Route, AWS::EC2::VPNConnection, AWS::ECS::Cluster, AWS::ECS::Service, AWS::ECS::TaskDefinition, AWS::EFS::MountTarget, AWS::ElasticLoadBalancingV2::ListenerRule, AWS::EMR::Cluster, AWS::KinesisFirehose::DeliveryStream, AWS::S3::Bucket.

AWS::EC2::Host
Use the HostRecovery property to indicates whether to enable or disable host recovery for the Dedicated Host.

AWS::EC2::Route
Use the TransitGatewayId property to specify the ID of a transit gateway.

AWS::EC2::VPNConnection
Use the TransitGatewayId property to specify the ID of the transit gateway associated with the VPN connection.

Use the VpnGatewayId property to specify the ID of the virtual private gateway at the AWS side of the VPN connection.

AWS::ECS::Cluster
Use the Tags property to apply metadata to clusters to help you categorize and organize them.

AWS::ECS::Service
Use the EnableECSManagedTags property to specify whether to enable Amazon ECS managed tags for the tasks within the service.

Use the PropagateTags property to specify whether to propagate the tags from the task definition or the service to the tasks in the service.

Use the Tags property to apply metadata to services to help you categorize and organize them.

AWS::ECS::TaskDefinition
In the ContainerDefinition property type, use the ResourceRequirementsproperty to specify the type and amount of a resource to assign to a container. The only supported resource is a GPU.

In the ContainerDefinition property type, use the Secrets property to specify the secrets to pass to the container.

Use the Tags property to apply metadata to task definitions to help you categorize and organize them.

AWS::EFS::MountTarget
Use the IpAddress attribute to return the IPv4 address of the mount target.

AWS::ElasticLoadBalancingV2::ListenerRule

In the RuleCondition property type:

● Use the HostHeaderConfig property to specify information for a host header condition.

● Use the HttpHeaderConfig property to specify information for an HTTP header condition.

● Use the HttpRequestMethodConfig property to specify information for an HTTP method condition.

● Use the PathPatternConfig property to specify information for a path pattern condition.

● Use the QueryStringConfig property to specify information for a query string condition.

● Use the SourceIpConfig property to specify information for a source IP condition.

AWS::EMR::Cluster
In the JobFlowInstancesConfig property type, use the Ec2SubnetIdsproperty to specify multiple EC2 subnet IDs.

AWS::KinesisFirehose::DeliveryStream
In the ExtendedS3DestinationConfiguration property type:

● Use the DataFormatConversionConfiguration property to specify the serializer, deserializer, and schema for converting data from the JSON format to the Parquet or ORC format before writing it to Amazon S3.

● Use the ErrorOutputPrefix property to specify a prefix that Kinesis Data Firehose evaluates and adds to failed records before writing them to S3.

●The Prefix property is no longer required.

In the S3DestinationConfiguration property type, use the ErrorOutputPrefix property to specify a prefix that Kinesis Data Firehose evaluates and adds to failed records before writing them to S3.

AWS::S3::Bucket
Use the ObjectLockConfiguration property to specify an object lock configuration for the specified bucket.

Use the ObjectLockEnabled property to specify whether this bucket has an object lock configuration enabled.