AWS
associate_vpc_with_zone
Associate a VPC with a private hosted zone
Get the DNS response for the specified record name & type
Below are the details and signature of the activity Python module.
Type | probe |
Module | chaosaws.route53.probes |
Name | get_dns_answer |
Return | mapping |
Usage
JSON
{
"name": "get-dns-answer",
"type": "probe",
"provider": {
"type": "python",
"module": "chaosaws.route53.probes",
"func": "get_dns_answer",
"arguments": {
"zone_id": "",
"record_name": "",
"record_type": ""
}
}
}
YAML
name: get-dns-answer
provider:
arguments:
record_name: ""
record_type: ""
zone_id: ""
func: get_dns_answer
module: chaosaws.route53.probes
type: python
type: probe
Arguments
Name | Type | Default | Required | Title | Description |
---|---|---|---|---|---|
zone_id | string | Yes | Zone ID | Route53 zone | |
record_name | string | Yes | Record Name | ||
record_type | string | Yes | Record Type |
Signature
def get_dns_answer(
zone_id: str,
record_name: str,
record_type: str,
configuration: Dict[str, Dict[str, str]] = None,
secrets: Dict[str, Dict[str, str]] = None) -> Dict[str, Any]:
pass