We recommend new projects start with resources from the AWS provider.
published on Monday, Oct 5, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
published on Monday, Oct 5, 2026 by Pulumi
Resource Type definition for AWS::EC2::SecondaryNetwork. Creates a secondary network for RDMA (Remote Direct Memory Access) connectivity.
Create SecondaryNetwork Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SecondaryNetwork(name: string, args: SecondaryNetworkArgs, opts?: CustomResourceOptions);@overload
def SecondaryNetwork(resource_name: str,
args: SecondaryNetworkArgs,
opts: Optional[ResourceOptions] = None)
@overload
def SecondaryNetwork(resource_name: str,
opts: Optional[ResourceOptions] = None,
ipv4_cidr_block: Optional[str] = None,
network_type: Optional[SecondaryNetworkNetworkType] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = None)func NewSecondaryNetwork(ctx *Context, name string, args SecondaryNetworkArgs, opts ...ResourceOption) (*SecondaryNetwork, error)public SecondaryNetwork(string name, SecondaryNetworkArgs args, CustomResourceOptions? opts = null)
public SecondaryNetwork(String name, SecondaryNetworkArgs args)
public SecondaryNetwork(String name, SecondaryNetworkArgs args, CustomResourceOptions options)
type: aws-native:ec2:SecondaryNetwork
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "aws-native_ec2_secondary_network" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args SecondaryNetworkArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args SecondaryNetworkArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args SecondaryNetworkArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SecondaryNetworkArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SecondaryNetworkArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
SecondaryNetwork Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The SecondaryNetwork resource accepts the following input properties:
- Ipv4Cidr
Block string - The IPv4 CIDR block for the secondary network. The CIDR block size must be between /12 and /28.
- Network
Type Pulumi.Aws Native. Ec2. Secondary Network Network Type - The type of secondary network.
-
List<Pulumi.
Aws Native. Inputs. Tag> - The tags for the secondary network.
- Ipv4Cidr
Block string - The IPv4 CIDR block for the secondary network. The CIDR block size must be between /12 and /28.
- Network
Type SecondaryNetwork Network Type - The type of secondary network.
-
Tag
Args - The tags for the secondary network.
- ipv4_
cidr_ stringblock - The IPv4 CIDR block for the secondary network. The CIDR block size must be between /12 and /28.
- network_
type "rdma" - The type of secondary network.
- list(object)
- The tags for the secondary network.
- ipv4Cidr
Block String - The IPv4 CIDR block for the secondary network. The CIDR block size must be between /12 and /28.
- network
Type SecondaryNetwork Network Type - The type of secondary network.
- List<Tag>
- The tags for the secondary network.
- ipv4Cidr
Block string - The IPv4 CIDR block for the secondary network. The CIDR block size must be between /12 and /28.
- network
Type SecondaryNetwork Network Type - The type of secondary network.
- Tag[]
- The tags for the secondary network.
- ipv4_
cidr_ strblock - The IPv4 CIDR block for the secondary network. The CIDR block size must be between /12 and /28.
- network_
type SecondaryNetwork Network Type - The type of secondary network.
-
Sequence[Tag
Args] - The tags for the secondary network.
- ipv4Cidr
Block String - The IPv4 CIDR block for the secondary network. The CIDR block size must be between /12 and /28.
- network
Type "rdma" - The type of secondary network.
- List<Property Map>
- The tags for the secondary network.
Outputs
All input properties are implicitly available as output properties. Additionally, the SecondaryNetwork resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Ipv4Cidr
Block List<Pulumi.Associations Aws Native. Ec2. Outputs. Secondary Network Ipv4Cidr Block Association> - Information about the IPv4 CIDR blocks associated with the secondary network.
- Owner
Id string - The ID of the Amazon Web Services account that owns the secondary network.
- Secondary
Network stringArn - The Amazon Resource Name (ARN) of the secondary network.
- Secondary
Network stringId - The ID of the secondary network.
- Id string
- The provider-assigned unique ID for this managed resource.
- Ipv4Cidr
Block []SecondaryAssociations Network Ipv4Cidr Block Association - Information about the IPv4 CIDR blocks associated with the secondary network.
- Owner
Id string - The ID of the Amazon Web Services account that owns the secondary network.
- Secondary
Network stringArn - The Amazon Resource Name (ARN) of the secondary network.
- Secondary
Network stringId - The ID of the secondary network.
- id string
- The provider-assigned unique ID for this managed resource.
- ipv4_
cidr_ list(object)block_ associations - Information about the IPv4 CIDR blocks associated with the secondary network.
- owner_
id string - The ID of the Amazon Web Services account that owns the secondary network.
- secondary_
network_ stringarn - The Amazon Resource Name (ARN) of the secondary network.
- secondary_
network_ stringid - The ID of the secondary network.
- id String
- The provider-assigned unique ID for this managed resource.
- ipv4Cidr
Block List<SecondaryAssociations Network Ipv4Cidr Block Association> - Information about the IPv4 CIDR blocks associated with the secondary network.
- owner
Id String - The ID of the Amazon Web Services account that owns the secondary network.
- secondary
Network StringArn - The Amazon Resource Name (ARN) of the secondary network.
- secondary
Network StringId - The ID of the secondary network.
- id string
- The provider-assigned unique ID for this managed resource.
- ipv4Cidr
Block SecondaryAssociations Network Ipv4Cidr Block Association[] - Information about the IPv4 CIDR blocks associated with the secondary network.
- owner
Id string - The ID of the Amazon Web Services account that owns the secondary network.
- secondary
Network stringArn - The Amazon Resource Name (ARN) of the secondary network.
- secondary
Network stringId - The ID of the secondary network.
- id str
- The provider-assigned unique ID for this managed resource.
- ipv4_
cidr_ Sequence[Secondaryblock_ associations Network Ipv4Cidr Block Association] - Information about the IPv4 CIDR blocks associated with the secondary network.
- owner_
id str - The ID of the Amazon Web Services account that owns the secondary network.
- secondary_
network_ strarn - The Amazon Resource Name (ARN) of the secondary network.
- secondary_
network_ strid - The ID of the secondary network.
- id String
- The provider-assigned unique ID for this managed resource.
- ipv4Cidr
Block List<Property Map>Associations - Information about the IPv4 CIDR blocks associated with the secondary network.
- owner
Id String - The ID of the Amazon Web Services account that owns the secondary network.
- secondary
Network StringArn - The Amazon Resource Name (ARN) of the secondary network.
- secondary
Network StringId - The ID of the secondary network.
Supporting Types
SecondaryNetworkIpv4CidrBlockAssociation, SecondaryNetworkIpv4CidrBlockAssociationArgs
- Association
Id string - The association ID for the IPv4 CIDR block.
- Cidr
Block string - The IPv4 CIDR block.
- State
Pulumi.
Aws Native. Ec2. Secondary Network Ipv4Cidr Block Association State - The state of the CIDR block association.
- Association
Id string - The association ID for the IPv4 CIDR block.
- Cidr
Block string - The IPv4 CIDR block.
- State
Secondary
Network Ipv4Cidr Block Association State - The state of the CIDR block association.
- association_
id string - The association ID for the IPv4 CIDR block.
- cidr_
block string - The IPv4 CIDR block.
- state "associating" | "associated" | "association-failed" | "disassociating" | "disassociated" | "disassociation-failed"
- The state of the CIDR block association.
- association
Id String - The association ID for the IPv4 CIDR block.
- cidr
Block String - The IPv4 CIDR block.
- state
Secondary
Network Ipv4Cidr Block Association State - The state of the CIDR block association.
- association
Id string - The association ID for the IPv4 CIDR block.
- cidr
Block string - The IPv4 CIDR block.
- state
Secondary
Network Ipv4Cidr Block Association State - The state of the CIDR block association.
- association_
id str - The association ID for the IPv4 CIDR block.
- cidr_
block str - The IPv4 CIDR block.
- state
Secondary
Network Ipv4Cidr Block Association State - The state of the CIDR block association.
- association
Id String - The association ID for the IPv4 CIDR block.
- cidr
Block String - The IPv4 CIDR block.
- state "associating" | "associated" | "association-failed" | "disassociating" | "disassociated" | "disassociation-failed"
- The state of the CIDR block association.
SecondaryNetworkIpv4CidrBlockAssociationState, SecondaryNetworkIpv4CidrBlockAssociationStateArgs
- Associating
associating- Associated
associated- Association
Failed association-failed- Disassociating
disassociating- Disassociated
disassociated- Disassociation
Failed disassociation-failed
- Secondary
Network Ipv4Cidr Block Association State Associating associating- Secondary
Network Ipv4Cidr Block Association State Associated associated- Secondary
Network Ipv4Cidr Block Association State Association Failed association-failed- Secondary
Network Ipv4Cidr Block Association State Disassociating disassociating- Secondary
Network Ipv4Cidr Block Association State Disassociated disassociated- Secondary
Network Ipv4Cidr Block Association State Disassociation Failed disassociation-failed
- "associating"
associating- "associated"
associated- "association-failed"
association-failed- "disassociating"
disassociating- "disassociated"
disassociated- "disassociation-failed"
disassociation-failed
- Associating
associating- Associated
associated- Association
Failed association-failed- Disassociating
disassociating- Disassociated
disassociated- Disassociation
Failed disassociation-failed
- Associating
associating- Associated
associated- Association
Failed association-failed- Disassociating
disassociating- Disassociated
disassociated- Disassociation
Failed disassociation-failed
- ASSOCIATING
associating- ASSOCIATED
associated- ASSOCIATION_FAILED
association-failed- DISASSOCIATING
disassociating- DISASSOCIATED
disassociated- DISASSOCIATION_FAILED
disassociation-failed
- "associating"
associating- "associated"
associated- "association-failed"
association-failed- "disassociating"
disassociating- "disassociated"
disassociated- "disassociation-failed"
disassociation-failed
SecondaryNetworkNetworkType, SecondaryNetworkNetworkTypeArgs
- Rdma
rdma
- Secondary
Network Network Type Rdma rdma
- "rdma"
rdma
- Rdma
rdma
- Rdma
rdma
- RDMA
rdma
- "rdma"
rdma
Tag, TagArgs
A set of tags to apply to the resource.Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
published on Monday, Oct 5, 2026 by Pulumi