class InterfaceVpcEndpointAwsService
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.EC2.InterfaceVpcEndpointAwsService |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsec2#InterfaceVpcEndpointAwsService |
Java | software.amazon.awscdk.services.ec2.InterfaceVpcEndpointAwsService |
Python | aws_cdk.aws_ec2.InterfaceVpcEndpointAwsService |
TypeScript (source) | aws-cdk-lib » aws_ec2 » InterfaceVpcEndpointAwsService |
Implements
IInterface
An AWS service for an interface VPC endpoint.
Example
// Add gateway endpoints when creating the VPC
const vpc = new ec2.Vpc(this, 'MyVpc', {
gatewayEndpoints: {
S3: {
service: ec2.GatewayVpcEndpointAwsService.S3,
},
},
});
// Alternatively gateway endpoints can be added on the VPC
const dynamoDbEndpoint = vpc.addGatewayEndpoint('DynamoDbEndpoint', {
service: ec2.GatewayVpcEndpointAwsService.DYNAMODB,
});
// This allows to customize the endpoint policy
dynamoDbEndpoint.addToPolicy(
new iam.PolicyStatement({ // Restrict to listing and describing tables
principals: [new iam.AnyPrincipal()],
actions: ['dynamodb:DescribeTable', 'dynamodb:ListTables'],
resources: ['*'],
}));
// Add an interface endpoint
vpc.addInterfaceEndpoint('EcrDockerEndpoint', {
service: ec2.InterfaceVpcEndpointAwsService.ECR_DOCKER,
// Uncomment the following to allow more fine-grained control over
// who can access the endpoint via the '.connections' object.
// open: false
});
Initializer
new InterfaceVpcEndpointAwsService(name: string, prefix?: string, port?: number)
Parameters
- name
string
— The name of the service. - prefix
string
- port
number
— The port of the service.
Properties
name
Type:
string
The name of the service.
e.g. com.amazonaws.us-east-1.ecs
port
Type:
number
The port of the service.
shortName
Type:
string
The short name of the service.
e.g. ecs
privateDnsDefault?
Type:
boolean
(optional)
Whether Private DNS is supported by default.
static ACCESS_ANALYZER
Type:
Interface
static ACCOUNT_MANAGEMENT
Type:
Interface
static AIRFLOW_API
Type:
Interface
static AIRFLOW_ENV
Type:
Interface
static AIRFLOW_OPS
Type:
Interface
static APIGATEWAY
Type:
Interface
static APPCONFIG
Type:
Interface
static APPCONFIGDATA
Type:
Interface
static APPLICATION_AUTOSCALING
Type:
Interface
static APPLICATION_MIGRATION_SERVICE
Type:
Interface
static APPSTREAM_API
Type:
Interface
static APPSTREAM_STREAMING
Type:
Interface
static APP_MESH
Type:
Interface
static APP_RUNNER
Type:
Interface
static APP_RUNNER_REQUESTS
Type:
Interface
static APP_SYNC
Type:
Interface
static ATHENA
Type:
Interface
static AUDIT_MANAGER
Type:
Interface
static AUTOSCALING
Type:
Interface
static AUTOSCALING_PLANS
Type:
Interface
static BACKUP
Type:
Interface
static BACKUP_GATEWAY
Type:
Interface
static BATCH
Type:
Interface
static BILLING_CONDUCTOR
Type:
Interface
static BRAKET
Type:
Interface
static CLOUDFORMATION
Type:
Interface
static CLOUDHSM
Type:
Interface
static CLOUDTRAIL
Type:
Interface
static CLOUDWATCH
⚠️ Deprecated: - Use InterfaceVpcEndpointAwsService.CLOUDWATCH_MONITORING instead.
Type:
Interface
static CLOUDWATCH_EVENTS
⚠️ Deprecated: - Use InterfaceVpcEndpointAwsService.EVENTBRIDGE instead.
Type:
Interface
static CLOUDWATCH_EVIDENTLY
Type:
Interface
static CLOUDWATCH_EVIDENTLY_DATAPLANE
Type:
Interface
static CLOUDWATCH_LOGS
Type:
Interface
static CLOUDWATCH_MONITORING
Type:
Interface
static CLOUDWATCH_RUM
Type:
Interface
static CLOUDWATCH_RUM_DATAPLANE
Type:
Interface
static CLOUDWATCH_SYNTHETICS
Type:
Interface
static CLOUD_CONTROL_API
Type:
Interface
static CLOUD_CONTROL_API_FIPS
Type:
Interface
static CLOUD_DIRECTORY
Type:
Interface
static CODEARTIFACT_API
Type:
Interface
static CODEARTIFACT_REPOSITORIES
Type:
Interface
static CODEBUILD
Type:
Interface
static CODEBUILD_FIPS
Type:
Interface
static CODECOMMIT
Type:
Interface
static CODECOMMIT_FIPS
Type:
Interface
static CODECOMMIT_GIT
Type:
Interface
static CODECOMMIT_GIT_FIPS
Type:
Interface
static CODEDEPLOY
Type:
Interface
static CODEDEPLOY_COMMANDS_SECURE
Type:
Interface
static CODEGURU_PROFILER
Type:
Interface
static CODEGURU_REVIEWER
Type:
Interface
static CODEPIPELINE
Type:
Interface
static CODESTAR_CONNECTIONS
Type:
Interface
static COMPREHEND
Type:
Interface
static COMPREHEND_MEDICAL
Type:
Interface
static CONFIG
Type:
Interface
static CONNECT_APP_INTEGRATIONS
Type:
Interface
static CONNECT_CASES
Type:
Interface
static CONNECT_CONNECT_CAMPAIGNS
Type:
Interface
static CONNECT_PROFILE
Type:
Interface
static CONNECT_VOICEID
Type:
Interface
static CONNECT_WISDOM
Type:
Interface
static DATABASE_MIGRATION_SERVICE
Type:
Interface
static DATABASE_MIGRATION_SERVICE_FIPS
Type:
Interface
static DATASYNC
Type:
Interface
static DATA_EXCHANGE
Type:
Interface
static DEVOPS_GURU
Type:
Interface
static EBS_DIRECT
Type:
Interface
static EC2
Type:
Interface
static EC2_MESSAGES
Type:
Interface
static ECR
Type:
Interface
static ECR_DOCKER
Type:
Interface
static ECS
Type:
Interface
static ECS_AGENT
Type:
Interface
static ECS_TELEMETRY
Type:
Interface
static EKS
Type:
Interface
static ELASTICACHE
Type:
Interface
static ELASTICACHE_FIPS
Type:
Interface
static ELASTIC_BEANSTALK
Type:
Interface
static ELASTIC_BEANSTALK_HEALTH
Type:
Interface
static ELASTIC_DISASTER_RECOVERY
Type:
Interface
static ELASTIC_FILESYSTEM
Type:
Interface
static ELASTIC_FILESYSTEM_FIPS
Type:
Interface
static ELASTIC_INFERENCE_RUNTIME
Type:
Interface
static ELASTIC_LOAD_BALANCING
Type:
Interface
static EMAIL_SMTP
Type:
Interface
static EMR
Type:
Interface
static EMR_EKS
Type:
Interface
static EMR_SERVERLESS
Type:
Interface
static EVENTBRIDGE
Type:
Interface
static FAULT_INJECTION_SIMULATOR
Type:
Interface
static FINSPACE
Type:
Interface
static FINSPACE_API
Type:
Interface
static FORECAST
Type:
Interface
static FORECAST_FIPS
Type:
Interface
static FORECAST_QUERY
Type:
Interface
static FORECAST_QUERY_FIPS
Type:
Interface
static FRAUD_DETECTOR
Type:
Interface
static FSX
Type:
Interface
static FSX_FIPS
Type:
Interface
static GLUE
Type:
Interface
static GLUE_DATABREW
Type:
Interface
static GRAFANA
Type:
Interface
static GRAFANA_WORKSPACE
Type:
Interface
static GROUNDSTATION
Type:
Interface
static HEALTHLAKE
Type:
Interface
static IAM_IDENTITY_CENTER
Type:
Interface
static IAM_ROLES_ANYWHERE
Type:
Interface
static IMAGE_BUILDER
Type:
Interface
static INSPECTOR
Type:
Interface
static IOT_CORE
Type:
Interface
static IOT_CORE_DEVICE_ADVISOR
Type:
Interface
static IOT_CORE_FOR_LORAWAN
Type:
Interface
static IOT_GREENGRASS
Type:
Interface
static IOT_LORAWAN_CUPS
Type:
Interface
static IOT_LORAWAN_LNS
Type:
Interface
static IOT_ROBORUNNER
Type:
Interface
static IOT_SITEWISE_API
Type:
Interface
static IOT_SITEWISE_DATA
Type:
Interface
static IOT_TWINMAKER_API
Type:
Interface
static IOT_TWINMAKER_DATA
Type:
Interface
static KENDRA
Type:
Interface
static KENDRA_RANKING
Type:
Interface
static KEYSPACES
Type:
Interface
static KEYSPACES_FIPS
Type:
Interface
static KINESIS_FIREHOSE
Type:
Interface
static KINESIS_STREAMS
Type:
Interface
static KMS
Type:
Interface
static KMS_FIPS
Type:
Interface
static LAKE_FORMATION
Type:
Interface
static LAMBDA
Type:
Interface
static LEX_MODELS
Type:
Interface
static LEX_RUNTIME
Type:
Interface
static LICENSE_MANAGER
Type:
Interface
static LICENSE_MANAGER_FIPS
Type:
Interface
static LOOKOUT_EQUIPMENT
Type:
Interface
static LOOKOUT_METRICS
Type:
Interface
static LOOKOUT_VISION
Type:
Interface
static MACIE
Type:
Interface
static MAINFRAME_MODERNIZATION
Type:
Interface
static MEMORY_DB
Type:
Interface
static MEMORY_DB_FIPS
Type:
Interface
static MIGRATIONHUB_ORCHESTRATOR
Type:
Interface
static MIGRATIONHUB_REFACTOR_SPACES
Type:
Interface
static MIGRATIONHUB_STRATEGY
Type:
Interface
static NIMBLE_STUDIO
Type:
Interface
static OMICS_ANALYTICS
Type:
Interface
static OMICS_CONTROL_STORAGE
Type:
Interface
static OMICS_STORAGE
Type:
Interface
static OMICS_TAGS
Type:
Interface
static OMICS_WORKFLOWS
Type:
Interface
static PANORAMA
Type:
Interface
static PINPOINT
Type:
Interface
static POLLY
Type:
Interface
static PRIVATE_5G
Type:
Interface
static PRIVATE_CERTIFICATE_AUTHORITY
Type:
Interface
static PROMETHEUS
Type:
Interface
static PROMETHEUS_WORKSPACES
Type:
Interface
static PROTON
Type:
Interface
static QLDB
Type:
Interface
static RDS
Type:
Interface
static RDS_DATA
Type:
Interface
static REDSHIFT
Type:
Interface
static REDSHIFT_DATA
Type:
Interface
static REDSHIFT_FIPS
Type:
Interface
static REKOGNITION
Type:
Interface
static REKOGNITION_FIPS
Type:
Interface
static ROBOMAKER
Type:
Interface
static S3
Type:
Interface
static S3_MULTI_REGION_ACCESS_POINTS
Type:
Interface
static S3_OUTPOSTS
Type:
Interface
static SAGEMAKER_API
Type:
Interface
static SAGEMAKER_FEATURESTORE_RUNTIME
Type:
Interface
static SAGEMAKER_METRICS
Type:
Interface
static SAGEMAKER_NOTEBOOK
Type:
Interface
static SAGEMAKER_RUNTIME
Type:
Interface
static SAGEMAKER_RUNTIME_FIPS
Type:
Interface
static SAGEMAKER_STUDIO
Type:
Interface
static SECRETS_MANAGER
Type:
Interface
static SECURITYHUB
Type:
Interface
static SERVER_MIGRATION_SERVICE
Type:
Interface
static SERVER_MIGRATION_SERVICE_AWSCONNECTOR
Type:
Interface
static SERVER_MIGRATION_SERVICE_FIPS
Type:
Interface
static SERVICE_CATALOG
Type:
Interface
static SERVICE_CATALOG_APPREGISTRY
Type:
Interface
static SES
⚠️ Deprecated: - Use InterfaceVpcEndpointAwsService.EMAIL_SMTP instead.
Type:
Interface
static SNOW_DEVICE_MANAGEMENT
Type:
Interface
static SNS
Type:
Interface
static SQS
Type:
Interface
static SSM
Type:
Interface
static SSM_CONTACTS
Type:
Interface
static SSM_INCIDENTS
Type:
Interface
static SSM_MESSAGES
Type:
Interface
static STEP_FUNCTIONS
Type:
Interface
static STEP_FUNCTIONS_SYNC
Type:
Interface
static STORAGE_GATEWAY
Type:
Interface
static STS
Type:
Interface
static TEXTRACT
Type:
Interface
static TEXTRACT_FIPS
Type:
Interface
static TRANSCRIBE
Type:
Interface
static TRANSCRIBE_STREAMING
Type:
Interface
static TRANSFER
Type:
Interface
static TRANSFER_SERVER
Type:
Interface
static TRANSLATE
Type:
Interface
static VERIFIED_PERMISSIONS
Type:
Interface
static WORKSPACES
Type:
Interface