interface CfnRoleAliasProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.IoT.CfnRoleAliasProps |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsiot#CfnRoleAliasProps |
![]() | software.amazon.awscdk.services.iot.CfnRoleAliasProps |
![]() | aws_cdk.aws_iot.CfnRoleAliasProps |
![]() | aws-cdk-lib » aws_iot » CfnRoleAliasProps |
Properties for defining a CfnRoleAlias
.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-rolealias.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_iot as iot } from 'aws-cdk-lib';
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, default: 3600)
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 .