InstanceConnectEndpoint

class InstanceConnectEndpoint : KotlinCustomResource

Manages an EC2 Instance Connect Endpoint.

Example Usage

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(aws_subnet.example().id())
.build());
}
}

Import

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

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

Properties

Link copied to clipboard
val arn: Output<String>

The Amazon Resource Name (ARN) of the EC2 Instance Connect Endpoint.

Link copied to clipboard

The Availability Zone of the EC2 Instance Connect Endpoint.

Link copied to clipboard
val dnsName: Output<String>

The DNS name of the EC2 Instance Connect Endpoint.

Link copied to clipboard
val fipsDnsName: Output<String>

The DNS name of the EC2 Instance Connect FIPS Endpoint.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard

The IDs of the ENIs that Amazon EC2 automatically created when creating the EC2 Instance Connect Endpoint.

Link copied to clipboard
val ownerId: Output<String>

The ID of the AWS account that created the EC2 Instance Connect Endpoint.

Link copied to clipboard

Indicates whether your client's IP address is preserved as the source. Default: true.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

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.

Link copied to clipboard
val subnetId: Output<String>

The ID of the subnet in which to create the EC2 Instance Connect Endpoint.

Link copied to clipboard
val tags: Output<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.

Link copied to clipboard
val tagsAll: Output<Map<String, String>>

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Link copied to clipboard
Link copied to clipboard
val urn: Output<String>
Link copied to clipboard
val vpcId: Output<String>

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