Skip to main content

profiles

Creates, updates, deletes or gets a profile resource or lists profiles in a region

Overview

Nameprofiles
TypeResource
DescriptionResource Type definition for AWS::Route53Profiles::Profile
Idaws.route53profiles.profiles

Fields

NameDatatypeDescription
namestringThe name of the profile.
client_tokenstringThe id of the creator request
tagsarrayAn array of key-value pairs to apply to this resource.
arnstringThe Amazon Resource Name (ARN) of the resolver profile.
idstringThe ID of the profile.
regionstringAWS region.

Methods

NameAccessible byRequired Params
create_resourceINSERTName, region
delete_resourceDELETEdata__Identifier, region
update_resourceUPDATEdata__Identifier, data__PatchDocument, region
list_resourcesSELECTregion
get_resourceSELECTdata__Identifier, region

SELECT examples

Gets all profiles in a region.

SELECT
region,
name,
client_token,
tags,
arn,
id
FROM aws.route53profiles.profiles
WHERE region = 'us-east-1';

Gets all properties from an individual profile.

SELECT
region,
name,
client_token,
tags,
arn,
id
FROM aws.route53profiles.profiles
WHERE region = 'us-east-1' AND data__Identifier = '<Id>';

INSERT example

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

/*+ create */
INSERT INTO aws.route53profiles.profiles (
Name,
region
)
SELECT
'{{ Name }}',
'{{ region }}';

DELETE example

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

Permissions

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

Create

route53profiles:CreateProfile,
route53profiles:GetProfile,
route53profiles:TagResource,
route53profiles:ListTagsForResource

Update

route53profiles:GetProfile,
route53profiles:TagResource,
route53profiles:UntagResource,
route53profiles:ListTagsForResource

Read

route53profiles:GetProfile,
route53profiles:ListTagsForResource

Delete

route53profiles:DeleteProfile,
route53profiles:GetProfile,
route53profiles:UntagResource

List

route53profiles:ListProfiles,
route53profiles:ListTagsForResource