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

tencentcloud.IdentityCenterRoleConfigurationPermissionPolicyAttachment

Explore with Pulumi AI

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,
});
Copy
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)
Copy
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
	})
}
Copy
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,
    });

});
Copy
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());

    }
}
Copy
resources:
  identityCenterRoleConfigurationPermissionPolicyAttachment:
    type: tencentcloud:IdentityCenterRoleConfigurationPermissionPolicyAttachment
    properties:
      zoneId: z-xxxxxx
      roleConfigurationId: rc-xxxxxx
      rolePolicyId: ${xxxxxx}
Copy

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 This property is required. string
The unique name of the resource.
args This property is required. IdentityCenterRoleConfigurationPermissionPolicyAttachmentArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. 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 This property is required. string
The unique name of the resource.
args This property is required. IdentityCenterRoleConfigurationPermissionPolicyAttachmentArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. IdentityCenterRoleConfigurationPermissionPolicyAttachmentArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. 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 This property is required. string
Permission configuration ID.
RolePolicyId This property is required. double
Role policy id.
ZoneId This property is required. string
Space ID.
IdentityCenterRoleConfigurationPermissionPolicyAttachmentId string
ID of the resource.
RolePolicyName string
Role policy name.
RoleConfigurationId This property is required. string
Permission configuration ID.
RolePolicyId This property is required. float64
Role policy id.
ZoneId This property is required. string
Space ID.
IdentityCenterRoleConfigurationPermissionPolicyAttachmentId string
ID of the resource.
RolePolicyName string
Role policy name.
roleConfigurationId This property is required. String
Permission configuration ID.
rolePolicyId This property is required. Double
Role policy id.
zoneId This property is required. String
Space ID.
identityCenterRoleConfigurationPermissionPolicyAttachmentId String
ID of the resource.
rolePolicyName String
Role policy name.
roleConfigurationId This property is required. string
Permission configuration ID.
rolePolicyId This property is required. number
Role policy id.
zoneId This property is required. string
Space ID.
identityCenterRoleConfigurationPermissionPolicyAttachmentId string
ID of the resource.
rolePolicyName string
Role policy name.
role_configuration_id This property is required. str
Permission configuration ID.
role_policy_id This property is required. float
Role policy id.
zone_id This property is required. str
Space ID.
identity_center_role_configuration_permission_policy_attachment_id str
ID of the resource.
role_policy_name str
Role policy name.
roleConfigurationId This property is required. String
Permission configuration ID.
rolePolicyId This property is required. Number
Role policy id.
zoneId This property is required. 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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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}
Copy

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.