Data Source: awsRoute53ResolverEndpoint
awsRoute53ResolverEndpoint
provides details about a specific Route53 Resolver Endpoint.
This data source allows to find a list of IPaddresses associated with a specific Route53 Resolver Endpoint.
Example Usage
/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as aws from "./.gen/providers/aws";
new aws.dataAwsRoute53ResolverEndpoint.DataAwsRoute53ResolverEndpoint(
this,
"example",
{
resolverEndpointId: "rslvr-in-1abc2345ef678g91h",
}
);
/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as aws from "./.gen/providers/aws";
new aws.dataAwsRoute53ResolverEndpoint.DataAwsRoute53ResolverEndpoint(
this,
"example",
{
filter: [
{
name: "NAME",
values: ["MyResolverExampleName"],
},
],
}
);
Argument Reference
resolverEndpointId
- (Optional) ID of the Route53 Resolver Endpoint.filter
- (Optional) One or more name/value pairs to use as filters. There are several valid keys, for a full reference, check out Route53resolver Filter value in the AWS API reference.
In addition to all arguments above, the following attributes are exported:
arn
- Computed ARN of the Route53 Resolver Endpoint.direction
- Direction of the queries to or from the Resolver Endpoint .ipAddresses
- List of IPaddresses that have been associated with the Resolver Endpoint.status
- Current status of the Resolver Endpoint.vpcId
- ID of the Host VPC that the Resolver Endpoint resides in.