Interface CfnRestApi.IEndpointConfigurationProperty
- Namespace
- Amazon.CDK.AWS.APIGateway
- Assembly
- Amazon.CDK.AWS.APIGateway.dll
The EndpointConfiguration
property type specifies the endpoint types of a REST API.
public interface CfnRestApi.IEndpointConfigurationProperty
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.APIGateway;
var endpointConfigurationProperty = new EndpointConfigurationProperty {
Types = new [] { "types" },
VpcEndpointIds = new [] { "vpcEndpointIds" }
};
Remarks
EndpointConfiguration
is a property of the AWS::ApiGateway::RestApi resource.
ExampleMetadata: fixture=_generated
Properties
Types
A list of endpoint types of an API (RestApi) or its custom domain name (DomainName).
string[]? Types { get; }
Property Value
- string[]
Remarks
For an edge-optimized API and its custom domain name, the endpoint type is "EDGE"
. For a regional API and its custom domain name, the endpoint type is REGIONAL
. For a private API, the endpoint type is PRIVATE
.
VpcEndpointIds
A list of VpcEndpointIds of an API (RestApi) against which to create Route53 ALIASes.
string[]? VpcEndpointIds { get; }
Property Value
- string[]
Remarks
It is only supported for PRIVATE
endpoint type.