We recommend new projects start with resources from the AWS provider.
aws-native.iot.getRoleAlias
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
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>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]func LookupRoleAlias(ctx *Context, args *LookupRoleAliasArgs, opts ...InvokeOption) (*LookupRoleAliasResult, error)
func LookupRoleAliasOutput(ctx *Context, args *LookupRoleAliasOutputArgs, opts ...InvokeOption) LookupRoleAliasResultOutput> 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)
}public static CompletableFuture<GetRoleAliasResult> getRoleAlias(GetRoleAliasArgs args, InvokeOptions options)
public static Output<GetRoleAliasResult> getRoleAlias(GetRoleAliasArgs args, InvokeOptions options)
fn::invoke:
  function: aws-native:iot:getRoleAlias
  arguments:
    # arguments dictionaryThe following arguments are supported:
- RoleAlias stringValue 
- The role alias.
- RoleAlias string
- The role alias.
- roleAlias String
- The role alias.
- roleAlias string
- The role alias.
- role_alias str
- The role alias.
- roleAlias String
- The role alias.
getRoleAlias Result
The following output properties are available:
- CredentialDuration intSeconds 
- The number of seconds for which the credential is valid.
- RoleAlias stringArn 
- The role alias ARN.
- RoleArn string
- The role ARN.
- 
List<Pulumi.Aws Native. Outputs. Tag> 
- An array of key-value pairs to apply to this resource. - For more information, see Tag . 
- CredentialDuration intSeconds 
- The number of seconds for which the credential is valid.
- RoleAlias stringArn 
- The role alias ARN.
- RoleArn string
- The role ARN.
- Tag
- An array of key-value pairs to apply to this resource. - For more information, see Tag . 
- credentialDuration IntegerSeconds 
- The number of seconds for which the credential is valid.
- roleAlias StringArn 
- The role alias ARN.
- roleArn String
- The role ARN.
- List<Tag>
- An array of key-value pairs to apply to this resource. - For more information, see Tag . 
- credentialDuration numberSeconds 
- The number of seconds for which the credential is valid.
- roleAlias stringArn 
- The role alias ARN.
- roleArn string
- The role ARN.
- Tag[]
- An array of key-value pairs to apply to this resource. - For more information, see Tag . 
- credential_duration_ intseconds 
- The number of seconds for which the credential is valid.
- role_alias_ strarn 
- The role alias ARN.
- role_arn str
- The role ARN.
- Sequence[root_Tag]
- An array of key-value pairs to apply to this resource. - For more information, see Tag . 
- credentialDuration NumberSeconds 
- The number of seconds for which the credential is valid.
- roleAlias StringArn 
- The role alias ARN.
- roleArn String
- The role ARN.
- List<Property Map>
- An array of key-value pairs to apply to this resource. - For more information, see Tag . 
Supporting Types
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.