AWS::IoT::RoleAliasUse the AWS::IoT::RoleAlias resource to declare an AWS IoT RoleAlias.
4 configurable properties. 1 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
RoleArn | string | Required |
CredentialDurationSeconds | integer | |
RoleAlias | string | Create-only |
Tags | Array<Tag> |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
RoleAliasArn | string | - |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::IoT::RoleAlias
Resources:
MyResource:
Type: AWS::IoT::RoleAlias
Properties:
RoleArn: "arn:aws:service:region:account:resource"
Tags:
- Key: Environment
Value: ProductionPermissions CloudFormation needs in your IAM role to manage this resource.
iam:GetRoleiam:PassRoleiot:CreateRoleAliasiot:DescribeRoleAliasiot:TagResourceiot:ListTagsForResourcekms:Decryptiam:GetRoleiam:PassRoleiot:DescribeRoleAliasiot:ListTagsForResourcekms:Decryptiam:GetRoleiam:PassRoleiot:UpdateRoleAliasiot:DescribeRoleAliasiot:TagResourceiot:UntagResourceiot:ListTagsForResourcekms:Decryptiot:DeleteRoleAliasiot:DescribeRoleAliaskms:Decryptiot:ListRoleAliasesOur bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to NewsletterRoleAliasThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
RoleAlias