1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. iot
  5. getRoleAlias

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi

aws-native.iot.getRoleAlias

Explore with Pulumi AI

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi

Use the AWS::IoT::RoleAlias resource to declare an AWS IoT RoleAlias.

Using getRoleAlias

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getRoleAlias(args: GetRoleAliasArgs, opts?: InvokeOptions): Promise<GetRoleAliasResult>
function getRoleAliasOutput(args: GetRoleAliasOutputArgs, opts?: InvokeOptions): Output<GetRoleAliasResult>
Copy
def get_role_alias(role_alias: Optional[str] = None,
                   opts: Optional[InvokeOptions] = None) -> GetRoleAliasResult
def get_role_alias_output(role_alias: Optional[pulumi.Input[str]] = None,
                   opts: Optional[InvokeOptions] = None) -> Output[GetRoleAliasResult]
Copy
func LookupRoleAlias(ctx *Context, args *LookupRoleAliasArgs, opts ...InvokeOption) (*LookupRoleAliasResult, error)
func LookupRoleAliasOutput(ctx *Context, args *LookupRoleAliasOutputArgs, opts ...InvokeOption) LookupRoleAliasResultOutput
Copy

> Note: This function is named LookupRoleAlias in the Go SDK.

public static class GetRoleAlias 
{
    public static Task<GetRoleAliasResult> InvokeAsync(GetRoleAliasArgs args, InvokeOptions? opts = null)
    public static Output<GetRoleAliasResult> Invoke(GetRoleAliasInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetRoleAliasResult> getRoleAlias(GetRoleAliasArgs args, InvokeOptions options)
public static Output<GetRoleAliasResult> getRoleAlias(GetRoleAliasArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: aws-native:iot:getRoleAlias
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

RoleAliasValue This property is required. string
The role alias.
RoleAlias This property is required. string
The role alias.
roleAlias This property is required. String
The role alias.
roleAlias This property is required. string
The role alias.
role_alias This property is required. str
The role alias.
roleAlias This property is required. String
The role alias.

getRoleAlias Result

The following output properties are available:

CredentialDurationSeconds int
The number of seconds for which the credential is valid.
RoleAliasArn string
The role alias ARN.
RoleArn string
The role ARN.
Tags List<Pulumi.AwsNative.Outputs.Tag>

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

For more information, see Tag .

CredentialDurationSeconds int
The number of seconds for which the credential is valid.
RoleAliasArn string
The role alias ARN.
RoleArn string
The role ARN.
Tags Tag

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

For more information, see Tag .

credentialDurationSeconds Integer
The number of seconds for which the credential is valid.
roleAliasArn String
The role alias ARN.
roleArn String
The role ARN.
tags List<Tag>

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

For more information, see Tag .

credentialDurationSeconds number
The number of seconds for which the credential is valid.
roleAliasArn string
The role alias ARN.
roleArn string
The role ARN.
tags Tag[]

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

For more information, see Tag .

credential_duration_seconds int
The number of seconds for which the credential is valid.
role_alias_arn str
The role alias ARN.
role_arn str
The role ARN.
tags Sequence[root_Tag]

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

For more information, see Tag .

credentialDurationSeconds Number
The number of seconds for which the credential is valid.
roleAliasArn String
The role alias ARN.
roleArn String
The role ARN.
tags List<Property Map>

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

For more information, see Tag .

Supporting Types

Tag

Key This property is required. string
The key name of the tag
Value This property is required. string
The value of the tag
Key This property is required. string
The key name of the tag
Value This property is required. string
The value of the tag
key This property is required. String
The key name of the tag
value This property is required. String
The value of the tag
key This property is required. string
The key name of the tag
value This property is required. string
The value of the tag
key This property is required. str
The key name of the tag
value This property is required. str
The value of the tag
key This property is required. String
The key name of the tag
value This property is required. String
The value of the tag

Package Details

Repository
AWS Native pulumi/pulumi-aws-native
License
Apache-2.0

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi