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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws-native:iot:getRoleAlias
arguments:
# arguments dictionary
The following arguments are supported:
- Role
Alias stringValue - The role alias.
- Role
Alias string - The role alias.
- role
Alias String - The role alias.
- role
Alias string - The role alias.
- role_
alias str - The role alias.
- role
Alias String - The role alias.
getRoleAlias Result
The following output properties are available:
- Credential
Duration intSeconds - The number of seconds for which the credential is valid.
- Role
Alias stringArn - The role alias ARN.
- Role
Arn 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 .
- Credential
Duration intSeconds - The number of seconds for which the credential is valid.
- Role
Alias stringArn - The role alias ARN.
- Role
Arn string - The role ARN.
- Tag
An array of key-value pairs to apply to this resource.
For more information, see Tag .
- credential
Duration IntegerSeconds - The number of seconds for which the credential is valid.
- role
Alias StringArn - The role alias ARN.
- role
Arn String - The role ARN.
- List<Tag>
An array of key-value pairs to apply to this resource.
For more information, see Tag .
- credential
Duration numberSeconds - The number of seconds for which the credential is valid.
- role
Alias stringArn - The role alias ARN.
- role
Arn 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 .
- credential
Duration NumberSeconds - The number of seconds for which the credential is valid.
- role
Alias StringArn - The role alias ARN.
- role
Arn 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.