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.88.0 published on Wednesday, Nov 29, 2023 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.88.0 published on Wednesday, Nov 29, 2023 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:

    RoleAlias string
    roleAlias String
    roleAlias string
    roleAlias String

    getRoleAlias Result

    The following output properties are available:

    Supporting Types

    RoleAliasTag

    Key string

    The key name of the tag. You can specify a value that is 1 to 127 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

    Value string

    The value for the tag. You can specify a value that is 1 to 255 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

    Key string

    The key name of the tag. You can specify a value that is 1 to 127 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

    Value string

    The value for the tag. You can specify a value that is 1 to 255 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

    key String

    The key name of the tag. You can specify a value that is 1 to 127 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

    value String

    The value for the tag. You can specify a value that is 1 to 255 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

    key string

    The key name of the tag. You can specify a value that is 1 to 127 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

    value string

    The value for the tag. You can specify a value that is 1 to 255 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

    key str

    The key name of the tag. You can specify a value that is 1 to 127 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

    value str

    The value for the tag. You can specify a value that is 1 to 255 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

    key String

    The key name of the tag. You can specify a value that is 1 to 127 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

    value String

    The value for the tag. You can specify a value that is 1 to 255 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

    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.88.0 published on Wednesday, Nov 29, 2023 by Pulumi