Skip to main content

outpost_resolvers

Creates, updates, deletes, gets or lists an outpost_resolvers resource.

Overview​

Nameoutpost_resolvers
TypeResource
Idaws.route53resolver.outpost_resolvers

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
arnstringThe ARN (Amazon Resource Name) for the Resolver on an Outpost.
creation_timestringThe date and time that the Outpost Resolver was created, in Unix time format and Coordinated Universal Time (UTC).
creator_request_idstringA unique string that identifies the request that created the Resolver endpoint. The CreatorRequestId allows failed requests to be retried without the risk of running the operation twice.
idstringThe ID of the Resolver on Outpost.
instance_countintegerAmazon EC2 instance count for the Resolver on the Outpost.
modification_timestringThe date and time that the Outpost Resolver was modified, in Unix time format and Coordinated Universal Time (UTC).
namestringName of the Resolver.
outpost_arnstringThe ARN (Amazon Resource Name) for the Outpost. (pattern: <code>^arn:aws([a-z-]+)?:outposts:[a-z\d-]+:\d{12}:outpost/op-[a-f0-9]{17}$</code>)
preferred_instance_typestringThe Amazon EC2 instance type.
statusstringStatus of the Resolver. (CREATING, OPERATIONAL, UPDATING, DELETING, ACTION_NEEDED, FAILED_CREATION, FAILED_DELETION)
status_messagestringA detailed description of the Resolver.

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_outpost_resolverselectregionGets information about a specified Resolver on the Outpost, such as its instance count and type, name, and the current status of the Resolver.
create_outpost_resolverinsertregion, CreatorRequestId, PreferredInstanceType, OutpostArnCreates a Route 53 Resolver on an Outpost.
update_outpost_resolverupdateregionYou can use UpdateOutpostResolver to update the instance count, type, or name of a Resolver on an Outpost.
delete_outpost_resolverdeleteregionDeletes a Resolver on the Outpost.
list_outpost_resolversexecregionLists all the Resolvers on Outposts that were created using the current Amazon Web Services account.

Parameters​

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples​

Gets information about a specified Resolver on the Outpost, such as its instance count and type, name, and the current status of the Resolver.

SELECT
arn,
creation_time,
creator_request_id,
id,
instance_count,
modification_time,
name,
outpost_arn,
preferred_instance_type,
status,
status_message
FROM aws.route53resolver.outpost_resolvers
WHERE region = '{{ region }}' -- required
;

INSERT examples​

Creates a Route 53 Resolver on an Outpost.

INSERT INTO aws.route53resolver.outpost_resolvers (
CreatorRequestId,
Name,
InstanceCount,
PreferredInstanceType,
OutpostArn,
Tags,
region
)
SELECT
'{{ CreatorRequestId }}' /* required */,
'{{ Name }}',
{{ InstanceCount }},
'{{ PreferredInstanceType }}' /* required */,
'{{ OutpostArn }}' /* required */,
'{{ Tags }}',
'{{ region }}'
RETURNING
outpost_resolver
;

UPDATE examples​

You can use UpdateOutpostResolver to update the instance count, type, or name of a Resolver on an Outpost.

UPDATE aws.route53resolver.outpost_resolvers
SET
Id = '{{ Id }}',
Name = '{{ Name }}',
InstanceCount = {{ InstanceCount }},
PreferredInstanceType = '{{ PreferredInstanceType }}'
WHERE
region = '{{ region }}' --required
RETURNING
outpost_resolver;

DELETE examples​

Deletes a Resolver on the Outpost.

DELETE FROM aws.route53resolver.outpost_resolvers
WHERE region = '{{ region }}' --required
;

Lifecycle Methods​

Lists all the Resolvers on Outposts that were created using the current Amazon Web Services account.

EXEC aws.route53resolver.outpost_resolvers.list_outpost_resolvers
@region='{{ region }}' --required
@@json=
'{
"OutpostArn": "{{ OutpostArn }}",
"MaxResults": {{ MaxResults }},
"NextToken": "{{ NextToken }}"
}'
;