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,
});
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:
- Role
Configuration stringId - Permission configuration ID.
- Role
Policy doubleId - Role policy id.
- Zone
Id string - Space ID.
- Identity
Center stringRole Configuration Permission Policy Attachment Id - ID of the resource.
- Role
Policy stringName - Role policy name.
- Role
Configuration stringId - Permission configuration ID.
- Role
Policy float64Id - Role policy id.
- Zone
Id string - Space ID.
- Identity
Center stringRole Configuration Permission Policy Attachment Id - ID of the resource.
- Role
Policy stringName - Role policy name.
- role
Configuration StringId - Permission configuration ID.
- role
Policy DoubleId - Role policy id.
- zone
Id String - Space ID.
- identity
Center StringRole Configuration Permission Policy Attachment Id - ID of the resource.
- role
Policy StringName - Role policy name.
- role
Configuration stringId - Permission configuration ID.
- role
Policy numberId - Role policy id.
- zone
Id string - Space ID.
- identity
Center stringRole Configuration Permission Policy Attachment Id - ID of the resource.
- role
Policy stringName - Role policy name.
- role_
configuration_ strid - Permission configuration ID.
- role_
policy_ floatid - Role policy id.
- zone_
id str - Space ID.
- identity_
center_ strrole_ configuration_ permission_ policy_ attachment_ id - ID of the resource.
- role_
policy_ strname - Role policy name.
- role
Configuration StringId - Permission configuration ID.
- role
Policy NumberId - Role policy id.
- zone
Id String - Space ID.
- identity
Center StringRole Configuration Permission Policy Attachment Id - ID of the resource.
- role
Policy StringName - Role policy name.
Outputs
All input properties are implicitly available as output properties. Additionally, the IdentityCenterRoleConfigurationPermissionPolicyAttachment resource produces the following output properties:
- Add
Time string - Role policy add time.
- Id string
- The provider-assigned unique ID for this managed resource.
- Role
Policy stringDocument - Role policy document.
- Role
Policy stringType - Role policy type.
- Add
Time string - Role policy add time.
- Id string
- The provider-assigned unique ID for this managed resource.
- Role
Policy stringDocument - Role policy document.
- Role
Policy stringType - Role policy type.
- add
Time String - Role policy add time.
- id String
- The provider-assigned unique ID for this managed resource.
- role
Policy StringDocument - Role policy document.
- role
Policy StringType - Role policy type.
- add
Time string - Role policy add time.
- id string
- The provider-assigned unique ID for this managed resource.
- role
Policy stringDocument - Role policy document.
- role
Policy stringType - Role policy type.
- add_
time str - Role policy add time.
- id str
- The provider-assigned unique ID for this managed resource.
- role_
policy_ strdocument - Role policy document.
- role_
policy_ strtype - Role policy type.
- add
Time String - Role policy add time.
- id String
- The provider-assigned unique ID for this managed resource.
- role
Policy StringDocument - Role policy document.
- role
Policy StringType - 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.
- Add
Time string - Role policy add time.
- Identity
Center stringRole Configuration Permission Policy Attachment Id - ID of the resource.
- Role
Configuration stringId - Permission configuration ID.
- Role
Policy stringDocument - Role policy document.
- Role
Policy doubleId - Role policy id.
- Role
Policy stringName - Role policy name.
- Role
Policy stringType - Role policy type.
- Zone
Id string - Space ID.
- Add
Time string - Role policy add time.
- Identity
Center stringRole Configuration Permission Policy Attachment Id - ID of the resource.
- Role
Configuration stringId - Permission configuration ID.
- Role
Policy stringDocument - Role policy document.
- Role
Policy float64Id - Role policy id.
- Role
Policy stringName - Role policy name.
- Role
Policy stringType - Role policy type.
- Zone
Id string - Space ID.
- add
Time String - Role policy add time.
- identity
Center StringRole Configuration Permission Policy Attachment Id - ID of the resource.
- role
Configuration StringId - Permission configuration ID.
- role
Policy StringDocument - Role policy document.
- role
Policy DoubleId - Role policy id.
- role
Policy StringName - Role policy name.
- role
Policy StringType - Role policy type.
- zone
Id String - Space ID.
- add
Time string - Role policy add time.
- identity
Center stringRole Configuration Permission Policy Attachment Id - ID of the resource.
- role
Configuration stringId - Permission configuration ID.
- role
Policy stringDocument - Role policy document.
- role
Policy numberId - Role policy id.
- role
Policy stringName - Role policy name.
- role
Policy stringType - Role policy type.
- zone
Id string - Space ID.
- add_
time str - Role policy add time.
- identity_
center_ strrole_ configuration_ permission_ policy_ attachment_ id - ID of the resource.
- role_
configuration_ strid - Permission configuration ID.
- role_
policy_ strdocument - Role policy document.
- role_
policy_ floatid - Role policy id.
- role_
policy_ strname - Role policy name.
- role_
policy_ strtype - Role policy type.
- zone_
id str - Space ID.
- add
Time String - Role policy add time.
- identity
Center StringRole Configuration Permission Policy Attachment Id - ID of the resource.
- role
Configuration StringId - Permission configuration ID.
- role
Policy StringDocument - Role policy document.
- role
Policy NumberId - Role policy id.
- role
Policy StringName - Role policy name.
- role
Policy StringType - Role policy type.
- zone
Id 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.