Skip to main content

profile

Gets an individual profile resource

Overview

Nameprofile
TypeResource
Descriptionprofile
Idawscc.rolesanywhere.profile

Fields

NameDatatypeDescription
duration_secondsnumber
enabledboolean
managed_policy_arnsarray
namestring
profile_arnstring
profile_idstring
require_instance_propertiesboolean
role_arnsarray
session_policystring
tagsarray
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
duration_seconds,
enabled,
managed_policy_arns,
name,
profile_arn,
profile_id,
require_instance_properties,
role_arns,
session_policy,
tags
FROM awscc.rolesanywhere.profile
WHERE data__Identifier = '<ProfileId>';

Permissions

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

Read

rolesanywhere:GetProfile,
rolesanywhere:ListTagsForResource

Update

iam:GetRole,
iam:GetPolicy,
iam:PassRole,
rolesanywhere:UpdateProfile,
rolesanywhere:EnableProfile,
rolesanywhere:DisableProfile,
rolesanywhere:TagResource,
rolesanywhere:UntagResource,
rolesanywhere:ListTagsForResource

Delete

rolesanywhere:DeleteProfile