We recommend new projects start with resources from the AWS provider.
published on Monday, Mar 30, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
published on Monday, Mar 30, 2026 by Pulumi
Resource Type definition for AWS::ApiGateway::DomainNameV2.
Using getDomainNameV2
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 getDomainNameV2(args: GetDomainNameV2Args, opts?: InvokeOptions): Promise<GetDomainNameV2Result>
function getDomainNameV2Output(args: GetDomainNameV2OutputArgs, opts?: InvokeOptions): Output<GetDomainNameV2Result>def get_domain_name_v2(domain_name_arn: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDomainNameV2Result
def get_domain_name_v2_output(domain_name_arn: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDomainNameV2Result]func LookupDomainNameV2(ctx *Context, args *LookupDomainNameV2Args, opts ...InvokeOption) (*LookupDomainNameV2Result, error)
func LookupDomainNameV2Output(ctx *Context, args *LookupDomainNameV2OutputArgs, opts ...InvokeOption) LookupDomainNameV2ResultOutput> Note: This function is named LookupDomainNameV2 in the Go SDK.
public static class GetDomainNameV2
{
public static Task<GetDomainNameV2Result> InvokeAsync(GetDomainNameV2Args args, InvokeOptions? opts = null)
public static Output<GetDomainNameV2Result> Invoke(GetDomainNameV2InvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetDomainNameV2Result> getDomainNameV2(GetDomainNameV2Args args, InvokeOptions options)
public static Output<GetDomainNameV2Result> getDomainNameV2(GetDomainNameV2Args args, InvokeOptions options)
fn::invoke:
function: aws-native:apigateway:getDomainNameV2
arguments:
# arguments dictionaryThe following arguments are supported:
- Domain
Name stringArn - The amazon resource name (ARN) of the domain name resource.
- Domain
Name stringArn - The amazon resource name (ARN) of the domain name resource.
- domain
Name StringArn - The amazon resource name (ARN) of the domain name resource.
- domain
Name stringArn - The amazon resource name (ARN) of the domain name resource.
- domain_
name_ strarn - The amazon resource name (ARN) of the domain name resource.
- domain
Name StringArn - The amazon resource name (ARN) of the domain name resource.
getDomainNameV2 Result
The following output properties are available:
- Certificate
Arn string - The reference to an AWS -managed certificate that will be used by the private endpoint for this domain name. AWS Certificate Manager is the only supported source.
- Domain
Name stringArn - The amazon resource name (ARN) of the domain name resource.
- Domain
Name stringId - The domain name ID.
- Endpoint
Access stringMode - The endpoint access mode for your DomainName.
- Policy object
A stringified JSON policy document that applies to the
execute-apiservice for this DomainName regardless of the caller and Method configuration. You can useFn::ToJsonStringto enter yourpolicy. For more information, see Fn::ToJsonString .Search the CloudFormation User Guide for
AWS::ApiGateway::DomainNameV2for more information about the expected schema for this property.- Routing
Mode Pulumi.Aws Native. Api Gateway. Domain Name V2Routing Mode - The valid routing modes are [BASE_PATH_MAPPING_ONLY], [ROUTING_RULE_THEN_BASE_PATH_MAPPING] and [ROUTING_RULE_ONLY]. All other inputs are invalid.
-
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 the private endpoint for this domain name. AWS Certificate Manager is the only supported source.
- Domain
Name stringArn - The amazon resource name (ARN) of the domain name resource.
- Domain
Name stringId - The domain name ID.
- Endpoint
Access stringMode - The endpoint access mode for your DomainName.
- Policy interface{}
A stringified JSON policy document that applies to the
execute-apiservice for this DomainName regardless of the caller and Method configuration. You can useFn::ToJsonStringto enter yourpolicy. For more information, see Fn::ToJsonString .Search the CloudFormation User Guide for
AWS::ApiGateway::DomainNameV2for more information about the expected schema for this property.- Routing
Mode DomainName V2Routing Mode - The valid routing modes are [BASE_PATH_MAPPING_ONLY], [ROUTING_RULE_THEN_BASE_PATH_MAPPING] and [ROUTING_RULE_ONLY]. All other inputs are invalid.
- 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 the private endpoint for this domain name. AWS Certificate Manager is the only supported source.
- domain
Name StringArn - The amazon resource name (ARN) of the domain name resource.
- domain
Name StringId - The domain name ID.
- endpoint
Access StringMode - The endpoint access mode for your DomainName.
- policy Object
A stringified JSON policy document that applies to the
execute-apiservice for this DomainName regardless of the caller and Method configuration. You can useFn::ToJsonStringto enter yourpolicy. For more information, see Fn::ToJsonString .Search the CloudFormation User Guide for
AWS::ApiGateway::DomainNameV2for more information about the expected schema for this property.- routing
Mode DomainName V2Routing Mode - The valid routing modes are [BASE_PATH_MAPPING_ONLY], [ROUTING_RULE_THEN_BASE_PATH_MAPPING] and [ROUTING_RULE_ONLY]. All other inputs are invalid.
- 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 the private endpoint for this domain name. AWS Certificate Manager is the only supported source.
- domain
Name stringArn - The amazon resource name (ARN) of the domain name resource.
- domain
Name stringId - The domain name ID.
- endpoint
Access stringMode - The endpoint access mode for your DomainName.
- policy any
A stringified JSON policy document that applies to the
execute-apiservice for this DomainName regardless of the caller and Method configuration. You can useFn::ToJsonStringto enter yourpolicy. For more information, see Fn::ToJsonString .Search the CloudFormation User Guide for
AWS::ApiGateway::DomainNameV2for more information about the expected schema for this property.- routing
Mode DomainName V2Routing Mode - The valid routing modes are [BASE_PATH_MAPPING_ONLY], [ROUTING_RULE_THEN_BASE_PATH_MAPPING] and [ROUTING_RULE_ONLY]. All other inputs are invalid.
- 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 the private endpoint for this domain name. AWS Certificate Manager is the only supported source.
- domain_
name_ strarn - The amazon resource name (ARN) of the domain name resource.
- domain_
name_ strid - The domain name ID.
- endpoint_
access_ strmode - The endpoint access mode for your DomainName.
- policy Any
A stringified JSON policy document that applies to the
execute-apiservice for this DomainName regardless of the caller and Method configuration. You can useFn::ToJsonStringto enter yourpolicy. For more information, see Fn::ToJsonString .Search the CloudFormation User Guide for
AWS::ApiGateway::DomainNameV2for more information about the expected schema for this property.- routing_
mode DomainName V2Routing Mode - The valid routing modes are [BASE_PATH_MAPPING_ONLY], [ROUTING_RULE_THEN_BASE_PATH_MAPPING] and [ROUTING_RULE_ONLY]. All other inputs are invalid.
- 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 the private endpoint for this domain name. AWS Certificate Manager is the only supported source.
- domain
Name StringArn - The amazon resource name (ARN) of the domain name resource.
- domain
Name StringId - The domain name ID.
- endpoint
Access StringMode - The endpoint access mode for your DomainName.
- policy Any
A stringified JSON policy document that applies to the
execute-apiservice for this DomainName regardless of the caller and Method configuration. You can useFn::ToJsonStringto enter yourpolicy. For more information, see Fn::ToJsonString .Search the CloudFormation User Guide for
AWS::ApiGateway::DomainNameV2for more information about the expected schema for this property.- routing
Mode "BASE_PATH_MAPPING_ONLY" | "ROUTING_RULE_THEN_BASE_PATH_MAPPING" | "ROUTING_RULE_ONLY" - The valid routing modes are [BASE_PATH_MAPPING_ONLY], [ROUTING_RULE_THEN_BASE_PATH_MAPPING] and [ROUTING_RULE_ONLY]. All other inputs are invalid.
- List<Property Map>
- The collection of tags. Each tag element is associated with a given resource.
Supporting Types
DomainNameV2RoutingMode
Tag
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
published on Monday, Mar 30, 2026 by Pulumi
