VpcEndpointSpec constructor
- Input<
bool?> ? autoAccept, - Input<
VpcEndpointDnsOptions?> ? dnsOptions, - Input<
String?> ? ipAddressType, - Input<
String?> ? policy, - Input<
bool?> ? privateDnsEnabled, - Input<
String?> ? region, - Input<
String?> ? resourceConfigurationArn, - Input<
List< ? routeTableIds,String> ?> - Input<
List< ? securityGroupIds,String> ?> - required Input<
String> serviceName, - Input<
String?> ? serviceNetworkArn, - Input<
String?> ? serviceRegion, - Input<
List< ? subnetConfigurations,VpcEndpointSubnetConfiguration> ?> - Input<
List< ? subnetIds,String> ?> - Input<
Map< ? tags,String, String> ?> - Input<
String?> ? vpcEndpointType,
Creates a new VpcEndpointSpec.
autoAccept Accept the VPC endpoint (the VPC endpoint and service need to be in the same AWS account).
dnsOptions The DNS options for the endpoint. See dnsOptions below.
ipAddressType The IP address type for the endpoint. Valid values are ipv4, dualstack, and ipv6.
policy A 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 for more details.
privateDnsEnabled Whether or not to associate a private hosted zone with the specified VPC. Applicable for endpoints of type Interface. Defaults to false.
region Region where this resource will be managed. Defaults to the Region set in the provider configuration.
resourceConfigurationArn The ARN of a Resource Configuration to connect this VPC Endpoint to. Exactly one of resourceConfigurationArn, serviceName or serviceNetworkArn is required.
routeTableIds One or more route table IDs. Applicable for endpoints of type Gateway.
securityGroupIds The ID of one or more security groups to associate with the network interface. Applicable for endpoints of type Interface.
serviceName The service name. For AWS services the service name is usually in the form com.amazonaws.<region>.<service> (the SageMaker Notebook service is an exception to this rule, the service name is in the form aws.sagemaker.<region>.notebook).
serviceNetworkArn The ARN of a Service Network to connect this VPC Endpoint to. Exactly one of resourceConfigurationArn, serviceName or serviceNetworkArn is required.
serviceRegion The 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 Subnet configuration for the endpoint, used to select specific IPv4 and/or IPv6 addresses to the endpoint. See subnetConfiguration below.
subnetIds The 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 A 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 The VPC endpoint type, Gateway, GatewayLoadBalancer,Interface, Resource or ServiceNetwork. Defaults to Gateway.
Implementation
const VpcEndpointSpec({
this.autoAccept,
this.dnsOptions,
this.ipAddressType,
this.policy,
this.privateDnsEnabled,
this.region,
this.resourceConfigurationArn,
this.routeTableIds,
this.securityGroupIds,
required this.serviceName,
this.serviceNetworkArn,
this.serviceRegion,
this.subnetConfigurations,
this.subnetIds,
this.tags,
this.vpcEndpointType,
});