1. Packages
  2. AWS Classic
  3. API Docs
  4. ec2transitgateway
  5. InstanceConnectEndpoint

Try AWS Native preview for resources not in the classic version.

AWS Classic v6.37.1 published on Friday, May 24, 2024 by Pulumi

aws.ec2transitgateway.InstanceConnectEndpoint

Explore with Pulumi AI

aws logo

Try AWS Native preview for resources not in the classic version.

AWS Classic v6.37.1 published on Friday, May 24, 2024 by Pulumi

    Manages an EC2 Instance Connect Endpoint.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const example = new aws.ec2transitgateway.InstanceConnectEndpoint("example", {subnetId: exampleAwsSubnet.id});
    
    import pulumi
    import pulumi_aws as aws
    
    example = aws.ec2transitgateway.InstanceConnectEndpoint("example", subnet_id=example_aws_subnet["id"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2transitgateway"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := ec2transitgateway.NewInstanceConnectEndpoint(ctx, "example", &ec2transitgateway.InstanceConnectEndpointArgs{
    			SubnetId: pulumi.Any(exampleAwsSubnet.Id),
    		})
    		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.Ec2TransitGateway.InstanceConnectEndpoint("example", new()
        {
            SubnetId = exampleAwsSubnet.Id,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.ec2transitgateway.InstanceConnectEndpoint;
    import com.pulumi.aws.ec2transitgateway.InstanceConnectEndpointArgs;
    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 InstanceConnectEndpoint("example", InstanceConnectEndpointArgs.builder()
                .subnetId(exampleAwsSubnet.id())
                .build());
    
        }
    }
    
    resources:
      example:
        type: aws:ec2transitgateway:InstanceConnectEndpoint
        properties:
          subnetId: ${exampleAwsSubnet.id}
    

    Create InstanceConnectEndpoint Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new InstanceConnectEndpoint(name: string, args: InstanceConnectEndpointArgs, opts?: CustomResourceOptions);
    @overload
    def InstanceConnectEndpoint(resource_name: str,
                                args: InstanceConnectEndpointArgs,
                                opts: Optional[ResourceOptions] = None)
    
    @overload
    def InstanceConnectEndpoint(resource_name: str,
                                opts: Optional[ResourceOptions] = None,
                                subnet_id: Optional[str] = None,
                                preserve_client_ip: Optional[bool] = None,
                                security_group_ids: Optional[Sequence[str]] = None,
                                tags: Optional[Mapping[str, str]] = None,
                                timeouts: Optional[InstanceConnectEndpointTimeoutsArgs] = None)
    func NewInstanceConnectEndpoint(ctx *Context, name string, args InstanceConnectEndpointArgs, opts ...ResourceOption) (*InstanceConnectEndpoint, error)
    public InstanceConnectEndpoint(string name, InstanceConnectEndpointArgs args, CustomResourceOptions? opts = null)
    public InstanceConnectEndpoint(String name, InstanceConnectEndpointArgs args)
    public InstanceConnectEndpoint(String name, InstanceConnectEndpointArgs args, CustomResourceOptions options)
    
    type: aws:ec2transitgateway:InstanceConnectEndpoint
    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 InstanceConnectEndpointArgs
    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 InstanceConnectEndpointArgs
    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 InstanceConnectEndpointArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args InstanceConnectEndpointArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args InstanceConnectEndpointArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

    The following reference example uses placeholder values for all input properties.

    var instanceConnectEndpointResource = new Aws.Ec2TransitGateway.InstanceConnectEndpoint("instanceConnectEndpointResource", new()
    {
        SubnetId = "string",
        PreserveClientIp = false,
        SecurityGroupIds = new[]
        {
            "string",
        },
        Tags = 
        {
            { "string", "string" },
        },
        Timeouts = new Aws.Ec2TransitGateway.Inputs.InstanceConnectEndpointTimeoutsArgs
        {
            Create = "string",
            Delete = "string",
        },
    });
    
    example, err := ec2transitgateway.NewInstanceConnectEndpoint(ctx, "instanceConnectEndpointResource", &ec2transitgateway.InstanceConnectEndpointArgs{
    	SubnetId:         pulumi.String("string"),
    	PreserveClientIp: pulumi.Bool(false),
    	SecurityGroupIds: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Tags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Timeouts: &ec2transitgateway.InstanceConnectEndpointTimeoutsArgs{
    		Create: pulumi.String("string"),
    		Delete: pulumi.String("string"),
    	},
    })
    
    var instanceConnectEndpointResource = new InstanceConnectEndpoint("instanceConnectEndpointResource", InstanceConnectEndpointArgs.builder()        
        .subnetId("string")
        .preserveClientIp(false)
        .securityGroupIds("string")
        .tags(Map.of("string", "string"))
        .timeouts(InstanceConnectEndpointTimeoutsArgs.builder()
            .create("string")
            .delete("string")
            .build())
        .build());
    
    instance_connect_endpoint_resource = aws.ec2transitgateway.InstanceConnectEndpoint("instanceConnectEndpointResource",
        subnet_id="string",
        preserve_client_ip=False,
        security_group_ids=["string"],
        tags={
            "string": "string",
        },
        timeouts=aws.ec2transitgateway.InstanceConnectEndpointTimeoutsArgs(
            create="string",
            delete="string",
        ))
    
    const instanceConnectEndpointResource = new aws.ec2transitgateway.InstanceConnectEndpoint("instanceConnectEndpointResource", {
        subnetId: "string",
        preserveClientIp: false,
        securityGroupIds: ["string"],
        tags: {
            string: "string",
        },
        timeouts: {
            create: "string",
            "delete": "string",
        },
    });
    
    type: aws:ec2transitgateway:InstanceConnectEndpoint
    properties:
        preserveClientIp: false
        securityGroupIds:
            - string
        subnetId: string
        tags:
            string: string
        timeouts:
            create: string
            delete: string
    

    InstanceConnectEndpoint Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The InstanceConnectEndpoint resource accepts the following input properties:

    SubnetId string
    The ID of the subnet in which to create the EC2 Instance Connect Endpoint.
    PreserveClientIp bool
    Indicates whether your client's IP address is preserved as the source. Default: true.
    SecurityGroupIds List<string>
    One or more security groups to associate with the endpoint. If you don't specify a security group, the default security group for the VPC will be associated with the endpoint.
    Tags Dictionary<string, string>
    Map of tags to assign to this resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    Timeouts InstanceConnectEndpointTimeouts
    SubnetId string
    The ID of the subnet in which to create the EC2 Instance Connect Endpoint.
    PreserveClientIp bool
    Indicates whether your client's IP address is preserved as the source. Default: true.
    SecurityGroupIds []string
    One or more security groups to associate with the endpoint. If you don't specify a security group, the default security group for the VPC will be associated with the endpoint.
    Tags map[string]string
    Map of tags to assign to this resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    Timeouts InstanceConnectEndpointTimeoutsArgs
    subnetId String
    The ID of the subnet in which to create the EC2 Instance Connect Endpoint.
    preserveClientIp Boolean
    Indicates whether your client's IP address is preserved as the source. Default: true.
    securityGroupIds List<String>
    One or more security groups to associate with the endpoint. If you don't specify a security group, the default security group for the VPC will be associated with the endpoint.
    tags Map<String,String>
    Map of tags to assign to this resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    timeouts InstanceConnectEndpointTimeouts
    subnetId string
    The ID of the subnet in which to create the EC2 Instance Connect Endpoint.
    preserveClientIp boolean
    Indicates whether your client's IP address is preserved as the source. Default: true.
    securityGroupIds string[]
    One or more security groups to associate with the endpoint. If you don't specify a security group, the default security group for the VPC will be associated with the endpoint.
    tags {[key: string]: string}
    Map of tags to assign to this resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    timeouts InstanceConnectEndpointTimeouts
    subnet_id str
    The ID of the subnet in which to create the EC2 Instance Connect Endpoint.
    preserve_client_ip bool
    Indicates whether your client's IP address is preserved as the source. Default: true.
    security_group_ids Sequence[str]
    One or more security groups to associate with the endpoint. If you don't specify a security group, the default security group for the VPC will be associated with the endpoint.
    tags Mapping[str, str]
    Map of tags to assign to this resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    timeouts InstanceConnectEndpointTimeoutsArgs
    subnetId String
    The ID of the subnet in which to create the EC2 Instance Connect Endpoint.
    preserveClientIp Boolean
    Indicates whether your client's IP address is preserved as the source. Default: true.
    securityGroupIds List<String>
    One or more security groups to associate with the endpoint. If you don't specify a security group, the default security group for the VPC will be associated with the endpoint.
    tags Map<String>
    Map of tags to assign to this resource. If configured with a provider default_tags configuration 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 InstanceConnectEndpoint resource produces the following output properties:

    Arn string
    The Amazon Resource Name (ARN) of the EC2 Instance Connect Endpoint.
    AvailabilityZone string
    The Availability Zone of the EC2 Instance Connect Endpoint.
    DnsName string
    The DNS name of the EC2 Instance Connect Endpoint.
    FipsDnsName string
    The DNS name of the EC2 Instance Connect FIPS Endpoint.
    Id string
    The provider-assigned unique ID for this managed resource.
    NetworkInterfaceIds List<string>
    The IDs of the ENIs 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.
    TagsAll Dictionary<string, string>
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    VpcId string
    The ID of the VPC in which the EC2 Instance Connect Endpoint was created.
    Arn string
    The Amazon Resource Name (ARN) of the EC2 Instance Connect Endpoint.
    AvailabilityZone string
    The Availability Zone of the EC2 Instance Connect Endpoint.
    DnsName string
    The DNS name of the EC2 Instance Connect Endpoint.
    FipsDnsName string
    The DNS name of the EC2 Instance Connect FIPS Endpoint.
    Id string
    The provider-assigned unique ID for this managed resource.
    NetworkInterfaceIds []string
    The IDs of the ENIs 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.
    TagsAll map[string]string
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    VpcId string
    The ID of the VPC in which the EC2 Instance Connect Endpoint was created.
    arn String
    The Amazon Resource Name (ARN) of the EC2 Instance Connect Endpoint.
    availabilityZone String
    The Availability Zone of the EC2 Instance Connect Endpoint.
    dnsName String
    The DNS name of the EC2 Instance Connect Endpoint.
    fipsDnsName String
    The DNS name of the EC2 Instance Connect FIPS Endpoint.
    id String
    The provider-assigned unique ID for this managed resource.
    networkInterfaceIds List<String>
    The IDs of the ENIs 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.
    tagsAll Map<String,String>
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    vpcId String
    The ID of the VPC in which the EC2 Instance Connect Endpoint was created.
    arn string
    The Amazon Resource Name (ARN) of the EC2 Instance Connect Endpoint.
    availabilityZone string
    The Availability Zone of the EC2 Instance Connect Endpoint.
    dnsName string
    The DNS name of the EC2 Instance Connect Endpoint.
    fipsDnsName string
    The DNS name of the EC2 Instance Connect FIPS Endpoint.
    id string
    The provider-assigned unique ID for this managed resource.
    networkInterfaceIds string[]
    The IDs of the ENIs 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.
    tagsAll {[key: string]: string}
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    vpcId string
    The ID of the VPC in which the EC2 Instance Connect Endpoint was created.
    arn str
    The Amazon Resource Name (ARN) of the EC2 Instance Connect Endpoint.
    availability_zone str
    The Availability Zone of the EC2 Instance Connect Endpoint.
    dns_name str
    The DNS name of the EC2 Instance Connect Endpoint.
    fips_dns_name str
    The DNS name of the EC2 Instance Connect FIPS Endpoint.
    id str
    The provider-assigned unique ID for this managed resource.
    network_interface_ids Sequence[str]
    The IDs of the ENIs 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.
    tags_all Mapping[str, str]
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    vpc_id str
    The ID of the VPC in which the EC2 Instance Connect Endpoint was created.
    arn String
    The Amazon Resource Name (ARN) of the EC2 Instance Connect Endpoint.
    availabilityZone String
    The Availability Zone of the EC2 Instance Connect Endpoint.
    dnsName String
    The DNS name of the EC2 Instance Connect Endpoint.
    fipsDnsName String
    The DNS name of the EC2 Instance Connect FIPS Endpoint.
    id String
    The provider-assigned unique ID for this managed resource.
    networkInterfaceIds List<String>
    The IDs of the ENIs 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.
    tagsAll Map<String>
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    vpcId String
    The ID of the VPC in which the EC2 Instance Connect Endpoint was created.

    Look up Existing InstanceConnectEndpoint Resource

    Get an existing InstanceConnectEndpoint 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?: InstanceConnectEndpointState, opts?: CustomResourceOptions): InstanceConnectEndpoint
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            arn: Optional[str] = None,
            availability_zone: Optional[str] = None,
            dns_name: Optional[str] = None,
            fips_dns_name: Optional[str] = None,
            network_interface_ids: Optional[Sequence[str]] = None,
            owner_id: Optional[str] = None,
            preserve_client_ip: Optional[bool] = None,
            security_group_ids: Optional[Sequence[str]] = None,
            subnet_id: Optional[str] = None,
            tags: Optional[Mapping[str, str]] = None,
            tags_all: Optional[Mapping[str, str]] = None,
            timeouts: Optional[InstanceConnectEndpointTimeoutsArgs] = None,
            vpc_id: Optional[str] = None) -> InstanceConnectEndpoint
    func GetInstanceConnectEndpoint(ctx *Context, name string, id IDInput, state *InstanceConnectEndpointState, opts ...ResourceOption) (*InstanceConnectEndpoint, error)
    public static InstanceConnectEndpoint Get(string name, Input<string> id, InstanceConnectEndpointState? state, CustomResourceOptions? opts = null)
    public static InstanceConnectEndpoint get(String name, Output<String> id, InstanceConnectEndpointState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    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.
    The following state arguments are supported:
    Arn string
    The Amazon Resource Name (ARN) of the EC2 Instance Connect Endpoint.
    AvailabilityZone string
    The Availability Zone of the EC2 Instance Connect Endpoint.
    DnsName string
    The DNS name of the EC2 Instance Connect Endpoint.
    FipsDnsName string
    The DNS name of the EC2 Instance Connect FIPS Endpoint.
    NetworkInterfaceIds List<string>
    The IDs of the ENIs 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.
    PreserveClientIp bool
    Indicates whether your client's IP address is preserved as the source. Default: true.
    SecurityGroupIds List<string>
    One or more security groups to associate with the endpoint. If you don't specify a security group, the default security group for the VPC will be associated with the endpoint.
    SubnetId string
    The ID of the subnet in which to create the EC2 Instance Connect Endpoint.
    Tags Dictionary<string, string>
    Map of tags to assign to this resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    TagsAll Dictionary<string, string>
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    Timeouts InstanceConnectEndpointTimeouts
    VpcId string
    The ID of the VPC in which the EC2 Instance Connect Endpoint was created.
    Arn string
    The Amazon Resource Name (ARN) of the EC2 Instance Connect Endpoint.
    AvailabilityZone string
    The Availability Zone of the EC2 Instance Connect Endpoint.
    DnsName string
    The DNS name of the EC2 Instance Connect Endpoint.
    FipsDnsName string
    The DNS name of the EC2 Instance Connect FIPS Endpoint.
    NetworkInterfaceIds []string
    The IDs of the ENIs 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.
    PreserveClientIp bool
    Indicates whether your client's IP address is preserved as the source. Default: true.
    SecurityGroupIds []string
    One or more security groups to associate with the endpoint. If you don't specify a security group, the default security group for the VPC will be associated with the endpoint.
    SubnetId string
    The ID of the subnet in which to create the EC2 Instance Connect Endpoint.
    Tags map[string]string
    Map of tags to assign to this resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    TagsAll map[string]string
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    Timeouts InstanceConnectEndpointTimeoutsArgs
    VpcId string
    The ID of the VPC in which the EC2 Instance Connect Endpoint was created.
    arn String
    The Amazon Resource Name (ARN) of the EC2 Instance Connect Endpoint.
    availabilityZone String
    The Availability Zone of the EC2 Instance Connect Endpoint.
    dnsName String
    The DNS name of the EC2 Instance Connect Endpoint.
    fipsDnsName String
    The DNS name of the EC2 Instance Connect FIPS Endpoint.
    networkInterfaceIds List<String>
    The IDs of the ENIs 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.
    preserveClientIp Boolean
    Indicates whether your client's IP address is preserved as the source. Default: true.
    securityGroupIds List<String>
    One or more security groups to associate with the endpoint. If you don't specify a security group, the default security group for the VPC will be associated with the endpoint.
    subnetId String
    The ID of the subnet in which to create the EC2 Instance Connect Endpoint.
    tags Map<String,String>
    Map of tags to assign to this resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    tagsAll Map<String,String>
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    timeouts InstanceConnectEndpointTimeouts
    vpcId String
    The ID of the VPC in which the EC2 Instance Connect Endpoint was created.
    arn string
    The Amazon Resource Name (ARN) of the EC2 Instance Connect Endpoint.
    availabilityZone string
    The Availability Zone of the EC2 Instance Connect Endpoint.
    dnsName string
    The DNS name of the EC2 Instance Connect Endpoint.
    fipsDnsName string
    The DNS name of the EC2 Instance Connect FIPS Endpoint.
    networkInterfaceIds string[]
    The IDs of the ENIs 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.
    preserveClientIp boolean
    Indicates whether your client's IP address is preserved as the source. Default: true.
    securityGroupIds string[]
    One or more security groups to associate with the endpoint. If you don't specify a security group, the default security group for the VPC will be associated with the endpoint.
    subnetId string
    The ID of the subnet in which to create the EC2 Instance Connect Endpoint.
    tags {[key: string]: string}
    Map of tags to assign to this resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    tagsAll {[key: string]: string}
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    timeouts InstanceConnectEndpointTimeouts
    vpcId string
    The ID of the VPC in which the EC2 Instance Connect Endpoint was created.
    arn str
    The Amazon Resource Name (ARN) of the EC2 Instance Connect Endpoint.
    availability_zone str
    The Availability Zone of the EC2 Instance Connect Endpoint.
    dns_name str
    The DNS name of the EC2 Instance Connect Endpoint.
    fips_dns_name str
    The DNS name of the EC2 Instance Connect FIPS Endpoint.
    network_interface_ids Sequence[str]
    The IDs of the ENIs 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.
    preserve_client_ip bool
    Indicates whether your client's IP address is preserved as the source. Default: true.
    security_group_ids Sequence[str]
    One or more security groups to associate with the endpoint. If you don't specify a security group, the default security group for the VPC will be associated with the endpoint.
    subnet_id str
    The ID of the subnet in which to create the EC2 Instance Connect Endpoint.
    tags Mapping[str, str]
    Map of tags to assign to this resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    tags_all Mapping[str, str]
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    timeouts InstanceConnectEndpointTimeoutsArgs
    vpc_id str
    The ID of the VPC in which the EC2 Instance Connect Endpoint was created.
    arn String
    The Amazon Resource Name (ARN) of the EC2 Instance Connect Endpoint.
    availabilityZone String
    The Availability Zone of the EC2 Instance Connect Endpoint.
    dnsName String
    The DNS name of the EC2 Instance Connect Endpoint.
    fipsDnsName String
    The DNS name of the EC2 Instance Connect FIPS Endpoint.
    networkInterfaceIds List<String>
    The IDs of the ENIs 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.
    preserveClientIp Boolean
    Indicates whether your client's IP address is preserved as the source. Default: true.
    securityGroupIds List<String>
    One or more security groups to associate with the endpoint. If you don't specify a security group, the default security group for the VPC will be associated with the endpoint.
    subnetId String
    The ID of the subnet in which to create the EC2 Instance Connect Endpoint.
    tags Map<String>
    Map of tags to assign to this resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    tagsAll Map<String>
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    timeouts Property Map
    vpcId String
    The ID of the VPC in which the EC2 Instance Connect Endpoint was created.

    Supporting Types

    InstanceConnectEndpointTimeouts, InstanceConnectEndpointTimeoutsArgs

    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.
    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.
    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.
    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.
    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.
    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.

    Import

    Using pulumi import, import EC2 Instance Connect Endpoints using the id. For example:

    $ pulumi import aws:ec2transitgateway/instanceConnectEndpoint:InstanceConnectEndpoint example eice-012345678
    

    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 aws Terraform Provider.
    aws logo

    Try AWS Native preview for resources not in the classic version.

    AWS Classic v6.37.1 published on Friday, May 24, 2024 by Pulumi