Documentation ¶
Index ¶
- func NewResourceGroup_Override(r ResourceGroup, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewResourceGroups_Override(r ResourceGroups, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewRosResourceGroup_Override(r RosResourceGroup, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewRosResourceGroups_Override(r RosResourceGroups, scope alicloudroscdkcore.Construct, id *string, ...)
- func ResourceGroup_IsConstruct(x interface{}) *bool
- func ResourceGroups_IsConstruct(x interface{}) *bool
- 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 RosResourceGroups_IsConstruct(x interface{}) *bool
- func RosResourceGroups_IsRosElement(x interface{}) *bool
- func RosResourceGroups_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
- func RosResourceGroups_ROS_RESOURCE_TYPE_NAME() *string
- type IResourceGroup
- type IResourceGroups
- type ResourceGroup
- type ResourceGroupProps
- type ResourceGroups
- type ResourceGroupsProps
- type RosResourceGroup
- type RosResourceGroupProps
- type RosResourceGroups
- type RosResourceGroupsProps
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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 NewResourceGroups_Override ¶
func NewResourceGroups_Override(r ResourceGroups, scope alicloudroscdkcore.Construct, id *string, props *ResourceGroupsProps, enableResourcePropertyConstraint *bool)
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
func NewRosResourceGroup_Override ¶
func NewRosResourceGroup_Override(r RosResourceGroup, scope alicloudroscdkcore.Construct, id *string, props *RosResourceGroupProps, enableResourcePropertyConstraint *bool)
func NewRosResourceGroups_Override ¶
func NewRosResourceGroups_Override(r RosResourceGroups, scope alicloudroscdkcore.Construct, id *string, props *RosResourceGroupsProps, enableResourcePropertyConstraint *bool)
func ResourceGroup_IsConstruct ¶
func ResourceGroup_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func ResourceGroups_IsConstruct ¶
func ResourceGroups_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
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 RosResourceGroups_IsConstruct ¶
func RosResourceGroups_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func RosResourceGroups_IsRosElement ¶
func RosResourceGroups_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 RosResourceGroups_IsRosResource ¶
func RosResourceGroups_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
Check whether the given construct is a RosResource.
func RosResourceGroups_ROS_RESOURCE_TYPE_NAME ¶
func RosResourceGroups_ROS_RESOURCE_TYPE_NAME() *string
Types ¶
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 CreateDate: The time when the resource group was created. AttrCreateDate() interface{} // Attribute DisplayName: The display name of the resource group. AttrDisplayName() interface{} // Attribute Name: The name of the resource group. AttrName() interface{} // Attribute RegionStatuses: The status of the resource group in each region. AttrRegionStatuses() interface{} // Attribute ResourceGroupId: The ID of the resource group. AttrResourceGroupId() interface{} // Attribute Status: The status of the resource group. AttrStatus() interface{} // Attribute Tags: The tags of the resource group. AttrTags() interface{} Props() *ResourceGroupProps }
Represents a `ResourceGroup`.
type IResourceGroups ¶ added in v1.6.0
type IResourceGroups interface { alicloudroscdkcore.IResource // Attribute ResourceGroupIds: The IDs of the resource groups. AttrResourceGroupIds() interface{} // Attribute ResourceGroups: The list of the resource groups. AttrResourceGroups() interface{} Props() *ResourceGroupsProps }
Represents a `ResourceGroups`.
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 CreateDate: The time when the resource group was created. AttrCreateDate() interface{} // Attribute DisplayName: The display name of the resource group. AttrDisplayName() interface{} // Attribute Name: The name of the resource group. AttrName() interface{} // Attribute RegionStatuses: The status of the resource group in each region. AttrRegionStatuses() interface{} // Attribute ResourceGroupId: The ID of the resource group. AttrResourceGroupId() interface{} // Attribute Status: The status of the resource group. AttrStatus() interface{} // Attribute Tags: The tags of the resource group. AttrTags() 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 `DATASOURCE::ResourceManager::ResourceGroup`.
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 includeTags: Whether to include the tags of the resource group in the query results. IncludeTags interface{} `field:"optional" json:"includeTags" yaml:"includeTags"` // Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated. // // Valid values: // - Never: Never refresh the datasource resource when the stack is updated. // - Always: Always refresh the datasource resource when the stack is updated. // Default is Never. RefreshOptions interface{} `field:"optional" json:"refreshOptions" yaml:"refreshOptions"` // Property resourceGroupId: The ID of the resource group. ResourceGroupId interface{} `field:"optional" json:"resourceGroupId" yaml:"resourceGroupId"` }
Properties for defining a `ResourceGroup`.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-resourcemanager-resourcegroup
type ResourceGroups ¶
type ResourceGroups interface { alicloudroscdkcore.Resource IResourceGroups // Attribute ResourceGroupIds: The IDs of the resource groups. AttrResourceGroupIds() interface{} // Attribute ResourceGroups: The list of the resource groups. AttrResourceGroups() 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() *ResourceGroupsProps 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 `DATASOURCE::ResourceManager::ResourceGroups`.
func NewResourceGroups ¶
func NewResourceGroups(scope alicloudroscdkcore.Construct, id *string, props *ResourceGroupsProps, enableResourcePropertyConstraint *bool) ResourceGroups
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
type ResourceGroupsProps ¶
type ResourceGroupsProps struct { // Property displayName: The display name of the resource group. // // This parameter specifies a filter condition for the query. Fuzzy match is supported.The display name can be a maximum of 50 characters in length. DisplayName interface{} `field:"optional" json:"displayName" yaml:"displayName"` // Property includeTags: Whether to include the tags of the resource groups in the query results. IncludeTags interface{} `field:"optional" json:"includeTags" yaml:"includeTags"` // Property name: The identifier of the resource group. // // This parameter specifies a filter condition for the query. Fuzzy match is supported. The identifier can be a maximum of 50 characters in length and can contain letters, digits, and hyphens (-). Name interface{} `field:"optional" json:"name" yaml:"name"` // Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated. // // Valid values: // - Never: Never refresh the datasource resource when the stack is updated. // - Always: Always refresh the datasource resource when the stack is updated. // Default is Never. RefreshOptions interface{} `field:"optional" json:"refreshOptions" yaml:"refreshOptions"` // Property resourceGroupIds: The IDs of the resource groups. // // This parameter specifies a filter condition for the query.You can specify a maximum of 100 resource group IDs. ResourceGroupIds interface{} `field:"optional" json:"resourceGroupIds" yaml:"resourceGroupIds"` }
Properties for defining a `ResourceGroups`.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-resourcemanager-resourcegroups
type RosResourceGroup ¶
type RosResourceGroup interface { alicloudroscdkcore.RosResource AttrAccountId() alicloudroscdkcore.IResolvable AttrCreateDate() alicloudroscdkcore.IResolvable AttrDisplayName() alicloudroscdkcore.IResolvable AttrName() alicloudroscdkcore.IResolvable AttrRegionStatuses() alicloudroscdkcore.IResolvable AttrResourceGroupId() alicloudroscdkcore.IResolvable AttrStatus() alicloudroscdkcore.IResolvable AttrTags() 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) IncludeTags() interface{} SetIncludeTags(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 // 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 RefreshOptions() interface{} SetRefreshOptions(val interface{}) 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 `DATASOURCE::ResourceManager::ResourceGroup`.
func NewRosResourceGroup ¶
func NewRosResourceGroup(scope alicloudroscdkcore.Construct, id *string, props *RosResourceGroupProps, enableResourcePropertyConstraint *bool) RosResourceGroup
type RosResourceGroupProps ¶
type RosResourceGroupProps struct { IncludeTags interface{} `field:"optional" json:"includeTags" yaml:"includeTags"` RefreshOptions interface{} `field:"optional" json:"refreshOptions" yaml:"refreshOptions"` ResourceGroupId interface{} `field:"optional" json:"resourceGroupId" yaml:"resourceGroupId"` }
Properties for defining a `RosResourceGroup`.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-resourcemanager-resourcegroup
type RosResourceGroups ¶
type RosResourceGroups interface { alicloudroscdkcore.RosResource AttrResourceGroupIds() alicloudroscdkcore.IResolvable AttrResourceGroups() 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) IncludeTags() interface{} SetIncludeTags(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 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 RefreshOptions() interface{} SetRefreshOptions(val interface{}) ResourceGroupIds() interface{} SetResourceGroupIds(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 `DATASOURCE::ResourceManager::ResourceGroups`.
func NewRosResourceGroups ¶
func NewRosResourceGroups(scope alicloudroscdkcore.Construct, id *string, props *RosResourceGroupsProps, enableResourcePropertyConstraint *bool) RosResourceGroups
type RosResourceGroupsProps ¶
type RosResourceGroupsProps struct { DisplayName interface{} `field:"optional" json:"displayName" yaml:"displayName"` IncludeTags interface{} `field:"optional" json:"includeTags" yaml:"includeTags"` Name interface{} `field:"optional" json:"name" yaml:"name"` RefreshOptions interface{} `field:"optional" json:"refreshOptions" yaml:"refreshOptions"` ResourceGroupIds interface{} `field:"optional" json:"resourceGroupIds" yaml:"resourceGroupIds"` }
Properties for defining a `RosResourceGroups`.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-resourcemanager-resourcegroups
Source Files ¶
- IResourceGroup.go
- IResourceGroups.go
- ResourceGroup.go
- ResourceGroupProps.go
- ResourceGroup__checks.go
- ResourceGroups.go
- ResourceGroupsProps.go
- ResourceGroups__checks.go
- RosResourceGroup.go
- RosResourceGroupProps.go
- RosResourceGroup__checks.go
- RosResourceGroups.go
- RosResourceGroupsProps.go
- RosResourceGroups__checks.go
- main.go