We recommend new projects start with resources from the AWS provider.
AWS Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi
aws-native.iam.getServiceLinkedRole
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
AWS Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi
Resource Type definition for AWS::IAM::ServiceLinkedRole
Using getServiceLinkedRole
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 getServiceLinkedRole(args: GetServiceLinkedRoleArgs, opts?: InvokeOptions): Promise<GetServiceLinkedRoleResult>
function getServiceLinkedRoleOutput(args: GetServiceLinkedRoleOutputArgs, opts?: InvokeOptions): Output<GetServiceLinkedRoleResult>
def get_service_linked_role(role_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetServiceLinkedRoleResult
def get_service_linked_role_output(role_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetServiceLinkedRoleResult]
func LookupServiceLinkedRole(ctx *Context, args *LookupServiceLinkedRoleArgs, opts ...InvokeOption) (*LookupServiceLinkedRoleResult, error)
func LookupServiceLinkedRoleOutput(ctx *Context, args *LookupServiceLinkedRoleOutputArgs, opts ...InvokeOption) LookupServiceLinkedRoleResultOutput
> Note: This function is named LookupServiceLinkedRole
in the Go SDK.
public static class GetServiceLinkedRole
{
public static Task<GetServiceLinkedRoleResult> InvokeAsync(GetServiceLinkedRoleArgs args, InvokeOptions? opts = null)
public static Output<GetServiceLinkedRoleResult> Invoke(GetServiceLinkedRoleInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetServiceLinkedRoleResult> getServiceLinkedRole(GetServiceLinkedRoleArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws-native:iam:getServiceLinkedRole
arguments:
# arguments dictionary
The following arguments are supported:
- Role
Name string - The name of the role.
- Role
Name string - The name of the role.
- role
Name String - The name of the role.
- role
Name string - The name of the role.
- role_
name str - The name of the role.
- role
Name String - The name of the role.
getServiceLinkedRole Result
The following output properties are available:
- Description string
- The description of the role.
- Role
Name string - The name of the role.
- Description string
- The description of the role.
- Role
Name string - The name of the role.
- description String
- The description of the role.
- role
Name String - The name of the role.
- description string
- The description of the role.
- role
Name string - The name of the role.
- description str
- The description of the role.
- role_
name str - The name of the role.
- description String
- The description of the role.
- role
Name String - The name of the role.
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 Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi