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

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi

aws-native.iot.getRoleAlias

Explore with Pulumi AI

aws-native logo

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 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>
    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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aws-native:iot:getRoleAlias
      arguments:
        # arguments dictionary

    The following arguments are supported:

    RoleAliasValue string
    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:

    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 string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    Package Details

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

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi