1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. IdentityCenterRoleConfigurationPermissionPolicyAttachment
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

tencentcloud.IdentityCenterRoleConfigurationPermissionPolicyAttachment

Explore with Pulumi AI

tencentcloud logo
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

    Provides a resource to create a organization identity_center_role_configuration_permission_policy_attachment

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const identityCenterRoleConfigurationPermissionPolicyAttachment = new tencentcloud.IdentityCenterRoleConfigurationPermissionPolicyAttachment("identityCenterRoleConfigurationPermissionPolicyAttachment", {
        zoneId: "z-xxxxxx",
        roleConfigurationId: "rc-xxxxxx",
        rolePolicyId: xxxxxx,
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    identity_center_role_configuration_permission_policy_attachment = tencentcloud.IdentityCenterRoleConfigurationPermissionPolicyAttachment("identityCenterRoleConfigurationPermissionPolicyAttachment",
        zone_id="z-xxxxxx",
        role_configuration_id="rc-xxxxxx",
        role_policy_id=xxxxxx)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := tencentcloud.NewIdentityCenterRoleConfigurationPermissionPolicyAttachment(ctx, "identityCenterRoleConfigurationPermissionPolicyAttachment", &tencentcloud.IdentityCenterRoleConfigurationPermissionPolicyAttachmentArgs{
    			ZoneId:              pulumi.String("z-xxxxxx"),
    			RoleConfigurationId: pulumi.String("rc-xxxxxx"),
    			RolePolicyId:        pulumi.Any(xxxxxx),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Tencentcloud = Pulumi.Tencentcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var identityCenterRoleConfigurationPermissionPolicyAttachment = new Tencentcloud.IdentityCenterRoleConfigurationPermissionPolicyAttachment("identityCenterRoleConfigurationPermissionPolicyAttachment", new()
        {
            ZoneId = "z-xxxxxx",
            RoleConfigurationId = "rc-xxxxxx",
            RolePolicyId = xxxxxx,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.IdentityCenterRoleConfigurationPermissionPolicyAttachment;
    import com.pulumi.tencentcloud.IdentityCenterRoleConfigurationPermissionPolicyAttachmentArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var identityCenterRoleConfigurationPermissionPolicyAttachment = new IdentityCenterRoleConfigurationPermissionPolicyAttachment("identityCenterRoleConfigurationPermissionPolicyAttachment", IdentityCenterRoleConfigurationPermissionPolicyAttachmentArgs.builder()
                .zoneId("z-xxxxxx")
                .roleConfigurationId("rc-xxxxxx")
                .rolePolicyId(xxxxxx)
                .build());
    
        }
    }
    
    resources:
      identityCenterRoleConfigurationPermissionPolicyAttachment:
        type: tencentcloud:IdentityCenterRoleConfigurationPermissionPolicyAttachment
        properties:
          zoneId: z-xxxxxx
          roleConfigurationId: rc-xxxxxx
          rolePolicyId: ${xxxxxx}
    

    Create IdentityCenterRoleConfigurationPermissionPolicyAttachment Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new IdentityCenterRoleConfigurationPermissionPolicyAttachment(name: string, args: IdentityCenterRoleConfigurationPermissionPolicyAttachmentArgs, opts?: CustomResourceOptions);
    @overload
    def IdentityCenterRoleConfigurationPermissionPolicyAttachment(resource_name: str,
                                                                  args: IdentityCenterRoleConfigurationPermissionPolicyAttachmentArgs,
                                                                  opts: Optional[ResourceOptions] = None)
    
    @overload
    def IdentityCenterRoleConfigurationPermissionPolicyAttachment(resource_name: str,
                                                                  opts: Optional[ResourceOptions] = None,
                                                                  role_configuration_id: Optional[str] = None,
                                                                  role_policy_id: Optional[float] = None,
                                                                  zone_id: Optional[str] = None,
                                                                  identity_center_role_configuration_permission_policy_attachment_id: Optional[str] = None,
                                                                  role_policy_name: Optional[str] = None)
    func NewIdentityCenterRoleConfigurationPermissionPolicyAttachment(ctx *Context, name string, args IdentityCenterRoleConfigurationPermissionPolicyAttachmentArgs, opts ...ResourceOption) (*IdentityCenterRoleConfigurationPermissionPolicyAttachment, error)
    public IdentityCenterRoleConfigurationPermissionPolicyAttachment(string name, IdentityCenterRoleConfigurationPermissionPolicyAttachmentArgs args, CustomResourceOptions? opts = null)
    public IdentityCenterRoleConfigurationPermissionPolicyAttachment(String name, IdentityCenterRoleConfigurationPermissionPolicyAttachmentArgs args)
    public IdentityCenterRoleConfigurationPermissionPolicyAttachment(String name, IdentityCenterRoleConfigurationPermissionPolicyAttachmentArgs args, CustomResourceOptions options)
    
    type: tencentcloud:IdentityCenterRoleConfigurationPermissionPolicyAttachment
    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 IdentityCenterRoleConfigurationPermissionPolicyAttachmentArgs
    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 IdentityCenterRoleConfigurationPermissionPolicyAttachmentArgs
    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 IdentityCenterRoleConfigurationPermissionPolicyAttachmentArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args IdentityCenterRoleConfigurationPermissionPolicyAttachmentArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args IdentityCenterRoleConfigurationPermissionPolicyAttachmentArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    IdentityCenterRoleConfigurationPermissionPolicyAttachment 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 IdentityCenterRoleConfigurationPermissionPolicyAttachment resource accepts the following input properties:

    RoleConfigurationId string
    Permission configuration ID.
    RolePolicyId double
    Role policy id.
    ZoneId string
    Space ID.
    IdentityCenterRoleConfigurationPermissionPolicyAttachmentId string
    ID of the resource.
    RolePolicyName string
    Role policy name.
    RoleConfigurationId string
    Permission configuration ID.
    RolePolicyId float64
    Role policy id.
    ZoneId string
    Space ID.
    IdentityCenterRoleConfigurationPermissionPolicyAttachmentId string
    ID of the resource.
    RolePolicyName string
    Role policy name.
    roleConfigurationId String
    Permission configuration ID.
    rolePolicyId Double
    Role policy id.
    zoneId String
    Space ID.
    identityCenterRoleConfigurationPermissionPolicyAttachmentId String
    ID of the resource.
    rolePolicyName String
    Role policy name.
    roleConfigurationId string
    Permission configuration ID.
    rolePolicyId number
    Role policy id.
    zoneId string
    Space ID.
    identityCenterRoleConfigurationPermissionPolicyAttachmentId string
    ID of the resource.
    rolePolicyName string
    Role policy name.
    role_configuration_id str
    Permission configuration ID.
    role_policy_id float
    Role policy id.
    zone_id str
    Space ID.
    identity_center_role_configuration_permission_policy_attachment_id str
    ID of the resource.
    role_policy_name str
    Role policy name.
    roleConfigurationId String
    Permission configuration ID.
    rolePolicyId Number
    Role policy id.
    zoneId String
    Space ID.
    identityCenterRoleConfigurationPermissionPolicyAttachmentId String
    ID of the resource.
    rolePolicyName String
    Role policy name.

    Outputs

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

    AddTime string
    Role policy add time.
    Id string
    The provider-assigned unique ID for this managed resource.
    RolePolicyDocument string
    Role policy document.
    RolePolicyType string
    Role policy type.
    AddTime string
    Role policy add time.
    Id string
    The provider-assigned unique ID for this managed resource.
    RolePolicyDocument string
    Role policy document.
    RolePolicyType string
    Role policy type.
    addTime String
    Role policy add time.
    id String
    The provider-assigned unique ID for this managed resource.
    rolePolicyDocument String
    Role policy document.
    rolePolicyType String
    Role policy type.
    addTime string
    Role policy add time.
    id string
    The provider-assigned unique ID for this managed resource.
    rolePolicyDocument string
    Role policy document.
    rolePolicyType string
    Role policy type.
    add_time str
    Role policy add time.
    id str
    The provider-assigned unique ID for this managed resource.
    role_policy_document str
    Role policy document.
    role_policy_type str
    Role policy type.
    addTime String
    Role policy add time.
    id String
    The provider-assigned unique ID for this managed resource.
    rolePolicyDocument String
    Role policy document.
    rolePolicyType String
    Role policy type.

    Look up Existing IdentityCenterRoleConfigurationPermissionPolicyAttachment Resource

    Get an existing IdentityCenterRoleConfigurationPermissionPolicyAttachment 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?: IdentityCenterRoleConfigurationPermissionPolicyAttachmentState, opts?: CustomResourceOptions): IdentityCenterRoleConfigurationPermissionPolicyAttachment
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            add_time: Optional[str] = None,
            identity_center_role_configuration_permission_policy_attachment_id: Optional[str] = None,
            role_configuration_id: Optional[str] = None,
            role_policy_document: Optional[str] = None,
            role_policy_id: Optional[float] = None,
            role_policy_name: Optional[str] = None,
            role_policy_type: Optional[str] = None,
            zone_id: Optional[str] = None) -> IdentityCenterRoleConfigurationPermissionPolicyAttachment
    func GetIdentityCenterRoleConfigurationPermissionPolicyAttachment(ctx *Context, name string, id IDInput, state *IdentityCenterRoleConfigurationPermissionPolicyAttachmentState, opts ...ResourceOption) (*IdentityCenterRoleConfigurationPermissionPolicyAttachment, error)
    public static IdentityCenterRoleConfigurationPermissionPolicyAttachment Get(string name, Input<string> id, IdentityCenterRoleConfigurationPermissionPolicyAttachmentState? state, CustomResourceOptions? opts = null)
    public static IdentityCenterRoleConfigurationPermissionPolicyAttachment get(String name, Output<String> id, IdentityCenterRoleConfigurationPermissionPolicyAttachmentState state, CustomResourceOptions options)
    resources:  _:    type: tencentcloud:IdentityCenterRoleConfigurationPermissionPolicyAttachment    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:
    AddTime string
    Role policy add time.
    IdentityCenterRoleConfigurationPermissionPolicyAttachmentId string
    ID of the resource.
    RoleConfigurationId string
    Permission configuration ID.
    RolePolicyDocument string
    Role policy document.
    RolePolicyId double
    Role policy id.
    RolePolicyName string
    Role policy name.
    RolePolicyType string
    Role policy type.
    ZoneId string
    Space ID.
    AddTime string
    Role policy add time.
    IdentityCenterRoleConfigurationPermissionPolicyAttachmentId string
    ID of the resource.
    RoleConfigurationId string
    Permission configuration ID.
    RolePolicyDocument string
    Role policy document.
    RolePolicyId float64
    Role policy id.
    RolePolicyName string
    Role policy name.
    RolePolicyType string
    Role policy type.
    ZoneId string
    Space ID.
    addTime String
    Role policy add time.
    identityCenterRoleConfigurationPermissionPolicyAttachmentId String
    ID of the resource.
    roleConfigurationId String
    Permission configuration ID.
    rolePolicyDocument String
    Role policy document.
    rolePolicyId Double
    Role policy id.
    rolePolicyName String
    Role policy name.
    rolePolicyType String
    Role policy type.
    zoneId String
    Space ID.
    addTime string
    Role policy add time.
    identityCenterRoleConfigurationPermissionPolicyAttachmentId string
    ID of the resource.
    roleConfigurationId string
    Permission configuration ID.
    rolePolicyDocument string
    Role policy document.
    rolePolicyId number
    Role policy id.
    rolePolicyName string
    Role policy name.
    rolePolicyType string
    Role policy type.
    zoneId string
    Space ID.
    add_time str
    Role policy add time.
    identity_center_role_configuration_permission_policy_attachment_id str
    ID of the resource.
    role_configuration_id str
    Permission configuration ID.
    role_policy_document str
    Role policy document.
    role_policy_id float
    Role policy id.
    role_policy_name str
    Role policy name.
    role_policy_type str
    Role policy type.
    zone_id str
    Space ID.
    addTime String
    Role policy add time.
    identityCenterRoleConfigurationPermissionPolicyAttachmentId String
    ID of the resource.
    roleConfigurationId String
    Permission configuration ID.
    rolePolicyDocument String
    Role policy document.
    rolePolicyId Number
    Role policy id.
    rolePolicyName String
    Role policy name.
    rolePolicyType String
    Role policy type.
    zoneId String
    Space ID.

    Import

    organization identity_center_role_configuration_permission_policy_attachment can be imported using the id, e.g.

    $ pulumi import tencentcloud:index/identityCenterRoleConfigurationPermissionPolicyAttachment:IdentityCenterRoleConfigurationPermissionPolicyAttachment identity_center_role_configuration_permission_policy_attachment ${zoneId}#${roleConfigurationId}#${rolePolicyIdString}
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    tencentcloud tencentcloudstack/terraform-provider-tencentcloud
    License
    Notes
    This Pulumi package is based on the tencentcloud Terraform Provider.
    tencentcloud logo
    tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack