1. Packages
  2. Packages
  3. Volcenginecc Provider
  4. API Docs
  5. iam
  6. Policy
Viewing docs for volcenginecc v0.0.32
published on Thursday, Apr 23, 2026 by Volcengine
volcenginecc logo
Viewing docs for volcenginecc v0.0.32
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:

    PolicyDocument string
    Policy syntax content, for example: {"Statement":[{"Effect":"Allow","Action":["iam:","tag:"],"Resource":["*"]}]}
    PolicyName string
    Policy name, 1–64 characters. Supports English letters, numbers, and +=,.@-_ symbols.
    PolicyType string
    Policy type. System indicates a system preset policy; Custom indicates a custom policy.
    Description string
    Policy description, no more than 128 characters.
    PolicyRoles List<Volcengine.PolicyPolicyRole>
    PolicyUserGroups List<Volcengine.PolicyPolicyUserGroup>
    PolicyUsers List<Volcengine.PolicyPolicyUser>
    PolicyDocument string
    Policy syntax content, for example: {"Statement":[{"Effect":"Allow","Action":["iam:","tag:"],"Resource":["*"]}]}
    PolicyName string
    Policy name, 1–64 characters. Supports English letters, numbers, and +=,.@-_ symbols.
    PolicyType string
    Policy type. System indicates a system preset policy; Custom indicates a custom policy.
    Description string
    Policy description, no more than 128 characters.
    PolicyRoles []PolicyPolicyRoleArgs
    PolicyUserGroups []PolicyPolicyUserGroupArgs
    PolicyUsers []PolicyPolicyUserArgs
    policyDocument String
    Policy syntax content, for example: {"Statement":[{"Effect":"Allow","Action":["iam:","tag:"],"Resource":["*"]}]}
    policyName String
    Policy name, 1–64 characters. Supports English letters, numbers, and +=,.@-_ symbols.
    policyType String
    Policy type. System indicates a system preset policy; Custom indicates a custom policy.
    description String
    Policy description, no more than 128 characters.
    policyRoles List<PolicyPolicyRole>
    policyUserGroups List<PolicyPolicyUserGroup>
    policyUsers List<PolicyPolicyUser>
    policyDocument string
    Policy syntax content, for example: {"Statement":[{"Effect":"Allow","Action":["iam:","tag:"],"Resource":["*"]}]}
    policyName string
    Policy name, 1–64 characters. Supports English letters, numbers, and +=,.@-_ symbols.
    policyType string
    Policy type. System indicates a system preset policy; Custom indicates a custom policy.
    description string
    Policy description, no more than 128 characters.
    policyRoles PolicyPolicyRole[]
    policyUserGroups PolicyPolicyUserGroup[]
    policyUsers PolicyPolicyUser[]
    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[PolicyPolicyRoleArgs]
    policy_user_groups Sequence[PolicyPolicyUserGroupArgs]
    policy_users Sequence[PolicyPolicyUserArgs]
    policyDocument String
    Policy syntax content, for example: {"Statement":[{"Effect":"Allow","Action":["iam:","tag:"],"Resource":["*"]}]}
    policyName String
    Policy name, 1–64 characters. Supports English letters, numbers, and +=,.@-_ symbols.
    policyType String
    Policy type. System indicates a system preset policy; Custom indicates a custom policy.
    description String
    Policy description, no more than 128 characters.
    policyRoles List<Property Map>
    policyUserGroups List<Property Map>
    policyUsers List<Property Map>

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Policy resource produces the following output properties:

    AttachmentCount 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.
    CreatedTime string
    Policy creation time.
    Id string
    The provider-assigned unique ID for this managed resource.
    IsServiceRolePolicy int
    Indicates whether the policy is for a service-linked role. 0 means no; 1 means yes.
    PolicyTrn string
    Policy TRN.
    UpdatedTime string
    Policy update time.
    AttachmentCount 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.
    CreatedTime string
    Policy creation time.
    Id string
    The provider-assigned unique ID for this managed resource.
    IsServiceRolePolicy int
    Indicates whether the policy is for a service-linked role. 0 means no; 1 means yes.
    PolicyTrn string
    Policy TRN.
    UpdatedTime string
    Policy update time.
    attachmentCount 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.
    createdTime String
    Policy creation time.
    id String
    The provider-assigned unique ID for this managed resource.
    isServiceRolePolicy Integer
    Indicates whether the policy is for a service-linked role. 0 means no; 1 means yes.
    policyTrn String
    Policy TRN.
    updatedTime String
    Policy update time.
    attachmentCount 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.
    createdTime string
    Policy creation time.
    id string
    The provider-assigned unique ID for this managed resource.
    isServiceRolePolicy number
    Indicates whether the policy is for a service-linked role. 0 means no; 1 means yes.
    policyTrn string
    Policy TRN.
    updatedTime 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_role_policy int
    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.
    attachmentCount 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.
    createdTime String
    Policy creation time.
    id String
    The provider-assigned unique ID for this managed resource.
    isServiceRolePolicy Number
    Indicates whether the policy is for a service-linked role. 0 means no; 1 means yes.
    policyTrn String
    Policy TRN.
    updatedTime 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) -> Policy
    func 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.
    The following state arguments are supported:
    AttachmentCount 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.
    CreatedTime string
    Policy creation time.
    Description string
    Policy description, no more than 128 characters.
    IsServiceRolePolicy int
    Indicates whether the policy is for a service-linked role. 0 means no; 1 means yes.
    PolicyDocument string
    Policy syntax content, for example: {"Statement":[{"Effect":"Allow","Action":["iam:","tag:"],"Resource":["*"]}]}
    PolicyName string
    Policy name, 1–64 characters. Supports English letters, numbers, and +=,.@-_ symbols.
    PolicyRoles List<Volcengine.PolicyPolicyRole>
    PolicyTrn string
    Policy TRN.
    PolicyType string
    Policy type. System indicates a system preset policy; Custom indicates a custom policy.
    PolicyUserGroups List<Volcengine.PolicyPolicyUserGroup>
    PolicyUsers List<Volcengine.PolicyPolicyUser>
    UpdatedTime string
    Policy update time.
    AttachmentCount 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.
    CreatedTime string
    Policy creation time.
    Description string
    Policy description, no more than 128 characters.
    IsServiceRolePolicy int
    Indicates whether the policy is for a service-linked role. 0 means no; 1 means yes.
    PolicyDocument string
    Policy syntax content, for example: {"Statement":[{"Effect":"Allow","Action":["iam:","tag:"],"Resource":["*"]}]}
    PolicyName string
    Policy name, 1–64 characters. Supports English letters, numbers, and +=,.@-_ symbols.
    PolicyRoles []PolicyPolicyRoleArgs
    PolicyTrn string
    Policy TRN.
    PolicyType string
    Policy type. System indicates a system preset policy; Custom indicates a custom policy.
    PolicyUserGroups []PolicyPolicyUserGroupArgs
    PolicyUsers []PolicyPolicyUserArgs
    UpdatedTime string
    Policy update time.
    attachmentCount 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.
    createdTime String
    Policy creation time.
    description String
    Policy description, no more than 128 characters.
    isServiceRolePolicy Integer
    Indicates whether the policy is for a service-linked role. 0 means no; 1 means yes.
    policyDocument String
    Policy syntax content, for example: {"Statement":[{"Effect":"Allow","Action":["iam:","tag:"],"Resource":["*"]}]}
    policyName String
    Policy name, 1–64 characters. Supports English letters, numbers, and +=,.@-_ symbols.
    policyRoles List<PolicyPolicyRole>
    policyTrn String
    Policy TRN.
    policyType String
    Policy type. System indicates a system preset policy; Custom indicates a custom policy.
    policyUserGroups List<PolicyPolicyUserGroup>
    policyUsers List<PolicyPolicyUser>
    updatedTime String
    Policy update time.
    attachmentCount 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.
    createdTime string
    Policy creation time.
    description string
    Policy description, no more than 128 characters.
    isServiceRolePolicy number
    Indicates whether the policy is for a service-linked role. 0 means no; 1 means yes.
    policyDocument string
    Policy syntax content, for example: {"Statement":[{"Effect":"Allow","Action":["iam:","tag:"],"Resource":["*"]}]}
    policyName string
    Policy name, 1–64 characters. Supports English letters, numbers, and +=,.@-_ symbols.
    policyRoles PolicyPolicyRole[]
    policyTrn string
    Policy TRN.
    policyType string
    Policy type. System indicates a system preset policy; Custom indicates a custom policy.
    policyUserGroups PolicyPolicyUserGroup[]
    policyUsers PolicyPolicyUser[]
    updatedTime 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_role_policy int
    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[PolicyPolicyRoleArgs]
    policy_trn str
    Policy TRN.
    policy_type str
    Policy type. System indicates a system preset policy; Custom indicates a custom policy.
    policy_user_groups Sequence[PolicyPolicyUserGroupArgs]
    policy_users Sequence[PolicyPolicyUserArgs]
    updated_time str
    Policy update time.
    attachmentCount 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.
    createdTime String
    Policy creation time.
    description String
    Policy description, no more than 128 characters.
    isServiceRolePolicy Number
    Indicates whether the policy is for a service-linked role. 0 means no; 1 means yes.
    policyDocument String
    Policy syntax content, for example: {"Statement":[{"Effect":"Allow","Action":["iam:","tag:"],"Resource":["*"]}]}
    policyName String
    Policy name, 1–64 characters. Supports English letters, numbers, and +=,.@-_ symbols.
    policyRoles List<Property Map>
    policyTrn String
    Policy TRN.
    policyType String
    Policy type. System indicates a system preset policy; Custom indicates a custom policy.
    policyUserGroups List<Property Map>
    policyUsers List<Property Map>
    updatedTime String
    Policy update time.

    Supporting Types

    PolicyPolicyRole, PolicyPolicyRoleArgs

    Name string
    Name of the corresponding user, role, or user group.
    PolicyScopes List<Volcengine.PolicyPolicyRolePolicyScope>
    Name string
    Name of the corresponding user, role, or user group.
    PolicyScopes []PolicyPolicyRolePolicyScope
    name String
    Name of the corresponding user, role, or user group.
    policyScopes List<PolicyPolicyRolePolicyScope>
    name string
    Name of the corresponding user, role, or user group.
    policyScopes PolicyPolicyRolePolicyScope[]
    name str
    Name of the corresponding user, role, or user group.
    policy_scopes Sequence[PolicyPolicyRolePolicyScope]
    name String
    Name of the corresponding user, role, or user group.
    policyScopes List<Property Map>

    PolicyPolicyRolePolicyScope, PolicyPolicyRolePolicyScopeArgs

    ProjectName string
    Project name.
    ProjectName string
    Project name.
    projectName String
    Project name.
    projectName string
    Project name.
    project_name str
    Project name.
    projectName String
    Project name.

    PolicyPolicyUser, PolicyPolicyUserArgs

    Name string
    Name of the corresponding user, role, or user group.
    PolicyScopes List<Volcengine.PolicyPolicyUserPolicyScope>
    Name string
    Name of the corresponding user, role, or user group.
    PolicyScopes []PolicyPolicyUserPolicyScope
    name String
    Name of the corresponding user, role, or user group.
    policyScopes List<PolicyPolicyUserPolicyScope>
    name string
    Name of the corresponding user, role, or user group.
    policyScopes PolicyPolicyUserPolicyScope[]
    name str
    Name of the corresponding user, role, or user group.
    policy_scopes Sequence[PolicyPolicyUserPolicyScope]
    name String
    Name of the corresponding user, role, or user group.
    policyScopes List<Property Map>

    PolicyPolicyUserGroup, PolicyPolicyUserGroupArgs

    Name string
    Name of the corresponding user, role, or user group.
    PolicyScopes List<Volcengine.PolicyPolicyUserGroupPolicyScope>
    Name string
    Name of the corresponding user, role, or user group.
    PolicyScopes []PolicyPolicyUserGroupPolicyScope
    name String
    Name of the corresponding user, role, or user group.
    policyScopes List<PolicyPolicyUserGroupPolicyScope>
    name string
    Name of the corresponding user, role, or user group.
    policyScopes PolicyPolicyUserGroupPolicyScope[]
    name str
    Name of the corresponding user, role, or user group.
    policy_scopes Sequence[PolicyPolicyUserGroupPolicyScope]
    name String
    Name of the corresponding user, role, or user group.
    policyScopes List<Property Map>

    PolicyPolicyUserGroupPolicyScope, PolicyPolicyUserGroupPolicyScopeArgs

    ProjectName string
    Project name.
    ProjectName string
    Project name.
    projectName String
    Project name.
    projectName string
    Project name.
    project_name str
    Project name.
    projectName String
    Project name.

    PolicyPolicyUserPolicyScope, PolicyPolicyUserPolicyScopeArgs

    ProjectName string
    Project name.
    ProjectName string
    Project name.
    projectName String
    Project name.
    projectName string
    Project name.
    project_name str
    Project name.
    projectName 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 volcenginecc Terraform Provider.
    volcenginecc logo
    Viewing docs for volcenginecc v0.0.32
    published on Thursday, Apr 23, 2026 by Volcengine
      Try Pulumi Cloud free. Your team will thank you.