interface CfnRoleAliasMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.IoT.CfnRoleAliasMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsiot#CfnRoleAliasMixinProps |
Java | software.amazon.awscdk.cfnpropertymixins.services.iot.CfnRoleAliasMixinProps |
Python | aws_cdk.cfn_property_mixins.aws_iot.CfnRoleAliasMixinProps |
TypeScript | @aws-cdk/cfn-property-mixins » aws_iot » CfnRoleAliasMixinProps |
Properties for CfnRoleAliasPropsMixin.
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/cfn-property-mixins';
const cfnRoleAliasMixinProps: iot.CfnRoleAliasMixinProps = {
credentialDurationSeconds: 123,
roleAlias: 'roleAlias',
roleArn: 'roleArn',
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| credential | number | The number of seconds for which the credential is valid. |
| role | string | The role alias. |
| role | string | IRole | The role ARN. |
| tags? | Cfn[] | An array of key-value pairs to apply to this resource. |
credentialDurationSeconds?
Type:
number
(optional, default: 3600)
The number of seconds for which the credential is valid.
roleAlias?
Type:
string
(optional)
The role alias.
roleArn?
Type:
string | IRole
(optional)
The role ARN.
tags?
Type:
Cfn[]
(optional)
An array of key-value pairs to apply to this resource.
For more information, see Tag .

.NET
Go
Java
Python
TypeScript