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
Idawscc.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.

For more information, see AWS::Route53Profiles::Profile.

Methods

NameResourceAccessible byRequired Params
create_resourceprofilesINSERTName, region
delete_resourceprofilesDELETEIdentifier, region
update_resourceprofilesUPDATEIdentifier, PatchDocument, region
list_resourcesprofiles_list_onlySELECTregion
get_resourceprofilesSELECTIdentifier, region

SELECT examples

Gets all properties from an individual profile.

SELECT
region,
name,
client_token,
tags,
arn,
id
FROM awscc.route53profiles.profiles
WHERE
region = 'us-east-1' AND
Identifier = '{{ id }}';

INSERT example

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

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

UPDATE example

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

/*+ update */
UPDATE awscc.route53profiles.profiles
SET PatchDocument = string('{{ {
"Tags": tags
} | generate_patch_document }}')
WHERE
region = '{{ region }}' AND
Identifier = '{{ id }}';

DELETE example

/*+ delete */
DELETE FROM awscc.route53profiles.profiles
WHERE
Identifier = '{{ id }}' AND
region = 'us-east-1';

Permissions

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

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