1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. ec2
  5. getInstanceConnectEndpoint

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.58.0
published on Monday, Mar 23, 2026 by Pulumi
aws-native logo

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.58.0
published on Monday, Mar 23, 2026 by Pulumi

    Resource Type definition for AWS::EC2::InstanceConnectEndpoint

    Using getInstanceConnectEndpoint

    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 getInstanceConnectEndpoint(args: GetInstanceConnectEndpointArgs, opts?: InvokeOptions): Promise<GetInstanceConnectEndpointResult>
    function getInstanceConnectEndpointOutput(args: GetInstanceConnectEndpointOutputArgs, opts?: InvokeOptions): Output<GetInstanceConnectEndpointResult>
    def get_instance_connect_endpoint(id: Optional[str] = None,
                                      opts: Optional[InvokeOptions] = None) -> GetInstanceConnectEndpointResult
    def get_instance_connect_endpoint_output(id: Optional[pulumi.Input[str]] = None,
                                      opts: Optional[InvokeOptions] = None) -> Output[GetInstanceConnectEndpointResult]
    func LookupInstanceConnectEndpoint(ctx *Context, args *LookupInstanceConnectEndpointArgs, opts ...InvokeOption) (*LookupInstanceConnectEndpointResult, error)
    func LookupInstanceConnectEndpointOutput(ctx *Context, args *LookupInstanceConnectEndpointOutputArgs, opts ...InvokeOption) LookupInstanceConnectEndpointResultOutput

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

    public static class GetInstanceConnectEndpoint 
    {
        public static Task<GetInstanceConnectEndpointResult> InvokeAsync(GetInstanceConnectEndpointArgs args, InvokeOptions? opts = null)
        public static Output<GetInstanceConnectEndpointResult> Invoke(GetInstanceConnectEndpointInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetInstanceConnectEndpointResult> getInstanceConnectEndpoint(GetInstanceConnectEndpointArgs args, InvokeOptions options)
    public static Output<GetInstanceConnectEndpointResult> getInstanceConnectEndpoint(GetInstanceConnectEndpointArgs args, InvokeOptions options)
    
    fn::invoke:
      function: aws-native:ec2:getInstanceConnectEndpoint
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    The ID of the EC2 Instance Connect Endpoint.
    Id string
    The ID of the EC2 Instance Connect Endpoint.
    id String
    The ID of the EC2 Instance Connect Endpoint.
    id string
    The ID of the EC2 Instance Connect Endpoint.
    id str
    The ID of the EC2 Instance Connect Endpoint.
    id String
    The ID of the EC2 Instance Connect Endpoint.

    getInstanceConnectEndpoint Result

    The following output properties are available:

    AvailabilityZone string
    The Availability Zone of the EC2 Instance Connect Endpoint
    AvailabilityZoneId string
    The ID of the Availability Zone of the EC2 Instance Connect Endpoint
    CreatedAt string
    The date and time that the EC2 Instance Connect Endpoint was created
    Id string
    The ID of the EC2 Instance Connect Endpoint.
    InstanceConnectEndpointArn string
    The Amazon Resource Name (ARN) of the EC2 Instance Connect Endpoint
    NetworkInterfaceIds List<string>
    The ID of the elastic network interface that Amazon EC2 automatically created when creating the EC2 Instance Connect Endpoint
    OwnerId string
    The ID of the AWS account that created the EC2 Instance Connect Endpoint
    PublicDnsNames Pulumi.AwsNative.Ec2.Outputs.InstanceConnectEndpointPublicDnsNames
    The public DNS names of the endpoint
    State Pulumi.AwsNative.Ec2.InstanceConnectEndpointState
    The current state of the EC2 Instance Connect Endpoint
    StateMessage string
    The message for the current state of the EC2 Instance Connect Endpoint. Can include a failure message
    Tags List<Pulumi.AwsNative.Outputs.Tag>
    The tags assigned to the EC2 Instance Connect Endpoint.
    VpcId string
    The ID of the VPC in which the EC2 Instance Connect Endpoint was created
    AvailabilityZone string
    The Availability Zone of the EC2 Instance Connect Endpoint
    AvailabilityZoneId string
    The ID of the Availability Zone of the EC2 Instance Connect Endpoint
    CreatedAt string
    The date and time that the EC2 Instance Connect Endpoint was created
    Id string
    The ID of the EC2 Instance Connect Endpoint.
    InstanceConnectEndpointArn string
    The Amazon Resource Name (ARN) of the EC2 Instance Connect Endpoint
    NetworkInterfaceIds []string
    The ID of the elastic network interface that Amazon EC2 automatically created when creating the EC2 Instance Connect Endpoint
    OwnerId string
    The ID of the AWS account that created the EC2 Instance Connect Endpoint
    PublicDnsNames InstanceConnectEndpointPublicDnsNames
    The public DNS names of the endpoint
    State InstanceConnectEndpointStateEnum
    The current state of the EC2 Instance Connect Endpoint
    StateMessage string
    The message for the current state of the EC2 Instance Connect Endpoint. Can include a failure message
    Tags Tag
    The tags assigned to the EC2 Instance Connect Endpoint.
    VpcId string
    The ID of the VPC in which the EC2 Instance Connect Endpoint was created
    availabilityZone String
    The Availability Zone of the EC2 Instance Connect Endpoint
    availabilityZoneId String
    The ID of the Availability Zone of the EC2 Instance Connect Endpoint
    createdAt String
    The date and time that the EC2 Instance Connect Endpoint was created
    id String
    The ID of the EC2 Instance Connect Endpoint.
    instanceConnectEndpointArn String
    The Amazon Resource Name (ARN) of the EC2 Instance Connect Endpoint
    networkInterfaceIds List<String>
    The ID of the elastic network interface that Amazon EC2 automatically created when creating the EC2 Instance Connect Endpoint
    ownerId String
    The ID of the AWS account that created the EC2 Instance Connect Endpoint
    publicDnsNames InstanceConnectEndpointPublicDnsNames
    The public DNS names of the endpoint
    state InstanceConnectEndpointState
    The current state of the EC2 Instance Connect Endpoint
    stateMessage String
    The message for the current state of the EC2 Instance Connect Endpoint. Can include a failure message
    tags List<Tag>
    The tags assigned to the EC2 Instance Connect Endpoint.
    vpcId String
    The ID of the VPC in which the EC2 Instance Connect Endpoint was created
    availabilityZone string
    The Availability Zone of the EC2 Instance Connect Endpoint
    availabilityZoneId string
    The ID of the Availability Zone of the EC2 Instance Connect Endpoint
    createdAt string
    The date and time that the EC2 Instance Connect Endpoint was created
    id string
    The ID of the EC2 Instance Connect Endpoint.
    instanceConnectEndpointArn string
    The Amazon Resource Name (ARN) of the EC2 Instance Connect Endpoint
    networkInterfaceIds string[]
    The ID of the elastic network interface that Amazon EC2 automatically created when creating the EC2 Instance Connect Endpoint
    ownerId string
    The ID of the AWS account that created the EC2 Instance Connect Endpoint
    publicDnsNames InstanceConnectEndpointPublicDnsNames
    The public DNS names of the endpoint
    state InstanceConnectEndpointState
    The current state of the EC2 Instance Connect Endpoint
    stateMessage string
    The message for the current state of the EC2 Instance Connect Endpoint. Can include a failure message
    tags Tag[]
    The tags assigned to the EC2 Instance Connect Endpoint.
    vpcId string
    The ID of the VPC in which the EC2 Instance Connect Endpoint was created
    availability_zone str
    The Availability Zone of the EC2 Instance Connect Endpoint
    availability_zone_id str
    The ID of the Availability Zone of the EC2 Instance Connect Endpoint
    created_at str
    The date and time that the EC2 Instance Connect Endpoint was created
    id str
    The ID of the EC2 Instance Connect Endpoint.
    instance_connect_endpoint_arn str
    The Amazon Resource Name (ARN) of the EC2 Instance Connect Endpoint
    network_interface_ids Sequence[str]
    The ID of the elastic network interface that Amazon EC2 automatically created when creating the EC2 Instance Connect Endpoint
    owner_id str
    The ID of the AWS account that created the EC2 Instance Connect Endpoint
    public_dns_names InstanceConnectEndpointPublicDnsNames
    The public DNS names of the endpoint
    state InstanceConnectEndpointState
    The current state of the EC2 Instance Connect Endpoint
    state_message str
    The message for the current state of the EC2 Instance Connect Endpoint. Can include a failure message
    tags Sequence[root_Tag]
    The tags assigned to the EC2 Instance Connect Endpoint.
    vpc_id str
    The ID of the VPC in which the EC2 Instance Connect Endpoint was created
    availabilityZone String
    The Availability Zone of the EC2 Instance Connect Endpoint
    availabilityZoneId String
    The ID of the Availability Zone of the EC2 Instance Connect Endpoint
    createdAt String
    The date and time that the EC2 Instance Connect Endpoint was created
    id String
    The ID of the EC2 Instance Connect Endpoint.
    instanceConnectEndpointArn String
    The Amazon Resource Name (ARN) of the EC2 Instance Connect Endpoint
    networkInterfaceIds List<String>
    The ID of the elastic network interface that Amazon EC2 automatically created when creating the EC2 Instance Connect Endpoint
    ownerId String
    The ID of the AWS account that created the EC2 Instance Connect Endpoint
    publicDnsNames Property Map
    The public DNS names of the endpoint
    state "create-in-progress" | "create-complete" | "create-failed" | "delete-in-progress" | "delete-complete" | "delete-failed" | "update-in-progress" | "update-complete" | "update-failed"
    The current state of the EC2 Instance Connect Endpoint
    stateMessage String
    The message for the current state of the EC2 Instance Connect Endpoint. Can include a failure message
    tags List<Property Map>
    The tags assigned to the EC2 Instance Connect Endpoint.
    vpcId String
    The ID of the VPC in which the EC2 Instance Connect Endpoint was created

    Supporting Types

    InstanceConnectEndpointDnsNames

    DnsName string
    The DNS name of the EC2 Instance Connect Endpoint.
    FipsDnsName string
    The Federal Information Processing Standards (FIPS) compliant DNS name of the EC2 Instance Connect Endpoint.
    DnsName string
    The DNS name of the EC2 Instance Connect Endpoint.
    FipsDnsName string
    The Federal Information Processing Standards (FIPS) compliant DNS name of the EC2 Instance Connect Endpoint.
    dnsName String
    The DNS name of the EC2 Instance Connect Endpoint.
    fipsDnsName String
    The Federal Information Processing Standards (FIPS) compliant DNS name of the EC2 Instance Connect Endpoint.
    dnsName string
    The DNS name of the EC2 Instance Connect Endpoint.
    fipsDnsName string
    The Federal Information Processing Standards (FIPS) compliant DNS name of the EC2 Instance Connect Endpoint.
    dns_name str
    The DNS name of the EC2 Instance Connect Endpoint.
    fips_dns_name str
    The Federal Information Processing Standards (FIPS) compliant DNS name of the EC2 Instance Connect Endpoint.
    dnsName String
    The DNS name of the EC2 Instance Connect Endpoint.
    fipsDnsName String
    The Federal Information Processing Standards (FIPS) compliant DNS name of the EC2 Instance Connect Endpoint.

    InstanceConnectEndpointPublicDnsNames

    Dualstack Pulumi.AwsNative.Ec2.Inputs.InstanceConnectEndpointDnsNames
    The dualstack DNS name of the EC2 Instance Connect Endpoint. A dualstack DNS name supports connections from both IPv4 and IPv6 clients.
    Ipv4 Pulumi.AwsNative.Ec2.Inputs.InstanceConnectEndpointDnsNames
    The IPv4-only DNS name of the EC2 Instance Connect Endpoint.
    Dualstack InstanceConnectEndpointDnsNames
    The dualstack DNS name of the EC2 Instance Connect Endpoint. A dualstack DNS name supports connections from both IPv4 and IPv6 clients.
    Ipv4 InstanceConnectEndpointDnsNames
    The IPv4-only DNS name of the EC2 Instance Connect Endpoint.
    dualstack InstanceConnectEndpointDnsNames
    The dualstack DNS name of the EC2 Instance Connect Endpoint. A dualstack DNS name supports connections from both IPv4 and IPv6 clients.
    ipv4 InstanceConnectEndpointDnsNames
    The IPv4-only DNS name of the EC2 Instance Connect Endpoint.
    dualstack InstanceConnectEndpointDnsNames
    The dualstack DNS name of the EC2 Instance Connect Endpoint. A dualstack DNS name supports connections from both IPv4 and IPv6 clients.
    ipv4 InstanceConnectEndpointDnsNames
    The IPv4-only DNS name of the EC2 Instance Connect Endpoint.
    dualstack InstanceConnectEndpointDnsNames
    The dualstack DNS name of the EC2 Instance Connect Endpoint. A dualstack DNS name supports connections from both IPv4 and IPv6 clients.
    ipv4 InstanceConnectEndpointDnsNames
    The IPv4-only DNS name of the EC2 Instance Connect Endpoint.
    dualstack Property Map
    The dualstack DNS name of the EC2 Instance Connect Endpoint. A dualstack DNS name supports connections from both IPv4 and IPv6 clients.
    ipv4 Property Map
    The IPv4-only DNS name of the EC2 Instance Connect Endpoint.

    InstanceConnectEndpointState

    Tag

    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    Package Details

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

    We recommend new projects start with resources from the AWS provider.

    Viewing docs for AWS Cloud Control v1.58.0
    published on Monday, Mar 23, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.