Class VpcEndpointArgs


  • public final class VpcEndpointArgs
    extends com.pulumi.resources.ResourceArgs
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  VpcEndpointArgs.Builder  
      • Nested classes/interfaces inherited from class com.pulumi.resources.InputArgs

        com.pulumi.resources.InputArgs.InputArgsInternal
    • Method Detail

      • autoAccept

        public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> autoAccept()
        Returns:
        Whether to accept the VPC endpoint (the VPC endpoint and service need to be in the same AWS account).
      • dnsOptions

        public java.util.Optional<com.pulumi.core.Output<VpcEndpointDnsOptionsArgs>> dnsOptions()
        Returns:
        DNS options for the endpoint. See `dnsOptions` below.
      • ipAddressType

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> ipAddressType()
        Returns:
        IP address type for the endpoint. Valid values are `ipv4`, `dualstack`, and `ipv6`.
      • policy

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> policy()
        Returns:
        Policy to attach to the endpoint that controls access to the service. This is a JSON formatted string. Defaults to full access. All `Gateway` and some `Interface` endpoints support policies - see the [relevant AWS documentation](https://docs.aws.amazon.com/vpc/latest/userguide/vpc-endpoints-access.html) for more details. For more information about building AWS IAM policy documents with Pulumi, see the AWS IAM Policy Document Guide.
      • privateDnsEnabled

        public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> privateDnsEnabled()
        Returns:
        Whether to associate a private hosted zone with the specified VPC. Available for AWS services and AWS Marketplace partner services only. Applicable for endpoints of type `Interface`. Most users will want this enabled to allow services within the VPC to automatically use the endpoint. Defaults to `false`. If `vpcEndpointType` is anything other than `Interface`, changing this value forces a new resource to be created.
      • region

        public java.util.Optional<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.
      • resourceConfigurationArn

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> resourceConfigurationArn()
        Returns:
        ARN of a Resource Configuration to connect this VPC Endpoint to. Exactly one of `resourceConfigurationArn`, `serviceName` or `serviceNetworkArn` is required.
      • routeTableIds

        public java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> routeTableIds()
        Returns:
        One or more route table IDs. Applicable for endpoints of type `Gateway`.
      • securityGroupIds

        public java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> securityGroupIds()
        Returns:
        ID of one or more security groups to associate with the network interface. Applicable for endpoints of type `Interface`. If no security groups are specified, the VPC's [default security group](https://docs.aws.amazon.com/vpc/latest/userguide/VPC_SecurityGroups.html#DefaultSecurityGroup) is associated with the endpoint.
      • serviceName

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> serviceName()
        Returns:
        Service name. For AWS services the service name is usually in the form `com.amazonaws.<region>.<service>` (the SageMaker AI Notebook service is an exception to this rule, the service name is in the form `aws.sagemaker.<region>.notebook`). Exactly one of `resourceConfigurationArn`, `serviceName` or `serviceNetworkArn` is required.
      • serviceNetworkArn

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> serviceNetworkArn()
        Returns:
        ARN of a Service Network to connect this VPC Endpoint to. Exactly one of `resourceConfigurationArn`, `serviceName` or `serviceNetworkArn` is required.
      • serviceRegion

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> serviceRegion()
        Returns:
        AWS region of the VPC Endpoint Service. If specified, the VPC endpoint will connect to the service in the provided region. Applicable for endpoints of type `Interface`.
      • subnetConfigurations

        public java.util.Optional<com.pulumi.core.Output<java.util.List<VpcEndpointSubnetConfigurationArgs>>> subnetConfigurations()
        Returns:
        Subnet configuration for the endpoint, used to select specific IPv4 and/or IPv6 addresses to the endpoint. See subnetConfiguration below.
      • subnetIds

        public java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> subnetIds()
        Returns:
        ID of one or more subnets in which to create a network interface for the endpoint. Applicable for endpoints of type `GatewayLoadBalancer` and `Interface`. Interface type endpoints cannot function without being assigned to a subnet.
      • tags

        public java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>>> tags()
        Returns:
        Map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
      • vpcEndpointType

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> vpcEndpointType()
        Returns:
        VPC endpoint type, `Gateway`, `GatewayLoadBalancer`,`Interface`, `Resource` or `ServiceNetwork`. Defaults to `Gateway`.
      • vpcId

        public com.pulumi.core.Output<java.lang.String> vpcId()
        Returns:
        ID of the VPC in which the endpoint will be used.