@pulumi/aws-native
Version:
The Pulumi AWS Cloud Control Provider enables you to build, deploy, and manage [any AWS resource that's supported by the AWS Cloud Control API](https://github.com/pulumi/pulumi-aws-native/blob/master/provider/cmd/pulumi-gen-aws-native/supported-types.txt)
121 lines (120 loc) • 4.79 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
import * as enums from "../types/enums";
/**
* Resource Type definition for AWS::EC2::InstanceConnectEndpoint
*/
export declare class InstanceConnectEndpoint extends pulumi.CustomResource {
/**
* Get an existing InstanceConnectEndpoint resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): InstanceConnectEndpoint;
/**
* Returns true if the given object is an instance of InstanceConnectEndpoint. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj: any): obj is InstanceConnectEndpoint;
/**
* The Availability Zone of the EC2 Instance Connect Endpoint
*/
readonly availabilityZone: pulumi.Output<string>;
/**
* The ID of the Availability Zone of the EC2 Instance Connect Endpoint
*/
readonly availabilityZoneId: pulumi.Output<string>;
/**
* The ID of the EC2 Instance Connect Endpoint.
*/
readonly awsId: pulumi.Output<string>;
/**
* The client token of the instance connect endpoint.
*/
readonly clientToken: pulumi.Output<string | undefined>;
/**
* The date and time that the EC2 Instance Connect Endpoint was created
*/
readonly createdAt: pulumi.Output<string>;
/**
* The Amazon Resource Name (ARN) of the EC2 Instance Connect Endpoint
*/
readonly instanceConnectEndpointArn: pulumi.Output<string>;
/**
* The ID of the elastic network interface that Amazon EC2 automatically created when creating the EC2 Instance Connect Endpoint
*/
readonly networkInterfaceIds: pulumi.Output<string[]>;
/**
* The ID of the AWS account that created the EC2 Instance Connect Endpoint
*/
readonly ownerId: pulumi.Output<string>;
/**
* Indicates whether your client's IP address is preserved as the source when you connect to a resource.
*/
readonly preserveClientIp: pulumi.Output<boolean | undefined>;
/**
* The public DNS names of the endpoint
*/
readonly publicDnsNames: pulumi.Output<outputs.ec2.InstanceConnectEndpointPublicDnsNames>;
/**
* The security groups associated with the endpoint.
*/
readonly securityGroupIds: pulumi.Output<string[] | undefined>;
/**
* The current state of the EC2 Instance Connect Endpoint
*/
readonly state: pulumi.Output<enums.ec2.InstanceConnectEndpointState>;
/**
* The message for the current state of the EC2 Instance Connect Endpoint. Can include a failure message
*/
readonly stateMessage: pulumi.Output<string>;
/**
* The ID of the subnet in which the EC2 Instance Connect Endpoint was created.
*/
readonly subnetId: pulumi.Output<string>;
/**
* The tags assigned to the EC2 Instance Connect Endpoint.
*/
readonly tags: pulumi.Output<outputs.Tag[] | undefined>;
/**
* The ID of the VPC in which the EC2 Instance Connect Endpoint was created
*/
readonly vpcId: pulumi.Output<string>;
/**
* Create a InstanceConnectEndpoint resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name: string, args: InstanceConnectEndpointArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* The set of arguments for constructing a InstanceConnectEndpoint resource.
*/
export interface InstanceConnectEndpointArgs {
/**
* The client token of the instance connect endpoint.
*/
clientToken?: pulumi.Input<string>;
/**
* Indicates whether your client's IP address is preserved as the source when you connect to a resource.
*/
preserveClientIp?: pulumi.Input<boolean>;
/**
* The security groups associated with the endpoint.
*/
securityGroupIds?: pulumi.Input<pulumi.Input<string>[]>;
/**
* The ID of the subnet in which the EC2 Instance Connect Endpoint was created.
*/
subnetId: pulumi.Input<string>;
/**
* The tags assigned to the EC2 Instance Connect Endpoint.
*/
tags?: pulumi.Input<pulumi.Input<inputs.TagArgs>[]>;
}