Class RoleAlias
Provides an IoT role alias.
Inherited Members
Namespace: Pulumi.Aws.Iot
Assembly: Pulumi.Aws.dll
Syntax
public class RoleAlias : CustomResource
Constructors
View SourceRoleAlias(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 SourceAlias
The name of the role alias.
Declaration
public Output<string> Alias { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Arn
The ARN assigned by AWS to this role alias.
Declaration
public Output<string> Arn { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
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>> |
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 SourceGet(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 |