CfnRoleAliasProps

class aws_cdk.aws_iot.CfnRoleAliasProps(*, role_arn, credential_duration_seconds=None, role_alias=None, tags=None)

Bases: object

Properties for defining a CfnRoleAlias.

Parameters:
  • role_arn (str) – The role ARN.

  • credential_duration_seconds (Union[int, float, None]) – The number of seconds for which the credential is valid.

  • role_alias (Optional[str]) – The role alias.

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – An array of key-value pairs to apply to this resource. For more information, see Tag .

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-rolealias.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_iot as iot

cfn_role_alias_props = iot.CfnRoleAliasProps(
    role_arn="roleArn",

    # the properties below are optional
    credential_duration_seconds=123,
    role_alias="roleAlias",
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

credential_duration_seconds

The number of seconds for which the credential is valid.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-rolealias.html#cfn-iot-rolealias-credentialdurationseconds

role_alias

The role alias.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-rolealias.html#cfn-iot-rolealias-rolealias

role_arn

The role ARN.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-rolealias.html#cfn-iot-rolealias-rolearn

tags

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

For more information, see Tag .

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-rolealias.html#cfn-iot-rolealias-tags