Akamai v8.0.0 published on Saturday, Mar 1, 2025 by Pulumi
akamai.getIamRole
Explore with Pulumi AI
Using getIamRole
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 getIamRole(args: GetIamRoleArgs, opts?: InvokeOptions): Promise<GetIamRoleResult>
function getIamRoleOutput(args: GetIamRoleOutputArgs, opts?: InvokeOptions): Output<GetIamRoleResult>def get_iam_role(role_id: Optional[int] = None,
                 opts: Optional[InvokeOptions] = None) -> GetIamRoleResult
def get_iam_role_output(role_id: Optional[pulumi.Input[int]] = None,
                 opts: Optional[InvokeOptions] = None) -> Output[GetIamRoleResult]func LookupIamRole(ctx *Context, args *LookupIamRoleArgs, opts ...InvokeOption) (*LookupIamRoleResult, error)
func LookupIamRoleOutput(ctx *Context, args *LookupIamRoleOutputArgs, opts ...InvokeOption) LookupIamRoleResultOutput> Note: This function is named LookupIamRole in the Go SDK.
public static class GetIamRole 
{
    public static Task<GetIamRoleResult> InvokeAsync(GetIamRoleArgs args, InvokeOptions? opts = null)
    public static Output<GetIamRoleResult> Invoke(GetIamRoleInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetIamRoleResult> getIamRole(GetIamRoleArgs args, InvokeOptions options)
public static Output<GetIamRoleResult> getIamRole(GetIamRoleArgs args, InvokeOptions options)
fn::invoke:
  function: akamai:index/getIamRole:getIamRole
  arguments:
    # arguments dictionaryThe following arguments are supported:
- RoleId int
- RoleId int
- roleId Integer
- roleId number
- role_id int
- roleId Number
getIamRole Result
The following output properties are available:
- Actions
GetIam Role Actions 
- CreatedBy string
- CreatedDate string
- GrantedRoles List<GetIam Role Granted Role> 
- Id string
- The provider-assigned unique ID for this managed resource.
- ModifiedBy string
- ModifiedDate string
- RoleDescription string
- RoleId int
- RoleName string
- Type string
- Users
List<GetIam Role User> 
- Actions
GetIam Role Actions 
- CreatedBy string
- CreatedDate string
- GrantedRoles []GetIam Role Granted Role 
- Id string
- The provider-assigned unique ID for this managed resource.
- ModifiedBy string
- ModifiedDate string
- RoleDescription string
- RoleId int
- RoleName string
- Type string
- Users
[]GetIam Role User 
- actions
GetIam Role Actions 
- createdBy String
- createdDate String
- grantedRoles List<GetIam Role Granted Role> 
- id String
- The provider-assigned unique ID for this managed resource.
- modifiedBy String
- modifiedDate String
- roleDescription String
- roleId Integer
- roleName String
- type String
- users
List<GetIam Role User> 
- actions
GetIam Role Actions 
- createdBy string
- createdDate string
- grantedRoles GetIam Role Granted Role[] 
- id string
- The provider-assigned unique ID for this managed resource.
- modifiedBy string
- modifiedDate string
- roleDescription string
- roleId number
- roleName string
- type string
- users
GetIam Role User[] 
- actions
GetIam Role Actions 
- created_by str
- created_date str
- granted_roles Sequence[GetIam Role Granted Role] 
- id str
- The provider-assigned unique ID for this managed resource.
- modified_by str
- modified_date str
- role_description str
- role_id int
- role_name str
- type str
- users
Sequence[GetIam Role User] 
- actions Property Map
- createdBy String
- createdDate String
- grantedRoles List<Property Map>
- id String
- The provider-assigned unique ID for this managed resource.
- modifiedBy String
- modifiedDate String
- roleDescription String
- roleId Number
- roleName String
- type String
- users List<Property Map>
Supporting Types
GetIamRoleActions   
GetIamRoleGrantedRole    
- GrantedRole stringDescription 
- Descriptive label for the role to convey its use.
- GrantedRole intId 
- Unique identifier for each granted role.
- GrantedRole stringName 
- Descriptive label for the granted role.
- GrantedRole stringDescription 
- Descriptive label for the role to convey its use.
- GrantedRole intId 
- Unique identifier for each granted role.
- GrantedRole stringName 
- Descriptive label for the granted role.
- grantedRole StringDescription 
- Descriptive label for the role to convey its use.
- grantedRole IntegerId 
- Unique identifier for each granted role.
- grantedRole StringName 
- Descriptive label for the granted role.
- grantedRole stringDescription 
- Descriptive label for the role to convey its use.
- grantedRole numberId 
- Unique identifier for each granted role.
- grantedRole stringName 
- Descriptive label for the granted role.
- granted_role_ strdescription 
- Descriptive label for the role to convey its use.
- granted_role_ intid 
- Unique identifier for each granted role.
- granted_role_ strname 
- Descriptive label for the granted role.
- grantedRole StringDescription 
- Descriptive label for the role to convey its use.
- grantedRole NumberId 
- Unique identifier for each granted role.
- grantedRole StringName 
- Descriptive label for the granted role.
GetIamRoleUser   
- AccountId string
- Unique identifier for each account.
- Email string
- The user's email address.
- FirstName string
- The user's first name.
- LastLogin stringDate 
- ISO 8601 timestamp indicating when the user last logged in.
- LastName string
- The user's surname.
- UiIdentity stringId 
- Unique identifier for each user, which corresponds to their Control Center profile or client ID. Also known as a contactId in other APIs.
- AccountId string
- Unique identifier for each account.
- Email string
- The user's email address.
- FirstName string
- The user's first name.
- LastLogin stringDate 
- ISO 8601 timestamp indicating when the user last logged in.
- LastName string
- The user's surname.
- UiIdentity stringId 
- Unique identifier for each user, which corresponds to their Control Center profile or client ID. Also known as a contactId in other APIs.
- accountId String
- Unique identifier for each account.
- email String
- The user's email address.
- firstName String
- The user's first name.
- lastLogin StringDate 
- ISO 8601 timestamp indicating when the user last logged in.
- lastName String
- The user's surname.
- uiIdentity StringId 
- Unique identifier for each user, which corresponds to their Control Center profile or client ID. Also known as a contactId in other APIs.
- accountId string
- Unique identifier for each account.
- email string
- The user's email address.
- firstName string
- The user's first name.
- lastLogin stringDate 
- ISO 8601 timestamp indicating when the user last logged in.
- lastName string
- The user's surname.
- uiIdentity stringId 
- Unique identifier for each user, which corresponds to their Control Center profile or client ID. Also known as a contactId in other APIs.
- account_id str
- Unique identifier for each account.
- email str
- The user's email address.
- first_name str
- The user's first name.
- last_login_ strdate 
- ISO 8601 timestamp indicating when the user last logged in.
- last_name str
- The user's surname.
- ui_identity_ strid 
- Unique identifier for each user, which corresponds to their Control Center profile or client ID. Also known as a contactId in other APIs.
- accountId String
- Unique identifier for each account.
- email String
- The user's email address.
- firstName String
- The user's first name.
- lastLogin StringDate 
- ISO 8601 timestamp indicating when the user last logged in.
- lastName String
- The user's surname.
- uiIdentity StringId 
- Unique identifier for each user, which corresponds to their Control Center profile or client ID. Also known as a contactId in other APIs.
Package Details
- Repository
- Akamai pulumi/pulumi-akamai
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the akamaiTerraform Provider.