Class Endpoint


  • public class Endpoint
    extends com.pulumi.resources.CustomResource
    Resource for managing an AWS EC2 Verified Access Endpoint. ## Example Usage ### ALB Example ### Network Interface Example
     
     package generated_program;
     
     import com.pulumi.Context;
     import com.pulumi.Pulumi;
     import com.pulumi.core.Output;
     import com.pulumi.aws.verifiedaccess.Endpoint;
     import com.pulumi.aws.verifiedaccess.EndpointArgs;
     import com.pulumi.aws.verifiedaccess.inputs.EndpointNetworkInterfaceOptionsArgs;
     import java.util.ArrayList;
     import java.util.Arrays;
     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 Endpoint("example", EndpointArgs.builder()
                 .networkInterfaceOptions(EndpointNetworkInterfaceOptionsArgs.builder()
                     .networkInterfaceId(exampleAwsNetworkInterface.id())
                     .port(443)
                     .protocol("https")
                     .build())
                 .applicationDomain("example.com")
                 .attachmentType("vpc")
                 .description("example")
                 .domainCertificateArn(exampleAwsAcmCertificate.arn())
                 .endpointDomainPrefix("example")
                 .endpointType("network-interface")
                 .securityGroupIds(exampleAwsSecurityGroup.id())
                 .verifiedAccessGroupId(exampleAwsVerifiedaccessGroup.id())
                 .build());
     
         }
     }
     
     
    ### CIDR Example ## Import Using `pulumi import`, import Verified Access Instances using the `id`. For example: ```sh $ pulumi import aws:verifiedaccess/endpoint:Endpoint example vae-8012925589 ```
    • Nested Class Summary

      • Nested classes/interfaces inherited from class com.pulumi.resources.CustomResource

        com.pulumi.resources.CustomResource.CustomResourceInternal
      • Nested classes/interfaces inherited from class com.pulumi.resources.Resource

        com.pulumi.resources.Resource.LazyField<T extends java.lang.Object>, com.pulumi.resources.Resource.LazyFields, com.pulumi.resources.Resource.ResourceInternal
    • Field Summary

      • Fields inherited from class com.pulumi.resources.Resource

        childResources, remote
    • Constructor Summary

      Constructors 
      Constructor Description
      Endpoint​(java.lang.String name)  
      Endpoint​(java.lang.String name, EndpointArgs args)  
      Endpoint​(java.lang.String name, EndpointArgs args, com.pulumi.resources.CustomResourceOptions options)  
    • Constructor Detail

      • Endpoint

        public Endpoint​(java.lang.String name)
        Parameters:
        name - The _unique_ name of the resulting resource.
      • Endpoint

        public Endpoint​(java.lang.String name,
                        EndpointArgs args)
        Parameters:
        name - The _unique_ name of the resulting resource.
        args - The arguments to use to populate this resource's properties.
      • Endpoint

        public Endpoint​(java.lang.String name,
                        EndpointArgs args,
                        @Nullable
                        com.pulumi.resources.CustomResourceOptions options)
        Parameters:
        name - The _unique_ name of the resulting resource.
        args - The arguments to use to populate this resource's properties.
        options - A bag of options that control this resource's behavior.
    • Method Detail

      • applicationDomain

        public com.pulumi.core.Output<java.util.Optional<java.lang.String>> applicationDomain()
        Returns:
        DNS name for users to reach your application. This parameter is required if the endpoint type is `load-balancer` or `network-interface`.
      • attachmentType

        public com.pulumi.core.Output<java.lang.String> attachmentType()
        Returns:
        Type of attachment. Currently, only `vpc` is supported.
      • cidrOptions

        public com.pulumi.core.Output<java.util.Optional<EndpointCidrOptions>> cidrOptions()
        Returns:
        CIDR block details. This parameter is required if the endpoint type is `cidr`. See below.
      • description

        public com.pulumi.core.Output<java.util.Optional<java.lang.String>> description()
        Returns:
        Description for the Verified Access endpoint.
      • deviceValidationDomain

        public com.pulumi.core.Output<java.lang.String> deviceValidationDomain()
        Returns:
        Returned if endpoint has a device trust provider attached.
      • domainCertificateArn

        public com.pulumi.core.Output<java.util.Optional<java.lang.String>> domainCertificateArn()
        Returns:
        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`.
      • endpointDomain

        public com.pulumi.core.Output<java.lang.String> endpointDomain()
        Returns:
        DNS name that is generated for the endpoint.
      • endpointDomainPrefix

        public com.pulumi.core.Output<java.util.Optional<java.lang.String>> endpointDomainPrefix()
        Returns:
        Custom identifier that is prepended to the DNS name that is generated for the endpoint.
      • endpointType

        public com.pulumi.core.Output<java.lang.String> endpointType()
        Returns:
        Type of Verified Access endpoint to create. Valid values are `load-balancer`, `network-interface`, `cidr`, and `rds`.
      • loadBalancerOptions

        public com.pulumi.core.Output<java.util.Optional<EndpointLoadBalancerOptions>> loadBalancerOptions()
        Returns:
        Load balancer details. This parameter is required if the endpoint type is `load-balancer`. See below.
      • networkInterfaceOptions

        public com.pulumi.core.Output<java.util.Optional<EndpointNetworkInterfaceOptions>> networkInterfaceOptions()
        Returns:
        Network interface details. This parameter is required if the endpoint type is `network-interface`. See below.
      • policyDocument

        public com.pulumi.core.Output<java.util.Optional<java.lang.String>> policyDocument()
        Returns:
        Policy document that is associated with this resource.
      • rdsOptions

        public com.pulumi.core.Output<java.util.Optional<EndpointRdsOptions>> rdsOptions()
        Returns:
        RDS details. This parameter is required if the endpoint type is `rds`. See below.
      • region

        public com.pulumi.core.Output<java.lang.String> region()
        Returns:
        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.
      • securityGroupIds

        public com.pulumi.core.Output<java.util.Optional<java.util.List<java.lang.String>>> securityGroupIds()
        Returns:
        List of the security groups IDs to associate with the Verified Access endpoint.
      • sseSpecification

        public com.pulumi.core.Output<EndpointSseSpecification> sseSpecification()
        Returns:
        Options in use for server side encryption. See below.
      • tags

        public com.pulumi.core.Output<java.util.Optional<java.util.Map<java.lang.String,​java.lang.String>>> tags()
        Returns:
        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.
      • tagsAll

        public com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tagsAll()
      • verifiedAccessGroupId

        public com.pulumi.core.Output<java.lang.String> verifiedAccessGroupId()
        Returns:
        ID of the Verified Access group to associate the endpoint with. The following arguments are optional:
      • verifiedAccessInstanceId

        public com.pulumi.core.Output<java.lang.String> verifiedAccessInstanceId()
        Returns:
        ID of the Verified Access instance.
      • get

        public static Endpoint get​(java.lang.String name,
                                   com.pulumi.core.Output<java.lang.String> id,
                                   @Nullable
                                   EndpointState state,
                                   @Nullable
                                   com.pulumi.resources.CustomResourceOptions options)
        Get an existing Host resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
        Parameters:
        name - The _unique_ name of the resulting resource.
        id - The _unique_ provider ID of the resource to lookup.
        state -
        options - Optional settings to control the behavior of the CustomResource.