AWS::RolesAnywhere::ProfileDefinition of AWS::RolesAnywhere::Profile Resource Type
10 configurable properties. 2 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
Name | string | Required |
RoleArns | Array<string> | Required |
AcceptRoleSessionName | boolean | |
AttributeMappings | Array<AttributeMapping> | |
DurationSeconds | number | |
Enabled | boolean | |
ManagedPolicyArns | Array<string> | |
RequireInstanceProperties | boolean | Create-onlyWrite-only |
SessionPolicy | string | |
Tags | Array<Tag> |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
ProfileArn | string | - |
ProfileId | string | - |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::RolesAnywhere::Profile
Resources:
MyResource:
Type: AWS::RolesAnywhere::Profile
Properties:
Name: "my-name"
RoleArns: "arn:aws:service:region:account:resource"
Tags:
- Key: Environment
Value: ProductionPermissions CloudFormation needs in your IAM role to manage this resource.
iam:GetRoleiam:GetPolicyiam:PassRolerolesanywhere:CreateProfilerolesanywhere:TagResourcerolesanywhere:PutAttributeMappingrolesanywhere:DeleteAttributeMappingrolesanywhere:GetProfilerolesanywhere:ListTagsForResourceiam:GetRoleiam:GetPolicyiam:PassRolerolesanywhere:GetProfilerolesanywhere:UpdateProfilerolesanywhere:EnableProfilerolesanywhere:DisableProfilerolesanywhere:TagResourcerolesanywhere:DeleteProfilerolesanywhere:ListProfilesrolesanywhere:ListTagsForResourceOur bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to NewsletterProfileIdThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
RequireInstanceProperties