CfnRoleAliasProps Struct
Properties for defining a CfnRoleAlias.
Example
ts
// 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
credentialDurationSecondsoptionalnumbercredential_duration_secondsoptionalint | floatcredentialDurationSecondsoptionalNumberCredentialDurationSecondsoptionaldoubleCredentialDurationSecondsoptional*float64= 3600#The number of seconds for which the credential is valid.
roleAliasoptionalstringrole_aliasoptionalstrroleAliasoptionalStringRoleAliasoptionalstringRoleAliasoptional*string#The role alias.