interface CfnRoleAliasProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.IoT.CfnRoleAliasProps |
Java | software.amazon.awscdk.services.iot.CfnRoleAliasProps |
Python | aws_cdk.aws_iot.CfnRoleAliasProps |
TypeScript | @aws-cdk/aws-iot » CfnRoleAliasProps |
Properties for defining a CfnRoleAlias.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as iot from '@aws-cdk/aws-iot';
const cfnRoleAliasProps: iot.CfnRoleAliasProps = {
roleArn: 'roleArn',
// the properties below are optional
credentialDurationSeconds: 123,
roleAlias: 'roleAlias',
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| role | string | The role ARN. |
| credential | number | The number of seconds for which the credential is valid. |
| role | string | The role alias. |
| tags? | Cfn[] | An array of key-value pairs to apply to this resource. |
roleArn
Type:
string
The role ARN.
credentialDurationSeconds?
Type:
number
(optional)
The number of seconds for which the credential is valid.
roleAlias?
Type:
string
(optional)
The role alias.
tags?
Type:
Cfn[]
(optional)
An array of key-value pairs to apply to this resource.
For more information, see Tag .

.NET
Java
Python
TypeScript