Skip to main content

profile_associations

Creates, updates, deletes, gets or lists a profile_associations resource.

Overview

Nameprofile_associations
TypeResource
Idaws.route53profiles.profile_associations

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
creation_timestring (date-time)The date and time that the Profile association was created, in Unix time format and Coordinated Universal Time (UTC).
idstringID of the Profile association.
modification_timestring (date-time)The date and time that the Profile association was modified, in Unix time format and Coordinated Universal Time (UTC).
namestringName of the Profile association. (pattern: <code>^(?!^[0-9]+$)([a-zA-Z0-9-_' ']+)$</code>)
owner_idstringAmazon Web Services account ID of the Profile association owner.
profile_idstringID of the Profile.
resource_idstringThe Amazon Resource Name (ARN) of the VPC.
statusstringStatus of the Profile association. (COMPLETE, DELETING, UPDATING, CREATING, DELETED, FAILED)
status_messagestringAdditional information about the Profile association.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_profile_associationselectprofile_association_id, regionRetrieves a Route 53 Profile association for a VPC. A VPC can have only one Profile association, but a Profile can be associated with up to 5000 VPCs.
list_profile_associationsselectregionmaxResults, nextToken, profileId, resourceIdLists all the VPCs that the specified Route 53 Profile is associated with.

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
profile_association_idstringThe identifier of the association you want to get information about.
regionstringAWS region (default: us-east-1)
maxResultsintegerThe maximum number of objects that you want to return for this request. If more objects are available, in the response, a NextToken value, which you can use in a subsequent call to get the next batch of objects, is provided. If you don't specify a value for MaxResults, up to 100 objects are returned.
nextTokenstringFor the first call to this list request, omit this value. When you request a list of objects, at most the number of objects specified by MaxResults is returned. If more objects are available for retrieval, a NextToken value is returned in the response. To retrieve the next batch of objects, use the token that was returned for the prior request in your next request.
profileIdstringID of the Profile.
resourceIdstringID of the VPC.

SELECT examples

Retrieves a Route 53 Profile association for a VPC. A VPC can have only one Profile association, but a Profile can be associated with up to 5000 VPCs.

SELECT
creation_time,
id,
modification_time,
name,
owner_id,
profile_id,
resource_id,
status,
status_message
FROM aws.route53profiles.profile_associations
WHERE profile_association_id = '{{ profile_association_id }}' -- required
AND region = '{{ region }}' -- required
;