AWS::EC2::SecondaryNetwork

EC2 SecondaryNetwork

Resource Type definition for AWS::EC2::SecondaryNetwork. Creates a secondary network for RDMA (Remote Direct Memory Access) connectivity.

Properties

3 configurable properties. 2 required. Click a row to see details.

Filter:
PropertyTypeFlags
Ipv4CidrBlock
string
RequiredCreate-only
NetworkType
string
RequiredCreate-only
Tags
Array<Tag>

Return Values

Values returned after the resource is created. Access these with Fn::GetAtt.

AttributeTypeDescription
Ipv4CidrBlockAssociationsArray<Ipv4CidrBlockAssociation>Information about the IPv4 CIDR blocks associated with the secondary network.
OwnerIdstringThe ID of the Amazon Web Services account that owns the secondary network.
SecondaryNetworkArnstringThe Amazon Resource Name (ARN) of the secondary network.
SecondaryNetworkIdstringThe ID of the secondary network.

Sample CloudFormation Template

A minimal template with required properties and common optional ones.

template.yaml
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::EC2::SecondaryNetwork

Resources:
  MyResource:
    Type: AWS::EC2::SecondaryNetwork
    Properties:
      Ipv4CidrBlock: "my-ipv4cidrblock"
      NetworkType: "rdma"
      Tags:
        - Key: Environment
          Value: Production

Required IAM Permissions

Permissions CloudFormation needs in your IAM role to manage this resource.

create

ec2:CreateSecondaryNetworkec2:DescribeSecondaryNetworksec2:CreateTags

read

ec2:DescribeSecondaryNetworksec2:DescribeTags

update

ec2:DescribeSecondaryNetworksec2:CreateTagsec2:DeleteTagsec2:DescribeTags

delete

ec2:DeleteSecondaryNetworkec2:DescribeSecondaryNetworksec2:DescribeTags

list

ec2:DescribeSecondaryNetworks

Get the EC2 Cheat Sheet

Everything you need to know about EC2 on one page. HD quality, print-friendly.

Download Free Infographic

Quick Facts

ServiceEC2
Properties7
Required2
TaggingSupported
Primary IDSecondaryNetworkArn

Supported Operations

CreateReadUpdateDeleteList

Immutable After Creation

These properties cannot be changed after the resource is created. Updating them triggers a replacement.

Ipv4CidrBlockNetworkType

External Links