Class CfnRoleAliasProps
Properties for defining a CfnRoleAlias
.
Inheritance
System.Object
CfnRoleAliasProps
Implements
Namespace: Amazon.CDK.AWS.IoT
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnRoleAliasProps : Object, ICfnRoleAliasProps
Syntax (vb)
Public Class CfnRoleAliasProps
Inherits Object
Implements ICfnRoleAliasProps
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-rolealias.html
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.IoT;
var cfnRoleAliasProps = new CfnRoleAliasProps {
RoleArn = "roleArn",
// the properties below are optional
CredentialDurationSeconds = 123,
RoleAlias = "roleAlias",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Synopsis
Constructors
CfnRoleAliasProps() |
Properties
CredentialDurationSeconds | The number of seconds for which the credential is valid. |
RoleAlias | The role alias. |
RoleArn | The role ARN. |
Tags | An array of key-value pairs to apply to this resource. |
Constructors
CfnRoleAliasProps()
public CfnRoleAliasProps()
Properties
CredentialDurationSeconds
The number of seconds for which the credential is valid.
public Nullable<double> CredentialDurationSeconds { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
RoleAlias
The role alias.
public string RoleAlias { get; set; }
Property Value
System.String
Remarks
RoleArn
The role ARN.
public string RoleArn { get; set; }
Property Value
System.String
Remarks
Tags
An array of key-value pairs to apply to this resource.
public ICfnTag[] Tags { get; set; }
Property Value
ICfnTag[]
Remarks
For more information, see Tag .