Show / Hide Table of Contents

Class RoleAlias

Provides an IoT role alias.

Inheritance
System.Object
Resource
CustomResource
RoleAlias
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Aws.Iot
Assembly: Pulumi.Aws.dll
Syntax
public class RoleAlias : CustomResource

Constructors

View Source

RoleAlias(String, RoleAliasArgs, CustomResourceOptions)

Create a RoleAlias resource with the given unique name, arguments, and options.

Declaration
public RoleAlias(string name, RoleAliasArgs args, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

RoleAliasArgs args

The arguments used to populate this resource's properties

CustomResourceOptions options

A bag of options that control this resource's behavior

Properties

View Source

Alias

The name of the role alias.

Declaration
public Output<string> Alias { get; }
Property Value
Type Description
Output<System.String>
View Source

Arn

The ARN assigned by AWS to this role alias.

Declaration
public Output<string> Arn { get; }
Property Value
Type Description
Output<System.String>
View Source

CredentialDuration

The duration of the credential, in seconds. If you do not specify a value for this setting, the default maximum of one hour is applied. This setting can have a value from 900 seconds (15 minutes) to 3600 seconds (60 minutes).

Declaration
public Output<int?> CredentialDuration { get; }
Property Value
Type Description
Output<System.Nullable<System.Int32>>
View Source

RoleArn

The identity of the role to which the alias refers.

Declaration
public Output<string> RoleArn { get; }
Property Value
Type Description
Output<System.String>

Methods

View Source

Get(String, Input<String>, RoleAliasState, CustomResourceOptions)

Get an existing RoleAlias resource's state with the given name, ID, and optional extra properties used to qualify the lookup.

Declaration
public static RoleAlias Get(string name, Input<string> id, RoleAliasState state = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resulting resource.

Input<System.String> id

The unique provider ID of the resource to lookup.

RoleAliasState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
RoleAlias
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.