1. Packages
  2. Volcenginecc Provider
  3. API Docs
  4. iam
  5. Policy
volcenginecc v0.0.2 published on Saturday, Oct 11, 2025 by Volcengine

volcenginecc.iam.Policy

Deploy with Pulumi
volcenginecc logo
volcenginecc v0.0.2 published on Saturday, Oct 11, 2025 by Volcengine

    策略是对权限的一种描述,IAM用户、用户组或角色均需通过关联策略来赋予权限。当系统预设策略不能满足要求时,您可以创建自定义策略,对权限进行细粒度的定义。

    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,
               category: 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",
        Category = "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"),
    	Category:       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")
        .category("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",
        category="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",
        category: "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:
        category: string
        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
    策略语法内容,例如:{"Statement":[{"Effect":"Allow","Action":["iam:","tag:"],"Resource":["*"]}]}
    PolicyName string
    策略名,长度1~64,支持英文、数字和+=,.@-_符号。
    PolicyType string
    策略类型。System代表系统预设策略,Custom代表自定义策略。
    Category string
    系统预设策略所属的分类,通常为服务代码,对于自定义策略该字段不会返回值。
    Description string
    策略描述,长度不超过128。
    PolicyRoles List<Volcengine.PolicyPolicyRole>
    PolicyUserGroups List<Volcengine.PolicyPolicyUserGroup>
    PolicyUsers List<Volcengine.PolicyPolicyUser>
    PolicyDocument string
    策略语法内容,例如:{"Statement":[{"Effect":"Allow","Action":["iam:","tag:"],"Resource":["*"]}]}
    PolicyName string
    策略名,长度1~64,支持英文、数字和+=,.@-_符号。
    PolicyType string
    策略类型。System代表系统预设策略,Custom代表自定义策略。
    Category string
    系统预设策略所属的分类,通常为服务代码,对于自定义策略该字段不会返回值。
    Description string
    策略描述,长度不超过128。
    PolicyRoles []PolicyPolicyRoleArgs
    PolicyUserGroups []PolicyPolicyUserGroupArgs
    PolicyUsers []PolicyPolicyUserArgs
    policyDocument String
    策略语法内容,例如:{"Statement":[{"Effect":"Allow","Action":["iam:","tag:"],"Resource":["*"]}]}
    policyName String
    策略名,长度1~64,支持英文、数字和+=,.@-_符号。
    policyType String
    策略类型。System代表系统预设策略,Custom代表自定义策略。
    category String
    系统预设策略所属的分类,通常为服务代码,对于自定义策略该字段不会返回值。
    description String
    策略描述,长度不超过128。
    policyRoles List<PolicyPolicyRole>
    policyUserGroups List<PolicyPolicyUserGroup>
    policyUsers List<PolicyPolicyUser>
    policyDocument string
    策略语法内容,例如:{"Statement":[{"Effect":"Allow","Action":["iam:","tag:"],"Resource":["*"]}]}
    policyName string
    策略名,长度1~64,支持英文、数字和+=,.@-_符号。
    policyType string
    策略类型。System代表系统预设策略,Custom代表自定义策略。
    category string
    系统预设策略所属的分类,通常为服务代码,对于自定义策略该字段不会返回值。
    description string
    策略描述,长度不超过128。
    policyRoles PolicyPolicyRole[]
    policyUserGroups PolicyPolicyUserGroup[]
    policyUsers PolicyPolicyUser[]
    policy_document str
    策略语法内容,例如:{"Statement":[{"Effect":"Allow","Action":["iam:","tag:"],"Resource":["*"]}]}
    policy_name str
    策略名,长度1~64,支持英文、数字和+=,.@-_符号。
    policy_type str
    策略类型。System代表系统预设策略,Custom代表自定义策略。
    category str
    系统预设策略所属的分类,通常为服务代码,对于自定义策略该字段不会返回值。
    description str
    策略描述,长度不超过128。
    policy_roles Sequence[PolicyPolicyRoleArgs]
    policy_user_groups Sequence[PolicyPolicyUserGroupArgs]
    policy_users Sequence[PolicyPolicyUserArgs]
    policyDocument String
    策略语法内容,例如:{"Statement":[{"Effect":"Allow","Action":["iam:","tag:"],"Resource":["*"]}]}
    policyName String
    策略名,长度1~64,支持英文、数字和+=,.@-_符号。
    policyType String
    策略类型。System代表系统预设策略,Custom代表自定义策略。
    category String
    系统预设策略所属的分类,通常为服务代码,对于自定义策略该字段不会返回值。
    description String
    策略描述,长度不超过128。
    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
    策略绑定的身份数量。
    CreatedTime string
    策略创建时间。
    Id string
    The provider-assigned unique ID for this managed resource.
    IsServiceRolePolicy int
    是否是服务关联角色的策略,0代表否,1代表是。
    PolicyTrn string
    策略的TRN。
    UpdatedTime string
    策略更新时间。
    AttachmentCount int
    策略绑定的身份数量。
    CreatedTime string
    策略创建时间。
    Id string
    The provider-assigned unique ID for this managed resource.
    IsServiceRolePolicy int
    是否是服务关联角色的策略,0代表否,1代表是。
    PolicyTrn string
    策略的TRN。
    UpdatedTime string
    策略更新时间。
    attachmentCount Integer
    策略绑定的身份数量。
    createdTime String
    策略创建时间。
    id String
    The provider-assigned unique ID for this managed resource.
    isServiceRolePolicy Integer
    是否是服务关联角色的策略,0代表否,1代表是。
    policyTrn String
    策略的TRN。
    updatedTime String
    策略更新时间。
    attachmentCount number
    策略绑定的身份数量。
    createdTime string
    策略创建时间。
    id string
    The provider-assigned unique ID for this managed resource.
    isServiceRolePolicy number
    是否是服务关联角色的策略,0代表否,1代表是。
    policyTrn string
    策略的TRN。
    updatedTime string
    策略更新时间。
    attachment_count int
    策略绑定的身份数量。
    created_time str
    策略创建时间。
    id str
    The provider-assigned unique ID for this managed resource.
    is_service_role_policy int
    是否是服务关联角色的策略,0代表否,1代表是。
    policy_trn str
    策略的TRN。
    updated_time str
    策略更新时间。
    attachmentCount Number
    策略绑定的身份数量。
    createdTime String
    策略创建时间。
    id String
    The provider-assigned unique ID for this managed resource.
    isServiceRolePolicy Number
    是否是服务关联角色的策略,0代表否,1代表是。
    policyTrn String
    策略的TRN。
    updatedTime String
    策略更新时间。

    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
    策略绑定的身份数量。
    Category string
    系统预设策略所属的分类,通常为服务代码,对于自定义策略该字段不会返回值。
    CreatedTime string
    策略创建时间。
    Description string
    策略描述,长度不超过128。
    IsServiceRolePolicy int
    是否是服务关联角色的策略,0代表否,1代表是。
    PolicyDocument string
    策略语法内容,例如:{"Statement":[{"Effect":"Allow","Action":["iam:","tag:"],"Resource":["*"]}]}
    PolicyName string
    策略名,长度1~64,支持英文、数字和+=,.@-_符号。
    PolicyRoles List<Volcengine.PolicyPolicyRole>
    PolicyTrn string
    策略的TRN。
    PolicyType string
    策略类型。System代表系统预设策略,Custom代表自定义策略。
    PolicyUserGroups List<Volcengine.PolicyPolicyUserGroup>
    PolicyUsers List<Volcengine.PolicyPolicyUser>
    UpdatedTime string
    策略更新时间。
    AttachmentCount int
    策略绑定的身份数量。
    Category string
    系统预设策略所属的分类,通常为服务代码,对于自定义策略该字段不会返回值。
    CreatedTime string
    策略创建时间。
    Description string
    策略描述,长度不超过128。
    IsServiceRolePolicy int
    是否是服务关联角色的策略,0代表否,1代表是。
    PolicyDocument string
    策略语法内容,例如:{"Statement":[{"Effect":"Allow","Action":["iam:","tag:"],"Resource":["*"]}]}
    PolicyName string
    策略名,长度1~64,支持英文、数字和+=,.@-_符号。
    PolicyRoles []PolicyPolicyRoleArgs
    PolicyTrn string
    策略的TRN。
    PolicyType string
    策略类型。System代表系统预设策略,Custom代表自定义策略。
    PolicyUserGroups []PolicyPolicyUserGroupArgs
    PolicyUsers []PolicyPolicyUserArgs
    UpdatedTime string
    策略更新时间。
    attachmentCount Integer
    策略绑定的身份数量。
    category String
    系统预设策略所属的分类,通常为服务代码,对于自定义策略该字段不会返回值。
    createdTime String
    策略创建时间。
    description String
    策略描述,长度不超过128。
    isServiceRolePolicy Integer
    是否是服务关联角色的策略,0代表否,1代表是。
    policyDocument String
    策略语法内容,例如:{"Statement":[{"Effect":"Allow","Action":["iam:","tag:"],"Resource":["*"]}]}
    policyName String
    策略名,长度1~64,支持英文、数字和+=,.@-_符号。
    policyRoles List<PolicyPolicyRole>
    policyTrn String
    策略的TRN。
    policyType String
    策略类型。System代表系统预设策略,Custom代表自定义策略。
    policyUserGroups List<PolicyPolicyUserGroup>
    policyUsers List<PolicyPolicyUser>
    updatedTime String
    策略更新时间。
    attachmentCount number
    策略绑定的身份数量。
    category string
    系统预设策略所属的分类,通常为服务代码,对于自定义策略该字段不会返回值。
    createdTime string
    策略创建时间。
    description string
    策略描述,长度不超过128。
    isServiceRolePolicy number
    是否是服务关联角色的策略,0代表否,1代表是。
    policyDocument string
    策略语法内容,例如:{"Statement":[{"Effect":"Allow","Action":["iam:","tag:"],"Resource":["*"]}]}
    policyName string
    策略名,长度1~64,支持英文、数字和+=,.@-_符号。
    policyRoles PolicyPolicyRole[]
    policyTrn string
    策略的TRN。
    policyType string
    策略类型。System代表系统预设策略,Custom代表自定义策略。
    policyUserGroups PolicyPolicyUserGroup[]
    policyUsers PolicyPolicyUser[]
    updatedTime string
    策略更新时间。
    attachment_count int
    策略绑定的身份数量。
    category str
    系统预设策略所属的分类,通常为服务代码,对于自定义策略该字段不会返回值。
    created_time str
    策略创建时间。
    description str
    策略描述,长度不超过128。
    is_service_role_policy int
    是否是服务关联角色的策略,0代表否,1代表是。
    policy_document str
    策略语法内容,例如:{"Statement":[{"Effect":"Allow","Action":["iam:","tag:"],"Resource":["*"]}]}
    policy_name str
    策略名,长度1~64,支持英文、数字和+=,.@-_符号。
    policy_roles Sequence[PolicyPolicyRoleArgs]
    policy_trn str
    策略的TRN。
    policy_type str
    策略类型。System代表系统预设策略,Custom代表自定义策略。
    policy_user_groups Sequence[PolicyPolicyUserGroupArgs]
    policy_users Sequence[PolicyPolicyUserArgs]
    updated_time str
    策略更新时间。
    attachmentCount Number
    策略绑定的身份数量。
    category String
    系统预设策略所属的分类,通常为服务代码,对于自定义策略该字段不会返回值。
    createdTime String
    策略创建时间。
    description String
    策略描述,长度不超过128。
    isServiceRolePolicy Number
    是否是服务关联角色的策略,0代表否,1代表是。
    policyDocument String
    策略语法内容,例如:{"Statement":[{"Effect":"Allow","Action":["iam:","tag:"],"Resource":["*"]}]}
    policyName String
    策略名,长度1~64,支持英文、数字和+=,.@-_符号。
    policyRoles List<Property Map>
    policyTrn String
    策略的TRN。
    policyType String
    策略类型。System代表系统预设策略,Custom代表自定义策略。
    policyUserGroups List<Property Map>
    policyUsers List<Property Map>
    updatedTime String
    策略更新时间。

    Supporting Types

    PolicyPolicyRole, PolicyPolicyRoleArgs

    Name string
    对应用户、角色、用户组的名称。
    PolicyScopes List<Volcengine.PolicyPolicyRolePolicyScope>
    Name string
    对应用户、角色、用户组的名称。
    PolicyScopes []PolicyPolicyRolePolicyScope
    name String
    对应用户、角色、用户组的名称。
    policyScopes List<PolicyPolicyRolePolicyScope>
    name string
    对应用户、角色、用户组的名称。
    policyScopes PolicyPolicyRolePolicyScope[]
    name str
    对应用户、角色、用户组的名称。
    policy_scopes Sequence[PolicyPolicyRolePolicyScope]
    name String
    对应用户、角色、用户组的名称。
    policyScopes List<Property Map>

    PolicyPolicyRolePolicyScope, PolicyPolicyRolePolicyScopeArgs

    ProjectName string
    项目名。
    ProjectName string
    项目名。
    projectName String
    项目名。
    projectName string
    项目名。
    project_name str
    项目名。
    projectName String
    项目名。

    PolicyPolicyUser, PolicyPolicyUserArgs

    Name string
    对应用户、角色、用户组的名称。
    PolicyScopes List<Volcengine.PolicyPolicyUserPolicyScope>
    Name string
    对应用户、角色、用户组的名称。
    PolicyScopes []PolicyPolicyUserPolicyScope
    name String
    对应用户、角色、用户组的名称。
    policyScopes List<PolicyPolicyUserPolicyScope>
    name string
    对应用户、角色、用户组的名称。
    policyScopes PolicyPolicyUserPolicyScope[]
    name str
    对应用户、角色、用户组的名称。
    policy_scopes Sequence[PolicyPolicyUserPolicyScope]
    name String
    对应用户、角色、用户组的名称。
    policyScopes List<Property Map>

    PolicyPolicyUserGroup, PolicyPolicyUserGroupArgs

    Name string
    对应用户、角色、用户组的名称。
    PolicyScopes List<Volcengine.PolicyPolicyUserGroupPolicyScope>
    Name string
    对应用户、角色、用户组的名称。
    PolicyScopes []PolicyPolicyUserGroupPolicyScope
    name String
    对应用户、角色、用户组的名称。
    policyScopes List<PolicyPolicyUserGroupPolicyScope>
    name string
    对应用户、角色、用户组的名称。
    policyScopes PolicyPolicyUserGroupPolicyScope[]
    name str
    对应用户、角色、用户组的名称。
    policy_scopes Sequence[PolicyPolicyUserGroupPolicyScope]
    name String
    对应用户、角色、用户组的名称。
    policyScopes List<Property Map>

    PolicyPolicyUserGroupPolicyScope, PolicyPolicyUserGroupPolicyScopeArgs

    ProjectName string
    项目名。
    ProjectName string
    项目名。
    projectName String
    项目名。
    projectName string
    项目名。
    project_name str
    项目名。
    projectName String
    项目名。

    PolicyPolicyUserPolicyScope, PolicyPolicyUserPolicyScopeArgs

    ProjectName string
    项目名。
    ProjectName string
    项目名。
    projectName String
    项目名。
    projectName string
    项目名。
    project_name str
    项目名。
    projectName String
    项目名。

    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
    volcenginecc v0.0.2 published on Saturday, Oct 11, 2025 by Volcengine
      Meet Neo: Your AI Platform Teammate