domain_name#
Exec functions for AWS API Gateway v2 Domain Name resources.
- async idem_aws.exec.aws.apigatewayv2.domain_name.get(hub, ctx, name, resource_id: str) Dict[str, Any] [source]#
Gets a domain name.
- Parameters:
- Returns:
Returns a domain name.
- Return type:
Dict[str, Any]
Examples
Call from the CLI:
idem exec aws.apigatewayv2.domain_name.get name="my_resource" resource_id="domain_name"
Call from code:
async def my_func(hub, ctx, name:str, resource_id:str): await hub.exec.aws.apigatewayv2.domain_name.get(ctx, name, resource_id)
Using in a state:
my_unmanaged_resource: exec.run: - path: aws.apigatewayv2.domain_name.get - kwargs: name: my_resource resource_id: domain_name