We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.37.0 published on Wednesday, Oct 15, 2025 by Pulumi
aws-native.iam.getServiceLinkedRole
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.37.0 published on Wednesday, Oct 15, 2025 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)
public static Output<GetServiceLinkedRoleResult> getServiceLinkedRole(GetServiceLinkedRoleArgs args, InvokeOptions options)
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 Cloud Control v1.37.0 published on Wednesday, Oct 15, 2025 by Pulumi