import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Resource for managing an AWS EC2 Verified Access Endpoint. * * ## Example Usage * * ### ALB Example * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = new aws.verifiedaccess.Endpoint("example", { * loadBalancerOptions: { * loadBalancerArn: exampleAwsLb.arn, * port: 443, * protocol: "https", * subnetIds: .map(subnet => (subnet.id)), * }, * applicationDomain: "example.com", * attachmentType: "vpc", * description: "example", * domainCertificateArn: exampleAwsAcmCertificate.arn, * endpointDomainPrefix: "example", * endpointType: "load-balancer", * securityGroupIds: [exampleAwsSecurityGroup.id], * verifiedAccessGroupId: exampleAwsVerifiedaccessGroup.id, * }); * ``` * * ### Network Interface Example * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = new aws.verifiedaccess.Endpoint("example", { * networkInterfaceOptions: { * networkInterfaceId: exampleAwsNetworkInterface.id, * port: 443, * protocol: "https", * }, * applicationDomain: "example.com", * attachmentType: "vpc", * description: "example", * domainCertificateArn: exampleAwsAcmCertificate.arn, * endpointDomainPrefix: "example", * endpointType: "network-interface", * securityGroupIds: [exampleAwsSecurityGroup.id], * verifiedAccessGroupId: exampleAwsVerifiedaccessGroup.id, * }); * ``` * * ### CIDR Example * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = new aws.verifiedaccess.Endpoint("example", { * cidrOptions: { * portRanges: [{ * fromPort: 443, * toPort: 443, * }], * cidr: test[0].cidrBlock, * protocol: "tcp", * subnetIds: .map(subnet => (subnet.id)), * }, * attachmentType: "vpc", * description: "example", * endpointType: "cidr", * securityGroupIds: [testAwsSecurityGroup.id], * verifiedAccessGroupId: testAwsVerifiedaccessGroup.id, * }); * ``` * * ## Import * * Using `pulumi import`, import Verified Access Instances using the `id`. For example: * * ```sh * $ pulumi import aws:verifiedaccess/endpoint:Endpoint example vae-8012925589 * ``` */ export declare class Endpoint extends pulumi.CustomResource { /** * Get an existing Endpoint 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 state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: EndpointState, opts?: pulumi.CustomResourceOptions): Endpoint; /** * Check whether an existing Endpoint resource with the given ID exists. * * @param id The _unique_ provider ID of the resource to check. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static exists(id: pulumi.Input, state?: EndpointState, opts?: pulumi.CustomResourceOptions): pulumi.Output; /** * Returns true if the given object is an instance of Endpoint. 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 Endpoint; /** * DNS name for users to reach your application. This parameter is required if the endpoint type is `load-balancer` or `network-interface`. */ readonly applicationDomain: pulumi.Output; /** * Type of attachment. Currently, only `vpc` is supported. */ readonly attachmentType: pulumi.Output; /** * CIDR block details. This parameter is required if the endpoint type is `cidr`. See below. */ readonly cidrOptions: pulumi.Output; /** * Description for the Verified Access endpoint. */ readonly description: pulumi.Output; /** * Returned if endpoint has a device trust provider attached. */ readonly deviceValidationDomain: pulumi.Output; /** * ARN of the public TLS/SSL certificate in AWS Certificate Manager to associate with the endpoint. The CN in the certificate must match the DNS name your end users will use to reach your application. This parameter is required if the endpoint type is `load-balancer` or `network-interface`. */ readonly domainCertificateArn: pulumi.Output; /** * DNS name that is generated for the endpoint. */ readonly endpointDomain: pulumi.Output; /** * Custom identifier that is prepended to the DNS name that is generated for the endpoint. */ readonly endpointDomainPrefix: pulumi.Output; /** * Type of Verified Access endpoint to create. Valid values are `load-balancer`, `network-interface`, `cidr`, and `rds`. */ readonly endpointType: pulumi.Output; /** * Load balancer details. This parameter is required if the endpoint type is `load-balancer`. See below. */ readonly loadBalancerOptions: pulumi.Output; /** * Network interface details. This parameter is required if the endpoint type is `network-interface`. See below. */ readonly networkInterfaceOptions: pulumi.Output; /** * Policy document that is associated with this resource. */ readonly policyDocument: pulumi.Output; /** * RDS details. This parameter is required if the endpoint type is `rds`. See below. */ readonly rdsOptions: pulumi.Output; /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. */ readonly region: pulumi.Output; /** * List of the security groups IDs to associate with the Verified Access endpoint. */ readonly securityGroupIds: pulumi.Output; /** * Options in use for server side encryption. See below. */ readonly sseSpecification: pulumi.Output; /** * Key-value tags for the Verified Access Endpoint. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. */ readonly tags: pulumi.Output<{ [key: string]: string; } | undefined>; readonly tagsAll: pulumi.Output<{ [key: string]: string; }>; /** * ID of the Verified Access group to associate the endpoint with. * * The following arguments are optional: */ readonly verifiedAccessGroupId: pulumi.Output; /** * ID of the Verified Access instance. */ readonly verifiedAccessInstanceId: pulumi.Output; /** * Create a Endpoint 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: EndpointArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Endpoint resources. */ export interface EndpointState { /** * DNS name for users to reach your application. This parameter is required if the endpoint type is `load-balancer` or `network-interface`. */ applicationDomain?: pulumi.Input; /** * Type of attachment. Currently, only `vpc` is supported. */ attachmentType?: pulumi.Input; /** * CIDR block details. This parameter is required if the endpoint type is `cidr`. See below. */ cidrOptions?: pulumi.Input; /** * Description for the Verified Access endpoint. */ description?: pulumi.Input; /** * Returned if endpoint has a device trust provider attached. */ deviceValidationDomain?: pulumi.Input; /** * ARN of the public TLS/SSL certificate in AWS Certificate Manager to associate with the endpoint. The CN in the certificate must match the DNS name your end users will use to reach your application. This parameter is required if the endpoint type is `load-balancer` or `network-interface`. */ domainCertificateArn?: pulumi.Input; /** * DNS name that is generated for the endpoint. */ endpointDomain?: pulumi.Input; /** * Custom identifier that is prepended to the DNS name that is generated for the endpoint. */ endpointDomainPrefix?: pulumi.Input; /** * Type of Verified Access endpoint to create. Valid values are `load-balancer`, `network-interface`, `cidr`, and `rds`. */ endpointType?: pulumi.Input; /** * Load balancer details. This parameter is required if the endpoint type is `load-balancer`. See below. */ loadBalancerOptions?: pulumi.Input; /** * Network interface details. This parameter is required if the endpoint type is `network-interface`. See below. */ networkInterfaceOptions?: pulumi.Input; /** * Policy document that is associated with this resource. */ policyDocument?: pulumi.Input; /** * RDS details. This parameter is required if the endpoint type is `rds`. See below. */ rdsOptions?: pulumi.Input; /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. */ region?: pulumi.Input; /** * List of the security groups IDs to associate with the Verified Access endpoint. */ securityGroupIds?: pulumi.Input[] | undefined>; /** * Options in use for server side encryption. See below. */ sseSpecification?: pulumi.Input; /** * Key-value tags for the Verified Access Endpoint. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; tagsAll?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * ID of the Verified Access group to associate the endpoint with. * * The following arguments are optional: */ verifiedAccessGroupId?: pulumi.Input; /** * ID of the Verified Access instance. */ verifiedAccessInstanceId?: pulumi.Input; } /** * The set of arguments for constructing a Endpoint resource. */ export interface EndpointArgs { /** * DNS name for users to reach your application. This parameter is required if the endpoint type is `load-balancer` or `network-interface`. */ applicationDomain?: pulumi.Input; /** * Type of attachment. Currently, only `vpc` is supported. */ attachmentType: pulumi.Input; /** * CIDR block details. This parameter is required if the endpoint type is `cidr`. See below. */ cidrOptions?: pulumi.Input; /** * Description for the Verified Access endpoint. */ description?: pulumi.Input; /** * ARN of the public TLS/SSL certificate in AWS Certificate Manager to associate with the endpoint. The CN in the certificate must match the DNS name your end users will use to reach your application. This parameter is required if the endpoint type is `load-balancer` or `network-interface`. */ domainCertificateArn?: pulumi.Input; /** * Custom identifier that is prepended to the DNS name that is generated for the endpoint. */ endpointDomainPrefix?: pulumi.Input; /** * Type of Verified Access endpoint to create. Valid values are `load-balancer`, `network-interface`, `cidr`, and `rds`. */ endpointType: pulumi.Input; /** * Load balancer details. This parameter is required if the endpoint type is `load-balancer`. See below. */ loadBalancerOptions?: pulumi.Input; /** * Network interface details. This parameter is required if the endpoint type is `network-interface`. See below. */ networkInterfaceOptions?: pulumi.Input; /** * Policy document that is associated with this resource. */ policyDocument?: pulumi.Input; /** * RDS details. This parameter is required if the endpoint type is `rds`. See below. */ rdsOptions?: pulumi.Input; /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. */ region?: pulumi.Input; /** * List of the security groups IDs to associate with the Verified Access endpoint. */ securityGroupIds?: pulumi.Input[] | undefined>; /** * Options in use for server side encryption. See below. */ sseSpecification?: pulumi.Input; /** * Key-value tags for the Verified Access Endpoint. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * ID of the Verified Access group to associate the endpoint with. * * The following arguments are optional: */ verifiedAccessGroupId: pulumi.Input; } //# sourceMappingURL=endpoint.d.ts.map