aws-cdk-lib.aws_iot.CfnRoleAliasProps

interface CfnRoleAliasProps

LanguageType name
.NETAmazon.CDK.AWS.IoT.CfnRoleAliasProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsiot#CfnRoleAliasProps
Javasoftware.amazon.awscdk.services.iot.CfnRoleAliasProps
Pythonaws_cdk.aws_iot.CfnRoleAliasProps
TypeScript aws-cdk-lib » 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 { 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

NameTypeDescription
roleArnstringThe role ARN.
credentialDurationSeconds?numberThe number of seconds for which the credential is valid.
roleAlias?stringThe role alias.
tags?CfnTag[]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: CfnTag[] (optional)

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

For more information, see Tag .