1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. iam
  5. getServiceLinkedRole

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi

aws-native.iam.getServiceLinkedRole

Explore with Pulumi AI

aws-native logo

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.9.0 published on Monday, Nov 18, 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:

    RoleName string
    The name of the role.
    RoleName string
    The name of the role.
    roleName String
    The name of the role.
    roleName string
    The name of the role.
    role_name str
    The name of the role.
    roleName String
    The name of the role.

    getServiceLinkedRole Result

    The following output properties are available:

    Description string
    The description of the role.
    RoleName string
    The name of the role.
    Description string
    The description of the role.
    RoleName string
    The name of the role.
    description String
    The description of the role.
    roleName String
    The name of the role.
    description string
    The description of the role.
    roleName 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.
    roleName String
    The name of the role.

    Package Details

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

    We recommend new projects start with resources from the AWS provider.

    AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi