Viewing docs for volcenginecc v0.0.32
published on Thursday, Apr 23, 2026 by Volcengine
published on Thursday, Apr 23, 2026 by Volcengine
Viewing docs for volcenginecc v0.0.32
published on Thursday, Apr 23, 2026 by Volcengine
published on Thursday, Apr 23, 2026 by Volcengine
Data Source schema for Volcengine::IAM::Policy
Using getPolicy
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 getPolicy(args: GetPolicyArgs, opts?: InvokeOptions): Promise<GetPolicyResult>
function getPolicyOutput(args: GetPolicyOutputArgs, opts?: InvokeOptions): Output<GetPolicyResult>def get_policy(id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetPolicyResult
def get_policy_output(id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetPolicyResult]func LookupPolicy(ctx *Context, args *LookupPolicyArgs, opts ...InvokeOption) (*LookupPolicyResult, error)
func LookupPolicyOutput(ctx *Context, args *LookupPolicyOutputArgs, opts ...InvokeOption) LookupPolicyResultOutput> Note: This function is named LookupPolicy in the Go SDK.
public static class GetPolicy
{
public static Task<GetPolicyResult> InvokeAsync(GetPolicyArgs args, InvokeOptions? opts = null)
public static Output<GetPolicyResult> Invoke(GetPolicyInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetPolicyResult> getPolicy(GetPolicyArgs args, InvokeOptions options)
public static Output<GetPolicyResult> getPolicy(GetPolicyArgs args, InvokeOptions options)
fn::invoke:
function: volcenginecc:iam/getPolicy:getPolicy
arguments:
# arguments dictionaryThe following arguments are supported:
- Id string
- Uniquely identifies the resource.
- Id string
- Uniquely identifies the resource.
- id String
- Uniquely identifies the resource.
- id string
- Uniquely identifies the resource.
- id str
- Uniquely identifies the resource.
- id String
- Uniquely identifies the resource.
getPolicy Result
The following output properties are available:
- Attachment
Count int - Number of identities bound to the policy.
- Category string
- Category of the system preset policy, usually the service code. This field is not returned for custom policies.
- Created
Time string - Policy creation time.
- Description string
- Policy description, no more than 128 characters.
- Id string
- Uniquely identifies the resource.
- Is
Service intRole Policy - Indicates whether the policy is for a service-linked role. 0 means no; 1 means yes.
- Policy
Document string - Policy syntax content, for example: {"Statement":[{"Effect":"Allow","Action":["iam:","tag:"],"Resource":["*"]}]}
- Policy
Name string - Policy name, 1–64 characters. Supports English letters, numbers, and +=,.@-_ symbols.
- Policy
Roles List<Volcengine.Get Policy Policy Role> - List of roles bound to the policy.
- Policy
Trn string - Policy TRN.
- Policy
Type string - Policy type. System indicates a system preset policy; Custom indicates a custom policy.
- Policy
User List<Volcengine.Groups Get Policy Policy User Group> - List of user groups bound to the policy.
- Policy
Users List<Volcengine.Get Policy Policy User> - List of users bound to the policy.
- Updated
Time string - Policy update time.
- Attachment
Count int - Number of identities bound to the policy.
- Category string
- Category of the system preset policy, usually the service code. This field is not returned for custom policies.
- Created
Time string - Policy creation time.
- Description string
- Policy description, no more than 128 characters.
- Id string
- Uniquely identifies the resource.
- Is
Service intRole Policy - Indicates whether the policy is for a service-linked role. 0 means no; 1 means yes.
- Policy
Document string - Policy syntax content, for example: {"Statement":[{"Effect":"Allow","Action":["iam:","tag:"],"Resource":["*"]}]}
- Policy
Name string - Policy name, 1–64 characters. Supports English letters, numbers, and +=,.@-_ symbols.
- Policy
Roles []GetPolicy Policy Role - List of roles bound to the policy.
- Policy
Trn string - Policy TRN.
- Policy
Type string - Policy type. System indicates a system preset policy; Custom indicates a custom policy.
- Policy
User []GetGroups Policy Policy User Group - List of user groups bound to the policy.
- Policy
Users []GetPolicy Policy User - List of users bound to the policy.
- Updated
Time string - Policy update time.
- attachment
Count Integer - Number of identities bound to the policy.
- category String
- Category of the system preset policy, usually the service code. This field is not returned for custom policies.
- created
Time String - Policy creation time.
- description String
- Policy description, no more than 128 characters.
- id String
- Uniquely identifies the resource.
- is
Service IntegerRole Policy - Indicates whether the policy is for a service-linked role. 0 means no; 1 means yes.
- policy
Document String - Policy syntax content, for example: {"Statement":[{"Effect":"Allow","Action":["iam:","tag:"],"Resource":["*"]}]}
- policy
Name String - Policy name, 1–64 characters. Supports English letters, numbers, and +=,.@-_ symbols.
- policy
Roles List<GetPolicy Policy Role> - List of roles bound to the policy.
- policy
Trn String - Policy TRN.
- policy
Type String - Policy type. System indicates a system preset policy; Custom indicates a custom policy.
- policy
User List<GetGroups Policy Policy User Group> - List of user groups bound to the policy.
- policy
Users List<GetPolicy Policy User> - List of users bound to the policy.
- updated
Time String - Policy update time.
- attachment
Count number - Number of identities bound to the policy.
- category string
- Category of the system preset policy, usually the service code. This field is not returned for custom policies.
- created
Time string - Policy creation time.
- description string
- Policy description, no more than 128 characters.
- id string
- Uniquely identifies the resource.
- is
Service numberRole Policy - Indicates whether the policy is for a service-linked role. 0 means no; 1 means yes.
- policy
Document string - Policy syntax content, for example: {"Statement":[{"Effect":"Allow","Action":["iam:","tag:"],"Resource":["*"]}]}
- policy
Name string - Policy name, 1–64 characters. Supports English letters, numbers, and +=,.@-_ symbols.
- policy
Roles GetPolicy Policy Role[] - List of roles bound to the policy.
- policy
Trn string - Policy TRN.
- policy
Type string - Policy type. System indicates a system preset policy; Custom indicates a custom policy.
- policy
User GetGroups Policy Policy User Group[] - List of user groups bound to the policy.
- policy
Users GetPolicy Policy User[] - List of users bound to the policy.
- updated
Time string - Policy update time.
- attachment_
count int - Number of identities bound to the policy.
- category str
- Category of the system preset policy, usually the service code. This field is not returned for custom policies.
- created_
time str - Policy creation time.
- description str
- Policy description, no more than 128 characters.
- id str
- Uniquely identifies the resource.
- is_
service_ introle_ policy - Indicates whether the policy is for a service-linked role. 0 means no; 1 means yes.
- policy_
document str - Policy syntax content, for example: {"Statement":[{"Effect":"Allow","Action":["iam:","tag:"],"Resource":["*"]}]}
- policy_
name str - Policy name, 1–64 characters. Supports English letters, numbers, and +=,.@-_ symbols.
- policy_
roles Sequence[GetPolicy Policy Role] - List of roles bound to the policy.
- policy_
trn str - Policy TRN.
- policy_
type str - Policy type. System indicates a system preset policy; Custom indicates a custom policy.
- policy_
user_ Sequence[Getgroups Policy Policy User Group] - List of user groups bound to the policy.
- policy_
users Sequence[GetPolicy Policy User] - List of users bound to the policy.
- updated_
time str - Policy update time.
- attachment
Count Number - Number of identities bound to the policy.
- category String
- Category of the system preset policy, usually the service code. This field is not returned for custom policies.
- created
Time String - Policy creation time.
- description String
- Policy description, no more than 128 characters.
- id String
- Uniquely identifies the resource.
- is
Service NumberRole Policy - Indicates whether the policy is for a service-linked role. 0 means no; 1 means yes.
- policy
Document String - Policy syntax content, for example: {"Statement":[{"Effect":"Allow","Action":["iam:","tag:"],"Resource":["*"]}]}
- policy
Name String - Policy name, 1–64 characters. Supports English letters, numbers, and +=,.@-_ symbols.
- policy
Roles List<Property Map> - List of roles bound to the policy.
- policy
Trn String - Policy TRN.
- policy
Type String - Policy type. System indicates a system preset policy; Custom indicates a custom policy.
- policy
User List<Property Map>Groups - List of user groups bound to the policy.
- policy
Users List<Property Map> - List of users bound to the policy.
- updated
Time String - Policy update time.
Supporting Types
GetPolicyPolicyRole
- Created
Time string - Policy binding time.
- Description string
- Policy description.
- Display
Name string - Display name.
- Entities
Id int - Unique identifier.
- Name string
- Name of the corresponding user, role, or user group.
- Policy
Scopes List<Volcengine.Get Policy Policy Role Policy Scope> - List of projects bound to the policy.
- Created
Time string - Policy binding time.
- Description string
- Policy description.
- Display
Name string - Display name.
- Entities
Id int - Unique identifier.
- Name string
- Name of the corresponding user, role, or user group.
- Policy
Scopes []GetPolicy Policy Role Policy Scope - List of projects bound to the policy.
- created
Time String - Policy binding time.
- description String
- Policy description.
- display
Name String - Display name.
- entities
Id Integer - Unique identifier.
- name String
- Name of the corresponding user, role, or user group.
- policy
Scopes List<GetPolicy Policy Role Policy Scope> - List of projects bound to the policy.
- created
Time string - Policy binding time.
- description string
- Policy description.
- display
Name string - Display name.
- entities
Id number - Unique identifier.
- name string
- Name of the corresponding user, role, or user group.
- policy
Scopes GetPolicy Policy Role Policy Scope[] - List of projects bound to the policy.
- created_
time str - Policy binding time.
- description str
- Policy description.
- display_
name str - Display name.
- entities_
id int - Unique identifier.
- name str
- Name of the corresponding user, role, or user group.
- policy_
scopes Sequence[GetPolicy Policy Role Policy Scope] - List of projects bound to the policy.
- created
Time String - Policy binding time.
- description String
- Policy description.
- display
Name String - Display name.
- entities
Id Number - Unique identifier.
- name String
- Name of the corresponding user, role, or user group.
- policy
Scopes List<Property Map> - List of projects bound to the policy.
GetPolicyPolicyRolePolicyScope
- Created
Time string - Project authorization time.
- Policy
Scope stringType - Authorization type. Global indicates global authorization; Project indicates project-based authorization.
- Project
Display stringName - Project display name.
- Project
Name string - Project name.
- Created
Time string - Project authorization time.
- Policy
Scope stringType - Authorization type. Global indicates global authorization; Project indicates project-based authorization.
- Project
Display stringName - Project display name.
- Project
Name string - Project name.
- created
Time String - Project authorization time.
- policy
Scope StringType - Authorization type. Global indicates global authorization; Project indicates project-based authorization.
- project
Display StringName - Project display name.
- project
Name String - Project name.
- created
Time string - Project authorization time.
- policy
Scope stringType - Authorization type. Global indicates global authorization; Project indicates project-based authorization.
- project
Display stringName - Project display name.
- project
Name string - Project name.
- created_
time str - Project authorization time.
- policy_
scope_ strtype - Authorization type. Global indicates global authorization; Project indicates project-based authorization.
- project_
display_ strname - Project display name.
- project_
name str - Project name.
- created
Time String - Project authorization time.
- policy
Scope StringType - Authorization type. Global indicates global authorization; Project indicates project-based authorization.
- project
Display StringName - Project display name.
- project
Name String - Project name.
GetPolicyPolicyUser
- Created
Time string - Policy binding time.
- Description string
- Policy description.
- Display
Name string - Display name.
- Entities
Id int - Unique identifier.
- Name string
- Name of the corresponding user, role, or user group.
- Policy
Scopes List<Volcengine.Get Policy Policy User Policy Scope> - List of projects bound to the policy.
- Created
Time string - Policy binding time.
- Description string
- Policy description.
- Display
Name string - Display name.
- Entities
Id int - Unique identifier.
- Name string
- Name of the corresponding user, role, or user group.
- Policy
Scopes []GetPolicy Policy User Policy Scope - List of projects bound to the policy.
- created
Time String - Policy binding time.
- description String
- Policy description.
- display
Name String - Display name.
- entities
Id Integer - Unique identifier.
- name String
- Name of the corresponding user, role, or user group.
- policy
Scopes List<GetPolicy Policy User Policy Scope> - List of projects bound to the policy.
- created
Time string - Policy binding time.
- description string
- Policy description.
- display
Name string - Display name.
- entities
Id number - Unique identifier.
- name string
- Name of the corresponding user, role, or user group.
- policy
Scopes GetPolicy Policy User Policy Scope[] - List of projects bound to the policy.
- created_
time str - Policy binding time.
- description str
- Policy description.
- display_
name str - Display name.
- entities_
id int - Unique identifier.
- name str
- Name of the corresponding user, role, or user group.
- policy_
scopes Sequence[GetPolicy Policy User Policy Scope] - List of projects bound to the policy.
- created
Time String - Policy binding time.
- description String
- Policy description.
- display
Name String - Display name.
- entities
Id Number - Unique identifier.
- name String
- Name of the corresponding user, role, or user group.
- policy
Scopes List<Property Map> - List of projects bound to the policy.
GetPolicyPolicyUserGroup
- Created
Time string - Policy binding time.
- Description string
- Policy description.
- Display
Name string - Display name.
- Entities
Id int - Unique identifier.
- Name string
- Name of the corresponding user, role, or user group.
- Policy
Scopes List<Volcengine.Get Policy Policy User Group Policy Scope> - List of projects bound to the policy.
- Created
Time string - Policy binding time.
- Description string
- Policy description.
- Display
Name string - Display name.
- Entities
Id int - Unique identifier.
- Name string
- Name of the corresponding user, role, or user group.
- Policy
Scopes []GetPolicy Policy User Group Policy Scope - List of projects bound to the policy.
- created
Time String - Policy binding time.
- description String
- Policy description.
- display
Name String - Display name.
- entities
Id Integer - Unique identifier.
- name String
- Name of the corresponding user, role, or user group.
- policy
Scopes List<GetPolicy Policy User Group Policy Scope> - List of projects bound to the policy.
- created
Time string - Policy binding time.
- description string
- Policy description.
- display
Name string - Display name.
- entities
Id number - Unique identifier.
- name string
- Name of the corresponding user, role, or user group.
- policy
Scopes GetPolicy Policy User Group Policy Scope[] - List of projects bound to the policy.
- created_
time str - Policy binding time.
- description str
- Policy description.
- display_
name str - Display name.
- entities_
id int - Unique identifier.
- name str
- Name of the corresponding user, role, or user group.
- policy_
scopes Sequence[GetPolicy Policy User Group Policy Scope] - List of projects bound to the policy.
- created
Time String - Policy binding time.
- description String
- Policy description.
- display
Name String - Display name.
- entities
Id Number - Unique identifier.
- name String
- Name of the corresponding user, role, or user group.
- policy
Scopes List<Property Map> - List of projects bound to the policy.
GetPolicyPolicyUserGroupPolicyScope
- Created
Time string - Project authorization time.
- Policy
Scope stringType - Authorization type. Global indicates global authorization; Project indicates project-based authorization.
- Project
Display stringName - Project display name.
- Project
Name string - Project name.
- Created
Time string - Project authorization time.
- Policy
Scope stringType - Authorization type. Global indicates global authorization; Project indicates project-based authorization.
- Project
Display stringName - Project display name.
- Project
Name string - Project name.
- created
Time String - Project authorization time.
- policy
Scope StringType - Authorization type. Global indicates global authorization; Project indicates project-based authorization.
- project
Display StringName - Project display name.
- project
Name String - Project name.
- created
Time string - Project authorization time.
- policy
Scope stringType - Authorization type. Global indicates global authorization; Project indicates project-based authorization.
- project
Display stringName - Project display name.
- project
Name string - Project name.
- created_
time str - Project authorization time.
- policy_
scope_ strtype - Authorization type. Global indicates global authorization; Project indicates project-based authorization.
- project_
display_ strname - Project display name.
- project_
name str - Project name.
- created
Time String - Project authorization time.
- policy
Scope StringType - Authorization type. Global indicates global authorization; Project indicates project-based authorization.
- project
Display StringName - Project display name.
- project
Name String - Project name.
GetPolicyPolicyUserPolicyScope
- Created
Time string - Project authorization time.
- Policy
Scope stringType - Authorization type. Global indicates global authorization; Project indicates project-based authorization.
- Project
Display stringName - Project display name.
- Project
Name string - Project name.
- Created
Time string - Project authorization time.
- Policy
Scope stringType - Authorization type. Global indicates global authorization; Project indicates project-based authorization.
- Project
Display stringName - Project display name.
- Project
Name string - Project name.
- created
Time String - Project authorization time.
- policy
Scope StringType - Authorization type. Global indicates global authorization; Project indicates project-based authorization.
- project
Display StringName - Project display name.
- project
Name String - Project name.
- created
Time string - Project authorization time.
- policy
Scope stringType - Authorization type. Global indicates global authorization; Project indicates project-based authorization.
- project
Display stringName - Project display name.
- project
Name string - Project name.
- created_
time str - Project authorization time.
- policy_
scope_ strtype - Authorization type. Global indicates global authorization; Project indicates project-based authorization.
- project_
display_ strname - Project display name.
- project_
name str - Project name.
- created
Time String - Project authorization time.
- policy
Scope StringType - Authorization type. Global indicates global authorization; Project indicates project-based authorization.
- project
Display StringName - Project display name.
- project
Name String - Project name.
Package Details
- Repository
- volcenginecc volcengine/pulumi-volcenginecc
- License
- MPL-2.0
- Notes
- This Pulumi package is based on the
volcengineccTerraform Provider.
Viewing docs for volcenginecc v0.0.32
published on Thursday, Apr 23, 2026 by Volcengine
published on Thursday, Apr 23, 2026 by Volcengine
