1. Packages
  2. AWS Native
  3. API Docs
  4. ec2
  5. getNetworkInterfaceAttachment

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.105.0 published on Thursday, May 2, 2024 by Pulumi

aws-native.ec2.getNetworkInterfaceAttachment

Explore with Pulumi AI

aws-native logo

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.105.0 published on Thursday, May 2, 2024 by Pulumi

    Resource Type definition for AWS::EC2::NetworkInterfaceAttachment

    Using getNetworkInterfaceAttachment

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getNetworkInterfaceAttachment(args: GetNetworkInterfaceAttachmentArgs, opts?: InvokeOptions): Promise<GetNetworkInterfaceAttachmentResult>
    function getNetworkInterfaceAttachmentOutput(args: GetNetworkInterfaceAttachmentOutputArgs, opts?: InvokeOptions): Output<GetNetworkInterfaceAttachmentResult>
    def get_network_interface_attachment(attachment_id: Optional[str] = None,
                                         opts: Optional[InvokeOptions] = None) -> GetNetworkInterfaceAttachmentResult
    def get_network_interface_attachment_output(attachment_id: Optional[pulumi.Input[str]] = None,
                                         opts: Optional[InvokeOptions] = None) -> Output[GetNetworkInterfaceAttachmentResult]
    func LookupNetworkInterfaceAttachment(ctx *Context, args *LookupNetworkInterfaceAttachmentArgs, opts ...InvokeOption) (*LookupNetworkInterfaceAttachmentResult, error)
    func LookupNetworkInterfaceAttachmentOutput(ctx *Context, args *LookupNetworkInterfaceAttachmentOutputArgs, opts ...InvokeOption) LookupNetworkInterfaceAttachmentResultOutput

    > Note: This function is named LookupNetworkInterfaceAttachment in the Go SDK.

    public static class GetNetworkInterfaceAttachment 
    {
        public static Task<GetNetworkInterfaceAttachmentResult> InvokeAsync(GetNetworkInterfaceAttachmentArgs args, InvokeOptions? opts = null)
        public static Output<GetNetworkInterfaceAttachmentResult> Invoke(GetNetworkInterfaceAttachmentInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetNetworkInterfaceAttachmentResult> getNetworkInterfaceAttachment(GetNetworkInterfaceAttachmentArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aws-native:ec2:getNetworkInterfaceAttachment
      arguments:
        # arguments dictionary

    The following arguments are supported:

    AttachmentId string
    The ID of the network interface attachment.
    AttachmentId string
    The ID of the network interface attachment.
    attachmentId String
    The ID of the network interface attachment.
    attachmentId string
    The ID of the network interface attachment.
    attachment_id str
    The ID of the network interface attachment.
    attachmentId String
    The ID of the network interface attachment.

    getNetworkInterfaceAttachment Result

    The following output properties are available:

    AttachmentId string
    The ID of the network interface attachment.
    DeleteOnTermination bool
    Whether to delete the network interface when the instance terminates. By default, this value is set to true.
    EnaSrdSpecification Pulumi.AwsNative.Ec2.Outputs.NetworkInterfaceAttachmentEnaSrdSpecification
    AttachmentId string
    The ID of the network interface attachment.
    DeleteOnTermination bool
    Whether to delete the network interface when the instance terminates. By default, this value is set to true.
    EnaSrdSpecification NetworkInterfaceAttachmentEnaSrdSpecification
    attachmentId String
    The ID of the network interface attachment.
    deleteOnTermination Boolean
    Whether to delete the network interface when the instance terminates. By default, this value is set to true.
    enaSrdSpecification NetworkInterfaceAttachmentEnaSrdSpecification
    attachmentId string
    The ID of the network interface attachment.
    deleteOnTermination boolean
    Whether to delete the network interface when the instance terminates. By default, this value is set to true.
    enaSrdSpecification NetworkInterfaceAttachmentEnaSrdSpecification
    attachment_id str
    The ID of the network interface attachment.
    delete_on_termination bool
    Whether to delete the network interface when the instance terminates. By default, this value is set to true.
    ena_srd_specification NetworkInterfaceAttachmentEnaSrdSpecification
    attachmentId String
    The ID of the network interface attachment.
    deleteOnTermination Boolean
    Whether to delete the network interface when the instance terminates. By default, this value is set to true.
    enaSrdSpecification Property Map

    Supporting Types

    NetworkInterfaceAttachmentEnaSrdSpecification

    NetworkInterfaceAttachmentEnaSrdSpecificationEnaSrdUdpSpecificationProperties

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.105.0 published on Thursday, May 2, 2024 by Pulumi