1. Packages
  2. Packages
  3. Alibaba Cloud Provider
  4. API Docs
  5. resourcemanager
  6. HandshakeAcceptance
Viewing docs for Alibaba Cloud v3.105.0
published on Thursday, Jul 16, 2026 by Pulumi
alicloud logo
Viewing docs for Alibaba Cloud v3.105.0
published on Thursday, Jul 16, 2026 by Pulumi

    Provides a Resource Manager Handshake Acceptance resource. It is used by the invited account to accept an invitation (handshake) to join a resource directory.

    For information about Resource Manager Handshake Acceptance and how to use it, see What is Handshake and the AcceptHandshake API.

    NOTE: This resource must be applied with the credentials of the invited account, not the management (master) account that sent the invitation. The invitation itself is created by the management account via alicloud.resourcemanager.Handshake. Use a separate provider alias configured with the invited account’s credentials.

    NOTE: Destroying this resource only removes the acceptance record from Terraform state. If the invitation is also managed by alicloud.resourcemanager.Handshake with targetType = "Account", destroying the management-side handshake resource removes the invited cloud account from the resource directory.

    NOTE: Available since v1.284.0.

    Example Usage

    Basic Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as alicloud from "@pulumi/alicloud";
    
    const config = new pulumi.Config();
    const region = config.get("region") || "cn-hangzhou";
    const managementAccessKey = config.require("managementAccessKey");
    const managementSecretKey = config.require("managementSecretKey");
    const invitedAccessKey = config.require("invitedAccessKey");
    const invitedSecretKey = config.require("invitedSecretKey");
    const invitedAccountId = config.require("invitedAccountId");
    // The management account sends the invitation.
    const example = new alicloud.resourcemanager.Handshake("example", {
        targetEntity: invitedAccountId,
        targetType: "Account",
        note: "test resource manager handshake",
    });
    // The invited account accepts it.
    const exampleHandshakeAcceptance = new alicloud.resourcemanager.HandshakeAcceptance("example", {handshakeId: example.id});
    
    import pulumi
    import pulumi_alicloud as alicloud
    
    config = pulumi.Config()
    region = config.get("region")
    if region is None:
        region = "cn-hangzhou"
    management_access_key = config.require("managementAccessKey")
    management_secret_key = config.require("managementSecretKey")
    invited_access_key = config.require("invitedAccessKey")
    invited_secret_key = config.require("invitedSecretKey")
    invited_account_id = config.require("invitedAccountId")
    # The management account sends the invitation.
    example = alicloud.resourcemanager.Handshake("example",
        target_entity=invited_account_id,
        target_type="Account",
        note="test resource manager handshake")
    # The invited account accepts it.
    example_handshake_acceptance = alicloud.resourcemanager.HandshakeAcceptance("example", handshake_id=example.id)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/resourcemanager"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		cfg := config.New(ctx, "")
    		region := "cn-hangzhou"
    		if param := cfg.Get("region"); param != "" {
    			region = param
    		}
    		managementAccessKey := cfg.Require("managementAccessKey")
    		managementSecretKey := cfg.Require("managementSecretKey")
    		invitedAccessKey := cfg.Require("invitedAccessKey")
    		invitedSecretKey := cfg.Require("invitedSecretKey")
    		invitedAccountId := cfg.Require("invitedAccountId")
    		// The management account sends the invitation.
    		example, err := resourcemanager.NewHandshake(ctx, "example", &resourcemanager.HandshakeArgs{
    			TargetEntity: pulumi.String(invitedAccountId),
    			TargetType:   pulumi.String("Account"),
    			Note:         pulumi.String("test resource manager handshake"),
    		})
    		if err != nil {
    			return err
    		}
    		// The invited account accepts it.
    		_, err = resourcemanager.NewHandshakeAcceptance(ctx, "example", &resourcemanager.HandshakeAcceptanceArgs{
    			HandshakeId: example.ID(),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AliCloud = Pulumi.AliCloud;
    
    return await Deployment.RunAsync(() => 
    {
        var config = new Config();
        var region = config.Get("region") ?? "cn-hangzhou";
        var managementAccessKey = config.Require("managementAccessKey");
        var managementSecretKey = config.Require("managementSecretKey");
        var invitedAccessKey = config.Require("invitedAccessKey");
        var invitedSecretKey = config.Require("invitedSecretKey");
        var invitedAccountId = config.Require("invitedAccountId");
        // The management account sends the invitation.
        var example = new AliCloud.ResourceManager.Handshake("example", new()
        {
            TargetEntity = invitedAccountId,
            TargetType = "Account",
            Note = "test resource manager handshake",
        });
    
        // The invited account accepts it.
        var exampleHandshakeAcceptance = new AliCloud.ResourceManager.HandshakeAcceptance("example", new()
        {
            HandshakeId = example.Id,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.alicloud.resourcemanager.Handshake;
    import com.pulumi.alicloud.resourcemanager.HandshakeArgs;
    import com.pulumi.alicloud.resourcemanager.HandshakeAcceptance;
    import com.pulumi.alicloud.resourcemanager.HandshakeAcceptanceArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    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) {
            final var config = ctx.config();
            final var region = config.get("region").orElse("cn-hangzhou");
            final var managementAccessKey = config.require("managementAccessKey");
            final var managementSecretKey = config.require("managementSecretKey");
            final var invitedAccessKey = config.require("invitedAccessKey");
            final var invitedSecretKey = config.require("invitedSecretKey");
            final var invitedAccountId = config.require("invitedAccountId");
            // The management account sends the invitation.
            var example = new Handshake("example", HandshakeArgs.builder()
                .targetEntity(invitedAccountId)
                .targetType("Account")
                .note("test resource manager handshake")
                .build());
    
            // The invited account accepts it.
            var exampleHandshakeAcceptance = new HandshakeAcceptance("exampleHandshakeAcceptance", HandshakeAcceptanceArgs.builder()
                .handshakeId(example.id())
                .build());
    
        }
    }
    
    configuration:
      region:
        type: string
        default: cn-hangzhou
      managementAccessKey:
        type: string
      managementSecretKey:
        type: string
      invitedAccessKey:
        type: string
      invitedSecretKey:
        type: string
      invitedAccountId:
        type: string
    resources:
      # The management account sends the invitation.
      example:
        type: alicloud:resourcemanager:Handshake
        properties:
          targetEntity: ${invitedAccountId}
          targetType: Account
          note: test resource manager handshake
      # The invited account accepts it.
      exampleHandshakeAcceptance:
        type: alicloud:resourcemanager:HandshakeAcceptance
        name: example
        properties:
          handshakeId: ${example.id}
    
    pulumi {
      required_providers {
        alicloud = {
          source = "pulumi/alicloud"
        }
      }
    }
    
    # The management account sends the invitation.
    resource "alicloud_resourcemanager_handshake" "example" {
      target_entity = var.invitedAccountId
      target_type   = "Account"
      note          = "test resource manager handshake"
    }
    # The invited account accepts it.
    resource "alicloud_resourcemanager_handshakeacceptance" "example" {
      handshake_id = alicloud_resourcemanager_handshake.example.id
    }
    variable "region" {
      type    = string
      default = "cn-hangzhou"
    }
    variable "managementAccessKey" {
      type = string
    }
    variable "managementSecretKey" {
      type = string
    }
    variable "invitedAccessKey" {
      type = string
    }
    variable "invitedSecretKey" {
      type = string
    }
    variable "invitedAccountId" {
      type = string
    }
    

    📚 Need more examples? VIEW MORE EXAMPLES

    Create HandshakeAcceptance Resource

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

    Constructor syntax

    new HandshakeAcceptance(name: string, args: HandshakeAcceptanceArgs, opts?: CustomResourceOptions);
    @overload
    def HandshakeAcceptance(resource_name: str,
                            args: HandshakeAcceptanceArgs,
                            opts: Optional[ResourceOptions] = None)
    
    @overload
    def HandshakeAcceptance(resource_name: str,
                            opts: Optional[ResourceOptions] = None,
                            handshake_id: Optional[str] = None)
    func NewHandshakeAcceptance(ctx *Context, name string, args HandshakeAcceptanceArgs, opts ...ResourceOption) (*HandshakeAcceptance, error)
    public HandshakeAcceptance(string name, HandshakeAcceptanceArgs args, CustomResourceOptions? opts = null)
    public HandshakeAcceptance(String name, HandshakeAcceptanceArgs args)
    public HandshakeAcceptance(String name, HandshakeAcceptanceArgs args, CustomResourceOptions options)
    
    type: alicloud:resourcemanager:HandshakeAcceptance
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "alicloud_resourcemanager_handshake_acceptance" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args HandshakeAcceptanceArgs
    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 HandshakeAcceptanceArgs
    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 HandshakeAcceptanceArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args HandshakeAcceptanceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args HandshakeAcceptanceArgs
    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 handshakeAcceptanceResource = new AliCloud.ResourceManager.HandshakeAcceptance("handshakeAcceptanceResource", new()
    {
        HandshakeId = "string",
    });
    
    example, err := resourcemanager.NewHandshakeAcceptance(ctx, "handshakeAcceptanceResource", &resourcemanager.HandshakeAcceptanceArgs{
    	HandshakeId: pulumi.String("string"),
    })
    
    resource "alicloud_resourcemanager_handshake_acceptance" "handshakeAcceptanceResource" {
      lifecycle {
        create_before_destroy = true
      }
      handshake_id = "string"
    }
    
    var handshakeAcceptanceResource = new HandshakeAcceptance("handshakeAcceptanceResource", HandshakeAcceptanceArgs.builder()
        .handshakeId("string")
        .build());
    
    handshake_acceptance_resource = alicloud.resourcemanager.HandshakeAcceptance("handshakeAcceptanceResource", handshake_id="string")
    
    const handshakeAcceptanceResource = new alicloud.resourcemanager.HandshakeAcceptance("handshakeAcceptanceResource", {handshakeId: "string"});
    
    type: alicloud:resourcemanager:HandshakeAcceptance
    properties:
        handshakeId: string
    

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

    HandshakeId string
    The ID of the invitation.
    HandshakeId string
    The ID of the invitation.
    handshake_id string
    The ID of the invitation.
    handshakeId String
    The ID of the invitation.
    handshakeId string
    The ID of the invitation.
    handshake_id str
    The ID of the invitation.
    handshakeId String
    The ID of the invitation.

    Outputs

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

    CreateTime string
    The time when the invitation was created. The time is displayed in UTC.
    ExpireTime string
    The time when the invitation expires. The time is displayed in UTC.
    Id string
    The provider-assigned unique ID for this managed resource.
    InvitedAccountRealName string
    The real-name verification information of the invited account.
    MasterAccountId string
    The ID of the management account of the resource directory.
    MasterAccountName string
    The name of the management account of the resource directory.
    MasterAccountRealName string
    The real-name verification information of the management account.
    ModifyTime string
    The time when the invitation was modified. The time is displayed in UTC.
    Note string
    The note of the invitation.
    ResourceDirectoryId string
    The ID of the resource directory.
    Status string
    The status of the invitation. The acceptance resource exists only when the status is Accepted.
    TargetEntity string
    The invited account. The value is an account ID when targetType is Account, or a logon email address when targetType is Email.
    TargetType string
    The type of the invited account. Valid values: Account and Email.
    CreateTime string
    The time when the invitation was created. The time is displayed in UTC.
    ExpireTime string
    The time when the invitation expires. The time is displayed in UTC.
    Id string
    The provider-assigned unique ID for this managed resource.
    InvitedAccountRealName string
    The real-name verification information of the invited account.
    MasterAccountId string
    The ID of the management account of the resource directory.
    MasterAccountName string
    The name of the management account of the resource directory.
    MasterAccountRealName string
    The real-name verification information of the management account.
    ModifyTime string
    The time when the invitation was modified. The time is displayed in UTC.
    Note string
    The note of the invitation.
    ResourceDirectoryId string
    The ID of the resource directory.
    Status string
    The status of the invitation. The acceptance resource exists only when the status is Accepted.
    TargetEntity string
    The invited account. The value is an account ID when targetType is Account, or a logon email address when targetType is Email.
    TargetType string
    The type of the invited account. Valid values: Account and Email.
    create_time string
    The time when the invitation was created. The time is displayed in UTC.
    expire_time string
    The time when the invitation expires. The time is displayed in UTC.
    id string
    The provider-assigned unique ID for this managed resource.
    invited_account_real_name string
    The real-name verification information of the invited account.
    master_account_id string
    The ID of the management account of the resource directory.
    master_account_name string
    The name of the management account of the resource directory.
    master_account_real_name string
    The real-name verification information of the management account.
    modify_time string
    The time when the invitation was modified. The time is displayed in UTC.
    note string
    The note of the invitation.
    resource_directory_id string
    The ID of the resource directory.
    status string
    The status of the invitation. The acceptance resource exists only when the status is Accepted.
    target_entity string
    The invited account. The value is an account ID when targetType is Account, or a logon email address when targetType is Email.
    target_type string
    The type of the invited account. Valid values: Account and Email.
    createTime String
    The time when the invitation was created. The time is displayed in UTC.
    expireTime String
    The time when the invitation expires. The time is displayed in UTC.
    id String
    The provider-assigned unique ID for this managed resource.
    invitedAccountRealName String
    The real-name verification information of the invited account.
    masterAccountId String
    The ID of the management account of the resource directory.
    masterAccountName String
    The name of the management account of the resource directory.
    masterAccountRealName String
    The real-name verification information of the management account.
    modifyTime String
    The time when the invitation was modified. The time is displayed in UTC.
    note String
    The note of the invitation.
    resourceDirectoryId String
    The ID of the resource directory.
    status String
    The status of the invitation. The acceptance resource exists only when the status is Accepted.
    targetEntity String
    The invited account. The value is an account ID when targetType is Account, or a logon email address when targetType is Email.
    targetType String
    The type of the invited account. Valid values: Account and Email.
    createTime string
    The time when the invitation was created. The time is displayed in UTC.
    expireTime string
    The time when the invitation expires. The time is displayed in UTC.
    id string
    The provider-assigned unique ID for this managed resource.
    invitedAccountRealName string
    The real-name verification information of the invited account.
    masterAccountId string
    The ID of the management account of the resource directory.
    masterAccountName string
    The name of the management account of the resource directory.
    masterAccountRealName string
    The real-name verification information of the management account.
    modifyTime string
    The time when the invitation was modified. The time is displayed in UTC.
    note string
    The note of the invitation.
    resourceDirectoryId string
    The ID of the resource directory.
    status string
    The status of the invitation. The acceptance resource exists only when the status is Accepted.
    targetEntity string
    The invited account. The value is an account ID when targetType is Account, or a logon email address when targetType is Email.
    targetType string
    The type of the invited account. Valid values: Account and Email.
    create_time str
    The time when the invitation was created. The time is displayed in UTC.
    expire_time str
    The time when the invitation expires. The time is displayed in UTC.
    id str
    The provider-assigned unique ID for this managed resource.
    invited_account_real_name str
    The real-name verification information of the invited account.
    master_account_id str
    The ID of the management account of the resource directory.
    master_account_name str
    The name of the management account of the resource directory.
    master_account_real_name str
    The real-name verification information of the management account.
    modify_time str
    The time when the invitation was modified. The time is displayed in UTC.
    note str
    The note of the invitation.
    resource_directory_id str
    The ID of the resource directory.
    status str
    The status of the invitation. The acceptance resource exists only when the status is Accepted.
    target_entity str
    The invited account. The value is an account ID when targetType is Account, or a logon email address when targetType is Email.
    target_type str
    The type of the invited account. Valid values: Account and Email.
    createTime String
    The time when the invitation was created. The time is displayed in UTC.
    expireTime String
    The time when the invitation expires. The time is displayed in UTC.
    id String
    The provider-assigned unique ID for this managed resource.
    invitedAccountRealName String
    The real-name verification information of the invited account.
    masterAccountId String
    The ID of the management account of the resource directory.
    masterAccountName String
    The name of the management account of the resource directory.
    masterAccountRealName String
    The real-name verification information of the management account.
    modifyTime String
    The time when the invitation was modified. The time is displayed in UTC.
    note String
    The note of the invitation.
    resourceDirectoryId String
    The ID of the resource directory.
    status String
    The status of the invitation. The acceptance resource exists only when the status is Accepted.
    targetEntity String
    The invited account. The value is an account ID when targetType is Account, or a logon email address when targetType is Email.
    targetType String
    The type of the invited account. Valid values: Account and Email.

    Look up Existing HandshakeAcceptance Resource

    Get an existing HandshakeAcceptance 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?: HandshakeAcceptanceState, opts?: CustomResourceOptions): HandshakeAcceptance
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            create_time: Optional[str] = None,
            expire_time: Optional[str] = None,
            handshake_id: Optional[str] = None,
            invited_account_real_name: Optional[str] = None,
            master_account_id: Optional[str] = None,
            master_account_name: Optional[str] = None,
            master_account_real_name: Optional[str] = None,
            modify_time: Optional[str] = None,
            note: Optional[str] = None,
            resource_directory_id: Optional[str] = None,
            status: Optional[str] = None,
            target_entity: Optional[str] = None,
            target_type: Optional[str] = None) -> HandshakeAcceptance
    func GetHandshakeAcceptance(ctx *Context, name string, id IDInput, state *HandshakeAcceptanceState, opts ...ResourceOption) (*HandshakeAcceptance, error)
    public static HandshakeAcceptance Get(string name, Input<string> id, HandshakeAcceptanceState? state, CustomResourceOptions? opts = null)
    public static HandshakeAcceptance get(String name, Output<String> id, HandshakeAcceptanceState state, CustomResourceOptions options)
    resources:  _:    type: alicloud:resourcemanager:HandshakeAcceptance    get:      id: ${id}
    import {
      to = alicloud_resourcemanager_handshake_acceptance.example
      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:
    CreateTime string
    The time when the invitation was created. The time is displayed in UTC.
    ExpireTime string
    The time when the invitation expires. The time is displayed in UTC.
    HandshakeId string
    The ID of the invitation.
    InvitedAccountRealName string
    The real-name verification information of the invited account.
    MasterAccountId string
    The ID of the management account of the resource directory.
    MasterAccountName string
    The name of the management account of the resource directory.
    MasterAccountRealName string
    The real-name verification information of the management account.
    ModifyTime string
    The time when the invitation was modified. The time is displayed in UTC.
    Note string
    The note of the invitation.
    ResourceDirectoryId string
    The ID of the resource directory.
    Status string
    The status of the invitation. The acceptance resource exists only when the status is Accepted.
    TargetEntity string
    The invited account. The value is an account ID when targetType is Account, or a logon email address when targetType is Email.
    TargetType string
    The type of the invited account. Valid values: Account and Email.
    CreateTime string
    The time when the invitation was created. The time is displayed in UTC.
    ExpireTime string
    The time when the invitation expires. The time is displayed in UTC.
    HandshakeId string
    The ID of the invitation.
    InvitedAccountRealName string
    The real-name verification information of the invited account.
    MasterAccountId string
    The ID of the management account of the resource directory.
    MasterAccountName string
    The name of the management account of the resource directory.
    MasterAccountRealName string
    The real-name verification information of the management account.
    ModifyTime string
    The time when the invitation was modified. The time is displayed in UTC.
    Note string
    The note of the invitation.
    ResourceDirectoryId string
    The ID of the resource directory.
    Status string
    The status of the invitation. The acceptance resource exists only when the status is Accepted.
    TargetEntity string
    The invited account. The value is an account ID when targetType is Account, or a logon email address when targetType is Email.
    TargetType string
    The type of the invited account. Valid values: Account and Email.
    create_time string
    The time when the invitation was created. The time is displayed in UTC.
    expire_time string
    The time when the invitation expires. The time is displayed in UTC.
    handshake_id string
    The ID of the invitation.
    invited_account_real_name string
    The real-name verification information of the invited account.
    master_account_id string
    The ID of the management account of the resource directory.
    master_account_name string
    The name of the management account of the resource directory.
    master_account_real_name string
    The real-name verification information of the management account.
    modify_time string
    The time when the invitation was modified. The time is displayed in UTC.
    note string
    The note of the invitation.
    resource_directory_id string
    The ID of the resource directory.
    status string
    The status of the invitation. The acceptance resource exists only when the status is Accepted.
    target_entity string
    The invited account. The value is an account ID when targetType is Account, or a logon email address when targetType is Email.
    target_type string
    The type of the invited account. Valid values: Account and Email.
    createTime String
    The time when the invitation was created. The time is displayed in UTC.
    expireTime String
    The time when the invitation expires. The time is displayed in UTC.
    handshakeId String
    The ID of the invitation.
    invitedAccountRealName String
    The real-name verification information of the invited account.
    masterAccountId String
    The ID of the management account of the resource directory.
    masterAccountName String
    The name of the management account of the resource directory.
    masterAccountRealName String
    The real-name verification information of the management account.
    modifyTime String
    The time when the invitation was modified. The time is displayed in UTC.
    note String
    The note of the invitation.
    resourceDirectoryId String
    The ID of the resource directory.
    status String
    The status of the invitation. The acceptance resource exists only when the status is Accepted.
    targetEntity String
    The invited account. The value is an account ID when targetType is Account, or a logon email address when targetType is Email.
    targetType String
    The type of the invited account. Valid values: Account and Email.
    createTime string
    The time when the invitation was created. The time is displayed in UTC.
    expireTime string
    The time when the invitation expires. The time is displayed in UTC.
    handshakeId string
    The ID of the invitation.
    invitedAccountRealName string
    The real-name verification information of the invited account.
    masterAccountId string
    The ID of the management account of the resource directory.
    masterAccountName string
    The name of the management account of the resource directory.
    masterAccountRealName string
    The real-name verification information of the management account.
    modifyTime string
    The time when the invitation was modified. The time is displayed in UTC.
    note string
    The note of the invitation.
    resourceDirectoryId string
    The ID of the resource directory.
    status string
    The status of the invitation. The acceptance resource exists only when the status is Accepted.
    targetEntity string
    The invited account. The value is an account ID when targetType is Account, or a logon email address when targetType is Email.
    targetType string
    The type of the invited account. Valid values: Account and Email.
    create_time str
    The time when the invitation was created. The time is displayed in UTC.
    expire_time str
    The time when the invitation expires. The time is displayed in UTC.
    handshake_id str
    The ID of the invitation.
    invited_account_real_name str
    The real-name verification information of the invited account.
    master_account_id str
    The ID of the management account of the resource directory.
    master_account_name str
    The name of the management account of the resource directory.
    master_account_real_name str
    The real-name verification information of the management account.
    modify_time str
    The time when the invitation was modified. The time is displayed in UTC.
    note str
    The note of the invitation.
    resource_directory_id str
    The ID of the resource directory.
    status str
    The status of the invitation. The acceptance resource exists only when the status is Accepted.
    target_entity str
    The invited account. The value is an account ID when targetType is Account, or a logon email address when targetType is Email.
    target_type str
    The type of the invited account. Valid values: Account and Email.
    createTime String
    The time when the invitation was created. The time is displayed in UTC.
    expireTime String
    The time when the invitation expires. The time is displayed in UTC.
    handshakeId String
    The ID of the invitation.
    invitedAccountRealName String
    The real-name verification information of the invited account.
    masterAccountId String
    The ID of the management account of the resource directory.
    masterAccountName String
    The name of the management account of the resource directory.
    masterAccountRealName String
    The real-name verification information of the management account.
    modifyTime String
    The time when the invitation was modified. The time is displayed in UTC.
    note String
    The note of the invitation.
    resourceDirectoryId String
    The ID of the resource directory.
    status String
    The status of the invitation. The acceptance resource exists only when the status is Accepted.
    targetEntity String
    The invited account. The value is an account ID when targetType is Account, or a logon email address when targetType is Email.
    targetType String
    The type of the invited account. Valid values: Account and Email.

    Import

    Resource Manager Handshake Acceptance can be imported using the id (handshake id), e.g.

    $ pulumi import alicloud:resourcemanager/handshakeAcceptance:HandshakeAcceptance example <id>
    

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

    Package Details

    Repository
    Alibaba Cloud pulumi/pulumi-alicloud
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the alicloud Terraform Provider.
    alicloud logo
    Viewing docs for Alibaba Cloud v3.105.0
    published on Thursday, Jul 16, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial