Interface CfnDomainName.IEndpointConfigurationProperty
The EndpointConfiguration
property type specifies the endpoint types and IP address types of an Amazon API Gateway domain name.
Namespace: Amazon.CDK.AWS.APIGateway
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface CfnDomainName.IEndpointConfigurationProperty
Syntax (vb)
Public Interface CfnDomainName.IEndpointConfigurationProperty
Remarks
EndpointConfiguration
is a property of the AWS::ApiGateway::DomainName resource.
ExampleMetadata: fixture=_generated
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 {
IpAddressType = "ipAddressType",
Types = new [] { "types" }
};
Synopsis
Properties
IpAddressType | The IP address types that can invoke this DomainName. |
Types | A list of endpoint types of an API (RestApi) or its custom domain name (DomainName). |
Properties
IpAddressType
The IP address types that can invoke this DomainName.
string? IpAddressType { get; }
Property Value
Remarks
Use ipv4
to allow only IPv4 addresses to invoke this DomainName, or use dualstack
to allow both IPv4 and IPv6 addresses to invoke this DomainName. For the PRIVATE
endpoint type, only dualstack
is supported.
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
.