AWS::IoT::RoleAlias - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

AWS::IoT::RoleAlias

Specifies a role alias.

Requires permission to access the CreateRoleAlias action.

Syntax

To declare this entity in your Amazon CloudFormation template, use the following syntax:

JSON

{ "Type" : "AWS::IoT::RoleAlias", "Properties" : { "CredentialDurationSeconds" : Integer, "RoleAlias" : String, "RoleArn" : String, "Tags" : [ Tag, ... ] } }

YAML

Type: AWS::IoT::RoleAlias Properties: CredentialDurationSeconds: Integer RoleAlias: String RoleArn: String Tags: - Tag

Properties

CredentialDurationSeconds

The number of seconds for which the credential is valid.

Required: No

Type: Integer

Update requires: No interruption

RoleAlias

The role alias.

Required: No

Type: String

Update requires: Replacement

RoleArn

The role ARN.

Required: Yes

Type: String

Update requires: No interruption

Tags

An array of key-value pairs to apply to this resource.

For more information, see Tag.

Required: No

Type: List of Tag

Update requires: No interruption

Return values

Ref

When you pass the logical ID of this resource to the intrinsic Reffunction, Refreturns the role alias name.

Fn::GetAtt

The Fn::GetAttintrinsic function returns a value for a specified attribute of this type. The following are the available attributes and sample return values.

For more information about using the Fn::GetAttintrinsic function, see Fn::GetAtt.

RoleAliasArn

The role alias ARN.