Documentation ¶
Overview ¶
Aliyun SDK Copyright (C) Alibaba Cloud Computing All rights reserved. http://www.aliyun.com
Index ¶
- func Account_IsConstruct(x interface{}) *bool
- func ControlPolicyAttachment_IsConstruct(x interface{}) *bool
- func ControlPolicy_IsConstruct(x interface{}) *bool
- func Folder_IsConstruct(x interface{}) *bool
- func Handshake_IsConstruct(x interface{}) *bool
- func NewAccount_Override(a Account, scope alicloudroscdkcore.Construct, id *string, props *AccountProps, ...)
- func NewControlPolicyAttachment_Override(c ControlPolicyAttachment, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewControlPolicy_Override(c ControlPolicy, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewFolder_Override(f Folder, scope alicloudroscdkcore.Construct, id *string, props *FolderProps, ...)
- func NewHandshake_Override(h Handshake, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewPolicyAttachment_Override(p PolicyAttachment, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewResourceDirectory_Override(r ResourceDirectory, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewResourceGroup_Override(r ResourceGroup, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewResourceShareAssociation_Override(r ResourceShareAssociation, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewResourceShare_Override(r ResourceShare, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewRosAccount_Override(r RosAccount, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewRosControlPolicyAttachment_Override(r RosControlPolicyAttachment, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewRosControlPolicy_Override(r RosControlPolicy, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewRosFolder_Override(r RosFolder, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewRosHandshake_Override(r RosHandshake, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewRosPolicyAttachment_Override(r RosPolicyAttachment, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewRosResourceDirectory_Override(r RosResourceDirectory, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewRosResourceGroup_Override(r RosResourceGroup, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewRosResourceShareAssociation_Override(r RosResourceShareAssociation, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewRosResourceShare_Override(r RosResourceShare, scope alicloudroscdkcore.Construct, id *string, ...)
- func PolicyAttachment_IsConstruct(x interface{}) *bool
- func ResourceDirectory_IsConstruct(x interface{}) *bool
- func ResourceGroup_IsConstruct(x interface{}) *bool
- func ResourceShareAssociation_IsConstruct(x interface{}) *bool
- func ResourceShare_IsConstruct(x interface{}) *bool
- func RosAccount_IsConstruct(x interface{}) *bool
- func RosAccount_IsRosElement(x interface{}) *bool
- func RosAccount_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
- func RosAccount_ROS_RESOURCE_TYPE_NAME() *string
- func RosControlPolicyAttachment_IsConstruct(x interface{}) *bool
- func RosControlPolicyAttachment_IsRosElement(x interface{}) *bool
- func RosControlPolicyAttachment_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
- func RosControlPolicyAttachment_ROS_RESOURCE_TYPE_NAME() *string
- func RosControlPolicy_IsConstruct(x interface{}) *bool
- func RosControlPolicy_IsRosElement(x interface{}) *bool
- func RosControlPolicy_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
- func RosControlPolicy_ROS_RESOURCE_TYPE_NAME() *string
- func RosFolder_IsConstruct(x interface{}) *bool
- func RosFolder_IsRosElement(x interface{}) *bool
- func RosFolder_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
- func RosFolder_ROS_RESOURCE_TYPE_NAME() *string
- func RosHandshake_IsConstruct(x interface{}) *bool
- func RosHandshake_IsRosElement(x interface{}) *bool
- func RosHandshake_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
- func RosHandshake_ROS_RESOURCE_TYPE_NAME() *string
- func RosPolicyAttachment_IsConstruct(x interface{}) *bool
- func RosPolicyAttachment_IsRosElement(x interface{}) *bool
- func RosPolicyAttachment_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
- func RosPolicyAttachment_ROS_RESOURCE_TYPE_NAME() *string
- func RosResourceDirectory_IsConstruct(x interface{}) *bool
- func RosResourceDirectory_IsRosElement(x interface{}) *bool
- func RosResourceDirectory_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
- func RosResourceDirectory_ROS_RESOURCE_TYPE_NAME() *string
- func RosResourceGroup_IsConstruct(x interface{}) *bool
- func RosResourceGroup_IsRosElement(x interface{}) *bool
- func RosResourceGroup_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
- func RosResourceGroup_ROS_RESOURCE_TYPE_NAME() *string
- func RosResourceShareAssociation_IsConstruct(x interface{}) *bool
- func RosResourceShareAssociation_IsRosElement(x interface{}) *bool
- func RosResourceShareAssociation_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
- func RosResourceShareAssociation_ROS_RESOURCE_TYPE_NAME() *string
- func RosResourceShare_IsConstruct(x interface{}) *bool
- func RosResourceShare_IsRosElement(x interface{}) *bool
- func RosResourceShare_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
- func RosResourceShare_ROS_RESOURCE_TYPE_NAME() *string
- type Account
- type AccountProps
- type ControlPolicy
- type ControlPolicyAttachment
- type ControlPolicyAttachmentProps
- type ControlPolicyProps
- type Folder
- type FolderProps
- type Handshake
- type HandshakeProps
- type IAccount
- type IControlPolicy
- type IControlPolicyAttachment
- type IFolder
- type IHandshake
- type IPolicyAttachment
- type IResourceDirectory
- type IResourceGroup
- type IResourceShare
- type IResourceShareAssociation
- type PolicyAttachment
- type PolicyAttachmentProps
- type ResourceDirectory
- type ResourceDirectoryProps
- type ResourceGroup
- type ResourceGroupProps
- type ResourceShare
- type ResourceShareAssociation
- type ResourceShareAssociationProps
- type ResourceShareProps
- type RosAccount
- type RosAccountProps
- type RosControlPolicy
- type RosControlPolicyAttachment
- type RosControlPolicyAttachmentProps
- type RosControlPolicyProps
- type RosFolder
- type RosFolderProps
- type RosHandshake
- type RosHandshakeProps
- type RosPolicyAttachment
- type RosPolicyAttachmentProps
- type RosResourceDirectory
- type RosResourceDirectoryProps
- type RosResourceGroup
- type RosResourceGroupProps
- type RosResourceShare
- type RosResourceShareAssociation
- type RosResourceShareAssociationProps
- type RosResourceShareAssociation_ResourcesProperty
- type RosResourceShareProps
- type RosResourceShare_ResourcesProperty
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Account_IsConstruct ¶
func Account_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func ControlPolicyAttachment_IsConstruct ¶
func ControlPolicyAttachment_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func ControlPolicy_IsConstruct ¶
func ControlPolicy_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func Folder_IsConstruct ¶
func Folder_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func Handshake_IsConstruct ¶
func Handshake_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func NewAccount_Override ¶
func NewAccount_Override(a Account, scope alicloudroscdkcore.Construct, id *string, props *AccountProps, enableResourcePropertyConstraint *bool)
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
func NewControlPolicyAttachment_Override ¶
func NewControlPolicyAttachment_Override(c ControlPolicyAttachment, scope alicloudroscdkcore.Construct, id *string, props *ControlPolicyAttachmentProps, enableResourcePropertyConstraint *bool)
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
func NewControlPolicy_Override ¶
func NewControlPolicy_Override(c ControlPolicy, scope alicloudroscdkcore.Construct, id *string, props *ControlPolicyProps, enableResourcePropertyConstraint *bool)
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
func NewFolder_Override ¶
func NewFolder_Override(f Folder, scope alicloudroscdkcore.Construct, id *string, props *FolderProps, enableResourcePropertyConstraint *bool)
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
func NewHandshake_Override ¶
func NewHandshake_Override(h Handshake, scope alicloudroscdkcore.Construct, id *string, props *HandshakeProps, enableResourcePropertyConstraint *bool)
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
func NewPolicyAttachment_Override ¶
func NewPolicyAttachment_Override(p PolicyAttachment, scope alicloudroscdkcore.Construct, id *string, props *PolicyAttachmentProps, enableResourcePropertyConstraint *bool)
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
func NewResourceDirectory_Override ¶
func NewResourceDirectory_Override(r ResourceDirectory, scope alicloudroscdkcore.Construct, id *string, props *ResourceDirectoryProps, enableResourcePropertyConstraint *bool)
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
func NewResourceGroup_Override ¶
func NewResourceGroup_Override(r ResourceGroup, scope alicloudroscdkcore.Construct, id *string, props *ResourceGroupProps, enableResourcePropertyConstraint *bool)
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
func NewResourceShareAssociation_Override ¶
func NewResourceShareAssociation_Override(r ResourceShareAssociation, scope alicloudroscdkcore.Construct, id *string, props *ResourceShareAssociationProps, enableResourcePropertyConstraint *bool)
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
func NewResourceShare_Override ¶
func NewResourceShare_Override(r ResourceShare, scope alicloudroscdkcore.Construct, id *string, props *ResourceShareProps, enableResourcePropertyConstraint *bool)
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
func NewRosAccount_Override ¶
func NewRosAccount_Override(r RosAccount, scope alicloudroscdkcore.Construct, id *string, props *RosAccountProps, enableResourcePropertyConstraint *bool)
func NewRosControlPolicyAttachment_Override ¶
func NewRosControlPolicyAttachment_Override(r RosControlPolicyAttachment, scope alicloudroscdkcore.Construct, id *string, props *RosControlPolicyAttachmentProps, enableResourcePropertyConstraint *bool)
func NewRosControlPolicy_Override ¶
func NewRosControlPolicy_Override(r RosControlPolicy, scope alicloudroscdkcore.Construct, id *string, props *RosControlPolicyProps, enableResourcePropertyConstraint *bool)
func NewRosFolder_Override ¶
func NewRosFolder_Override(r RosFolder, scope alicloudroscdkcore.Construct, id *string, props *RosFolderProps, enableResourcePropertyConstraint *bool)
func NewRosHandshake_Override ¶
func NewRosHandshake_Override(r RosHandshake, scope alicloudroscdkcore.Construct, id *string, props *RosHandshakeProps, enableResourcePropertyConstraint *bool)
func NewRosPolicyAttachment_Override ¶
func NewRosPolicyAttachment_Override(r RosPolicyAttachment, scope alicloudroscdkcore.Construct, id *string, props *RosPolicyAttachmentProps, enableResourcePropertyConstraint *bool)
func NewRosResourceDirectory_Override ¶
func NewRosResourceDirectory_Override(r RosResourceDirectory, scope alicloudroscdkcore.Construct, id *string, props *RosResourceDirectoryProps, enableResourcePropertyConstraint *bool)
func NewRosResourceGroup_Override ¶
func NewRosResourceGroup_Override(r RosResourceGroup, scope alicloudroscdkcore.Construct, id *string, props *RosResourceGroupProps, enableResourcePropertyConstraint *bool)
func NewRosResourceShareAssociation_Override ¶
func NewRosResourceShareAssociation_Override(r RosResourceShareAssociation, scope alicloudroscdkcore.Construct, id *string, props *RosResourceShareAssociationProps, enableResourcePropertyConstraint *bool)
func NewRosResourceShare_Override ¶
func NewRosResourceShare_Override(r RosResourceShare, scope alicloudroscdkcore.Construct, id *string, props *RosResourceShareProps, enableResourcePropertyConstraint *bool)
func PolicyAttachment_IsConstruct ¶
func PolicyAttachment_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func ResourceDirectory_IsConstruct ¶
func ResourceDirectory_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func ResourceGroup_IsConstruct ¶
func ResourceGroup_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func ResourceShareAssociation_IsConstruct ¶
func ResourceShareAssociation_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func ResourceShare_IsConstruct ¶
func ResourceShare_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func RosAccount_IsConstruct ¶
func RosAccount_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func RosAccount_IsRosElement ¶
func RosAccount_IsRosElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func RosAccount_IsRosResource ¶
func RosAccount_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
Check whether the given construct is a RosResource.
func RosAccount_ROS_RESOURCE_TYPE_NAME ¶
func RosAccount_ROS_RESOURCE_TYPE_NAME() *string
func RosControlPolicyAttachment_IsConstruct ¶
func RosControlPolicyAttachment_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func RosControlPolicyAttachment_IsRosElement ¶
func RosControlPolicyAttachment_IsRosElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func RosControlPolicyAttachment_IsRosResource ¶
func RosControlPolicyAttachment_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
Check whether the given construct is a RosResource.
func RosControlPolicyAttachment_ROS_RESOURCE_TYPE_NAME ¶
func RosControlPolicyAttachment_ROS_RESOURCE_TYPE_NAME() *string
func RosControlPolicy_IsConstruct ¶
func RosControlPolicy_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func RosControlPolicy_IsRosElement ¶
func RosControlPolicy_IsRosElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func RosControlPolicy_IsRosResource ¶
func RosControlPolicy_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
Check whether the given construct is a RosResource.
func RosControlPolicy_ROS_RESOURCE_TYPE_NAME ¶
func RosControlPolicy_ROS_RESOURCE_TYPE_NAME() *string
func RosFolder_IsConstruct ¶
func RosFolder_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func RosFolder_IsRosElement ¶
func RosFolder_IsRosElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func RosFolder_IsRosResource ¶
func RosFolder_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
Check whether the given construct is a RosResource.
func RosFolder_ROS_RESOURCE_TYPE_NAME ¶
func RosFolder_ROS_RESOURCE_TYPE_NAME() *string
func RosHandshake_IsConstruct ¶
func RosHandshake_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func RosHandshake_IsRosElement ¶
func RosHandshake_IsRosElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func RosHandshake_IsRosResource ¶
func RosHandshake_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
Check whether the given construct is a RosResource.
func RosHandshake_ROS_RESOURCE_TYPE_NAME ¶
func RosHandshake_ROS_RESOURCE_TYPE_NAME() *string
func RosPolicyAttachment_IsConstruct ¶
func RosPolicyAttachment_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func RosPolicyAttachment_IsRosElement ¶
func RosPolicyAttachment_IsRosElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func RosPolicyAttachment_IsRosResource ¶
func RosPolicyAttachment_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
Check whether the given construct is a RosResource.
func RosPolicyAttachment_ROS_RESOURCE_TYPE_NAME ¶
func RosPolicyAttachment_ROS_RESOURCE_TYPE_NAME() *string
func RosResourceDirectory_IsConstruct ¶
func RosResourceDirectory_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func RosResourceDirectory_IsRosElement ¶
func RosResourceDirectory_IsRosElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func RosResourceDirectory_IsRosResource ¶
func RosResourceDirectory_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
Check whether the given construct is a RosResource.
func RosResourceDirectory_ROS_RESOURCE_TYPE_NAME ¶
func RosResourceDirectory_ROS_RESOURCE_TYPE_NAME() *string
func RosResourceGroup_IsConstruct ¶
func RosResourceGroup_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func RosResourceGroup_IsRosElement ¶
func RosResourceGroup_IsRosElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func RosResourceGroup_IsRosResource ¶
func RosResourceGroup_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
Check whether the given construct is a RosResource.
func RosResourceGroup_ROS_RESOURCE_TYPE_NAME ¶
func RosResourceGroup_ROS_RESOURCE_TYPE_NAME() *string
func RosResourceShareAssociation_IsConstruct ¶
func RosResourceShareAssociation_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func RosResourceShareAssociation_IsRosElement ¶
func RosResourceShareAssociation_IsRosElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func RosResourceShareAssociation_IsRosResource ¶
func RosResourceShareAssociation_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
Check whether the given construct is a RosResource.
func RosResourceShareAssociation_ROS_RESOURCE_TYPE_NAME ¶
func RosResourceShareAssociation_ROS_RESOURCE_TYPE_NAME() *string
func RosResourceShare_IsConstruct ¶
func RosResourceShare_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func RosResourceShare_IsRosElement ¶
func RosResourceShare_IsRosElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func RosResourceShare_IsRosResource ¶
func RosResourceShare_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
Check whether the given construct is a RosResource.
func RosResourceShare_ROS_RESOURCE_TYPE_NAME ¶
func RosResourceShare_ROS_RESOURCE_TYPE_NAME() *string
Types ¶
type Account ¶
type Account interface { alicloudroscdkcore.Resource IAccount // Attribute AccountId: This ID of Resource Manager Account. AttrAccountId() interface{} // Attribute DisplayName: Member name. AttrDisplayName() interface{} // Attribute FolderId: The ID of the parent folder. AttrFolderId() interface{} // Attribute JoinMethod: Ways for members to join the resource directory. // // Valid values: invited, created. AttrJoinMethod() interface{} // Attribute ResourceDirectoryId: Resource directory ID. AttrResourceDirectoryId() interface{} // Attribute Type: Member type. // // The value of ResourceAccount indicates the resource account. AttrType() interface{} EnableResourcePropertyConstraint() *bool SetEnableResourcePropertyConstraint(val *bool) // The environment this resource belongs to. // // For resources that are created and managed by the CDK // (generally, those created by creating new class instances like Role, Bucket, etc.), // this is always the same as the environment of the stack they belong to; // however, for imported resources // (those obtained from static methods like fromRoleArn, fromBucketName, etc.), // that might be different than the stack they were imported into. Env() *alicloudroscdkcore.ResourceEnvironment Id() *string SetId(val *string) // The construct tree node associated with this construct. Node() alicloudroscdkcore.ConstructNode // Returns a string-encoded token that resolves to the physical name that should be passed to the ROS resource. // // This value will resolve to one of the following: // - a concrete value (e.g. `"my-awesome-bucket"`) // - `undefined`, when a name should be generated by ROS // - a concrete name generated automatically during synthesis, in // cross-environment scenarios. // Experimental. PhysicalName() *string Props() *AccountProps Ref() *string Resource() alicloudroscdkcore.RosResource SetResource(val alicloudroscdkcore.RosResource) Scope() alicloudroscdkcore.Construct SetScope(val alicloudroscdkcore.Construct) // The stack in which this resource is defined. Stack() alicloudroscdkcore.Stack AddCondition(condition alicloudroscdkcore.RosCondition) AddCount(count interface{}) AddDependency(resource alicloudroscdkcore.Resource) AddResourceDesc(desc *string) ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy) FetchCondition() alicloudroscdkcore.RosCondition FetchDependency() *[]*string FetchResourceDesc() *string GeneratePhysicalName() *string GetAtt(name *string) alicloudroscdkcore.IResolvable // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() SetMetadata(key *string, value interface{}) // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string }
This class encapsulates and extends the ROS resource type `ALIYUN::ResourceManager::Account`, which is used to create a member of the resource account type.
func NewAccount ¶
func NewAccount(scope alicloudroscdkcore.Construct, id *string, props *AccountProps, enableResourcePropertyConstraint *bool) Account
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
type AccountProps ¶
type AccountProps struct { // Property displayName: Member name. DisplayName interface{} `field:"required" json:"displayName" yaml:"displayName"` // Property deleteAccount: Whether delete the account. // // Default value is false. DeleteAccount interface{} `field:"optional" json:"deleteAccount" yaml:"deleteAccount"` // Property folderId: The ID of the parent folder. FolderId interface{} `field:"optional" json:"folderId" yaml:"folderId"` // Property payerAccountId:. PayerAccountId interface{} `field:"optional" json:"payerAccountId" yaml:"payerAccountId"` }
Properties for defining a `Account`.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-resourcemanager-account
type ControlPolicy ¶
type ControlPolicy interface { alicloudroscdkcore.Resource IControlPolicy // Attribute AttachmentCount: AttachmentCount. AttrAttachmentCount() interface{} // Attribute ControlPolicyName: PolicyName. AttrControlPolicyName() interface{} // Attribute Description: Description. AttrDescription() interface{} // Attribute EffectScope: EffectScope. AttrEffectScope() interface{} // Attribute PolicyDocument: PolicyDocument. AttrPolicyDocument() interface{} // Attribute PolicyId: PolicyId. AttrPolicyId() interface{} // Attribute PolicyType: PolicyType. AttrPolicyType() interface{} EnableResourcePropertyConstraint() *bool SetEnableResourcePropertyConstraint(val *bool) // The environment this resource belongs to. // // For resources that are created and managed by the CDK // (generally, those created by creating new class instances like Role, Bucket, etc.), // this is always the same as the environment of the stack they belong to; // however, for imported resources // (those obtained from static methods like fromRoleArn, fromBucketName, etc.), // that might be different than the stack they were imported into. Env() *alicloudroscdkcore.ResourceEnvironment Id() *string SetId(val *string) // The construct tree node associated with this construct. Node() alicloudroscdkcore.ConstructNode // Returns a string-encoded token that resolves to the physical name that should be passed to the ROS resource. // // This value will resolve to one of the following: // - a concrete value (e.g. `"my-awesome-bucket"`) // - `undefined`, when a name should be generated by ROS // - a concrete name generated automatically during synthesis, in // cross-environment scenarios. // Experimental. PhysicalName() *string Props() *ControlPolicyProps Ref() *string Resource() alicloudroscdkcore.RosResource SetResource(val alicloudroscdkcore.RosResource) Scope() alicloudroscdkcore.Construct SetScope(val alicloudroscdkcore.Construct) // The stack in which this resource is defined. Stack() alicloudroscdkcore.Stack AddCondition(condition alicloudroscdkcore.RosCondition) AddCount(count interface{}) AddDependency(resource alicloudroscdkcore.Resource) AddResourceDesc(desc *string) ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy) FetchCondition() alicloudroscdkcore.RosCondition FetchDependency() *[]*string FetchResourceDesc() *string GeneratePhysicalName() *string GetAtt(name *string) alicloudroscdkcore.IResolvable // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() SetMetadata(key *string, value interface{}) // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string }
This class encapsulates and extends the ROS resource type `ALIYUN::ResourceManager::ControlPolicy`, which is used to create a custom control policy.
func NewControlPolicy ¶
func NewControlPolicy(scope alicloudroscdkcore.Construct, id *string, props *ControlPolicyProps, enableResourcePropertyConstraint *bool) ControlPolicy
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
type ControlPolicyAttachment ¶
type ControlPolicyAttachment interface { alicloudroscdkcore.Resource IControlPolicyAttachment // Attribute AttachDate: AttachDate. AttrAttachDate() interface{} // Attribute Description: Description. AttrDescription() interface{} // Attribute PolicyId: PolicyId. AttrPolicyId() interface{} // Attribute PolicyName: PolicyName. AttrPolicyName() interface{} // Attribute PolicyType: PolicyType. AttrPolicyType() interface{} // Attribute TargetId: TargetId. AttrTargetId() interface{} EnableResourcePropertyConstraint() *bool SetEnableResourcePropertyConstraint(val *bool) // The environment this resource belongs to. // // For resources that are created and managed by the CDK // (generally, those created by creating new class instances like Role, Bucket, etc.), // this is always the same as the environment of the stack they belong to; // however, for imported resources // (those obtained from static methods like fromRoleArn, fromBucketName, etc.), // that might be different than the stack they were imported into. Env() *alicloudroscdkcore.ResourceEnvironment Id() *string SetId(val *string) // The construct tree node associated with this construct. Node() alicloudroscdkcore.ConstructNode // Returns a string-encoded token that resolves to the physical name that should be passed to the ROS resource. // // This value will resolve to one of the following: // - a concrete value (e.g. `"my-awesome-bucket"`) // - `undefined`, when a name should be generated by ROS // - a concrete name generated automatically during synthesis, in // cross-environment scenarios. // Experimental. PhysicalName() *string Props() *ControlPolicyAttachmentProps Ref() *string Resource() alicloudroscdkcore.RosResource SetResource(val alicloudroscdkcore.RosResource) Scope() alicloudroscdkcore.Construct SetScope(val alicloudroscdkcore.Construct) // The stack in which this resource is defined. Stack() alicloudroscdkcore.Stack AddCondition(condition alicloudroscdkcore.RosCondition) AddCount(count interface{}) AddDependency(resource alicloudroscdkcore.Resource) AddResourceDesc(desc *string) ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy) FetchCondition() alicloudroscdkcore.RosCondition FetchDependency() *[]*string FetchResourceDesc() *string GeneratePhysicalName() *string GetAtt(name *string) alicloudroscdkcore.IResolvable // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() SetMetadata(key *string, value interface{}) // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string }
This class encapsulates and extends the ROS resource type `ALIYUN::ResourceManager::ControlPolicyAttachment`, which is used to attach a custom control policy.
func NewControlPolicyAttachment ¶
func NewControlPolicyAttachment(scope alicloudroscdkcore.Construct, id *string, props *ControlPolicyAttachmentProps, enableResourcePropertyConstraint *bool) ControlPolicyAttachment
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
type ControlPolicyAttachmentProps ¶
type ControlPolicyAttachmentProps struct { // Property policyId: PolicyId. PolicyId interface{} `field:"required" json:"policyId" yaml:"policyId"` // Property targetId: TargetId. TargetId interface{} `field:"required" json:"targetId" yaml:"targetId"` }
Properties for defining a `ControlPolicyAttachment`.
type ControlPolicyProps ¶
type ControlPolicyProps struct { // Property controlPolicyName: PolicyName. ControlPolicyName interface{} `field:"required" json:"controlPolicyName" yaml:"controlPolicyName"` // Property effectScope: EffectScope. EffectScope interface{} `field:"required" json:"effectScope" yaml:"effectScope"` // Property policyDocument: PolicyDocument. PolicyDocument interface{} `field:"required" json:"policyDocument" yaml:"policyDocument"` // Property description: Description. Description interface{} `field:"optional" json:"description" yaml:"description"` }
Properties for defining a `ControlPolicy`.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-resourcemanager-controlpolicy
type Folder ¶
type Folder interface { alicloudroscdkcore.Resource IFolder // Attribute FolderId: The ID of the folder. AttrFolderId() interface{} // Attribute FolderName: The name of the folder. AttrFolderName() interface{} // Attribute ParentFolderId: The ID of the parent folder. // // If not set, the system default value will be used. AttrParentFolderId() interface{} EnableResourcePropertyConstraint() *bool SetEnableResourcePropertyConstraint(val *bool) // The environment this resource belongs to. // // For resources that are created and managed by the CDK // (generally, those created by creating new class instances like Role, Bucket, etc.), // this is always the same as the environment of the stack they belong to; // however, for imported resources // (those obtained from static methods like fromRoleArn, fromBucketName, etc.), // that might be different than the stack they were imported into. Env() *alicloudroscdkcore.ResourceEnvironment Id() *string SetId(val *string) // The construct tree node associated with this construct. Node() alicloudroscdkcore.ConstructNode // Returns a string-encoded token that resolves to the physical name that should be passed to the ROS resource. // // This value will resolve to one of the following: // - a concrete value (e.g. `"my-awesome-bucket"`) // - `undefined`, when a name should be generated by ROS // - a concrete name generated automatically during synthesis, in // cross-environment scenarios. // Experimental. PhysicalName() *string Props() *FolderProps Ref() *string Resource() alicloudroscdkcore.RosResource SetResource(val alicloudroscdkcore.RosResource) Scope() alicloudroscdkcore.Construct SetScope(val alicloudroscdkcore.Construct) // The stack in which this resource is defined. Stack() alicloudroscdkcore.Stack AddCondition(condition alicloudroscdkcore.RosCondition) AddCount(count interface{}) AddDependency(resource alicloudroscdkcore.Resource) AddResourceDesc(desc *string) ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy) FetchCondition() alicloudroscdkcore.RosCondition FetchDependency() *[]*string FetchResourceDesc() *string GeneratePhysicalName() *string GetAtt(name *string) alicloudroscdkcore.IResolvable // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() SetMetadata(key *string, value interface{}) // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string }
This class encapsulates and extends the ROS resource type `ALIYUN::ResourceManager::Folder`, which is used to create a folder.
func NewFolder ¶
func NewFolder(scope alicloudroscdkcore.Construct, id *string, props *FolderProps, enableResourcePropertyConstraint *bool) Folder
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
type FolderProps ¶
type FolderProps struct { // Property folderName: The name of the folder. FolderName interface{} `field:"required" json:"folderName" yaml:"folderName"` // Property parentFolderId: The ID of the parent folder. // // If not set, the system default value will be used. ParentFolderId interface{} `field:"optional" json:"parentFolderId" yaml:"parentFolderId"` }
Properties for defining a `Folder`.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-resourcemanager-folder
type Handshake ¶
type Handshake interface { alicloudroscdkcore.Resource IHandshake // Attribute HandshakeId: This ID of Resource Manager handshake. AttrHandshakeId() interface{} // Attribute MasterAccountId: Resource account master account ID. AttrMasterAccountId() interface{} // Attribute MasterAccountName: The name of the main account of the resource directory. AttrMasterAccountName() interface{} // Attribute Note: Remarks. AttrNote() interface{} // Attribute ResourceDirectoryId: Resource directory ID. AttrResourceDirectoryId() interface{} // Attribute TargetEntity: Invited account ID or login email. AttrTargetEntity() interface{} // Attribute TargetType: Type of account being invited. // // Valid values: Account, Email. AttrTargetType() interface{} EnableResourcePropertyConstraint() *bool SetEnableResourcePropertyConstraint(val *bool) // The environment this resource belongs to. // // For resources that are created and managed by the CDK // (generally, those created by creating new class instances like Role, Bucket, etc.), // this is always the same as the environment of the stack they belong to; // however, for imported resources // (those obtained from static methods like fromRoleArn, fromBucketName, etc.), // that might be different than the stack they were imported into. Env() *alicloudroscdkcore.ResourceEnvironment Id() *string SetId(val *string) // The construct tree node associated with this construct. Node() alicloudroscdkcore.ConstructNode // Returns a string-encoded token that resolves to the physical name that should be passed to the ROS resource. // // This value will resolve to one of the following: // - a concrete value (e.g. `"my-awesome-bucket"`) // - `undefined`, when a name should be generated by ROS // - a concrete name generated automatically during synthesis, in // cross-environment scenarios. // Experimental. PhysicalName() *string Props() *HandshakeProps Ref() *string Resource() alicloudroscdkcore.RosResource SetResource(val alicloudroscdkcore.RosResource) Scope() alicloudroscdkcore.Construct SetScope(val alicloudroscdkcore.Construct) // The stack in which this resource is defined. Stack() alicloudroscdkcore.Stack AddCondition(condition alicloudroscdkcore.RosCondition) AddCount(count interface{}) AddDependency(resource alicloudroscdkcore.Resource) AddResourceDesc(desc *string) ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy) FetchCondition() alicloudroscdkcore.RosCondition FetchDependency() *[]*string FetchResourceDesc() *string GeneratePhysicalName() *string GetAtt(name *string) alicloudroscdkcore.IResolvable // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() SetMetadata(key *string, value interface{}) // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string }
This class encapsulates and extends the ROS resource type `ALIYUN::ResourceManager::Handshake`, which is used to create an invitation.
func NewHandshake ¶
func NewHandshake(scope alicloudroscdkcore.Construct, id *string, props *HandshakeProps, enableResourcePropertyConstraint *bool) Handshake
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
type HandshakeProps ¶
type HandshakeProps struct { // Property targetEntity: Invited account ID or login email. TargetEntity interface{} `field:"required" json:"targetEntity" yaml:"targetEntity"` // Property targetType: Type of account being invited. // // Valid values: Account, Email. TargetType interface{} `field:"required" json:"targetType" yaml:"targetType"` // Property note: Remarks. Note interface{} `field:"optional" json:"note" yaml:"note"` }
Properties for defining a `Handshake`.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-resourcemanager-handshake
type IAccount ¶ added in v1.6.0
type IAccount interface { alicloudroscdkcore.IResource // Attribute AccountId: This ID of Resource Manager Account. AttrAccountId() interface{} // Attribute DisplayName: Member name. AttrDisplayName() interface{} // Attribute FolderId: The ID of the parent folder. AttrFolderId() interface{} // Attribute JoinMethod: Ways for members to join the resource directory. // // Valid values: invited, created. AttrJoinMethod() interface{} // Attribute ResourceDirectoryId: Resource directory ID. AttrResourceDirectoryId() interface{} // Attribute Type: Member type. // // The value of ResourceAccount indicates the resource account. AttrType() interface{} Props() *AccountProps }
Represents a `Account`.
type IControlPolicy ¶ added in v1.6.0
type IControlPolicy interface { alicloudroscdkcore.IResource // Attribute AttachmentCount: AttachmentCount. AttrAttachmentCount() interface{} // Attribute ControlPolicyName: PolicyName. AttrControlPolicyName() interface{} // Attribute Description: Description. AttrDescription() interface{} // Attribute EffectScope: EffectScope. AttrEffectScope() interface{} // Attribute PolicyDocument: PolicyDocument. AttrPolicyDocument() interface{} // Attribute PolicyId: PolicyId. AttrPolicyId() interface{} // Attribute PolicyType: PolicyType. AttrPolicyType() interface{} Props() *ControlPolicyProps }
Represents a `ControlPolicy`.
type IControlPolicyAttachment ¶ added in v1.6.0
type IControlPolicyAttachment interface { alicloudroscdkcore.IResource // Attribute AttachDate: AttachDate. AttrAttachDate() interface{} // Attribute Description: Description. AttrDescription() interface{} // Attribute PolicyId: PolicyId. AttrPolicyId() interface{} // Attribute PolicyName: PolicyName. AttrPolicyName() interface{} // Attribute PolicyType: PolicyType. AttrPolicyType() interface{} // Attribute TargetId: TargetId. AttrTargetId() interface{} Props() *ControlPolicyAttachmentProps }
Represents a `ControlPolicyAttachment`.
type IFolder ¶ added in v1.6.0
type IFolder interface { alicloudroscdkcore.IResource // Attribute FolderId: The ID of the folder. AttrFolderId() interface{} // Attribute FolderName: The name of the folder. AttrFolderName() interface{} // Attribute ParentFolderId: The ID of the parent folder. // // If not set, the system default value will be used. AttrParentFolderId() interface{} Props() *FolderProps }
Represents a `Folder`.
type IHandshake ¶ added in v1.6.0
type IHandshake interface { alicloudroscdkcore.IResource // Attribute HandshakeId: This ID of Resource Manager handshake. AttrHandshakeId() interface{} // Attribute MasterAccountId: Resource account master account ID. AttrMasterAccountId() interface{} // Attribute MasterAccountName: The name of the main account of the resource directory. AttrMasterAccountName() interface{} // Attribute Note: Remarks. AttrNote() interface{} // Attribute ResourceDirectoryId: Resource directory ID. AttrResourceDirectoryId() interface{} // Attribute TargetEntity: Invited account ID or login email. AttrTargetEntity() interface{} // Attribute TargetType: Type of account being invited. // // Valid values: Account, Email. AttrTargetType() interface{} Props() *HandshakeProps }
Represents a `Handshake`.
type IPolicyAttachment ¶ added in v1.6.0
type IPolicyAttachment interface { alicloudroscdkcore.IResource // Attribute AttachDate: Authorization time. AttrAttachDate() interface{} // Attribute Description: Policy description. AttrDescription() interface{} // Attribute PolicyName: The name of the policy. AttrPolicyName() interface{} // Attribute PolicyType: The type of the policy. AttrPolicyType() interface{} // Attribute PrincipalName: The name of the object to which you want to attach the policy. AttrPrincipalName() interface{} // Attribute PrincipalType: The type of the object to which you want to attach the policy. // // Valid values: IMSUser: RAM user, IMSGroup: RAM user group, ServiceRole: RAM role. AttrPrincipalType() interface{} // Attribute ResourceGroupId: The ID of the resource group or the ID of the Alibaba Cloud account to which the resource group belongs. AttrResourceGroupId() interface{} Props() *PolicyAttachmentProps }
Represents a `PolicyAttachment`.
type IResourceDirectory ¶ added in v1.6.0
type IResourceDirectory interface { alicloudroscdkcore.IResource // Attribute MasterAccountId: The ID of the master account. AttrMasterAccountId() interface{} // Attribute MasterAccountName: The name of the master account. AttrMasterAccountName() interface{} // Attribute ResourceDirectoryId: The ID of the resource directory. AttrResourceDirectoryId() interface{} // Attribute RootFolderId: The ID of the root folder. AttrRootFolderId() interface{} Props() *ResourceDirectoryProps }
Represents a `ResourceDirectory`.
type IResourceGroup ¶ added in v1.6.0
type IResourceGroup interface { alicloudroscdkcore.IResource // Attribute AccountId: The ID of the Alibaba Cloud account to which the resource group belongs. AttrAccountId() interface{} // Attribute DisplayName: The display name of the resource group. AttrDisplayName() interface{} // Attribute Id: The ID of the resource group. AttrId() interface{} // Attribute Name: The unique identifier of the resource group. AttrName() interface{} // Attribute RegionStatuses: The status of the resource group in all regions. AttrRegionStatuses() interface{} Props() *ResourceGroupProps }
Represents a `ResourceGroup`.
type IResourceShare ¶ added in v1.6.0
type IResourceShare interface { alicloudroscdkcore.IResource // Attribute ResourceShareId: The ID of the resource share. }
Represents a `ResourceShare`.
type IResourceShareAssociation ¶ added in v1.6.0
type IResourceShareAssociation interface { alicloudroscdkcore.IResource // Attribute ResourceShareId: The ID of the resource share. }
Represents a `ResourceShareAssociation`.
type PolicyAttachment ¶
type PolicyAttachment interface { alicloudroscdkcore.Resource IPolicyAttachment // Attribute AttachDate: Authorization time. AttrAttachDate() interface{} // Attribute Description: Policy description. AttrDescription() interface{} // Attribute PolicyName: The name of the policy. AttrPolicyName() interface{} // Attribute PolicyType: The type of the policy. AttrPolicyType() interface{} // Attribute PrincipalName: The name of the object to which you want to attach the policy. AttrPrincipalName() interface{} // Attribute PrincipalType: The type of the object to which you want to attach the policy. // // Valid values: IMSUser: RAM user, IMSGroup: RAM user group, ServiceRole: RAM role. AttrPrincipalType() interface{} // Attribute ResourceGroupId: The ID of the resource group or the ID of the Alibaba Cloud account to which the resource group belongs. AttrResourceGroupId() interface{} EnableResourcePropertyConstraint() *bool SetEnableResourcePropertyConstraint(val *bool) // The environment this resource belongs to. // // For resources that are created and managed by the CDK // (generally, those created by creating new class instances like Role, Bucket, etc.), // this is always the same as the environment of the stack they belong to; // however, for imported resources // (those obtained from static methods like fromRoleArn, fromBucketName, etc.), // that might be different than the stack they were imported into. Env() *alicloudroscdkcore.ResourceEnvironment Id() *string SetId(val *string) // The construct tree node associated with this construct. Node() alicloudroscdkcore.ConstructNode // Returns a string-encoded token that resolves to the physical name that should be passed to the ROS resource. // // This value will resolve to one of the following: // - a concrete value (e.g. `"my-awesome-bucket"`) // - `undefined`, when a name should be generated by ROS // - a concrete name generated automatically during synthesis, in // cross-environment scenarios. // Experimental. PhysicalName() *string Props() *PolicyAttachmentProps Ref() *string Resource() alicloudroscdkcore.RosResource SetResource(val alicloudroscdkcore.RosResource) Scope() alicloudroscdkcore.Construct SetScope(val alicloudroscdkcore.Construct) // The stack in which this resource is defined. Stack() alicloudroscdkcore.Stack AddCondition(condition alicloudroscdkcore.RosCondition) AddCount(count interface{}) AddDependency(resource alicloudroscdkcore.Resource) AddResourceDesc(desc *string) ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy) FetchCondition() alicloudroscdkcore.RosCondition FetchDependency() *[]*string FetchResourceDesc() *string GeneratePhysicalName() *string GetAtt(name *string) alicloudroscdkcore.IResolvable // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() SetMetadata(key *string, value interface{}) // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string }
This class encapsulates and extends the ROS resource type `ALIYUN::ResourceManager::PolicyAttachment`, which is used to attach a policy to an object.
After you attach a policy to an object, the object has the permissions to manage the resources in the current resource group or within the current Alibaba Cloud account.
func NewPolicyAttachment ¶
func NewPolicyAttachment(scope alicloudroscdkcore.Construct, id *string, props *PolicyAttachmentProps, enableResourcePropertyConstraint *bool) PolicyAttachment
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
type PolicyAttachmentProps ¶
type PolicyAttachmentProps struct { // Property policyName: The name of the policy. PolicyName interface{} `field:"required" json:"policyName" yaml:"policyName"` // Property policyType: The type of the policy. PolicyType interface{} `field:"required" json:"policyType" yaml:"policyType"` // Property principalName: The name of the object to which you want to attach the policy. PrincipalName interface{} `field:"required" json:"principalName" yaml:"principalName"` // Property principalType: The type of the object to which you want to attach the policy. // // Valid values: IMSUser: RAM user, IMSGroup: RAM user group, ServiceRole: RAM role. PrincipalType interface{} `field:"required" json:"principalType" yaml:"principalType"` // Property resourceGroupId: The ID of the resource group or the ID of the Alibaba Cloud account to which the resource group belongs. ResourceGroupId interface{} `field:"optional" json:"resourceGroupId" yaml:"resourceGroupId"` }
Properties for defining a `PolicyAttachment`.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-resourcemanager-policyattachment
type ResourceDirectory ¶
type ResourceDirectory interface { alicloudroscdkcore.Resource IResourceDirectory // Attribute MasterAccountId: The ID of the master account. AttrMasterAccountId() interface{} // Attribute MasterAccountName: The name of the master account. AttrMasterAccountName() interface{} // Attribute ResourceDirectoryId: The ID of the resource directory. AttrResourceDirectoryId() interface{} // Attribute RootFolderId: The ID of the root folder. AttrRootFolderId() interface{} EnableResourcePropertyConstraint() *bool SetEnableResourcePropertyConstraint(val *bool) // The environment this resource belongs to. // // For resources that are created and managed by the CDK // (generally, those created by creating new class instances like Role, Bucket, etc.), // this is always the same as the environment of the stack they belong to; // however, for imported resources // (those obtained from static methods like fromRoleArn, fromBucketName, etc.), // that might be different than the stack they were imported into. Env() *alicloudroscdkcore.ResourceEnvironment Id() *string SetId(val *string) // The construct tree node associated with this construct. Node() alicloudroscdkcore.ConstructNode // Returns a string-encoded token that resolves to the physical name that should be passed to the ROS resource. // // This value will resolve to one of the following: // - a concrete value (e.g. `"my-awesome-bucket"`) // - `undefined`, when a name should be generated by ROS // - a concrete name generated automatically during synthesis, in // cross-environment scenarios. // Experimental. PhysicalName() *string Props() *ResourceDirectoryProps Ref() *string Resource() alicloudroscdkcore.RosResource SetResource(val alicloudroscdkcore.RosResource) Scope() alicloudroscdkcore.Construct SetScope(val alicloudroscdkcore.Construct) // The stack in which this resource is defined. Stack() alicloudroscdkcore.Stack AddCondition(condition alicloudroscdkcore.RosCondition) AddCount(count interface{}) AddDependency(resource alicloudroscdkcore.Resource) AddResourceDesc(desc *string) ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy) FetchCondition() alicloudroscdkcore.RosCondition FetchDependency() *[]*string FetchResourceDesc() *string GeneratePhysicalName() *string GetAtt(name *string) alicloudroscdkcore.IResolvable // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() SetMetadata(key *string, value interface{}) // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string }
This class encapsulates and extends the ROS resource type `ALIYUN::ResourceManager::ResourceDirectory`.
func NewResourceDirectory ¶
func NewResourceDirectory(scope alicloudroscdkcore.Construct, id *string, props *ResourceDirectoryProps, enableResourcePropertyConstraint *bool) ResourceDirectory
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
type ResourceDirectoryProps ¶
type ResourceDirectoryProps struct { }
Properties for defining a `ResourceDirectory`.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-resourcemanager-resourcedirectory
type ResourceGroup ¶
type ResourceGroup interface { alicloudroscdkcore.Resource IResourceGroup // Attribute AccountId: The ID of the Alibaba Cloud account to which the resource group belongs. AttrAccountId() interface{} // Attribute DisplayName: The display name of the resource group. AttrDisplayName() interface{} // Attribute Id: The ID of the resource group. AttrId() interface{} // Attribute Name: The unique identifier of the resource group. AttrName() interface{} // Attribute RegionStatuses: The status of the resource group in all regions. AttrRegionStatuses() interface{} EnableResourcePropertyConstraint() *bool SetEnableResourcePropertyConstraint(val *bool) // The environment this resource belongs to. // // For resources that are created and managed by the CDK // (generally, those created by creating new class instances like Role, Bucket, etc.), // this is always the same as the environment of the stack they belong to; // however, for imported resources // (those obtained from static methods like fromRoleArn, fromBucketName, etc.), // that might be different than the stack they were imported into. Env() *alicloudroscdkcore.ResourceEnvironment Id() *string SetId(val *string) // The construct tree node associated with this construct. Node() alicloudroscdkcore.ConstructNode // Returns a string-encoded token that resolves to the physical name that should be passed to the ROS resource. // // This value will resolve to one of the following: // - a concrete value (e.g. `"my-awesome-bucket"`) // - `undefined`, when a name should be generated by ROS // - a concrete name generated automatically during synthesis, in // cross-environment scenarios. // Experimental. PhysicalName() *string Props() *ResourceGroupProps Ref() *string Resource() alicloudroscdkcore.RosResource SetResource(val alicloudroscdkcore.RosResource) Scope() alicloudroscdkcore.Construct SetScope(val alicloudroscdkcore.Construct) // The stack in which this resource is defined. Stack() alicloudroscdkcore.Stack AddCondition(condition alicloudroscdkcore.RosCondition) AddCount(count interface{}) AddDependency(resource alicloudroscdkcore.Resource) AddResourceDesc(desc *string) ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy) FetchCondition() alicloudroscdkcore.RosCondition FetchDependency() *[]*string FetchResourceDesc() *string GeneratePhysicalName() *string GetAtt(name *string) alicloudroscdkcore.IResolvable // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() SetMetadata(key *string, value interface{}) // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string }
This class encapsulates and extends the ROS resource type `ALIYUN::ResourceManager::ResourceGroup`, which is used to create a resource group.
func NewResourceGroup ¶
func NewResourceGroup(scope alicloudroscdkcore.Construct, id *string, props *ResourceGroupProps, enableResourcePropertyConstraint *bool) ResourceGroup
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
type ResourceGroupProps ¶
type ResourceGroupProps struct { // Property displayName: The display name of the resource group. DisplayName interface{} `field:"required" json:"displayName" yaml:"displayName"` // Property name: The unique identifier of the resource group. Name interface{} `field:"required" json:"name" yaml:"name"` }
Properties for defining a `ResourceGroup`.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-resourcemanager-resourcegroup
type ResourceShare ¶
type ResourceShare interface { alicloudroscdkcore.Resource IResourceShare // Attribute ResourceShareId: The ID of the resource share. // The environment this resource belongs to. // // For resources that are created and managed by the CDK // (generally, those created by creating new class instances like Role, Bucket, etc.), // this is always the same as the environment of the stack they belong to; // however, for imported resources // (those obtained from static methods like fromRoleArn, fromBucketName, etc.), // that might be different than the stack they were imported into. Node() alicloudroscdkcore.ConstructNode // Returns a string-encoded token that resolves to the physical name that should be passed to the ROS resource. // // This value will resolve to one of the following: // - a concrete value (e.g. `"my-awesome-bucket"`) // - `undefined`, when a name should be generated by ROS // - a concrete name generated automatically during synthesis, in // cross-environment scenarios. // Experimental. // The stack in which this resource is defined. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. OnSynthesize(session constructs.ISynthesisSession) // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. Synthesize(session alicloudroscdkcore.ISynthesisSession) ToString() *string // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string }
This class encapsulates and extends the ROS resource type `ALIYUN::ResourceManager::ResourceShare`, which is used to create a resource share.
func NewResourceShare ¶
func NewResourceShare(scope alicloudroscdkcore.Construct, id *string, props *ResourceShareProps, enableResourcePropertyConstraint *bool) ResourceShare
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
type ResourceShareAssociation ¶
type ResourceShareAssociation interface { alicloudroscdkcore.Resource IResourceShareAssociation // Attribute ResourceShareId: The ID of the resource share. // The environment this resource belongs to. // // For resources that are created and managed by the CDK // (generally, those created by creating new class instances like Role, Bucket, etc.), // this is always the same as the environment of the stack they belong to; // however, for imported resources // (those obtained from static methods like fromRoleArn, fromBucketName, etc.), // that might be different than the stack they were imported into. Node() alicloudroscdkcore.ConstructNode // Returns a string-encoded token that resolves to the physical name that should be passed to the ROS resource. // // This value will resolve to one of the following: // - a concrete value (e.g. `"my-awesome-bucket"`) // - `undefined`, when a name should be generated by ROS // - a concrete name generated automatically during synthesis, in // cross-environment scenarios. // Experimental. // The stack in which this resource is defined. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. OnSynthesize(session constructs.ISynthesisSession) // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. Synthesize(session alicloudroscdkcore.ISynthesisSession) ToString() *string // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string }
This class encapsulates and extends the ROS resource type `ALIYUN::ResourceManager::ResourceShareAssociation`, which is used to associate a shared resource or a resource user.
func NewResourceShareAssociation ¶
func NewResourceShareAssociation(scope alicloudroscdkcore.Construct, id *string, props *ResourceShareAssociationProps, enableResourcePropertyConstraint *bool) ResourceShareAssociation
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
type ResourceShareAssociationProps ¶
type ResourceShareAssociationProps struct { // // When empty, the system automatically binds the default permissions associated with the resource type. PermissionNames interface{} `field:"optional" json:"permissionNames" yaml:"permissionNames"` Resources interface{} `field:"optional" json:"resources" yaml:"resources"` // // A shared target shares the resources of resource owners. You can share your resources // only with the member accounts in your resource directory. A shared target is indicated // by its account ID. For more information about how to obtain the ID, see View the basic information of a member account. Targets interface{} `field:"optional" json:"targets" yaml:"targets"` }ResourceShareId interface{} `field:"required" json:"resourceShareId" yaml:"resourceShareId"`
Properties for defining a `ResourceShareAssociation`.
type ResourceShareProps ¶
type ResourceShareProps struct { // // The name must be 1 to 50 characters in length. // It can contain letters, digits, periods (.), underscores (_), and hyphens (-). ResourceShareName interface{} `field:"required" json:"resourceShareName" yaml:"resourceShareName"` // // Value: // false (default): Only allow sharing within the resource directory. // true: Allow sharing to any account. AllowExternalTargets interface{} `field:"optional" json:"allowExternalTargets" yaml:"allowExternalTargets"` // // When empty, the system automatically binds the default permissions associated with the resource type. PermissionNames interface{} `field:"optional" json:"permissionNames" yaml:"permissionNames"` Resources interface{} `field:"optional" json:"resources" yaml:"resources"` // // A shared target shares the resources of resource owners. You can share your resources // only with the member accounts in your resource directory. A shared target is indicated // by its account ID. For more information about how to obtain the ID, see View the basic information of a member account. Targets interface{} `field:"optional" json:"targets" yaml:"targets"` }
Properties for defining a `ResourceShare`.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-resourcemanager-resourceshare
type RosAccount ¶
type RosAccount interface { alicloudroscdkcore.RosResource AttrAccountId() alicloudroscdkcore.IResolvable AttrDisplayName() alicloudroscdkcore.IResolvable AttrFolderId() alicloudroscdkcore.IResolvable AttrJoinMethod() alicloudroscdkcore.IResolvable AttrResourceDirectoryId() alicloudroscdkcore.IResolvable AttrType() alicloudroscdkcore.IResolvable // Returns: the stack trace of the point where this Resource was created from, sourced // from the +metadata+ entry typed +aliyun:ros:logicalId+, and with the bottom-most // node +internal+ entries filtered. CreationStack() *[]*string DeleteAccount() interface{} SetDeleteAccount(val interface{}) DisplayName() interface{} SetDisplayName(val interface{}) EnableResourcePropertyConstraint() *bool SetEnableResourcePropertyConstraint(val *bool) FolderId() interface{} SetFolderId(val interface{}) // The logical ID for this stack element. // // The logical ID of the element // is calculated from the path of the resource node in the construct tree. // // To override this value, use `overrideLogicalId(newLogicalId)`. // // Returns: the logical ID as a stringified token. This value will only get // resolved during synthesis. LogicalId() *string // The construct tree node associated with this construct. Node() alicloudroscdkcore.ConstructNode PayerAccountId() interface{} SetPayerAccountId(val interface{}) // Return a string that will be resolved to a RosTemplate `{ Ref }` for this element. // // If, by any chance, the intrinsic reference of a resource is not a string, you could // coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`. Ref() *string // Options for this resource, such as condition, update policy etc. RosOptions() alicloudroscdkcore.IRosResourceOptions RosProperties() *map[string]interface{} // ROS resource type. RosResourceType() *string // The stack in which this element is defined. // // RosElements must be defined within a stack scope (directly or indirectly). Stack() alicloudroscdkcore.Stack // Return properties modified after initiation. // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperites() *map[string]interface{} AddCondition(con alicloudroscdkcore.RosCondition) AddCount(count interface{}) // Syntactic sugar for `addOverride(path, undefined)`. AddDeletionOverride(path *string) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // // This can be used for resources across stacks (or nested stack) boundaries // and the dependency will automatically be transferred to the relevant scope. AddDependsOn(target alicloudroscdkcore.RosResource) AddDesc(desc *string) AddMetaData(key *string, value interface{}) // Adds an override to the synthesized ROS resource. // // To add a // property override, either use `addPropertyOverride` or prefix `path` with // "Properties." (i.e. `Properties.TopicName`). // // If the override is nested, separate each nested level using a dot (.) in the path parameter. // If there is an array as part of the nesting, specify the index in the path. // // For example, // “`typescript // addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']) // addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE') // “` // would add the overrides // “`json // "Properties": { // "GlobalSecondaryIndexes": [ // { // "Projection": { // "NonKeyAttributes": [ "myattribute" ] // ... // } // ... // }, // { // "ProjectionType": "INCLUDE" // ... // }, // ] // ... // } // “`. AddOverride(path *string, value interface{}) // Adds an override that deletes the value of a property from the resource definition. AddPropertyDeletionOverride(propertyPath *string) // Adds an override to a resource property. // // Syntactic sugar for `addOverride("Properties.<...>", value)`. AddPropertyOverride(propertyPath *string, value interface{}) AddRosDependency(target *string) // Sets the deletion policy of the resource based on the removal policy specified. ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy, options *alicloudroscdkcore.RemovalPolicyOptions) FetchCondition() alicloudroscdkcore.RosCondition FetchDesc() *string FetchRosDependency() *[]*string // Returns a token for an runtime attribute of this resource. // // Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility // in case there is no generated attribute. GetAtt(attributeName *string) alicloudroscdkcore.Reference // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Overrides the auto-generated logical ID with a specific ID. OverrideLogicalId(newLogicalId *string) // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() RenderProperties(props *map[string]interface{}) *map[string]interface{} // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. // // Returns: a string representation of this resource. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string ValidateProperties(_properties interface{}) }
This class is a base encapsulation around the ROS resource type `ALIYUN::ResourceManager::Account`, which is used to create a member of the resource account type.
func NewRosAccount ¶
func NewRosAccount(scope alicloudroscdkcore.Construct, id *string, props *RosAccountProps, enableResourcePropertyConstraint *bool) RosAccount
type RosAccountProps ¶
type RosAccountProps struct { DisplayName interface{} `field:"required" json:"displayName" yaml:"displayName"` DeleteAccount interface{} `field:"optional" json:"deleteAccount" yaml:"deleteAccount"` FolderId interface{} `field:"optional" json:"folderId" yaml:"folderId"` PayerAccountId interface{} `field:"optional" json:"payerAccountId" yaml:"payerAccountId"` }
Properties for defining a `RosAccount`.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-resourcemanager-account
type RosControlPolicy ¶
type RosControlPolicy interface { alicloudroscdkcore.RosResource AttrAttachmentCount() alicloudroscdkcore.IResolvable AttrControlPolicyName() alicloudroscdkcore.IResolvable AttrDescription() alicloudroscdkcore.IResolvable AttrEffectScope() alicloudroscdkcore.IResolvable AttrPolicyDocument() alicloudroscdkcore.IResolvable AttrPolicyId() alicloudroscdkcore.IResolvable AttrPolicyType() alicloudroscdkcore.IResolvable ControlPolicyName() interface{} SetControlPolicyName(val interface{}) // Returns: the stack trace of the point where this Resource was created from, sourced // from the +metadata+ entry typed +aliyun:ros:logicalId+, and with the bottom-most // node +internal+ entries filtered. CreationStack() *[]*string Description() interface{} SetDescription(val interface{}) EffectScope() interface{} SetEffectScope(val interface{}) EnableResourcePropertyConstraint() *bool SetEnableResourcePropertyConstraint(val *bool) // The logical ID for this stack element. // // The logical ID of the element // is calculated from the path of the resource node in the construct tree. // // To override this value, use `overrideLogicalId(newLogicalId)`. // // Returns: the logical ID as a stringified token. This value will only get // resolved during synthesis. LogicalId() *string // The construct tree node associated with this construct. Node() alicloudroscdkcore.ConstructNode PolicyDocument() interface{} SetPolicyDocument(val interface{}) // Return a string that will be resolved to a RosTemplate `{ Ref }` for this element. // // If, by any chance, the intrinsic reference of a resource is not a string, you could // coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`. Ref() *string // Options for this resource, such as condition, update policy etc. RosOptions() alicloudroscdkcore.IRosResourceOptions RosProperties() *map[string]interface{} // ROS resource type. RosResourceType() *string // The stack in which this element is defined. // // RosElements must be defined within a stack scope (directly or indirectly). Stack() alicloudroscdkcore.Stack // Return properties modified after initiation. // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperites() *map[string]interface{} AddCondition(con alicloudroscdkcore.RosCondition) AddCount(count interface{}) // Syntactic sugar for `addOverride(path, undefined)`. AddDeletionOverride(path *string) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // // This can be used for resources across stacks (or nested stack) boundaries // and the dependency will automatically be transferred to the relevant scope. AddDependsOn(target alicloudroscdkcore.RosResource) AddDesc(desc *string) AddMetaData(key *string, value interface{}) // Adds an override to the synthesized ROS resource. // // To add a // property override, either use `addPropertyOverride` or prefix `path` with // "Properties." (i.e. `Properties.TopicName`). // // If the override is nested, separate each nested level using a dot (.) in the path parameter. // If there is an array as part of the nesting, specify the index in the path. // // For example, // “`typescript // addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']) // addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE') // “` // would add the overrides // “`json // "Properties": { // "GlobalSecondaryIndexes": [ // { // "Projection": { // "NonKeyAttributes": [ "myattribute" ] // ... // } // ... // }, // { // "ProjectionType": "INCLUDE" // ... // }, // ] // ... // } // “`. AddOverride(path *string, value interface{}) // Adds an override that deletes the value of a property from the resource definition. AddPropertyDeletionOverride(propertyPath *string) // Adds an override to a resource property. // // Syntactic sugar for `addOverride("Properties.<...>", value)`. AddPropertyOverride(propertyPath *string, value interface{}) AddRosDependency(target *string) // Sets the deletion policy of the resource based on the removal policy specified. ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy, options *alicloudroscdkcore.RemovalPolicyOptions) FetchCondition() alicloudroscdkcore.RosCondition FetchDesc() *string FetchRosDependency() *[]*string // Returns a token for an runtime attribute of this resource. // // Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility // in case there is no generated attribute. GetAtt(attributeName *string) alicloudroscdkcore.Reference // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Overrides the auto-generated logical ID with a specific ID. OverrideLogicalId(newLogicalId *string) // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() RenderProperties(props *map[string]interface{}) *map[string]interface{} // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. // // Returns: a string representation of this resource. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string ValidateProperties(_properties interface{}) }
This class is a base encapsulation around the ROS resource type `ALIYUN::ResourceManager::ControlPolicy`, which is used to create a custom control policy.
func NewRosControlPolicy ¶
func NewRosControlPolicy(scope alicloudroscdkcore.Construct, id *string, props *RosControlPolicyProps, enableResourcePropertyConstraint *bool) RosControlPolicy
type RosControlPolicyAttachment ¶
type RosControlPolicyAttachment interface { alicloudroscdkcore.RosResource AttrAttachDate() alicloudroscdkcore.IResolvable AttrDescription() alicloudroscdkcore.IResolvable AttrPolicyId() alicloudroscdkcore.IResolvable AttrPolicyName() alicloudroscdkcore.IResolvable AttrPolicyType() alicloudroscdkcore.IResolvable AttrTargetId() alicloudroscdkcore.IResolvable // Returns: the stack trace of the point where this Resource was created from, sourced // from the +metadata+ entry typed +aliyun:ros:logicalId+, and with the bottom-most // node +internal+ entries filtered. CreationStack() *[]*string EnableResourcePropertyConstraint() *bool SetEnableResourcePropertyConstraint(val *bool) // The logical ID for this stack element. // // The logical ID of the element // is calculated from the path of the resource node in the construct tree. // // To override this value, use `overrideLogicalId(newLogicalId)`. // // Returns: the logical ID as a stringified token. This value will only get // resolved during synthesis. LogicalId() *string // The construct tree node associated with this construct. Node() alicloudroscdkcore.ConstructNode PolicyId() interface{} SetPolicyId(val interface{}) // Return a string that will be resolved to a RosTemplate `{ Ref }` for this element. // // If, by any chance, the intrinsic reference of a resource is not a string, you could // coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`. Ref() *string // Options for this resource, such as condition, update policy etc. RosOptions() alicloudroscdkcore.IRosResourceOptions RosProperties() *map[string]interface{} // ROS resource type. RosResourceType() *string // The stack in which this element is defined. // // RosElements must be defined within a stack scope (directly or indirectly). Stack() alicloudroscdkcore.Stack TargetId() interface{} SetTargetId(val interface{}) // Return properties modified after initiation. // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperites() *map[string]interface{} AddCondition(con alicloudroscdkcore.RosCondition) AddCount(count interface{}) // Syntactic sugar for `addOverride(path, undefined)`. AddDeletionOverride(path *string) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // // This can be used for resources across stacks (or nested stack) boundaries // and the dependency will automatically be transferred to the relevant scope. AddDependsOn(target alicloudroscdkcore.RosResource) AddDesc(desc *string) AddMetaData(key *string, value interface{}) // Adds an override to the synthesized ROS resource. // // To add a // property override, either use `addPropertyOverride` or prefix `path` with // "Properties." (i.e. `Properties.TopicName`). // // If the override is nested, separate each nested level using a dot (.) in the path parameter. // If there is an array as part of the nesting, specify the index in the path. // // For example, // “`typescript // addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']) // addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE') // “` // would add the overrides // “`json // "Properties": { // "GlobalSecondaryIndexes": [ // { // "Projection": { // "NonKeyAttributes": [ "myattribute" ] // ... // } // ... // }, // { // "ProjectionType": "INCLUDE" // ... // }, // ] // ... // } // “`. AddOverride(path *string, value interface{}) // Adds an override that deletes the value of a property from the resource definition. AddPropertyDeletionOverride(propertyPath *string) // Adds an override to a resource property. // // Syntactic sugar for `addOverride("Properties.<...>", value)`. AddPropertyOverride(propertyPath *string, value interface{}) AddRosDependency(target *string) // Sets the deletion policy of the resource based on the removal policy specified. ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy, options *alicloudroscdkcore.RemovalPolicyOptions) FetchCondition() alicloudroscdkcore.RosCondition FetchDesc() *string FetchRosDependency() *[]*string // Returns a token for an runtime attribute of this resource. // // Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility // in case there is no generated attribute. GetAtt(attributeName *string) alicloudroscdkcore.Reference // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Overrides the auto-generated logical ID with a specific ID. OverrideLogicalId(newLogicalId *string) // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() RenderProperties(props *map[string]interface{}) *map[string]interface{} // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. // // Returns: a string representation of this resource. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string ValidateProperties(_properties interface{}) }
This class is a base encapsulation around the ROS resource type `ALIYUN::ResourceManager::ControlPolicyAttachment`, which is used to attach a custom control policy.
func NewRosControlPolicyAttachment ¶
func NewRosControlPolicyAttachment(scope alicloudroscdkcore.Construct, id *string, props *RosControlPolicyAttachmentProps, enableResourcePropertyConstraint *bool) RosControlPolicyAttachment
type RosControlPolicyAttachmentProps ¶
type RosControlPolicyAttachmentProps struct { PolicyId interface{} `field:"required" json:"policyId" yaml:"policyId"` TargetId interface{} `field:"required" json:"targetId" yaml:"targetId"` }
Properties for defining a `RosControlPolicyAttachment`.
type RosControlPolicyProps ¶
type RosControlPolicyProps struct { ControlPolicyName interface{} `field:"required" json:"controlPolicyName" yaml:"controlPolicyName"` EffectScope interface{} `field:"required" json:"effectScope" yaml:"effectScope"` PolicyDocument interface{} `field:"required" json:"policyDocument" yaml:"policyDocument"` Description interface{} `field:"optional" json:"description" yaml:"description"` }
Properties for defining a `RosControlPolicy`.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-resourcemanager-controlpolicy
type RosFolder ¶
type RosFolder interface { alicloudroscdkcore.RosResource AttrFolderId() alicloudroscdkcore.IResolvable AttrFolderName() alicloudroscdkcore.IResolvable AttrParentFolderId() alicloudroscdkcore.IResolvable // Returns: the stack trace of the point where this Resource was created from, sourced // from the +metadata+ entry typed +aliyun:ros:logicalId+, and with the bottom-most // node +internal+ entries filtered. CreationStack() *[]*string EnableResourcePropertyConstraint() *bool SetEnableResourcePropertyConstraint(val *bool) FolderName() interface{} SetFolderName(val interface{}) // The logical ID for this stack element. // // The logical ID of the element // is calculated from the path of the resource node in the construct tree. // // To override this value, use `overrideLogicalId(newLogicalId)`. // // Returns: the logical ID as a stringified token. This value will only get // resolved during synthesis. LogicalId() *string // The construct tree node associated with this construct. Node() alicloudroscdkcore.ConstructNode ParentFolderId() interface{} SetParentFolderId(val interface{}) // Return a string that will be resolved to a RosTemplate `{ Ref }` for this element. // // If, by any chance, the intrinsic reference of a resource is not a string, you could // coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`. Ref() *string // Options for this resource, such as condition, update policy etc. RosOptions() alicloudroscdkcore.IRosResourceOptions RosProperties() *map[string]interface{} // ROS resource type. RosResourceType() *string // The stack in which this element is defined. // // RosElements must be defined within a stack scope (directly or indirectly). Stack() alicloudroscdkcore.Stack // Return properties modified after initiation. // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperites() *map[string]interface{} AddCondition(con alicloudroscdkcore.RosCondition) AddCount(count interface{}) // Syntactic sugar for `addOverride(path, undefined)`. AddDeletionOverride(path *string) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // // This can be used for resources across stacks (or nested stack) boundaries // and the dependency will automatically be transferred to the relevant scope. AddDependsOn(target alicloudroscdkcore.RosResource) AddDesc(desc *string) AddMetaData(key *string, value interface{}) // Adds an override to the synthesized ROS resource. // // To add a // property override, either use `addPropertyOverride` or prefix `path` with // "Properties." (i.e. `Properties.TopicName`). // // If the override is nested, separate each nested level using a dot (.) in the path parameter. // If there is an array as part of the nesting, specify the index in the path. // // For example, // “`typescript // addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']) // addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE') // “` // would add the overrides // “`json // "Properties": { // "GlobalSecondaryIndexes": [ // { // "Projection": { // "NonKeyAttributes": [ "myattribute" ] // ... // } // ... // }, // { // "ProjectionType": "INCLUDE" // ... // }, // ] // ... // } // “`. AddOverride(path *string, value interface{}) // Adds an override that deletes the value of a property from the resource definition. AddPropertyDeletionOverride(propertyPath *string) // Adds an override to a resource property. // // Syntactic sugar for `addOverride("Properties.<...>", value)`. AddPropertyOverride(propertyPath *string, value interface{}) AddRosDependency(target *string) // Sets the deletion policy of the resource based on the removal policy specified. ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy, options *alicloudroscdkcore.RemovalPolicyOptions) FetchCondition() alicloudroscdkcore.RosCondition FetchDesc() *string FetchRosDependency() *[]*string // Returns a token for an runtime attribute of this resource. // // Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility // in case there is no generated attribute. GetAtt(attributeName *string) alicloudroscdkcore.Reference // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Overrides the auto-generated logical ID with a specific ID. OverrideLogicalId(newLogicalId *string) // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() RenderProperties(props *map[string]interface{}) *map[string]interface{} // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. // // Returns: a string representation of this resource. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string ValidateProperties(_properties interface{}) }
This class is a base encapsulation around the ROS resource type `ALIYUN::ResourceManager::Folder`, which is used to create a folder.
func NewRosFolder ¶
func NewRosFolder(scope alicloudroscdkcore.Construct, id *string, props *RosFolderProps, enableResourcePropertyConstraint *bool) RosFolder
type RosFolderProps ¶
type RosFolderProps struct { FolderName interface{} `field:"required" json:"folderName" yaml:"folderName"` ParentFolderId interface{} `field:"optional" json:"parentFolderId" yaml:"parentFolderId"` }
Properties for defining a `RosFolder`.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-resourcemanager-folder
type RosHandshake ¶
type RosHandshake interface { alicloudroscdkcore.RosResource AttrHandshakeId() alicloudroscdkcore.IResolvable AttrMasterAccountId() alicloudroscdkcore.IResolvable AttrMasterAccountName() alicloudroscdkcore.IResolvable AttrNote() alicloudroscdkcore.IResolvable AttrResourceDirectoryId() alicloudroscdkcore.IResolvable AttrTargetEntity() alicloudroscdkcore.IResolvable AttrTargetType() alicloudroscdkcore.IResolvable // Returns: the stack trace of the point where this Resource was created from, sourced // from the +metadata+ entry typed +aliyun:ros:logicalId+, and with the bottom-most // node +internal+ entries filtered. CreationStack() *[]*string EnableResourcePropertyConstraint() *bool SetEnableResourcePropertyConstraint(val *bool) // The logical ID for this stack element. // // The logical ID of the element // is calculated from the path of the resource node in the construct tree. // // To override this value, use `overrideLogicalId(newLogicalId)`. // // Returns: the logical ID as a stringified token. This value will only get // resolved during synthesis. LogicalId() *string // The construct tree node associated with this construct. Node() alicloudroscdkcore.ConstructNode Note() interface{} SetNote(val interface{}) // Return a string that will be resolved to a RosTemplate `{ Ref }` for this element. // // If, by any chance, the intrinsic reference of a resource is not a string, you could // coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`. Ref() *string // Options for this resource, such as condition, update policy etc. RosOptions() alicloudroscdkcore.IRosResourceOptions RosProperties() *map[string]interface{} // ROS resource type. RosResourceType() *string // The stack in which this element is defined. // // RosElements must be defined within a stack scope (directly or indirectly). Stack() alicloudroscdkcore.Stack TargetEntity() interface{} SetTargetEntity(val interface{}) TargetType() interface{} SetTargetType(val interface{}) // Return properties modified after initiation. // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperites() *map[string]interface{} AddCondition(con alicloudroscdkcore.RosCondition) AddCount(count interface{}) // Syntactic sugar for `addOverride(path, undefined)`. AddDeletionOverride(path *string) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // // This can be used for resources across stacks (or nested stack) boundaries // and the dependency will automatically be transferred to the relevant scope. AddDependsOn(target alicloudroscdkcore.RosResource) AddDesc(desc *string) AddMetaData(key *string, value interface{}) // Adds an override to the synthesized ROS resource. // // To add a // property override, either use `addPropertyOverride` or prefix `path` with // "Properties." (i.e. `Properties.TopicName`). // // If the override is nested, separate each nested level using a dot (.) in the path parameter. // If there is an array as part of the nesting, specify the index in the path. // // For example, // “`typescript // addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']) // addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE') // “` // would add the overrides // “`json // "Properties": { // "GlobalSecondaryIndexes": [ // { // "Projection": { // "NonKeyAttributes": [ "myattribute" ] // ... // } // ... // }, // { // "ProjectionType": "INCLUDE" // ... // }, // ] // ... // } // “`. AddOverride(path *string, value interface{}) // Adds an override that deletes the value of a property from the resource definition. AddPropertyDeletionOverride(propertyPath *string) // Adds an override to a resource property. // // Syntactic sugar for `addOverride("Properties.<...>", value)`. AddPropertyOverride(propertyPath *string, value interface{}) AddRosDependency(target *string) // Sets the deletion policy of the resource based on the removal policy specified. ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy, options *alicloudroscdkcore.RemovalPolicyOptions) FetchCondition() alicloudroscdkcore.RosCondition FetchDesc() *string FetchRosDependency() *[]*string // Returns a token for an runtime attribute of this resource. // // Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility // in case there is no generated attribute. GetAtt(attributeName *string) alicloudroscdkcore.Reference // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Overrides the auto-generated logical ID with a specific ID. OverrideLogicalId(newLogicalId *string) // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() RenderProperties(props *map[string]interface{}) *map[string]interface{} // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. // // Returns: a string representation of this resource. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string ValidateProperties(_properties interface{}) }
This class is a base encapsulation around the ROS resource type `ALIYUN::ResourceManager::Handshake`, which is used to create an invitation.
func NewRosHandshake ¶
func NewRosHandshake(scope alicloudroscdkcore.Construct, id *string, props *RosHandshakeProps, enableResourcePropertyConstraint *bool) RosHandshake
type RosHandshakeProps ¶
type RosHandshakeProps struct { TargetEntity interface{} `field:"required" json:"targetEntity" yaml:"targetEntity"` TargetType interface{} `field:"required" json:"targetType" yaml:"targetType"` Note interface{} `field:"optional" json:"note" yaml:"note"` }
Properties for defining a `RosHandshake`.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-resourcemanager-handshake
type RosPolicyAttachment ¶
type RosPolicyAttachment interface { alicloudroscdkcore.RosResource AttrAttachDate() alicloudroscdkcore.IResolvable AttrDescription() alicloudroscdkcore.IResolvable AttrPolicyName() alicloudroscdkcore.IResolvable AttrPolicyType() alicloudroscdkcore.IResolvable AttrPrincipalName() alicloudroscdkcore.IResolvable AttrPrincipalType() alicloudroscdkcore.IResolvable AttrResourceGroupId() alicloudroscdkcore.IResolvable // Returns: the stack trace of the point where this Resource was created from, sourced // from the +metadata+ entry typed +aliyun:ros:logicalId+, and with the bottom-most // node +internal+ entries filtered. CreationStack() *[]*string EnableResourcePropertyConstraint() *bool SetEnableResourcePropertyConstraint(val *bool) // The logical ID for this stack element. // // The logical ID of the element // is calculated from the path of the resource node in the construct tree. // // To override this value, use `overrideLogicalId(newLogicalId)`. // // Returns: the logical ID as a stringified token. This value will only get // resolved during synthesis. LogicalId() *string // The construct tree node associated with this construct. Node() alicloudroscdkcore.ConstructNode PolicyName() interface{} SetPolicyName(val interface{}) PolicyType() interface{} SetPolicyType(val interface{}) PrincipalName() interface{} SetPrincipalName(val interface{}) PrincipalType() interface{} SetPrincipalType(val interface{}) // Return a string that will be resolved to a RosTemplate `{ Ref }` for this element. // // If, by any chance, the intrinsic reference of a resource is not a string, you could // coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`. Ref() *string ResourceGroupId() interface{} SetResourceGroupId(val interface{}) // Options for this resource, such as condition, update policy etc. RosOptions() alicloudroscdkcore.IRosResourceOptions RosProperties() *map[string]interface{} // ROS resource type. RosResourceType() *string // The stack in which this element is defined. // // RosElements must be defined within a stack scope (directly or indirectly). Stack() alicloudroscdkcore.Stack // Return properties modified after initiation. // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperites() *map[string]interface{} AddCondition(con alicloudroscdkcore.RosCondition) AddCount(count interface{}) // Syntactic sugar for `addOverride(path, undefined)`. AddDeletionOverride(path *string) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // // This can be used for resources across stacks (or nested stack) boundaries // and the dependency will automatically be transferred to the relevant scope. AddDependsOn(target alicloudroscdkcore.RosResource) AddDesc(desc *string) AddMetaData(key *string, value interface{}) // Adds an override to the synthesized ROS resource. // // To add a // property override, either use `addPropertyOverride` or prefix `path` with // "Properties." (i.e. `Properties.TopicName`). // // If the override is nested, separate each nested level using a dot (.) in the path parameter. // If there is an array as part of the nesting, specify the index in the path. // // For example, // “`typescript // addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']) // addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE') // “` // would add the overrides // “`json // "Properties": { // "GlobalSecondaryIndexes": [ // { // "Projection": { // "NonKeyAttributes": [ "myattribute" ] // ... // } // ... // }, // { // "ProjectionType": "INCLUDE" // ... // }, // ] // ... // } // “`. AddOverride(path *string, value interface{}) // Adds an override that deletes the value of a property from the resource definition. AddPropertyDeletionOverride(propertyPath *string) // Adds an override to a resource property. // // Syntactic sugar for `addOverride("Properties.<...>", value)`. AddPropertyOverride(propertyPath *string, value interface{}) AddRosDependency(target *string) // Sets the deletion policy of the resource based on the removal policy specified. ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy, options *alicloudroscdkcore.RemovalPolicyOptions) FetchCondition() alicloudroscdkcore.RosCondition FetchDesc() *string FetchRosDependency() *[]*string // Returns a token for an runtime attribute of this resource. // // Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility // in case there is no generated attribute. GetAtt(attributeName *string) alicloudroscdkcore.Reference // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Overrides the auto-generated logical ID with a specific ID. OverrideLogicalId(newLogicalId *string) // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() RenderProperties(props *map[string]interface{}) *map[string]interface{} // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. // // Returns: a string representation of this resource. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string ValidateProperties(_properties interface{}) }
This class is a base encapsulation around the ROS resource type `ALIYUN::ResourceManager::PolicyAttachment`, which is used to attach a policy to an object.
After you attach a policy to an object, the object has the permissions to manage the resources in the current resource group or within the current Alibaba Cloud account.
func NewRosPolicyAttachment ¶
func NewRosPolicyAttachment(scope alicloudroscdkcore.Construct, id *string, props *RosPolicyAttachmentProps, enableResourcePropertyConstraint *bool) RosPolicyAttachment
type RosPolicyAttachmentProps ¶
type RosPolicyAttachmentProps struct { PolicyName interface{} `field:"required" json:"policyName" yaml:"policyName"` PolicyType interface{} `field:"required" json:"policyType" yaml:"policyType"` PrincipalName interface{} `field:"required" json:"principalName" yaml:"principalName"` PrincipalType interface{} `field:"required" json:"principalType" yaml:"principalType"` ResourceGroupId interface{} `field:"optional" json:"resourceGroupId" yaml:"resourceGroupId"` }
Properties for defining a `RosPolicyAttachment`.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-resourcemanager-policyattachment
type RosResourceDirectory ¶
type RosResourceDirectory interface { alicloudroscdkcore.RosResource AttrMasterAccountId() alicloudroscdkcore.IResolvable AttrMasterAccountName() alicloudroscdkcore.IResolvable AttrResourceDirectoryId() alicloudroscdkcore.IResolvable AttrRootFolderId() alicloudroscdkcore.IResolvable // Returns: the stack trace of the point where this Resource was created from, sourced // from the +metadata+ entry typed +aliyun:ros:logicalId+, and with the bottom-most // node +internal+ entries filtered. CreationStack() *[]*string EnableResourcePropertyConstraint() *bool SetEnableResourcePropertyConstraint(val *bool) // The logical ID for this stack element. // // The logical ID of the element // is calculated from the path of the resource node in the construct tree. // // To override this value, use `overrideLogicalId(newLogicalId)`. // // Returns: the logical ID as a stringified token. This value will only get // resolved during synthesis. LogicalId() *string // The construct tree node associated with this construct. Node() alicloudroscdkcore.ConstructNode // Return a string that will be resolved to a RosTemplate `{ Ref }` for this element. // // If, by any chance, the intrinsic reference of a resource is not a string, you could // coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`. Ref() *string // Options for this resource, such as condition, update policy etc. RosOptions() alicloudroscdkcore.IRosResourceOptions RosProperties() *map[string]interface{} // ROS resource type. RosResourceType() *string // The stack in which this element is defined. // // RosElements must be defined within a stack scope (directly or indirectly). Stack() alicloudroscdkcore.Stack // Return properties modified after initiation. // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperites() *map[string]interface{} AddCondition(con alicloudroscdkcore.RosCondition) AddCount(count interface{}) // Syntactic sugar for `addOverride(path, undefined)`. AddDeletionOverride(path *string) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // // This can be used for resources across stacks (or nested stack) boundaries // and the dependency will automatically be transferred to the relevant scope. AddDependsOn(target alicloudroscdkcore.RosResource) AddDesc(desc *string) AddMetaData(key *string, value interface{}) // Adds an override to the synthesized ROS resource. // // To add a // property override, either use `addPropertyOverride` or prefix `path` with // "Properties." (i.e. `Properties.TopicName`). // // If the override is nested, separate each nested level using a dot (.) in the path parameter. // If there is an array as part of the nesting, specify the index in the path. // // For example, // “`typescript // addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']) // addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE') // “` // would add the overrides // “`json // "Properties": { // "GlobalSecondaryIndexes": [ // { // "Projection": { // "NonKeyAttributes": [ "myattribute" ] // ... // } // ... // }, // { // "ProjectionType": "INCLUDE" // ... // }, // ] // ... // } // “`. AddOverride(path *string, value interface{}) // Adds an override that deletes the value of a property from the resource definition. AddPropertyDeletionOverride(propertyPath *string) // Adds an override to a resource property. // // Syntactic sugar for `addOverride("Properties.<...>", value)`. AddPropertyOverride(propertyPath *string, value interface{}) AddRosDependency(target *string) // Sets the deletion policy of the resource based on the removal policy specified. ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy, options *alicloudroscdkcore.RemovalPolicyOptions) FetchCondition() alicloudroscdkcore.RosCondition FetchDesc() *string FetchRosDependency() *[]*string // Returns a token for an runtime attribute of this resource. // // Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility // in case there is no generated attribute. GetAtt(attributeName *string) alicloudroscdkcore.Reference // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Overrides the auto-generated logical ID with a specific ID. OverrideLogicalId(newLogicalId *string) // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() RenderProperties(props *map[string]interface{}) *map[string]interface{} // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. // // Returns: a string representation of this resource. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string ValidateProperties(_properties interface{}) }
This class is a base encapsulation around the ROS resource type `ALIYUN::ResourceManager::ResourceDirectory`.
func NewRosResourceDirectory ¶
func NewRosResourceDirectory(scope alicloudroscdkcore.Construct, id *string, props *RosResourceDirectoryProps, enableResourcePropertyConstraint *bool) RosResourceDirectory
type RosResourceDirectoryProps ¶
type RosResourceDirectoryProps struct { }
Properties for defining a `RosResourceDirectory`.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-resourcemanager-resourcedirectory
type RosResourceGroup ¶
type RosResourceGroup interface { alicloudroscdkcore.RosResource AttrAccountId() alicloudroscdkcore.IResolvable AttrDisplayName() alicloudroscdkcore.IResolvable AttrId() alicloudroscdkcore.IResolvable AttrName() alicloudroscdkcore.IResolvable AttrRegionStatuses() alicloudroscdkcore.IResolvable // Returns: the stack trace of the point where this Resource was created from, sourced // from the +metadata+ entry typed +aliyun:ros:logicalId+, and with the bottom-most // node +internal+ entries filtered. CreationStack() *[]*string DisplayName() interface{} SetDisplayName(val interface{}) EnableResourcePropertyConstraint() *bool SetEnableResourcePropertyConstraint(val *bool) // The logical ID for this stack element. // // The logical ID of the element // is calculated from the path of the resource node in the construct tree. // // To override this value, use `overrideLogicalId(newLogicalId)`. // // Returns: the logical ID as a stringified token. This value will only get // resolved during synthesis. LogicalId() *string Name() interface{} SetName(val interface{}) // The construct tree node associated with this construct. Node() alicloudroscdkcore.ConstructNode // Return a string that will be resolved to a RosTemplate `{ Ref }` for this element. // // If, by any chance, the intrinsic reference of a resource is not a string, you could // coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`. Ref() *string // Options for this resource, such as condition, update policy etc. RosOptions() alicloudroscdkcore.IRosResourceOptions RosProperties() *map[string]interface{} // ROS resource type. RosResourceType() *string // The stack in which this element is defined. // // RosElements must be defined within a stack scope (directly or indirectly). Stack() alicloudroscdkcore.Stack // Return properties modified after initiation. // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperites() *map[string]interface{} AddCondition(con alicloudroscdkcore.RosCondition) AddCount(count interface{}) // Syntactic sugar for `addOverride(path, undefined)`. AddDeletionOverride(path *string) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // // This can be used for resources across stacks (or nested stack) boundaries // and the dependency will automatically be transferred to the relevant scope. AddDependsOn(target alicloudroscdkcore.RosResource) AddDesc(desc *string) AddMetaData(key *string, value interface{}) // Adds an override to the synthesized ROS resource. // // To add a // property override, either use `addPropertyOverride` or prefix `path` with // "Properties." (i.e. `Properties.TopicName`). // // If the override is nested, separate each nested level using a dot (.) in the path parameter. // If there is an array as part of the nesting, specify the index in the path. // // For example, // “`typescript // addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']) // addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE') // “` // would add the overrides // “`json // "Properties": { // "GlobalSecondaryIndexes": [ // { // "Projection": { // "NonKeyAttributes": [ "myattribute" ] // ... // } // ... // }, // { // "ProjectionType": "INCLUDE" // ... // }, // ] // ... // } // “`. AddOverride(path *string, value interface{}) // Adds an override that deletes the value of a property from the resource definition. AddPropertyDeletionOverride(propertyPath *string) // Adds an override to a resource property. // // Syntactic sugar for `addOverride("Properties.<...>", value)`. AddPropertyOverride(propertyPath *string, value interface{}) AddRosDependency(target *string) // Sets the deletion policy of the resource based on the removal policy specified. ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy, options *alicloudroscdkcore.RemovalPolicyOptions) FetchCondition() alicloudroscdkcore.RosCondition FetchDesc() *string FetchRosDependency() *[]*string // Returns a token for an runtime attribute of this resource. // // Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility // in case there is no generated attribute. GetAtt(attributeName *string) alicloudroscdkcore.Reference // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Overrides the auto-generated logical ID with a specific ID. OverrideLogicalId(newLogicalId *string) // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() RenderProperties(props *map[string]interface{}) *map[string]interface{} // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. // // Returns: a string representation of this resource. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string ValidateProperties(_properties interface{}) }
This class is a base encapsulation around the ROS resource type `ALIYUN::ResourceManager::ResourceGroup`, which is used to create a resource group.
func NewRosResourceGroup ¶
func NewRosResourceGroup(scope alicloudroscdkcore.Construct, id *string, props *RosResourceGroupProps, enableResourcePropertyConstraint *bool) RosResourceGroup
type RosResourceGroupProps ¶
type RosResourceGroupProps struct { DisplayName interface{} `field:"required" json:"displayName" yaml:"displayName"` Name interface{} `field:"required" json:"name" yaml:"name"` }
Properties for defining a `RosResourceGroup`.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-resourcemanager-resourcegroup
type RosResourceShare ¶
type RosResourceShare interface { alicloudroscdkcore.RosResource // Returns: the stack trace of the point where this Resource was created from, sourced // from the +metadata+ entry typed +aliyun:ros:logicalId+, and with the bottom-most // node +internal+ entries filtered. // // The logical ID of the element // is calculated from the path of the resource node in the construct tree. // // To override this value, use `overrideLogicalId(newLogicalId)`. // // Returns: the logical ID as a stringified token. This value will only get // resolved during synthesis. LogicalId() *string // The construct tree node associated with this construct. // Return a string that will be resolved to a RosTemplate `{ Ref }` for this element. // // If, by any chance, the intrinsic reference of a resource is not a string, you could // coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`. // Options for this resource, such as condition, update policy etc. RosResourceType() *string // The stack in which this element is defined. // // RosElements must be defined within a stack scope (directly or indirectly). // Return properties modified after initiation. // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. AddDeletionOverride(path *string) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // // This can be used for resources across stacks (or nested stack) boundaries // and the dependency will automatically be transferred to the relevant scope. // // To add a // property override, either use `addPropertyOverride` or prefix `path` with // "Properties." (i.e. `Properties.TopicName`). // // If the override is nested, separate each nested level using a dot (.) in the path parameter. // If there is an array as part of the nesting, specify the index in the path. // // For example, // “`typescript // addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']) // addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE') // “` // would add the overrides // “`json // "Properties": { // "GlobalSecondaryIndexes": [ // { // "Projection": { // "NonKeyAttributes": [ "myattribute" ] // ... // } // ... // }, // { // "ProjectionType": "INCLUDE" // ... // }, // ] // ... // } // “`. AddOverride(path *string, value interface{}) AddPropertyDeletionOverride(propertyPath *string) // Adds an override to a resource property. // // Syntactic sugar for `addOverride("Properties.<...>", value)`. // Sets the deletion policy of the resource based on the removal policy specified. // // Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility // in case there is no generated attribute. GetAtt(attributeName *string) alicloudroscdkcore.Reference // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. OnSynthesize(session constructs.ISynthesisSession) // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string OverrideLogicalId(newLogicalId *string) // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. Synthesize(session alicloudroscdkcore.ISynthesisSession) // // Returns: a string representation of this resource. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. }
This class is a base encapsulation around the ROS resource type `ALIYUN::ResourceManager::ResourceShare`, which is used to create a resource share.
func NewRosResourceShare ¶
func NewRosResourceShare(scope alicloudroscdkcore.Construct, id *string, props *RosResourceShareProps, enableResourcePropertyConstraint *bool) RosResourceShare
type RosResourceShareAssociation ¶
type RosResourceShareAssociation interface { alicloudroscdkcore.RosResource // Returns: the stack trace of the point where this Resource was created from, sourced // from the +metadata+ entry typed +aliyun:ros:logicalId+, and with the bottom-most // node +internal+ entries filtered. // // The logical ID of the element // is calculated from the path of the resource node in the construct tree. // // To override this value, use `overrideLogicalId(newLogicalId)`. // // Returns: the logical ID as a stringified token. This value will only get // resolved during synthesis. LogicalId() *string // The construct tree node associated with this construct. // Return a string that will be resolved to a RosTemplate `{ Ref }` for this element. // // If, by any chance, the intrinsic reference of a resource is not a string, you could // coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`. // Options for this resource, such as condition, update policy etc. RosResourceType() *string // The stack in which this element is defined. // // RosElements must be defined within a stack scope (directly or indirectly). // Return properties modified after initiation. // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. AddDeletionOverride(path *string) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // // This can be used for resources across stacks (or nested stack) boundaries // and the dependency will automatically be transferred to the relevant scope. // // To add a // property override, either use `addPropertyOverride` or prefix `path` with // "Properties." (i.e. `Properties.TopicName`). // // If the override is nested, separate each nested level using a dot (.) in the path parameter. // If there is an array as part of the nesting, specify the index in the path. // // For example, // “`typescript // addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']) // addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE') // “` // would add the overrides // “`json // "Properties": { // "GlobalSecondaryIndexes": [ // { // "Projection": { // "NonKeyAttributes": [ "myattribute" ] // ... // } // ... // }, // { // "ProjectionType": "INCLUDE" // ... // }, // ] // ... // } // “`. AddOverride(path *string, value interface{}) AddPropertyDeletionOverride(propertyPath *string) // Adds an override to a resource property. // // Syntactic sugar for `addOverride("Properties.<...>", value)`. // Sets the deletion policy of the resource based on the removal policy specified. // // Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility // in case there is no generated attribute. GetAtt(attributeName *string) alicloudroscdkcore.Reference // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. OnSynthesize(session constructs.ISynthesisSession) // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string OverrideLogicalId(newLogicalId *string) // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. Synthesize(session alicloudroscdkcore.ISynthesisSession) // // Returns: a string representation of this resource. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. }
This class is a base encapsulation around the ROS resource type `ALIYUN::ResourceManager::ResourceShareAssociation`, which is used to associate a shared resource or a resource user.
func NewRosResourceShareAssociation ¶
func NewRosResourceShareAssociation(scope alicloudroscdkcore.Construct, id *string, props *RosResourceShareAssociationProps, enableResourcePropertyConstraint *bool) RosResourceShareAssociation
type RosResourceShareAssociationProps ¶
type RosResourceShareAssociationProps struct {}
Properties for defining a `RosResourceShareAssociation`.
type RosResourceShareAssociation_ResourcesProperty ¶
type RosResourceShareAssociation_ResourcesProperty struct {}
type RosResourceShareProps ¶
type RosResourceShareProps struct {}
Properties for defining a `RosResourceShare`.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-resourcemanager-resourceshare
type RosResourceShare_ResourcesProperty ¶
type RosResourceShare_ResourcesProperty struct {}
Source Files ¶
- Account.go
- AccountProps.go
- Account__checks.go
- ControlPolicy.go
- ControlPolicyAttachment.go
- ControlPolicyAttachmentProps.go
- ControlPolicyAttachment__checks.go
- ControlPolicyProps.go
- ControlPolicy__checks.go
- Folder.go
- FolderProps.go
- Folder__checks.go
- Handshake.go
- HandshakeProps.go
- Handshake__checks.go
- IAccount.go
- IControlPolicy.go
- IControlPolicyAttachment.go
- IFolder.go
- IHandshake.go
- IPolicyAttachment.go
- IResourceDirectory.go
- IResourceGroup.go
- IResourceShare.go
- IResourceShareAssociation.go
- PolicyAttachment.go
- PolicyAttachmentProps.go
- PolicyAttachment__checks.go
- ResourceDirectory.go
- ResourceDirectoryProps.go
- ResourceDirectory__checks.go
- ResourceGroup.go
- ResourceGroupProps.go
- ResourceGroup__checks.go
- ResourceShare.go
- ResourceShareAssociation.go
- ResourceShareAssociationProps.go
- ResourceShareAssociation__checks.go
- ResourceShareProps.go
- ResourceShare__checks.go
- RosAccount.go
- RosAccountProps.go
- RosAccount__checks.go
- RosControlPolicy.go
- RosControlPolicyAttachment.go
- RosControlPolicyAttachmentProps.go
- RosControlPolicyAttachment__checks.go
- RosControlPolicyProps.go
- RosControlPolicy__checks.go
- RosFolder.go
- RosFolderProps.go
- RosFolder__checks.go
- RosHandshake.go
- RosHandshakeProps.go
- RosHandshake__checks.go
- RosPolicyAttachment.go
- RosPolicyAttachmentProps.go
- RosPolicyAttachment__checks.go
- RosResourceDirectory.go
- RosResourceDirectoryProps.go
- RosResourceDirectory__checks.go
- RosResourceGroup.go
- RosResourceGroupProps.go
- RosResourceGroup__checks.go
- RosResourceShare.go
- RosResourceShareAssociation.go
- RosResourceShareAssociationProps.go
- RosResourceShareAssociation_ResourcesProperty.go
- RosResourceShareAssociation__checks.go
- RosResourceShareProps.go
- RosResourceShare_ResourcesProperty.go
- RosResourceShare__checks.go
- main.go
Directories ¶
Path | Synopsis |
---|---|
Package jsii contains the functionaility needed for jsii packages to initialize their dependencies and themselves.
|
Package jsii contains the functionaility needed for jsii packages to initialize their dependencies and themselves. |