outpost_resolvers
Creates, updates, deletes or gets an outpost_resolver
resource or lists outpost_resolvers
in a region
Overview
Name | outpost_resolvers |
Type | Resource |
Description | Resource schema for AWS::Route53Resolver::OutpostResolver. |
Id | aws.route53resolver.outpost_resolvers |
Fields
Name | Datatype | Description |
---|---|---|
id | string | Id |
creator_request_id | string | The id of the creator request. |
name | string | The OutpostResolver name. |
arn | string | The OutpostResolver ARN. |
outpost_arn | string | The Outpost ARN. |
preferred_instance_type | string | The OutpostResolver instance type. |
status | string | The OutpostResolver status, possible values are CREATING, OPERATIONAL, UPDATING, DELETING, ACTION_NEEDED, FAILED_CREATION and FAILED_DELETION. |
status_message | string | The OutpostResolver status message. |
instance_count | integer | The number of OutpostResolvers. |
creation_time | string | The OutpostResolver creation time |
modification_time | string | The OutpostResolver last modified time |
tags | array | An array of key-value pairs to apply to this resource. |
region | string | AWS region. |
Methods
Name | Accessible by | Required Params |
---|---|---|
create_resource | INSERT | OutpostArn, PreferredInstanceType, Name, region |
delete_resource | DELETE | data__Identifier, region |
update_resource | UPDATE | data__Identifier, data__PatchDocument, region |
list_resources | SELECT | region |
get_resource | SELECT | data__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
.
- Required Properties
- All Properties
- Manifest
/*+ create */
INSERT INTO aws.route53resolver.outpost_resolvers (
Name,
OutpostArn,
PreferredInstanceType,
region
)
SELECT
'{{ Name }}',
'{{ OutpostArn }}',
'{{ PreferredInstanceType }}',
'{{ region }}';
/*+ create */
INSERT INTO aws.route53resolver.outpost_resolvers (
Name,
OutpostArn,
PreferredInstanceType,
InstanceCount,
Tags,
region
)
SELECT
'{{ Name }}',
'{{ OutpostArn }}',
'{{ PreferredInstanceType }}',
'{{ InstanceCount }}',
'{{ Tags }}',
'{{ region }}';
version: 1
name: stack name
description: stack description
providers:
- aws
globals:
- name: region
value: '{{ vars.AWS_REGION }}'
resources:
- name: outpost_resolver
props:
- name: Name
value: '{{ Name }}'
- name: OutpostArn
value: '{{ OutpostArn }}'
- name: PreferredInstanceType
value: '{{ PreferredInstanceType }}'
- name: InstanceCount
value: '{{ InstanceCount }}'
- name: Tags
value:
- Key: '{{ Key }}'
Value: '{{ Value }}'
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