Class InterfaceVpcEndpointAwsService
An AWS service for an interface VPC endpoint.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.AWS.EC2.dll
Syntax (csharp)
public class InterfaceVpcEndpointAwsService : DeputyBase, IInterfaceVpcEndpointService
Syntax (vb)
Public Class InterfaceVpcEndpointAwsService
Inherits DeputyBase
Implements IInterfaceVpcEndpointService
Remarks
ExampleMetadata: lit=test/integ.vpc-endpoint.lit.ts infused
Examples
// Add gateway endpoints when creating the VPC
var vpc = new Vpc(this, "MyVpc", new VpcProps {
GatewayEndpoints = new Dictionary<string, GatewayVpcEndpointOptions> {
{ "S3", new GatewayVpcEndpointOptions {
Service = GatewayVpcEndpointAwsService.S3
} }
}
});
// Alternatively gateway endpoints can be added on the VPC
var dynamoDbEndpoint = vpc.AddGatewayEndpoint("DynamoDbEndpoint", new GatewayVpcEndpointOptions {
Service = GatewayVpcEndpointAwsService.DYNAMODB
});
// This allows to customize the endpoint policy
dynamoDbEndpoint.AddToPolicy(
new PolicyStatement(new PolicyStatementProps { // Restrict to listing and describing tables
Principals = new [] { new AnyPrincipal() },
Actions = new [] { "dynamodb:DescribeTable", "dynamodb:ListTables" },
Resources = new [] { "*" } }));
// Add an interface endpoint
vpc.AddInterfaceEndpoint("EcrDockerEndpoint", new InterfaceVpcEndpointOptions {
Service = InterfaceVpcEndpointAwsService.ECR_DOCKER
});
Synopsis
Constructors
InterfaceVpcEndpointAwsService(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
InterfaceVpcEndpointAwsService(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
InterfaceVpcEndpointAwsService(String, String, Nullable<Double>) |
Properties
Constructors
InterfaceVpcEndpointAwsService(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected InterfaceVpcEndpointAwsService(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
InterfaceVpcEndpointAwsService(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected InterfaceVpcEndpointAwsService(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
InterfaceVpcEndpointAwsService(String, String, Nullable<Double>)
public InterfaceVpcEndpointAwsService(string name, string prefix = null, Nullable<double> port = null)
Parameters
- name System.String
- prefix System.String
- port System.Nullable<System.Double>
Properties
APIGATEWAY
public static InterfaceVpcEndpointAwsService APIGATEWAY { get; }
Property Value
InterfaceVpcEndpointAwsService
ATHENA
public static InterfaceVpcEndpointAwsService ATHENA { get; }
Property Value
InterfaceVpcEndpointAwsService
CLOUDFORMATION
public static InterfaceVpcEndpointAwsService CLOUDFORMATION { get; }
Property Value
InterfaceVpcEndpointAwsService
CLOUDTRAIL
public static InterfaceVpcEndpointAwsService CLOUDTRAIL { get; }
Property Value
InterfaceVpcEndpointAwsService
CLOUDWATCH
public static InterfaceVpcEndpointAwsService CLOUDWATCH { get; }
Property Value
InterfaceVpcEndpointAwsService
CLOUDWATCH_EVENTS
public static InterfaceVpcEndpointAwsService CLOUDWATCH_EVENTS { get; }
Property Value
InterfaceVpcEndpointAwsService
CLOUDWATCH_LOGS
public static InterfaceVpcEndpointAwsService CLOUDWATCH_LOGS { get; }
Property Value
InterfaceVpcEndpointAwsService
CODEBUILD
public static InterfaceVpcEndpointAwsService CODEBUILD { get; }
Property Value
InterfaceVpcEndpointAwsService
CODEBUILD_FIPS
public static InterfaceVpcEndpointAwsService CODEBUILD_FIPS { get; }
Property Value
InterfaceVpcEndpointAwsService
CODECOMMIT
public static InterfaceVpcEndpointAwsService CODECOMMIT { get; }
Property Value
InterfaceVpcEndpointAwsService
CODECOMMIT_FIPS
public static InterfaceVpcEndpointAwsService CODECOMMIT_FIPS { get; }
Property Value
InterfaceVpcEndpointAwsService
CODECOMMIT_GIT
public static InterfaceVpcEndpointAwsService CODECOMMIT_GIT { get; }
Property Value
InterfaceVpcEndpointAwsService
CODECOMMIT_GIT_FIPS
public static InterfaceVpcEndpointAwsService CODECOMMIT_GIT_FIPS { get; }
Property Value
InterfaceVpcEndpointAwsService
CODEGURU_PROFILER
public static InterfaceVpcEndpointAwsService CODEGURU_PROFILER { get; }
Property Value
InterfaceVpcEndpointAwsService
CODEGURU_REVIEWER
public static InterfaceVpcEndpointAwsService CODEGURU_REVIEWER { get; }
Property Value
InterfaceVpcEndpointAwsService
CODEPIPELINE
public static InterfaceVpcEndpointAwsService CODEPIPELINE { get; }
Property Value
InterfaceVpcEndpointAwsService
CONFIG
public static InterfaceVpcEndpointAwsService CONFIG { get; }
Property Value
InterfaceVpcEndpointAwsService
EC2
public static InterfaceVpcEndpointAwsService EC2 { get; }
Property Value
InterfaceVpcEndpointAwsService
EC2_MESSAGES
public static InterfaceVpcEndpointAwsService EC2_MESSAGES { get; }
Property Value
InterfaceVpcEndpointAwsService
ECR
public static InterfaceVpcEndpointAwsService ECR { get; }
Property Value
InterfaceVpcEndpointAwsService
ECR_DOCKER
public static InterfaceVpcEndpointAwsService ECR_DOCKER { get; }
Property Value
InterfaceVpcEndpointAwsService
ECS
public static InterfaceVpcEndpointAwsService ECS { get; }
Property Value
InterfaceVpcEndpointAwsService
ECS_AGENT
public static InterfaceVpcEndpointAwsService ECS_AGENT { get; }
Property Value
InterfaceVpcEndpointAwsService
ECS_TELEMETRY
public static InterfaceVpcEndpointAwsService ECS_TELEMETRY { get; }
Property Value
InterfaceVpcEndpointAwsService
ELASTIC_FILESYSTEM
public static InterfaceVpcEndpointAwsService ELASTIC_FILESYSTEM { get; }
Property Value
InterfaceVpcEndpointAwsService
ELASTIC_FILESYSTEM_FIPS
public static InterfaceVpcEndpointAwsService ELASTIC_FILESYSTEM_FIPS { get; }
Property Value
InterfaceVpcEndpointAwsService
ELASTIC_INFERENCE_RUNTIME
public static InterfaceVpcEndpointAwsService ELASTIC_INFERENCE_RUNTIME { get; }
Property Value
InterfaceVpcEndpointAwsService
ELASTIC_LOAD_BALANCING
public static InterfaceVpcEndpointAwsService ELASTIC_LOAD_BALANCING { get; }
Property Value
InterfaceVpcEndpointAwsService
GLUE
public static InterfaceVpcEndpointAwsService GLUE { get; }
Property Value
InterfaceVpcEndpointAwsService
KEYSPACES
public static InterfaceVpcEndpointAwsService KEYSPACES { get; }
Property Value
InterfaceVpcEndpointAwsService
KINESIS_FIREHOSE
public static InterfaceVpcEndpointAwsService KINESIS_FIREHOSE { get; }
Property Value
InterfaceVpcEndpointAwsService
KINESIS_STREAMS
public static InterfaceVpcEndpointAwsService KINESIS_STREAMS { get; }
Property Value
InterfaceVpcEndpointAwsService
KMS
public static InterfaceVpcEndpointAwsService KMS { get; }
Property Value
InterfaceVpcEndpointAwsService
LAMBDA
public static InterfaceVpcEndpointAwsService LAMBDA { get; }
Property Value
InterfaceVpcEndpointAwsService
Name
The name of the service.
public virtual string Name { get; }
Property Value
System.String
Port
The port of the service.
public virtual double Port { get; }
Property Value
System.Double
PrivateDnsDefault
Whether Private DNS is supported by default.
public virtual Nullable<bool> PrivateDnsDefault { get; }
Property Value
System.Nullable<System.Boolean>
RDS
public static InterfaceVpcEndpointAwsService RDS { get; }
Property Value
InterfaceVpcEndpointAwsService
RDS_DATA
public static InterfaceVpcEndpointAwsService RDS_DATA { get; }
Property Value
InterfaceVpcEndpointAwsService
REKOGNITION
public static InterfaceVpcEndpointAwsService REKOGNITION { get; }
Property Value
InterfaceVpcEndpointAwsService
REKOGNITION_FIPS
public static InterfaceVpcEndpointAwsService REKOGNITION_FIPS { get; }
Property Value
InterfaceVpcEndpointAwsService
SAGEMAKER_API
public static InterfaceVpcEndpointAwsService SAGEMAKER_API { get; }
Property Value
InterfaceVpcEndpointAwsService
SAGEMAKER_NOTEBOOK
public static InterfaceVpcEndpointAwsService SAGEMAKER_NOTEBOOK { get; }
Property Value
InterfaceVpcEndpointAwsService
SAGEMAKER_RUNTIME
public static InterfaceVpcEndpointAwsService SAGEMAKER_RUNTIME { get; }
Property Value
InterfaceVpcEndpointAwsService
SAGEMAKER_RUNTIME_FIPS
public static InterfaceVpcEndpointAwsService SAGEMAKER_RUNTIME_FIPS { get; }
Property Value
InterfaceVpcEndpointAwsService
SECRETS_MANAGER
public static InterfaceVpcEndpointAwsService SECRETS_MANAGER { get; }
Property Value
InterfaceVpcEndpointAwsService
SERVICE_CATALOG
public static InterfaceVpcEndpointAwsService SERVICE_CATALOG { get; }
Property Value
InterfaceVpcEndpointAwsService
SNS
public static InterfaceVpcEndpointAwsService SNS { get; }
Property Value
InterfaceVpcEndpointAwsService
SQS
public static InterfaceVpcEndpointAwsService SQS { get; }
Property Value
InterfaceVpcEndpointAwsService
SSM
public static InterfaceVpcEndpointAwsService SSM { get; }
Property Value
InterfaceVpcEndpointAwsService
SSM_MESSAGES
public static InterfaceVpcEndpointAwsService SSM_MESSAGES { get; }
Property Value
InterfaceVpcEndpointAwsService
STEP_FUNCTIONS
public static InterfaceVpcEndpointAwsService STEP_FUNCTIONS { get; }
Property Value
InterfaceVpcEndpointAwsService
STORAGE_GATEWAY
public static InterfaceVpcEndpointAwsService STORAGE_GATEWAY { get; }
Property Value
InterfaceVpcEndpointAwsService
STS
public static InterfaceVpcEndpointAwsService STS { get; }
Property Value
InterfaceVpcEndpointAwsService
TRANSCRIBE
public static InterfaceVpcEndpointAwsService TRANSCRIBE { get; }
Property Value
InterfaceVpcEndpointAwsService
TRANSFER
public static InterfaceVpcEndpointAwsService TRANSFER { get; }
Property Value
InterfaceVpcEndpointAwsService
XRAY
public static InterfaceVpcEndpointAwsService XRAY { get; }
Property Value
InterfaceVpcEndpointAwsService