Skip to main content

outpost_resolvers

Creates, updates, deletes or gets an outpost_resolver resource or lists outpost_resolvers in a region

Overview

Nameoutpost_resolvers
TypeResource
DescriptionResource schema for AWS::Route53Resolver::OutpostResolver.
Idaws.route53resolver.outpost_resolvers

Fields

NameDatatypeDescription
idstringId
creator_request_idstringThe id of the creator request.
namestringThe OutpostResolver name.
arnstringThe OutpostResolver ARN.
outpost_arnstringThe Outpost ARN.
preferred_instance_typestringThe OutpostResolver instance type.
statusstringThe OutpostResolver status, possible values are CREATING, OPERATIONAL, UPDATING, DELETING, ACTION_NEEDED, FAILED_CREATION and FAILED_DELETION.
status_messagestringThe OutpostResolver status message.
instance_countintegerThe number of OutpostResolvers.
creation_timestringThe OutpostResolver creation time
modification_timestringThe OutpostResolver last modified time
tagsarrayAn array of key-value pairs to apply to this resource.
regionstringAWS region.

Methods

NameAccessible byRequired Params
create_resourceINSERTOutpostArn, PreferredInstanceType, Name, region
delete_resourceDELETEdata__Identifier, region
update_resourceUPDATEdata__Identifier, data__PatchDocument, region
list_resourcesSELECTregion
get_resourceSELECTdata__Identifier, region

SELECT examples

Gets all outpost_resolvers in a region.

SELECT
region,
id,
creator_request_id,
name,
arn,
outpost_arn,
preferred_instance_type,
status,
status_message,
instance_count,
creation_time,
modification_time,
tags
FROM aws.route53resolver.outpost_resolvers
WHERE region = 'us-east-1';

Gets all properties from an individual outpost_resolver.

SELECT
region,
id,
creator_request_id,
name,
arn,
outpost_arn,
preferred_instance_type,
status,
status_message,
instance_count,
creation_time,
modification_time,
tags
FROM aws.route53resolver.outpost_resolvers
WHERE region = 'us-east-1' AND data__Identifier = '<Id>';

INSERT example

Use the following StackQL query and manifest file to create a new outpost_resolver resource, using stack-deploy.

/*+ create */
INSERT INTO aws.route53resolver.outpost_resolvers (
Name,
OutpostArn,
PreferredInstanceType,
region
)
SELECT
'{{ Name }}',
'{{ OutpostArn }}',
'{{ PreferredInstanceType }}',
'{{ region }}';

DELETE example

/*+ delete */
DELETE FROM aws.route53resolver.outpost_resolvers
WHERE data__Identifier = '<Id>'
AND region = 'us-east-1';

Permissions

To operate on the outpost_resolvers resource, the following permissions are required:

Create

route53resolver:CreateOutpostResolver,
route53resolver:GetOutpostResolver,
route53resolver:ListTagsForResource,
outposts:GetOutpost

Read

route53resolver:GetOutpostResolver,
route53resolver:ListTagsForResource

Update

route53resolver:UpdateOutpostResolver,
route53resolver:GetOutpostResolver,
route53resolver:UntagResource,
route53resolver:TagResource,
route53resolver:ListTagsForResource

Delete

route53resolver:DeleteOutpostResolver,
route53resolver:GetOutpostResolver,
route53resolver:ListOutpostResolvers,
route53resolver:ListResolverEndpoints

List

route53resolver:ListOutpostResolvers,
route53resolver:ListTagsForResource