published on Thursday, Apr 23, 2026 by Volcengine
published on Thursday, Apr 23, 2026 by Volcengine
A policy describes permissions. IAM users, user groups, or roles must be granted permissions by associating policies. If system preset policies do not meet your requirements, you can create custom policies for fine-grained permission definition.
Example Usage
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
resources:
policyDemo:
type: volcenginecc:iam:Policy
name: PolicyDemo
properties:
policyName: PolicyDemo
policyType: Custom
description: PolicyDemo description
policyDocument: '{"Statement":[{"Action":["clb:DescribeAclAttributes","clb:DescribeHealthCheckLogProjectAttributes","clb:DescribeListenerAttributes","clb:DescribeListenerHealth","clb:DescribeLoadBalancerAttributes","clb:DescribeLoadBalancerHealth","clb:DescribeLoadBalancersBilling","clb:DescribeNLBListenerAttributes","clb:DescribeNLBListenerCertificates","clb:DescribeNLBListenerHealth","clb:DescribeNLBListeners","clb:DescribeNLBServerGroupAttributes","clb:DescribeNLBServerGroups","clb:DescribeNLBZones","clb:DescribeNetworkLoadBalancerAttributes","clb:DescribeNetworkLoadBalancers","clb:DescribeServerGroupAttributes","clb:DescribeZones","clb:ListTagsForNLBResources","clb:DescribeAcls","clb:DescribeCertificates","clb:DescribeHealthCheckLogTopicAttributes","clb:DescribeListeners","clb:DescribeLoadBalancerSpecs","clb:DescribeLoadBalancers","clb:DescribeRules","clb:DescribeServerGroups","clb:ListTagsForResources","clb:TagNLBResources","clb:TagResources","clb:UntagNLBResources","clb:UntagResources"],"Effect":"Allow","Resource":["*"]}]}'
policyUsers:
- name: test
policy_scope:
- project_name: default
policy_scope_type: test
project_display_name: test
policyRoles:
- name: roles
policy_scope:
- project_name: default
policyUserGroups:
- name: test
policy_scope:
- project_name: default
Create Policy Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Policy(name: string, args: PolicyArgs, opts?: CustomResourceOptions);@overload
def Policy(resource_name: str,
args: PolicyArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Policy(resource_name: str,
opts: Optional[ResourceOptions] = None,
policy_document: Optional[str] = None,
policy_name: Optional[str] = None,
policy_type: Optional[str] = None,
description: Optional[str] = None,
policy_roles: Optional[Sequence[PolicyPolicyRoleArgs]] = None,
policy_user_groups: Optional[Sequence[PolicyPolicyUserGroupArgs]] = None,
policy_users: Optional[Sequence[PolicyPolicyUserArgs]] = None)func NewPolicy(ctx *Context, name string, args PolicyArgs, opts ...ResourceOption) (*Policy, error)public Policy(string name, PolicyArgs args, CustomResourceOptions? opts = null)
public Policy(String name, PolicyArgs args)
public Policy(String name, PolicyArgs args, CustomResourceOptions options)
type: volcenginecc:iam:Policy
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args PolicyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args PolicyArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args PolicyArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PolicyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PolicyArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var policyResource = new Volcenginecc.Iam.Policy("policyResource", new()
{
PolicyDocument = "string",
PolicyName = "string",
PolicyType = "string",
Description = "string",
PolicyRoles = new[]
{
new Volcenginecc.Iam.Inputs.PolicyPolicyRoleArgs
{
Name = "string",
PolicyScopes = new[]
{
new Volcenginecc.Iam.Inputs.PolicyPolicyRolePolicyScopeArgs
{
ProjectName = "string",
},
},
},
},
PolicyUserGroups = new[]
{
new Volcenginecc.Iam.Inputs.PolicyPolicyUserGroupArgs
{
Name = "string",
PolicyScopes = new[]
{
new Volcenginecc.Iam.Inputs.PolicyPolicyUserGroupPolicyScopeArgs
{
ProjectName = "string",
},
},
},
},
PolicyUsers = new[]
{
new Volcenginecc.Iam.Inputs.PolicyPolicyUserArgs
{
Name = "string",
PolicyScopes = new[]
{
new Volcenginecc.Iam.Inputs.PolicyPolicyUserPolicyScopeArgs
{
ProjectName = "string",
},
},
},
},
});
example, err := iam.NewPolicy(ctx, "policyResource", &iam.PolicyArgs{
PolicyDocument: pulumi.String("string"),
PolicyName: pulumi.String("string"),
PolicyType: pulumi.String("string"),
Description: pulumi.String("string"),
PolicyRoles: iam.PolicyPolicyRoleArray{
&iam.PolicyPolicyRoleArgs{
Name: pulumi.String("string"),
PolicyScopes: iam.PolicyPolicyRolePolicyScopeArray{
&iam.PolicyPolicyRolePolicyScopeArgs{
ProjectName: pulumi.String("string"),
},
},
},
},
PolicyUserGroups: iam.PolicyPolicyUserGroupArray{
&iam.PolicyPolicyUserGroupArgs{
Name: pulumi.String("string"),
PolicyScopes: iam.PolicyPolicyUserGroupPolicyScopeArray{
&iam.PolicyPolicyUserGroupPolicyScopeArgs{
ProjectName: pulumi.String("string"),
},
},
},
},
PolicyUsers: iam.PolicyPolicyUserArray{
&iam.PolicyPolicyUserArgs{
Name: pulumi.String("string"),
PolicyScopes: iam.PolicyPolicyUserPolicyScopeArray{
&iam.PolicyPolicyUserPolicyScopeArgs{
ProjectName: pulumi.String("string"),
},
},
},
},
})
var policyResource = new Policy("policyResource", PolicyArgs.builder()
.policyDocument("string")
.policyName("string")
.policyType("string")
.description("string")
.policyRoles(PolicyPolicyRoleArgs.builder()
.name("string")
.policyScopes(PolicyPolicyRolePolicyScopeArgs.builder()
.projectName("string")
.build())
.build())
.policyUserGroups(PolicyPolicyUserGroupArgs.builder()
.name("string")
.policyScopes(PolicyPolicyUserGroupPolicyScopeArgs.builder()
.projectName("string")
.build())
.build())
.policyUsers(PolicyPolicyUserArgs.builder()
.name("string")
.policyScopes(PolicyPolicyUserPolicyScopeArgs.builder()
.projectName("string")
.build())
.build())
.build());
policy_resource = volcenginecc.iam.Policy("policyResource",
policy_document="string",
policy_name="string",
policy_type="string",
description="string",
policy_roles=[{
"name": "string",
"policy_scopes": [{
"project_name": "string",
}],
}],
policy_user_groups=[{
"name": "string",
"policy_scopes": [{
"project_name": "string",
}],
}],
policy_users=[{
"name": "string",
"policy_scopes": [{
"project_name": "string",
}],
}])
const policyResource = new volcenginecc.iam.Policy("policyResource", {
policyDocument: "string",
policyName: "string",
policyType: "string",
description: "string",
policyRoles: [{
name: "string",
policyScopes: [{
projectName: "string",
}],
}],
policyUserGroups: [{
name: "string",
policyScopes: [{
projectName: "string",
}],
}],
policyUsers: [{
name: "string",
policyScopes: [{
projectName: "string",
}],
}],
});
type: volcenginecc:iam:Policy
properties:
description: string
policyDocument: string
policyName: string
policyRoles:
- name: string
policyScopes:
- projectName: string
policyType: string
policyUserGroups:
- name: string
policyScopes:
- projectName: string
policyUsers:
- name: string
policyScopes:
- projectName: string
Policy Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Policy resource accepts the following input properties:
- 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
Type string - Policy type. System indicates a system preset policy; Custom indicates a custom policy.
- Description string
- Policy description, no more than 128 characters.
- Policy
Roles List<Volcengine.Policy Policy Role> - Policy
User List<Volcengine.Groups Policy Policy User Group> - Policy
Users List<Volcengine.Policy Policy User>
- 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
Type string - Policy type. System indicates a system preset policy; Custom indicates a custom policy.
- Description string
- Policy description, no more than 128 characters.
- Policy
Roles []PolicyPolicy Role Args - Policy
User []PolicyGroups Policy User Group Args - Policy
Users []PolicyPolicy User Args
- 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
Type String - Policy type. System indicates a system preset policy; Custom indicates a custom policy.
- description String
- Policy description, no more than 128 characters.
- policy
Roles List<PolicyPolicy Role> - policy
User List<PolicyGroups Policy User Group> - policy
Users List<PolicyPolicy User>
- 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
Type string - Policy type. System indicates a system preset policy; Custom indicates a custom policy.
- description string
- Policy description, no more than 128 characters.
- policy
Roles PolicyPolicy Role[] - policy
User PolicyGroups Policy User Group[] - policy
Users PolicyPolicy User[]
- 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_
type str - Policy type. System indicates a system preset policy; Custom indicates a custom policy.
- description str
- Policy description, no more than 128 characters.
- policy_
roles Sequence[PolicyPolicy Role Args] - policy_
user_ Sequence[Policygroups Policy User Group Args] - policy_
users Sequence[PolicyPolicy User Args]
- 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
Type String - Policy type. System indicates a system preset policy; Custom indicates a custom policy.
- description String
- Policy description, no more than 128 characters.
- policy
Roles List<Property Map> - policy
User List<Property Map>Groups - policy
Users List<Property Map>
Outputs
All input properties are implicitly available as output properties. Additionally, the Policy resource produces the following output properties:
- 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.
- Id string
- The provider-assigned unique ID for this managed resource.
- Is
Service intRole Policy - Indicates whether the policy is for a service-linked role. 0 means no; 1 means yes.
- Policy
Trn string - Policy TRN.
- 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.
- Id string
- The provider-assigned unique ID for this managed resource.
- Is
Service intRole Policy - Indicates whether the policy is for a service-linked role. 0 means no; 1 means yes.
- Policy
Trn string - Policy TRN.
- 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.
- id String
- The provider-assigned unique ID for this managed resource.
- is
Service IntegerRole Policy - Indicates whether the policy is for a service-linked role. 0 means no; 1 means yes.
- policy
Trn String - Policy TRN.
- 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.
- id string
- The provider-assigned unique ID for this managed resource.
- is
Service numberRole Policy - Indicates whether the policy is for a service-linked role. 0 means no; 1 means yes.
- policy
Trn string - Policy TRN.
- 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.
- id str
- The provider-assigned unique ID for this managed resource.
- is_
service_ introle_ policy - Indicates whether the policy is for a service-linked role. 0 means no; 1 means yes.
- policy_
trn str - Policy TRN.
- 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.
- id String
- The provider-assigned unique ID for this managed resource.
- is
Service NumberRole Policy - Indicates whether the policy is for a service-linked role. 0 means no; 1 means yes.
- policy
Trn String - Policy TRN.
- updated
Time String - Policy update time.
Look up Existing Policy Resource
Get an existing Policy resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: PolicyState, opts?: CustomResourceOptions): Policy@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
attachment_count: Optional[int] = None,
category: Optional[str] = None,
created_time: Optional[str] = None,
description: Optional[str] = None,
is_service_role_policy: Optional[int] = None,
policy_document: Optional[str] = None,
policy_name: Optional[str] = None,
policy_roles: Optional[Sequence[PolicyPolicyRoleArgs]] = None,
policy_trn: Optional[str] = None,
policy_type: Optional[str] = None,
policy_user_groups: Optional[Sequence[PolicyPolicyUserGroupArgs]] = None,
policy_users: Optional[Sequence[PolicyPolicyUserArgs]] = None,
updated_time: Optional[str] = None) -> Policyfunc GetPolicy(ctx *Context, name string, id IDInput, state *PolicyState, opts ...ResourceOption) (*Policy, error)public static Policy Get(string name, Input<string> id, PolicyState? state, CustomResourceOptions? opts = null)public static Policy get(String name, Output<String> id, PolicyState state, CustomResourceOptions options)resources: _: type: volcenginecc:iam:Policy get: id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- 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.
- 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.Policy Policy Role> - 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 Policy Policy User Group> - Policy
Users List<Volcengine.Policy Policy User> - 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.
- 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 []PolicyPolicy Role Args - Policy
Trn string - Policy TRN.
- Policy
Type string - Policy type. System indicates a system preset policy; Custom indicates a custom policy.
- Policy
User []PolicyGroups Policy User Group Args - Policy
Users []PolicyPolicy User Args - 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.
- 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<PolicyPolicy Role> - policy
Trn String - Policy TRN.
- policy
Type String - Policy type. System indicates a system preset policy; Custom indicates a custom policy.
- policy
User List<PolicyGroups Policy User Group> - policy
Users List<PolicyPolicy User> - 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.
- 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 PolicyPolicy Role[] - policy
Trn string - Policy TRN.
- policy
Type string - Policy type. System indicates a system preset policy; Custom indicates a custom policy.
- policy
User PolicyGroups Policy User Group[] - policy
Users PolicyPolicy User[] - 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.
- 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[PolicyPolicy Role Args] - policy_
trn str - Policy TRN.
- policy_
type str - Policy type. System indicates a system preset policy; Custom indicates a custom policy.
- policy_
user_ Sequence[Policygroups Policy User Group Args] - policy_
users Sequence[PolicyPolicy User Args] - 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.
- 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> - 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 - policy
Users List<Property Map> - updated
Time String - Policy update time.
Supporting Types
PolicyPolicyRole, PolicyPolicyRoleArgs
- Name string
- Name of the corresponding user, role, or user group.
- Policy
Scopes List<Volcengine.Policy Policy Role Policy Scope>
- Name string
- Name of the corresponding user, role, or user group.
- Policy
Scopes []PolicyPolicy Role Policy Scope
- name String
- Name of the corresponding user, role, or user group.
- policy
Scopes List<PolicyPolicy Role Policy Scope>
- name string
- Name of the corresponding user, role, or user group.
- policy
Scopes PolicyPolicy Role Policy Scope[]
- name str
- Name of the corresponding user, role, or user group.
- policy_
scopes Sequence[PolicyPolicy Role Policy Scope]
- name String
- Name of the corresponding user, role, or user group.
- policy
Scopes List<Property Map>
PolicyPolicyRolePolicyScope, PolicyPolicyRolePolicyScopeArgs
- Project
Name string - Project name.
- Project
Name string - Project name.
- project
Name String - Project name.
- project
Name string - Project name.
- project_
name str - Project name.
- project
Name String - Project name.
PolicyPolicyUser, PolicyPolicyUserArgs
- Name string
- Name of the corresponding user, role, or user group.
- Policy
Scopes List<Volcengine.Policy Policy User Policy Scope>
- Name string
- Name of the corresponding user, role, or user group.
- Policy
Scopes []PolicyPolicy User Policy Scope
- name String
- Name of the corresponding user, role, or user group.
- policy
Scopes List<PolicyPolicy User Policy Scope>
- name string
- Name of the corresponding user, role, or user group.
- policy
Scopes PolicyPolicy User Policy Scope[]
- name str
- Name of the corresponding user, role, or user group.
- policy_
scopes Sequence[PolicyPolicy User Policy Scope]
- name String
- Name of the corresponding user, role, or user group.
- policy
Scopes List<Property Map>
PolicyPolicyUserGroup, PolicyPolicyUserGroupArgs
- Name string
- Name of the corresponding user, role, or user group.
- Policy
Scopes List<Volcengine.Policy Policy User Group Policy Scope>
- Name string
- Name of the corresponding user, role, or user group.
- Policy
Scopes []PolicyPolicy User Group Policy Scope
- name String
- Name of the corresponding user, role, or user group.
- policy
Scopes List<PolicyPolicy User Group Policy Scope>
- name string
- Name of the corresponding user, role, or user group.
- policy
Scopes PolicyPolicy User Group Policy Scope[]
- name str
- Name of the corresponding user, role, or user group.
- policy_
scopes Sequence[PolicyPolicy User Group Policy Scope]
- name String
- Name of the corresponding user, role, or user group.
- policy
Scopes List<Property Map>
PolicyPolicyUserGroupPolicyScope, PolicyPolicyUserGroupPolicyScopeArgs
- Project
Name string - Project name.
- Project
Name string - Project name.
- project
Name String - Project name.
- project
Name string - Project name.
- project_
name str - Project name.
- project
Name String - Project name.
PolicyPolicyUserPolicyScope, PolicyPolicyUserPolicyScopeArgs
- Project
Name string - Project name.
- Project
Name string - Project name.
- project
Name String - Project name.
- project
Name string - Project name.
- project_
name str - Project name.
- project
Name String - Project name.
Import
$ pulumi import volcenginecc:iam/policy:Policy example "policy_name|policy_type"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- volcenginecc volcengine/pulumi-volcenginecc
- License
- MPL-2.0
- Notes
- This Pulumi package is based on the
volcengineccTerraform Provider.
published on Thursday, Apr 23, 2026 by Volcengine
