Show / Hide Table of Contents

Class CfnRoleAlias

Specifies a role alias.

Inheritance
object
CfnElement
CfnRefElement
CfnResource
CfnRoleAlias
Implements
IInspectable
ITaggable
Inherited Members
CfnResource.IsCfnResource(object)
CfnResource.AddDeletionOverride(string)
CfnResource.AddDependency(CfnResource)
CfnResource.AddDependsOn(CfnResource)
CfnResource.AddMetadata(string, object)
CfnResource.AddOverride(string, object)
CfnResource.AddPropertyDeletionOverride(string)
CfnResource.AddPropertyOverride(string, object)
CfnResource.ApplyRemovalPolicy(RemovalPolicy?, IRemovalPolicyOptions)
CfnResource.GetAtt(string, ResolutionTypeHint?)
CfnResource.GetMetadata(string)
CfnResource.ObtainDependencies()
CfnResource.ObtainResourceDependencies()
CfnResource.RemoveDependency(CfnResource)
CfnResource.ReplaceDependency(CfnResource, CfnResource)
CfnResource.ShouldSynthesize()
CfnResource.ToString()
CfnResource.ValidateProperties(object)
CfnResource.CfnOptions
CfnResource.CfnResourceType
CfnResource.UpdatedProperites
CfnResource.UpdatedProperties
CfnRefElement.Ref
CfnElement.IsCfnElement(object)
CfnElement.OverrideLogicalId(string)
CfnElement.CreationStack
CfnElement.LogicalId
CfnElement.Stack
Namespace: Amazon.CDK.AWS.IoT
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnRoleAlias : CfnResource, IInspectable, ITaggable
Syntax (vb)
Public Class CfnRoleAlias Inherits CfnResource Implements IInspectable, ITaggable
Remarks

Requires permission to access the CreateRoleAlias action.

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

CloudformationResource: AWS::IoT::RoleAlias

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 cfnRoleAlias = new CfnRoleAlias(this, "MyCfnRoleAlias", new CfnRoleAliasProps {
                 RoleArn = "roleArn",

                 // the properties below are optional
                 CredentialDurationSeconds = 123,
                 RoleAlias = "roleAlias",
                 Tags = new [] { new CfnTag {
                     Key = "key",
                     Value = "value"
                 } }
             });

Synopsis

Constructors

CfnRoleAlias(Construct, string, ICfnRoleAliasProps)

Specifies a role alias.

Properties

AttrRoleAliasArn

The role alias ARN.

CFN_RESOURCE_TYPE_NAME

The CloudFormation resource type name for this resource class.

CfnProperties

Specifies a role alias.

CredentialDurationSeconds

The number of seconds for which the credential is valid.

RoleAlias

The role alias.

RoleArn

The role ARN.

Tags

Tag Manager which manages the tags for this resource.

TagsRaw

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

Methods

Inspect(TreeInspector)

Examines the CloudFormation resource and discloses attributes.

RenderProperties(IDictionary<string, object>)

Specifies a role alias.

Constructors

CfnRoleAlias(Construct, string, ICfnRoleAliasProps)

Specifies a role alias.

public CfnRoleAlias(Construct scope, string id, ICfnRoleAliasProps props)
Parameters
scope Construct

Scope in which this resource is defined.

id string

Construct identifier for this resource (unique in its scope).

props ICfnRoleAliasProps

Resource properties.

Remarks

Requires permission to access the CreateRoleAlias action.

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

CloudformationResource: AWS::IoT::RoleAlias

ExampleMetadata: fixture=_generated

Properties

AttrRoleAliasArn

The role alias ARN.

public virtual string AttrRoleAliasArn { get; }
Property Value

string

Remarks

CloudformationAttribute: RoleAliasArn

CFN_RESOURCE_TYPE_NAME

The CloudFormation resource type name for this resource class.

public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value

string

Remarks

Requires permission to access the CreateRoleAlias action.

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

CloudformationResource: AWS::IoT::RoleAlias

ExampleMetadata: fixture=_generated

CfnProperties

Specifies a role alias.

protected override IDictionary<string, object> CfnProperties { get; }
Property Value

IDictionary<string, object>

Overrides
CfnResource.CfnProperties
Remarks

Requires permission to access the CreateRoleAlias action.

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

CloudformationResource: AWS::IoT::RoleAlias

ExampleMetadata: fixture=_generated

CredentialDurationSeconds

The number of seconds for which the credential is valid.

public virtual double? CredentialDurationSeconds { get; set; }
Property Value

double?

Remarks

Requires permission to access the CreateRoleAlias action.

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

CloudformationResource: AWS::IoT::RoleAlias

ExampleMetadata: fixture=_generated

RoleAlias

The role alias.

public virtual string? RoleAlias { get; set; }
Property Value

string

Remarks

Requires permission to access the CreateRoleAlias action.

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

CloudformationResource: AWS::IoT::RoleAlias

ExampleMetadata: fixture=_generated

RoleArn

The role ARN.

public virtual string RoleArn { get; set; }
Property Value

string

Remarks

Requires permission to access the CreateRoleAlias action.

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

CloudformationResource: AWS::IoT::RoleAlias

ExampleMetadata: fixture=_generated

Tags

Tag Manager which manages the tags for this resource.

public virtual TagManager Tags { get; }
Property Value

TagManager

Remarks

Requires permission to access the CreateRoleAlias action.

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

CloudformationResource: AWS::IoT::RoleAlias

ExampleMetadata: fixture=_generated

TagsRaw

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

public virtual ICfnTag[]? TagsRaw { get; set; }
Property Value

ICfnTag[]

Remarks

Requires permission to access the CreateRoleAlias action.

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

CloudformationResource: AWS::IoT::RoleAlias

ExampleMetadata: fixture=_generated

Methods

Inspect(TreeInspector)

Examines the CloudFormation resource and discloses attributes.

public virtual void Inspect(TreeInspector inspector)
Parameters
inspector TreeInspector

tree inspector to collect and process attributes.

Remarks

Requires permission to access the CreateRoleAlias action.

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

CloudformationResource: AWS::IoT::RoleAlias

ExampleMetadata: fixture=_generated

RenderProperties(IDictionary<string, object>)

Specifies a role alias.

protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
props IDictionary<string, object>
Returns

IDictionary<string, object>

Overrides
CfnResource.RenderProperties(IDictionary<string, object>)
Remarks

Requires permission to access the CreateRoleAlias action.

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

CloudformationResource: AWS::IoT::RoleAlias

ExampleMetadata: fixture=_generated

Implements

IInspectable
ITaggable
Back to top Generated by DocFX