import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * 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 * * ```typescript * 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 * * ### Identity Schema * * #### Required * * * `id` - (String) ID of the secondary network. * * #### Optional * * * `accountId` (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: * * ```sh * $ pulumi import aws:ec2/secondaryNetwork:SecondaryNetwork example sn-0123456789abcdef0 * ``` */ export declare class SecondaryNetwork extends pulumi.CustomResource { /** * Get an existing SecondaryNetwork resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: SecondaryNetworkState, opts?: pulumi.CustomResourceOptions): SecondaryNetwork; /** * Returns true if the given object is an instance of SecondaryNetwork. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is SecondaryNetwork; /** * ARN of the secondary network. */ readonly arn: pulumi.Output; /** * IPv4 CIDR block for the secondary network. The CIDR block size must be between `/12` and `/28`. */ readonly ipv4CidrBlock: pulumi.Output; /** * A list of IPv4 CIDR block associations for the secondary network. */ readonly ipv4CidrBlockAssociations: pulumi.Output; /** * Type of secondary network. Currently only `rdma` is supported. */ readonly networkType: pulumi.Output; readonly ownerId: pulumi.Output; /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. */ readonly region: pulumi.Output; /** * ID of the secondary network. */ readonly secondaryNetworkId: pulumi.Output; /** * State of the IPv4 CIDR block association. */ readonly state: pulumi.Output; /** * A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. */ readonly tags: pulumi.Output<{ [key: string]: string; } | undefined>; /** * A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. */ readonly tagsAll: pulumi.Output<{ [key: string]: string; }>; readonly timeouts: pulumi.Output; /** * Create a SecondaryNetwork resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: SecondaryNetworkArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering SecondaryNetwork resources. */ export interface SecondaryNetworkState { /** * ARN of the secondary network. */ arn?: pulumi.Input; /** * IPv4 CIDR block for the secondary network. The CIDR block size must be between `/12` and `/28`. */ ipv4CidrBlock?: pulumi.Input; /** * A list of IPv4 CIDR block associations for the secondary network. */ ipv4CidrBlockAssociations?: pulumi.Input[] | undefined>; /** * Type of secondary network. Currently only `rdma` is supported. */ networkType?: pulumi.Input; ownerId?: pulumi.Input; /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. */ region?: pulumi.Input; /** * ID of the secondary network. */ secondaryNetworkId?: pulumi.Input; /** * State of the IPv4 CIDR block association. */ state?: pulumi.Input; /** * A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. */ tagsAll?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; timeouts?: pulumi.Input; } /** * The set of arguments for constructing a SecondaryNetwork resource. */ export interface SecondaryNetworkArgs { /** * IPv4 CIDR block for the secondary network. The CIDR block size must be between `/12` and `/28`. */ ipv4CidrBlock: pulumi.Input; /** * Type of secondary network. Currently only `rdma` is supported. */ networkType: pulumi.Input; /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. */ region?: pulumi.Input; /** * A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; timeouts?: pulumi.Input; } //# sourceMappingURL=secondaryNetwork.d.ts.map