runway.cfngin.hooks.route53 module

AWS Route 53 hook.

pydantic model runway.cfngin.hooks.route53.CreateDomainHookArgs[source]

Bases: BaseModel

Hook arguments for create_domain.

Show JSON schema
{
   "title": "CreateDomainHookArgs",
   "description": "Hook arguments for ``create_domain``.",
   "type": "object",
   "properties": {
      "domain": {
         "title": "Domain",
         "type": "string"
      }
   },
   "required": [
      "domain"
   ]
}

field domain: str = PydanticUndefined

Domain name for the Route 53 hosted zone to be created.

runway.cfngin.hooks.route53.create_domain(context: runway.context.CfnginContext, *_args: Any, **kwargs: Any) dict[str, str][source]

Create a domain within route53.

Parameters:
  • context – CFNgin context object.

  • **kwargs – Arbitrary keyword arguments.

Returns:

Dict containing domain and zone_id.