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

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.101.0 published on Thursday, Apr 11, 2024 by Pulumi

aws-native.iam.getServiceLinkedRole

Explore with Pulumi AI

aws-native logo

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.101.0 published on Thursday, Apr 11, 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

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.101.0 published on Thursday, Apr 11, 2024 by Pulumi