aws.ec2transitgateway.InstanceConnectEndpoint
Explore with Pulumi AI
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.
Constructor 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={
"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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The InstanceConnectEndpoint resource accepts the following input properties:
- Subnet
Id string - The ID of the subnet in which to create the EC2 Instance Connect Endpoint.
- Preserve
Client boolIp - Indicates whether your client's IP address is preserved as the source. Default:
true
. - Security
Group List<string>Ids - 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.
- 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
Instance
Connect Endpoint Timeouts
- Subnet
Id string - The ID of the subnet in which to create the EC2 Instance Connect Endpoint.
- Preserve
Client boolIp - Indicates whether your client's IP address is preserved as the source. Default:
true
. - Security
Group []stringIds - 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.
- 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
Instance
Connect Endpoint Timeouts Args
- subnet
Id String - The ID of the subnet in which to create the EC2 Instance Connect Endpoint.
- preserve
Client BooleanIp - Indicates whether your client's IP address is preserved as the source. Default:
true
. - security
Group List<String>Ids - 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.
- 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
Instance
Connect Endpoint Timeouts
- subnet
Id string - The ID of the subnet in which to create the EC2 Instance Connect Endpoint.
- preserve
Client booleanIp - Indicates whether your client's IP address is preserved as the source. Default:
true
. - security
Group string[]Ids - 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.
- {[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
Instance
Connect Endpoint Timeouts
- subnet_
id str - The ID of the subnet in which to create the EC2 Instance Connect Endpoint.
- preserve_
client_ boolip - Indicates whether your client's IP address is preserved as the source. Default:
true
. - security_
group_ Sequence[str]ids - 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.
- 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
Instance
Connect Endpoint Timeouts Args
- subnet
Id String - The ID of the subnet in which to create the EC2 Instance Connect Endpoint.
- preserve
Client BooleanIp - Indicates whether your client's IP address is preserved as the source. Default:
true
. - security
Group List<String>Ids - 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.
- 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.
- Availability
Zone string - The Availability Zone of the EC2 Instance Connect Endpoint.
- Dns
Name string - The DNS name of the EC2 Instance Connect Endpoint.
- Fips
Dns stringName - The DNS name of the EC2 Instance Connect FIPS Endpoint.
- Id string
- The provider-assigned unique ID for this managed resource.
- Network
Interface List<string>Ids - The IDs of the ENIs that Amazon EC2 automatically created when creating the EC2 Instance Connect Endpoint.
- Owner
Id string - The ID of the AWS account that created the EC2 Instance Connect Endpoint.
- Dictionary<string, string>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - Vpc
Id 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.
- Availability
Zone string - The Availability Zone of the EC2 Instance Connect Endpoint.
- Dns
Name string - The DNS name of the EC2 Instance Connect Endpoint.
- Fips
Dns stringName - The DNS name of the EC2 Instance Connect FIPS Endpoint.
- Id string
- The provider-assigned unique ID for this managed resource.
- Network
Interface []stringIds - The IDs of the ENIs that Amazon EC2 automatically created when creating the EC2 Instance Connect Endpoint.
- Owner
Id string - The ID of the AWS account that created the EC2 Instance Connect Endpoint.
- map[string]string
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - Vpc
Id 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.
- availability
Zone String - The Availability Zone of the EC2 Instance Connect Endpoint.
- dns
Name String - The DNS name of the EC2 Instance Connect Endpoint.
- fips
Dns StringName - The DNS name of the EC2 Instance Connect FIPS Endpoint.
- id String
- The provider-assigned unique ID for this managed resource.
- network
Interface List<String>Ids - The IDs of the ENIs that Amazon EC2 automatically created when creating the EC2 Instance Connect Endpoint.
- owner
Id String - The ID of the AWS account that created the EC2 Instance Connect Endpoint.
- Map<String,String>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - vpc
Id 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.
- availability
Zone string - The Availability Zone of the EC2 Instance Connect Endpoint.
- dns
Name string - The DNS name of the EC2 Instance Connect Endpoint.
- fips
Dns stringName - The DNS name of the EC2 Instance Connect FIPS Endpoint.
- id string
- The provider-assigned unique ID for this managed resource.
- network
Interface string[]Ids - The IDs of the ENIs that Amazon EC2 automatically created when creating the EC2 Instance Connect Endpoint.
- owner
Id string - The ID of the AWS account that created the EC2 Instance Connect Endpoint.
- {[key: string]: string}
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - vpc
Id 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_ strname - The DNS name of the EC2 Instance Connect FIPS Endpoint.
- id str
- The provider-assigned unique ID for this managed resource.
- network_
interface_ Sequence[str]ids - 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.
- Mapping[str, str]
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - 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.
- availability
Zone String - The Availability Zone of the EC2 Instance Connect Endpoint.
- dns
Name String - The DNS name of the EC2 Instance Connect Endpoint.
- fips
Dns StringName - The DNS name of the EC2 Instance Connect FIPS Endpoint.
- id String
- The provider-assigned unique ID for this managed resource.
- network
Interface List<String>Ids - The IDs of the ENIs that Amazon EC2 automatically created when creating the EC2 Instance Connect Endpoint.
- owner
Id String - The ID of the AWS account that created the EC2 Instance Connect Endpoint.
- Map<String>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - vpc
Id 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.
- Arn string
- The Amazon Resource Name (ARN) of the EC2 Instance Connect Endpoint.
- Availability
Zone string - The Availability Zone of the EC2 Instance Connect Endpoint.
- Dns
Name string - The DNS name of the EC2 Instance Connect Endpoint.
- Fips
Dns stringName - The DNS name of the EC2 Instance Connect FIPS Endpoint.
- Network
Interface List<string>Ids - The IDs of the ENIs that Amazon EC2 automatically created when creating the EC2 Instance Connect Endpoint.
- Owner
Id string - The ID of the AWS account that created the EC2 Instance Connect Endpoint.
- Preserve
Client boolIp - Indicates whether your client's IP address is preserved as the source. Default:
true
. - Security
Group List<string>Ids - 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 string - The ID of the subnet in which to create the EC2 Instance Connect Endpoint.
- 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. - Dictionary<string, string>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - Timeouts
Instance
Connect Endpoint Timeouts - Vpc
Id 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.
- Availability
Zone string - The Availability Zone of the EC2 Instance Connect Endpoint.
- Dns
Name string - The DNS name of the EC2 Instance Connect Endpoint.
- Fips
Dns stringName - The DNS name of the EC2 Instance Connect FIPS Endpoint.
- Network
Interface []stringIds - The IDs of the ENIs that Amazon EC2 automatically created when creating the EC2 Instance Connect Endpoint.
- Owner
Id string - The ID of the AWS account that created the EC2 Instance Connect Endpoint.
- Preserve
Client boolIp - Indicates whether your client's IP address is preserved as the source. Default:
true
. - Security
Group []stringIds - 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 string - The ID of the subnet in which to create the EC2 Instance Connect Endpoint.
- 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. - map[string]string
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - Timeouts
Instance
Connect Endpoint Timeouts Args - Vpc
Id 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.
- availability
Zone String - The Availability Zone of the EC2 Instance Connect Endpoint.
- dns
Name String - The DNS name of the EC2 Instance Connect Endpoint.
- fips
Dns StringName - The DNS name of the EC2 Instance Connect FIPS Endpoint.
- network
Interface List<String>Ids - The IDs of the ENIs that Amazon EC2 automatically created when creating the EC2 Instance Connect Endpoint.
- owner
Id String - The ID of the AWS account that created the EC2 Instance Connect Endpoint.
- preserve
Client BooleanIp - Indicates whether your client's IP address is preserved as the source. Default:
true
. - security
Group List<String>Ids - 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 String - The ID of the subnet in which to create the EC2 Instance Connect Endpoint.
- 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. - Map<String,String>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - timeouts
Instance
Connect Endpoint Timeouts - vpc
Id 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.
- availability
Zone string - The Availability Zone of the EC2 Instance Connect Endpoint.
- dns
Name string - The DNS name of the EC2 Instance Connect Endpoint.
- fips
Dns stringName - The DNS name of the EC2 Instance Connect FIPS Endpoint.
- network
Interface string[]Ids - The IDs of the ENIs that Amazon EC2 automatically created when creating the EC2 Instance Connect Endpoint.
- owner
Id string - The ID of the AWS account that created the EC2 Instance Connect Endpoint.
- preserve
Client booleanIp - Indicates whether your client's IP address is preserved as the source. Default:
true
. - security
Group string[]Ids - 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 string - The ID of the subnet in which to create the EC2 Instance Connect Endpoint.
- {[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. - {[key: string]: string}
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - timeouts
Instance
Connect Endpoint Timeouts - vpc
Id 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_ strname - The DNS name of the EC2 Instance Connect FIPS Endpoint.
- network_
interface_ Sequence[str]ids - 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_ boolip - Indicates whether your client's IP address is preserved as the source. Default:
true
. - security_
group_ Sequence[str]ids - 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.
- 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. - Mapping[str, str]
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - timeouts
Instance
Connect Endpoint Timeouts Args - 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.
- availability
Zone String - The Availability Zone of the EC2 Instance Connect Endpoint.
- dns
Name String - The DNS name of the EC2 Instance Connect Endpoint.
- fips
Dns StringName - The DNS name of the EC2 Instance Connect FIPS Endpoint.
- network
Interface List<String>Ids - The IDs of the ENIs that Amazon EC2 automatically created when creating the EC2 Instance Connect Endpoint.
- owner
Id String - The ID of the AWS account that created the EC2 Instance Connect Endpoint.
- preserve
Client BooleanIp - Indicates whether your client's IP address is preserved as the source. Default:
true
. - security
Group List<String>Ids - 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 String - The ID of the subnet in which to create the EC2 Instance Connect Endpoint.
- 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. - Map<String>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - timeouts Property Map
- vpc
Id 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.