AWS Native is in preview. AWS Classic is fully supported.
aws-native.apigateway.getDomainName
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
Resource Type definition for AWS::ApiGateway::DomainName.
Using getDomainName
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getDomainName(args: GetDomainNameArgs, opts?: InvokeOptions): Promise<GetDomainNameResult>
function getDomainNameOutput(args: GetDomainNameOutputArgs, opts?: InvokeOptions): Output<GetDomainNameResult>
def get_domain_name(domain_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDomainNameResult
def get_domain_name_output(domain_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDomainNameResult]
func LookupDomainName(ctx *Context, args *LookupDomainNameArgs, opts ...InvokeOption) (*LookupDomainNameResult, error)
func LookupDomainNameOutput(ctx *Context, args *LookupDomainNameOutputArgs, opts ...InvokeOption) LookupDomainNameResultOutput
> Note: This function is named LookupDomainName
in the Go SDK.
public static class GetDomainName
{
public static Task<GetDomainNameResult> InvokeAsync(GetDomainNameArgs args, InvokeOptions? opts = null)
public static Output<GetDomainNameResult> Invoke(GetDomainNameInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetDomainNameResult> getDomainName(GetDomainNameArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws-native:apigateway:getDomainName
arguments:
# arguments dictionary
The following arguments are supported:
- Domain
Name stringValue - The custom domain name as an API host name, for example,
my-api.example.com
.
- Domain
Name string - The custom domain name as an API host name, for example,
my-api.example.com
.
- domain
Name String - The custom domain name as an API host name, for example,
my-api.example.com
.
- domain
Name string - The custom domain name as an API host name, for example,
my-api.example.com
.
- domain_
name str - The custom domain name as an API host name, for example,
my-api.example.com
.
- domain
Name String - The custom domain name as an API host name, for example,
my-api.example.com
.
getDomainName Result
The following output properties are available:
- Certificate
Arn string - The reference to an AWS -managed certificate that will be used by edge-optimized endpoint for this domain name. AWS Certificate Manager is the only supported source.
- Distribution
Domain stringName The Amazon CloudFront distribution domain name that's mapped to the custom domain name. This is only applicable for endpoints whose type is
EDGE
.Example:
d111111abcdef8.cloudfront.net
- Distribution
Hosted stringZone Id - The region-agnostic Amazon Route 53 Hosted Zone ID of the edge-optimized endpoint. The only valid value is
Z2FDTNDATAQYW2
for all regions. - Endpoint
Configuration Pulumi.Aws Native. Api Gateway. Outputs. Domain Name Endpoint Configuration - The endpoint configuration of this DomainName showing the endpoint types of the domain name.
- Mutual
Tls Pulumi.Authentication Aws Native. Api Gateway. Outputs. Domain Name Mutual Tls Authentication - The mutual TLS authentication configuration for a custom domain name. If specified, API Gateway performs two-way authentication between the client and the server. Clients must present a trusted certificate to access your API.
- Ownership
Verification stringCertificate Arn - The ARN of the public certificate issued by ACM to validate ownership of your custom domain. Only required when configuring mutual TLS and using an ACM imported or private CA certificate ARN as the RegionalCertificateArn.
- Regional
Certificate stringArn - The reference to an AWS -managed certificate that will be used for validating the regional domain name. AWS Certificate Manager is the only supported source.
- Regional
Domain stringName - The domain name associated with the regional endpoint for this custom domain name. You set up this association by adding a DNS record that points the custom domain name to this regional domain name.
- Regional
Hosted stringZone Id - The region-specific Amazon Route 53 Hosted Zone ID of the regional endpoint.
- Security
Policy string - The Transport Layer Security (TLS) version + cipher suite for this DomainName. The valid values are
TLS_1_0
andTLS_1_2
. - List<Pulumi.
Aws Native. Outputs. Tag> - The collection of tags. Each tag element is associated with a given resource.
- Certificate
Arn string - The reference to an AWS -managed certificate that will be used by edge-optimized endpoint for this domain name. AWS Certificate Manager is the only supported source.
- Distribution
Domain stringName The Amazon CloudFront distribution domain name that's mapped to the custom domain name. This is only applicable for endpoints whose type is
EDGE
.Example:
d111111abcdef8.cloudfront.net
- Distribution
Hosted stringZone Id - The region-agnostic Amazon Route 53 Hosted Zone ID of the edge-optimized endpoint. The only valid value is
Z2FDTNDATAQYW2
for all regions. - Endpoint
Configuration DomainName Endpoint Configuration - The endpoint configuration of this DomainName showing the endpoint types of the domain name.
- Mutual
Tls DomainAuthentication Name Mutual Tls Authentication - The mutual TLS authentication configuration for a custom domain name. If specified, API Gateway performs two-way authentication between the client and the server. Clients must present a trusted certificate to access your API.
- Ownership
Verification stringCertificate Arn - The ARN of the public certificate issued by ACM to validate ownership of your custom domain. Only required when configuring mutual TLS and using an ACM imported or private CA certificate ARN as the RegionalCertificateArn.
- Regional
Certificate stringArn - The reference to an AWS -managed certificate that will be used for validating the regional domain name. AWS Certificate Manager is the only supported source.
- Regional
Domain stringName - The domain name associated with the regional endpoint for this custom domain name. You set up this association by adding a DNS record that points the custom domain name to this regional domain name.
- Regional
Hosted stringZone Id - The region-specific Amazon Route 53 Hosted Zone ID of the regional endpoint.
- Security
Policy string - The Transport Layer Security (TLS) version + cipher suite for this DomainName. The valid values are
TLS_1_0
andTLS_1_2
. - Tag
- The collection of tags. Each tag element is associated with a given resource.
- certificate
Arn String - The reference to an AWS -managed certificate that will be used by edge-optimized endpoint for this domain name. AWS Certificate Manager is the only supported source.
- distribution
Domain StringName The Amazon CloudFront distribution domain name that's mapped to the custom domain name. This is only applicable for endpoints whose type is
EDGE
.Example:
d111111abcdef8.cloudfront.net
- distribution
Hosted StringZone Id - The region-agnostic Amazon Route 53 Hosted Zone ID of the edge-optimized endpoint. The only valid value is
Z2FDTNDATAQYW2
for all regions. - endpoint
Configuration DomainName Endpoint Configuration - The endpoint configuration of this DomainName showing the endpoint types of the domain name.
- mutual
Tls DomainAuthentication Name Mutual Tls Authentication - The mutual TLS authentication configuration for a custom domain name. If specified, API Gateway performs two-way authentication between the client and the server. Clients must present a trusted certificate to access your API.
- ownership
Verification StringCertificate Arn - The ARN of the public certificate issued by ACM to validate ownership of your custom domain. Only required when configuring mutual TLS and using an ACM imported or private CA certificate ARN as the RegionalCertificateArn.
- regional
Certificate StringArn - The reference to an AWS -managed certificate that will be used for validating the regional domain name. AWS Certificate Manager is the only supported source.
- regional
Domain StringName - The domain name associated with the regional endpoint for this custom domain name. You set up this association by adding a DNS record that points the custom domain name to this regional domain name.
- regional
Hosted StringZone Id - The region-specific Amazon Route 53 Hosted Zone ID of the regional endpoint.
- security
Policy String - The Transport Layer Security (TLS) version + cipher suite for this DomainName. The valid values are
TLS_1_0
andTLS_1_2
. - List<Tag>
- The collection of tags. Each tag element is associated with a given resource.
- certificate
Arn string - The reference to an AWS -managed certificate that will be used by edge-optimized endpoint for this domain name. AWS Certificate Manager is the only supported source.
- distribution
Domain stringName The Amazon CloudFront distribution domain name that's mapped to the custom domain name. This is only applicable for endpoints whose type is
EDGE
.Example:
d111111abcdef8.cloudfront.net
- distribution
Hosted stringZone Id - The region-agnostic Amazon Route 53 Hosted Zone ID of the edge-optimized endpoint. The only valid value is
Z2FDTNDATAQYW2
for all regions. - endpoint
Configuration DomainName Endpoint Configuration - The endpoint configuration of this DomainName showing the endpoint types of the domain name.
- mutual
Tls DomainAuthentication Name Mutual Tls Authentication - The mutual TLS authentication configuration for a custom domain name. If specified, API Gateway performs two-way authentication between the client and the server. Clients must present a trusted certificate to access your API.
- ownership
Verification stringCertificate Arn - The ARN of the public certificate issued by ACM to validate ownership of your custom domain. Only required when configuring mutual TLS and using an ACM imported or private CA certificate ARN as the RegionalCertificateArn.
- regional
Certificate stringArn - The reference to an AWS -managed certificate that will be used for validating the regional domain name. AWS Certificate Manager is the only supported source.
- regional
Domain stringName - The domain name associated with the regional endpoint for this custom domain name. You set up this association by adding a DNS record that points the custom domain name to this regional domain name.
- regional
Hosted stringZone Id - The region-specific Amazon Route 53 Hosted Zone ID of the regional endpoint.
- security
Policy string - The Transport Layer Security (TLS) version + cipher suite for this DomainName. The valid values are
TLS_1_0
andTLS_1_2
. - Tag[]
- The collection of tags. Each tag element is associated with a given resource.
- certificate_
arn str - The reference to an AWS -managed certificate that will be used by edge-optimized endpoint for this domain name. AWS Certificate Manager is the only supported source.
- distribution_
domain_ strname The Amazon CloudFront distribution domain name that's mapped to the custom domain name. This is only applicable for endpoints whose type is
EDGE
.Example:
d111111abcdef8.cloudfront.net
- distribution_
hosted_ strzone_ id - The region-agnostic Amazon Route 53 Hosted Zone ID of the edge-optimized endpoint. The only valid value is
Z2FDTNDATAQYW2
for all regions. - endpoint_
configuration DomainName Endpoint Configuration - The endpoint configuration of this DomainName showing the endpoint types of the domain name.
- mutual_
tls_ Domainauthentication Name Mutual Tls Authentication - The mutual TLS authentication configuration for a custom domain name. If specified, API Gateway performs two-way authentication between the client and the server. Clients must present a trusted certificate to access your API.
- ownership_
verification_ strcertificate_ arn - The ARN of the public certificate issued by ACM to validate ownership of your custom domain. Only required when configuring mutual TLS and using an ACM imported or private CA certificate ARN as the RegionalCertificateArn.
- regional_
certificate_ strarn - The reference to an AWS -managed certificate that will be used for validating the regional domain name. AWS Certificate Manager is the only supported source.
- regional_
domain_ strname - The domain name associated with the regional endpoint for this custom domain name. You set up this association by adding a DNS record that points the custom domain name to this regional domain name.
- regional_
hosted_ strzone_ id - The region-specific Amazon Route 53 Hosted Zone ID of the regional endpoint.
- security_
policy str - The Transport Layer Security (TLS) version + cipher suite for this DomainName. The valid values are
TLS_1_0
andTLS_1_2
. - Sequence[root_Tag]
- The collection of tags. Each tag element is associated with a given resource.
- certificate
Arn String - The reference to an AWS -managed certificate that will be used by edge-optimized endpoint for this domain name. AWS Certificate Manager is the only supported source.
- distribution
Domain StringName The Amazon CloudFront distribution domain name that's mapped to the custom domain name. This is only applicable for endpoints whose type is
EDGE
.Example:
d111111abcdef8.cloudfront.net
- distribution
Hosted StringZone Id - The region-agnostic Amazon Route 53 Hosted Zone ID of the edge-optimized endpoint. The only valid value is
Z2FDTNDATAQYW2
for all regions. - endpoint
Configuration Property Map - The endpoint configuration of this DomainName showing the endpoint types of the domain name.
- mutual
Tls Property MapAuthentication - The mutual TLS authentication configuration for a custom domain name. If specified, API Gateway performs two-way authentication between the client and the server. Clients must present a trusted certificate to access your API.
- ownership
Verification StringCertificate Arn - The ARN of the public certificate issued by ACM to validate ownership of your custom domain. Only required when configuring mutual TLS and using an ACM imported or private CA certificate ARN as the RegionalCertificateArn.
- regional
Certificate StringArn - The reference to an AWS -managed certificate that will be used for validating the regional domain name. AWS Certificate Manager is the only supported source.
- regional
Domain StringName - The domain name associated with the regional endpoint for this custom domain name. You set up this association by adding a DNS record that points the custom domain name to this regional domain name.
- regional
Hosted StringZone Id - The region-specific Amazon Route 53 Hosted Zone ID of the regional endpoint.
- security
Policy String - The Transport Layer Security (TLS) version + cipher suite for this DomainName. The valid values are
TLS_1_0
andTLS_1_2
. - List<Property Map>
- The collection of tags. Each tag element is associated with a given resource.
Supporting Types
DomainNameEndpointConfiguration
- Types List<string>
- A list of endpoint types of an API (RestApi) or its custom domain name (DomainName). 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 isREGIONAL
. For a private API, the endpoint type isPRIVATE
.
- Types []string
- A list of endpoint types of an API (RestApi) or its custom domain name (DomainName). 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 isREGIONAL
. For a private API, the endpoint type isPRIVATE
.
- types List<String>
- A list of endpoint types of an API (RestApi) or its custom domain name (DomainName). 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 isREGIONAL
. For a private API, the endpoint type isPRIVATE
.
- types string[]
- A list of endpoint types of an API (RestApi) or its custom domain name (DomainName). 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 isREGIONAL
. For a private API, the endpoint type isPRIVATE
.
- types Sequence[str]
- A list of endpoint types of an API (RestApi) or its custom domain name (DomainName). 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 isREGIONAL
. For a private API, the endpoint type isPRIVATE
.
- types List<String>
- A list of endpoint types of an API (RestApi) or its custom domain name (DomainName). 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 isREGIONAL
. For a private API, the endpoint type isPRIVATE
.
DomainNameMutualTlsAuthentication
- Truststore
Uri string - An Amazon S3 URL that specifies the truststore for mutual TLS authentication, for example
s3://bucket-name/key-name
. The truststore can contain certificates from public or private certificate authorities. To update the truststore, upload a new version to S3, and then update your custom domain name to use the new version. To update the truststore, you must have permissions to access the S3 object. - Truststore
Version string - The version of the S3 object that contains your truststore. To specify a version, you must have versioning enabled for the S3 bucket.
- Truststore
Uri string - An Amazon S3 URL that specifies the truststore for mutual TLS authentication, for example
s3://bucket-name/key-name
. The truststore can contain certificates from public or private certificate authorities. To update the truststore, upload a new version to S3, and then update your custom domain name to use the new version. To update the truststore, you must have permissions to access the S3 object. - Truststore
Version string - The version of the S3 object that contains your truststore. To specify a version, you must have versioning enabled for the S3 bucket.
- truststore
Uri String - An Amazon S3 URL that specifies the truststore for mutual TLS authentication, for example
s3://bucket-name/key-name
. The truststore can contain certificates from public or private certificate authorities. To update the truststore, upload a new version to S3, and then update your custom domain name to use the new version. To update the truststore, you must have permissions to access the S3 object. - truststore
Version String - The version of the S3 object that contains your truststore. To specify a version, you must have versioning enabled for the S3 bucket.
- truststore
Uri string - An Amazon S3 URL that specifies the truststore for mutual TLS authentication, for example
s3://bucket-name/key-name
. The truststore can contain certificates from public or private certificate authorities. To update the truststore, upload a new version to S3, and then update your custom domain name to use the new version. To update the truststore, you must have permissions to access the S3 object. - truststore
Version string - The version of the S3 object that contains your truststore. To specify a version, you must have versioning enabled for the S3 bucket.
- truststore_
uri str - An Amazon S3 URL that specifies the truststore for mutual TLS authentication, for example
s3://bucket-name/key-name
. The truststore can contain certificates from public or private certificate authorities. To update the truststore, upload a new version to S3, and then update your custom domain name to use the new version. To update the truststore, you must have permissions to access the S3 object. - truststore_
version str - The version of the S3 object that contains your truststore. To specify a version, you must have versioning enabled for the S3 bucket.
- truststore
Uri String - An Amazon S3 URL that specifies the truststore for mutual TLS authentication, for example
s3://bucket-name/key-name
. The truststore can contain certificates from public or private certificate authorities. To update the truststore, upload a new version to S3, and then update your custom domain name to use the new version. To update the truststore, you must have permissions to access the S3 object. - truststore
Version String - The version of the S3 object that contains your truststore. To specify a version, you must have versioning enabled for the S3 bucket.
Tag
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
AWS Native is in preview. AWS Classic is fully supported.