Class CfnDomainName.EndpointConfigurationProperty
- Namespace
- Amazon.CDK.AWS.APIGateway
- Assembly
- Amazon.CDK.AWS.APIGateway.dll
The EndpointConfiguration
property type specifies the endpoint types of an Amazon API Gateway domain name.
public class CfnDomainName.EndpointConfigurationProperty : CfnDomainName.IEndpointConfigurationProperty
- Inheritance
-
CfnDomainName.EndpointConfigurationProperty
- Implements
- Inherited Members
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" }
};
Remarks
EndpointConfiguration
is a property of the AWS::ApiGateway::DomainName resource.
ExampleMetadata: fixture=_generated
Constructors
EndpointConfigurationProperty()
public EndpointConfigurationProperty()
Properties
Types
A list of endpoint types of an API (RestApi) or its custom domain name (DomainName).
public string[]? Types { get; set; }
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
.