Akamai
Pulumi Official

Package maintained by Pulumiv3.0.0 published on Monday, Jul 25, 2022 by Pulumi
getIamGrantableRoles
List which grantable roles you can include in a new custom role or add to an existing custom role.
Basic usage
This example returns the available roles to grant to users:
import * as pulumi from "@pulumi/pulumi";
import * as akamai from "@pulumi/akamai";
const example = akamai.getIamGrantableRoles({});
export const akaGrantableRolesCount = data.akamai_iam_grantable_roles.test.grantable_roles.length;
export const akaGrantableRoles = data.akamai_iam_grantable_roles.test;
import pulumi
import pulumi_akamai as akamai
example = akamai.get_iam_grantable_roles()
pulumi.export("akaGrantableRolesCount", len(data["akamai_iam_grantable_roles"]["test"]["grantable_roles"]))
pulumi.export("akaGrantableRoles", data["akamai_iam_grantable_roles"]["test"])
using Pulumi;
using Akamai = Pulumi.Akamai;
class MyStack : Stack
{
public MyStack()
{
var example = Output.Create(Akamai.GetIamGrantableRoles.InvokeAsync());
this.AkaGrantableRolesCount = data.Akamai_iam_grantable_roles.Test.Grantable_roles.Length;
this.AkaGrantableRoles = data.Akamai_iam_grantable_roles.Test;
}
[Output("akaGrantableRolesCount")]
public Output<string> AkaGrantableRolesCount { get; set; }
[Output("akaGrantableRoles")]
public Output<string> AkaGrantableRoles { get; set; }
}
Attributes reference
This resource returns this attribute:
grantable_roles
- Lists which grantable roles you can include in a new custom role or add to an existing custom role.granted_role_id
- Granted role ID.name
- Granted role name.description
- Granted role description.
Using getIamGrantableRoles
function getIamGrantableRoles(opts?: InvokeOptions): Promise<GetIamGrantableRolesResult>
def get_iam_grantable_roles(opts: Optional[InvokeOptions] = None) -> GetIamGrantableRolesResult
func GetIamGrantableRoles(ctx *Context, opts ...InvokeOption) (*GetIamGrantableRolesResult, error)
> Note: This function is named GetIamGrantableRoles
in the Go SDK.
public static class GetIamGrantableRoles
{
public static Task<GetIamGrantableRolesResult> InvokeAsync(InvokeOptions? opts = null)
}
public static CompletableFuture<GetIamGrantableRolesResult> getIamGrantableRoles(InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
Function: akamai:index/getIamGrantableRoles:getIamGrantableRoles
Arguments:
# Arguments dictionary
getIamGrantableRoles Result
The following output properties are available:
- Grantable
Roles List<GetIam Grantable Roles Grantable Role> - Id string
The provider-assigned unique ID for this managed resource.
- Grantable
Roles []GetIam Grantable Roles Grantable Role - Id string
The provider-assigned unique ID for this managed resource.
- grantable
Roles List<GetIam Grantable Roles Grantable Role> - id String
The provider-assigned unique ID for this managed resource.
- grantable
Roles GetIam Grantable Roles Grantable Role[] - id string
The provider-assigned unique ID for this managed resource.
- grantable_
roles Sequence[GetIam Grantable Roles Grantable Role] - id str
The provider-assigned unique ID for this managed resource.
- grantable
Roles List<Property Map> - id String
The provider-assigned unique ID for this managed resource.
Supporting Types
GetIamGrantableRolesGrantableRole
- Description string
- Granted
Role intId - Name string
- Description string
- Granted
Role intId - Name string
- description String
- granted
Role IntegerId - name String
- description string
- granted
Role numberId - name string
- description str
- granted_
role_ intid - name str
- description String
- granted
Role NumberId - name String
Package Details
- Repository
- https://github.com/pulumi/pulumi-akamai
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
akamai
Terraform Provider.