Provides an EC2 Secondary Network resource for RDMA networking.
Secondary networks are specialized network resources that enable high-performance RDMA (Remote Direct Memory Access) networking for compute-intensive workloads. They provide dedicated network infrastructure with low latency and high bandwidth capabilities.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.ec2.SecondaryNetwork("example", {
ipv4CidrBlock: "10.0.0.0/16",
networkType: "rdma",
tags: {
Name: "example-secondary-network",
},
});
import pulumi
import pulumi_aws as aws
example = aws.ec2.SecondaryNetwork("example",
ipv4_cidr_block="10.0.0.0/16",
network_type="rdma",
tags={
"Name": "example-secondary-network",
})
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ec2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ec2.NewSecondaryNetwork(ctx, "example", &ec2.SecondaryNetworkArgs{
Ipv4CidrBlock: pulumi.String("10.0.0.0/16"),
NetworkType: pulumi.String("rdma"),
Tags: pulumi.StringMap{
"Name": pulumi.String("example-secondary-network"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = new Aws.Ec2.SecondaryNetwork("example", new()
{
Ipv4CidrBlock = "10.0.0.0/16",
NetworkType = "rdma",
Tags =
{
{ "Name", "example-secondary-network" },
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.ec2.SecondaryNetwork;
import com.pulumi.aws.ec2.SecondaryNetworkArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new SecondaryNetwork("example", SecondaryNetworkArgs.builder()
.ipv4CidrBlock("10.0.0.0/16")
.networkType("rdma")
.tags(Map.of("Name", "example-secondary-network"))
.build());
}
}
resources:
example:
type: aws:ec2:SecondaryNetwork
properties:
ipv4CidrBlock: 10.0.0.0/16
networkType: rdma
tags:
Name: example-secondary-network
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[str] = None,
region: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
timeouts: Optional[SecondaryNetworkTimeoutsArgs] = 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:ec2:SecondaryNetwork
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
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.
Constructor example
The following reference example uses placeholder values for all input properties.
var secondaryNetworkResource = new Aws.Ec2.SecondaryNetwork("secondaryNetworkResource", new()
{
Ipv4CidrBlock = "string",
NetworkType = "string",
Region = "string",
Tags =
{
{ "string", "string" },
},
Timeouts = new Aws.Ec2.Inputs.SecondaryNetworkTimeoutsArgs
{
Create = "string",
Delete = "string",
Update = "string",
},
});
example, err := ec2.NewSecondaryNetwork(ctx, "secondaryNetworkResource", &ec2.SecondaryNetworkArgs{
Ipv4CidrBlock: pulumi.String("string"),
NetworkType: pulumi.String("string"),
Region: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
Timeouts: &ec2.SecondaryNetworkTimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Update: pulumi.String("string"),
},
})
var secondaryNetworkResource = new SecondaryNetwork("secondaryNetworkResource", SecondaryNetworkArgs.builder()
.ipv4CidrBlock("string")
.networkType("string")
.region("string")
.tags(Map.of("string", "string"))
.timeouts(SecondaryNetworkTimeoutsArgs.builder()
.create("string")
.delete("string")
.update("string")
.build())
.build());
secondary_network_resource = aws.ec2.SecondaryNetwork("secondaryNetworkResource",
ipv4_cidr_block="string",
network_type="string",
region="string",
tags={
"string": "string",
},
timeouts={
"create": "string",
"delete": "string",
"update": "string",
})
const secondaryNetworkResource = new aws.ec2.SecondaryNetwork("secondaryNetworkResource", {
ipv4CidrBlock: "string",
networkType: "string",
region: "string",
tags: {
string: "string",
},
timeouts: {
create: "string",
"delete": "string",
update: "string",
},
});
type: aws:ec2:SecondaryNetwork
properties:
ipv4CidrBlock: string
networkType: string
region: string
tags:
string: string
timeouts:
create: string
delete: string
update: string
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 - IPv4 CIDR block for the secondary network. The CIDR block size must be between
/12and/28. - Network
Type string - Type of secondary network. Currently only
rdmais supported. - Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Dictionary<string, string>
- A map of tags to assign to the resource. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Timeouts
Secondary
Network Timeouts
- Ipv4Cidr
Block string - IPv4 CIDR block for the secondary network. The CIDR block size must be between
/12and/28. - Network
Type string - Type of secondary network. Currently only
rdmais supported. - Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- map[string]string
- A map of tags to assign to the resource. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Timeouts
Secondary
Network Timeouts Args
- ipv4Cidr
Block String - IPv4 CIDR block for the secondary network. The CIDR block size must be between
/12and/28. - network
Type String - Type of secondary network. Currently only
rdmais supported. - region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Map<String,String>
- A map of tags to assign to the resource. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - timeouts
Secondary
Network Timeouts
- ipv4Cidr
Block string - IPv4 CIDR block for the secondary network. The CIDR block size must be between
/12and/28. - network
Type string - Type of secondary network. Currently only
rdmais supported. - region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- {[key: string]: string}
- A map of tags to assign to the resource. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - timeouts
Secondary
Network Timeouts
- ipv4_
cidr_ strblock - IPv4 CIDR block for the secondary network. The CIDR block size must be between
/12and/28. - network_
type str - Type of secondary network. Currently only
rdmais supported. - region str
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Mapping[str, str]
- A map of tags to assign to the resource. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - timeouts
Secondary
Network Timeouts Args
- ipv4Cidr
Block String - IPv4 CIDR block for the secondary network. The CIDR block size must be between
/12and/28. - network
Type String - Type of secondary network. Currently only
rdmais supported. - region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Map<String>
- A map of tags to assign to the resource. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - timeouts Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the SecondaryNetwork resource produces the following output properties:
- Arn string
- ARN of the secondary network.
- Id string
- The provider-assigned unique ID for this managed resource.
- Ipv4Cidr
Block List<SecondaryAssociations Network Ipv4Cidr Block Association> - A list of IPv4 CIDR block associations for the secondary network.
- Owner
Id string - Secondary
Network stringId - ID of the secondary network.
- State string
- State of the IPv4 CIDR block association.
- Dictionary<string, string>
- A map of tags assigned to the resource, including those inherited from the provider
default_tagsconfiguration block.
- Arn string
- ARN of the secondary network.
- Id string
- The provider-assigned unique ID for this managed resource.
- Ipv4Cidr
Block []SecondaryAssociations Network Ipv4Cidr Block Association - A list of IPv4 CIDR block associations for the secondary network.
- Owner
Id string - Secondary
Network stringId - ID of the secondary network.
- State string
- State of the IPv4 CIDR block association.
- map[string]string
- A map of tags assigned to the resource, including those inherited from the provider
default_tagsconfiguration block.
- arn String
- ARN of the secondary network.
- id String
- The provider-assigned unique ID for this managed resource.
- ipv4Cidr
Block List<SecondaryAssociations Network Ipv4Cidr Block Association> - A list of IPv4 CIDR block associations for the secondary network.
- owner
Id String - secondary
Network StringId - ID of the secondary network.
- state String
- State of the IPv4 CIDR block association.
- Map<String,String>
- A map of tags assigned to the resource, including those inherited from the provider
default_tagsconfiguration block.
- arn string
- ARN of the secondary network.
- id string
- The provider-assigned unique ID for this managed resource.
- ipv4Cidr
Block SecondaryAssociations Network Ipv4Cidr Block Association[] - A list of IPv4 CIDR block associations for the secondary network.
- owner
Id string - secondary
Network stringId - ID of the secondary network.
- state string
- State of the IPv4 CIDR block association.
- {[key: string]: string}
- A map of tags assigned to the resource, including those inherited from the provider
default_tagsconfiguration block.
- arn str
- ARN of the secondary network.
- id str
- The provider-assigned unique ID for this managed resource.
- ipv4_
cidr_ Sequence[Secondaryblock_ associations Network Ipv4Cidr Block Association] - A list of IPv4 CIDR block associations for the secondary network.
- owner_
id str - secondary_
network_ strid - ID of the secondary network.
- state str
- State of the IPv4 CIDR block association.
- Mapping[str, str]
- A map of tags assigned to the resource, including those inherited from the provider
default_tagsconfiguration block.
- arn String
- ARN of the secondary network.
- id String
- The provider-assigned unique ID for this managed resource.
- ipv4Cidr
Block List<Property Map>Associations - A list of IPv4 CIDR block associations for the secondary network.
- owner
Id String - secondary
Network StringId - ID of the secondary network.
- state String
- State of the IPv4 CIDR block association.
- Map<String>
- A map of tags assigned to the resource, including those inherited from the provider
default_tagsconfiguration block.
Look up Existing SecondaryNetwork Resource
Get an existing SecondaryNetwork resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: SecondaryNetworkState, opts?: CustomResourceOptions): SecondaryNetwork@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
arn: Optional[str] = None,
ipv4_cidr_block: Optional[str] = None,
ipv4_cidr_block_associations: Optional[Sequence[SecondaryNetworkIpv4CidrBlockAssociationArgs]] = None,
network_type: Optional[str] = None,
owner_id: Optional[str] = None,
region: Optional[str] = None,
secondary_network_id: Optional[str] = None,
state: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
tags_all: Optional[Mapping[str, str]] = None,
timeouts: Optional[SecondaryNetworkTimeoutsArgs] = None) -> SecondaryNetworkfunc GetSecondaryNetwork(ctx *Context, name string, id IDInput, state *SecondaryNetworkState, opts ...ResourceOption) (*SecondaryNetwork, error)public static SecondaryNetwork Get(string name, Input<string> id, SecondaryNetworkState? state, CustomResourceOptions? opts = null)public static SecondaryNetwork get(String name, Output<String> id, SecondaryNetworkState state, CustomResourceOptions options)resources: _: type: aws:ec2:SecondaryNetwork get: id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Arn string
- ARN of the secondary network.
- Ipv4Cidr
Block string - IPv4 CIDR block for the secondary network. The CIDR block size must be between
/12and/28. - Ipv4Cidr
Block List<SecondaryAssociations Network Ipv4Cidr Block Association> - A list of IPv4 CIDR block associations for the secondary network.
- Network
Type string - Type of secondary network. Currently only
rdmais supported. - Owner
Id string - Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Secondary
Network stringId - ID of the secondary network.
- State string
- State of the IPv4 CIDR block association.
- Dictionary<string, string>
- A map of tags to assign to the resource. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Dictionary<string, string>
- A map of tags assigned to the resource, including those inherited from the provider
default_tagsconfiguration block. - Timeouts
Secondary
Network Timeouts
- Arn string
- ARN of the secondary network.
- Ipv4Cidr
Block string - IPv4 CIDR block for the secondary network. The CIDR block size must be between
/12and/28. - Ipv4Cidr
Block []SecondaryAssociations Network Ipv4Cidr Block Association Args - A list of IPv4 CIDR block associations for the secondary network.
- Network
Type string - Type of secondary network. Currently only
rdmais supported. - Owner
Id string - Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Secondary
Network stringId - ID of the secondary network.
- State string
- State of the IPv4 CIDR block association.
- map[string]string
- A map of tags to assign to the resource. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - map[string]string
- A map of tags assigned to the resource, including those inherited from the provider
default_tagsconfiguration block. - Timeouts
Secondary
Network Timeouts Args
- arn String
- ARN of the secondary network.
- ipv4Cidr
Block String - IPv4 CIDR block for the secondary network. The CIDR block size must be between
/12and/28. - ipv4Cidr
Block List<SecondaryAssociations Network Ipv4Cidr Block Association> - A list of IPv4 CIDR block associations for the secondary network.
- network
Type String - Type of secondary network. Currently only
rdmais supported. - owner
Id String - region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- secondary
Network StringId - ID of the secondary network.
- state String
- State of the IPv4 CIDR block association.
- Map<String,String>
- A map of tags to assign to the resource. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Map<String,String>
- A map of tags assigned to the resource, including those inherited from the provider
default_tagsconfiguration block. - timeouts
Secondary
Network Timeouts
- arn string
- ARN of the secondary network.
- ipv4Cidr
Block string - IPv4 CIDR block for the secondary network. The CIDR block size must be between
/12and/28. - ipv4Cidr
Block SecondaryAssociations Network Ipv4Cidr Block Association[] - A list of IPv4 CIDR block associations for the secondary network.
- network
Type string - Type of secondary network. Currently only
rdmais supported. - owner
Id string - region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- secondary
Network stringId - ID of the secondary network.
- state string
- State of the IPv4 CIDR block association.
- {[key: string]: string}
- A map of tags to assign to the resource. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - {[key: string]: string}
- A map of tags assigned to the resource, including those inherited from the provider
default_tagsconfiguration block. - timeouts
Secondary
Network Timeouts
- arn str
- ARN of the secondary network.
- ipv4_
cidr_ strblock - IPv4 CIDR block for the secondary network. The CIDR block size must be between
/12and/28. - ipv4_
cidr_ Sequence[Secondaryblock_ associations Network Ipv4Cidr Block Association Args] - A list of IPv4 CIDR block associations for the secondary network.
- network_
type str - Type of secondary network. Currently only
rdmais supported. - owner_
id str - region str
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- secondary_
network_ strid - ID of the secondary network.
- state str
- State of the IPv4 CIDR block association.
- Mapping[str, str]
- A map of tags to assign to the resource. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Mapping[str, str]
- A map of tags assigned to the resource, including those inherited from the provider
default_tagsconfiguration block. - timeouts
Secondary
Network Timeouts Args
- arn String
- ARN of the secondary network.
- ipv4Cidr
Block String - IPv4 CIDR block for the secondary network. The CIDR block size must be between
/12and/28. - ipv4Cidr
Block List<Property Map>Associations - A list of IPv4 CIDR block associations for the secondary network.
- network
Type String - Type of secondary network. Currently only
rdmais supported. - owner
Id String - region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- secondary
Network StringId - ID of the secondary network.
- state String
- State of the IPv4 CIDR block association.
- Map<String>
- A map of tags to assign to the resource. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Map<String>
- A map of tags assigned to the resource, including those inherited from the provider
default_tagsconfiguration block. - timeouts Property Map
Supporting Types
SecondaryNetworkIpv4CidrBlockAssociation, SecondaryNetworkIpv4CidrBlockAssociationArgs
- Association
Id string - Association ID for the IPv4 CIDR block.
- Cidr
Block string - IPv4 CIDR block.
- State string
- State of the IPv4 CIDR block association.
- Association
Id string - Association ID for the IPv4 CIDR block.
- Cidr
Block string - IPv4 CIDR block.
- State string
- State of the IPv4 CIDR block association.
- association
Id String - Association ID for the IPv4 CIDR block.
- cidr
Block String - IPv4 CIDR block.
- state String
- State of the IPv4 CIDR block association.
- association
Id string - Association ID for the IPv4 CIDR block.
- cidr
Block string - IPv4 CIDR block.
- state string
- State of the IPv4 CIDR block association.
- association_
id str - Association ID for the IPv4 CIDR block.
- cidr_
block str - IPv4 CIDR block.
- state str
- State of the IPv4 CIDR block association.
- association
Id String - Association ID for the IPv4 CIDR block.
- cidr
Block String - IPv4 CIDR block.
- state String
- State of the IPv4 CIDR block association.
SecondaryNetworkTimeouts, SecondaryNetworkTimeoutsArgs
- Create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- Update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- Update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
Import
Identity Schema
Required
id- (String) ID of the secondary network.
Optional
account_id(String) AWS Account where this resource is managed.region(String) Region where this resource is managed.
Using pulumi import, import EC2 Secondary Networks using the id. For example:
$ pulumi import aws:ec2/secondaryNetwork:SecondaryNetwork example sn-0123456789abcdef0
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
awsTerraform Provider.
