Documentation ¶
Overview ¶
Aliyun SDK Copyright (C) Alibaba Cloud Computing All rights reserved. http://www.aliyun.com
Index ¶
- func NewResourcePackage_Override(r ResourcePackage, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewRosResourcePackage_Override(r RosResourcePackage, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewRosWaitOrder_Override(r RosWaitOrder, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewWaitOrder_Override(w WaitOrder, scope alicloudroscdkcore.Construct, id *string, ...)
- func ResourcePackage_IsConstruct(x interface{}) *bool
- func RosResourcePackage_IsConstruct(x interface{}) *bool
- func RosResourcePackage_IsRosElement(x interface{}) *bool
- func RosResourcePackage_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
- func RosResourcePackage_ROS_RESOURCE_TYPE_NAME() *string
- func RosWaitOrder_IsConstruct(x interface{}) *bool
- func RosWaitOrder_IsRosElement(x interface{}) *bool
- func RosWaitOrder_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
- func RosWaitOrder_ROS_RESOURCE_TYPE_NAME() *string
- func WaitOrder_IsConstruct(x interface{}) *bool
- type ResourcePackage
- type ResourcePackageProps
- type RosResourcePackage
- type RosResourcePackageProps
- type RosWaitOrder
- type RosWaitOrderProps
- type WaitOrder
- type WaitOrderProps
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewResourcePackage_Override ¶
func NewResourcePackage_Override(r ResourcePackage, scope alicloudroscdkcore.Construct, id *string, props *ResourcePackageProps, enableResourcePropertyConstraint *bool)
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
func NewRosResourcePackage_Override ¶
func NewRosResourcePackage_Override(r RosResourcePackage, scope alicloudroscdkcore.Construct, id *string, props *RosResourcePackageProps, enableResourcePropertyConstraint *bool)
func NewRosWaitOrder_Override ¶
func NewRosWaitOrder_Override(r RosWaitOrder, scope alicloudroscdkcore.Construct, id *string, props *RosWaitOrderProps, enableResourcePropertyConstraint *bool)
func NewWaitOrder_Override ¶
func NewWaitOrder_Override(w WaitOrder, scope alicloudroscdkcore.Construct, id *string, props *WaitOrderProps, enableResourcePropertyConstraint *bool)
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
func ResourcePackage_IsConstruct ¶
func ResourcePackage_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func RosResourcePackage_IsConstruct ¶
func RosResourcePackage_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func RosResourcePackage_IsRosElement ¶
func RosResourcePackage_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 RosResourcePackage_IsRosResource ¶
func RosResourcePackage_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
Check whether the given construct is a RosResource.
func RosResourcePackage_ROS_RESOURCE_TYPE_NAME ¶
func RosResourcePackage_ROS_RESOURCE_TYPE_NAME() *string
func RosWaitOrder_IsConstruct ¶
func RosWaitOrder_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func RosWaitOrder_IsRosElement ¶
func RosWaitOrder_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 RosWaitOrder_IsRosResource ¶
func RosWaitOrder_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
Check whether the given construct is a RosResource.
func RosWaitOrder_ROS_RESOURCE_TYPE_NAME ¶
func RosWaitOrder_ROS_RESOURCE_TYPE_NAME() *string
func WaitOrder_IsConstruct ¶
func WaitOrder_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
Types ¶
type ResourcePackage ¶
type ResourcePackage interface { alicloudroscdkcore.Resource // Attribute InstanceId: The ID of the specified instance. AttrInstanceId() alicloudroscdkcore.IResolvable // Attribute OrderId: The ID of the specified order. AttrOrderId() alicloudroscdkcore.IResolvable EnableResourcePropertyConstraint() *bool SetEnableResourcePropertyConstraint(val *bool) 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() *ResourcePackageProps SetProps(val *ResourcePackageProps) 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) 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::BSS::ResourcePackage`, which is used to create a resource plan.
func NewResourcePackage ¶
func NewResourcePackage(scope alicloudroscdkcore.Construct, id *string, props *ResourcePackageProps, enableResourcePropertyConstraint *bool) ResourcePackage
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
type ResourcePackageProps ¶
type ResourcePackageProps struct { // Property duration: The validity of the specified resource package. // // The value is the same as the Value of AvailableDuration returned by DescribeResourcePackageProduct. Duration interface{} `field:"required" json:"duration" yaml:"duration"` // Property packageType: The type of the specified resource package. // // The value is the same as the value of the Code value of the ResourcePackage object returned by DescribeResourcePackageProduct. PackageType interface{} `field:"required" json:"packageType" yaml:"packageType"` // Property productCode: The code of the specified product. // // The value is the same as the value of ProductType returned by QueryProductList. ProductCode interface{} `field:"required" json:"productCode" yaml:"productCode"` // Property specification: The size of the specified resource package. // // The value is the same as the Value of Specification returned by DescribeResourcePackageProduct. Specification interface{} `field:"required" json:"specification" yaml:"specification"` // Property effectiveDate: The effective date of the specified resource package. // // The resource package will take effect immediately if the effective date is unspecified. The date format follows the ISO8601 standard and uses UTC time. Format: yyyy-MM-ddTHH:mm:ssZ EffectiveDate interface{} `field:"optional" json:"effectiveDate" yaml:"effectiveDate"` // Property pricingCycle: The validity of the specified resource package. // // Default value: Month. Valid values: Month, Year PricingCycle interface{} `field:"optional" json:"pricingCycle" yaml:"pricingCycle"` }
Properties for defining a `ResourcePackage`.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-bss-resourcepackage
type RosResourcePackage ¶
type RosResourcePackage interface { alicloudroscdkcore.RosResource AttrInstanceId() alicloudroscdkcore.IResolvable AttrOrderId() 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 Duration() interface{} SetDuration(val interface{}) EffectiveDate() interface{} SetEffectiveDate(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 PackageType() interface{} SetPackageType(val interface{}) PricingCycle() interface{} SetPricingCycle(val interface{}) ProductCode() interface{} SetProductCode(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 Specification() interface{} SetSpecification(val interface{}) // 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) // 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::BSS::ResourcePackage`, which is used to create a resource plan.
func NewRosResourcePackage ¶
func NewRosResourcePackage(scope alicloudroscdkcore.Construct, id *string, props *RosResourcePackageProps, enableResourcePropertyConstraint *bool) RosResourcePackage
type RosResourcePackageProps ¶
type RosResourcePackageProps struct { Duration interface{} `field:"required" json:"duration" yaml:"duration"` PackageType interface{} `field:"required" json:"packageType" yaml:"packageType"` ProductCode interface{} `field:"required" json:"productCode" yaml:"productCode"` Specification interface{} `field:"required" json:"specification" yaml:"specification"` EffectiveDate interface{} `field:"optional" json:"effectiveDate" yaml:"effectiveDate"` PricingCycle interface{} `field:"optional" json:"pricingCycle" yaml:"pricingCycle"` }
Properties for defining a `RosResourcePackage`.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-bss-resourcepackage
type RosWaitOrder ¶
type RosWaitOrder interface { alicloudroscdkcore.RosResource CancelOnDelete() interface{} SetCancelOnDelete(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 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 OrderIds() interface{} SetOrderIds(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{} WaitForOrderProduced() interface{} SetWaitForOrderProduced(val 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) // 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::BSS::WaitOrder`, which is used to wait for orders to be completed.
func NewRosWaitOrder ¶
func NewRosWaitOrder(scope alicloudroscdkcore.Construct, id *string, props *RosWaitOrderProps, enableResourcePropertyConstraint *bool) RosWaitOrder
type RosWaitOrderProps ¶
type RosWaitOrderProps struct { OrderIds interface{} `field:"required" json:"orderIds" yaml:"orderIds"` CancelOnDelete interface{} `field:"optional" json:"cancelOnDelete" yaml:"cancelOnDelete"` WaitForOrderProduced interface{} `field:"optional" json:"waitForOrderProduced" yaml:"waitForOrderProduced"` }
Properties for defining a `RosWaitOrder`.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-bss-waitorder
type WaitOrder ¶
type WaitOrder interface { alicloudroscdkcore.Resource EnableResourcePropertyConstraint() *bool SetEnableResourcePropertyConstraint(val *bool) 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() *WaitOrderProps SetProps(val *WaitOrderProps) 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) 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::BSS::WaitOrder`, which is used to wait for orders to be completed.
func NewWaitOrder ¶
func NewWaitOrder(scope alicloudroscdkcore.Construct, id *string, props *WaitOrderProps, enableResourcePropertyConstraint *bool) WaitOrder
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
type WaitOrderProps ¶
type WaitOrderProps struct { // Property orderIds: A list of order ids. OrderIds interface{} `field:"required" json:"orderIds" yaml:"orderIds"` // Property cancelOnDelete: Cancel order where delete the resource. // // Ignore the paid order. Default true CancelOnDelete interface{} `field:"optional" json:"cancelOnDelete" yaml:"cancelOnDelete"` // Property waitForOrderProduced: Wait util all orders related ROS resources are produced. // // Support ALIYUN::ECS::PrepayInstance, ALIYUN::RDS::PrepayDBInstance, ALIYUN::REDIS::PrepayInstance, ALIYUN::SLB::LoadBalancer, ALIYUN::VPC::EIP, ALIYUN::VPC::VpnGateway. WaitForOrderProduced interface{} `field:"optional" json:"waitForOrderProduced" yaml:"waitForOrderProduced"` }
Properties for defining a `WaitOrder`.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-bss-waitorder