alicloudroscdkoos

package module
v1.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 18, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

README

Aliyun ROS OOS Construct Library

This module is part of the AliCloud ROS Cloud Development Kit (ROS CDK) project.

import * as OOS from '@alicloud/ros-cdk-oos';

Documentation

Overview

Aliyun SDK Copyright (C) Alibaba Cloud Computing All rights reserved. http://www.aliyun.com

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultPatchBaseline_IsConstruct

func DefaultPatchBaseline_IsConstruct(x interface{}) *bool

Return whether the given object is a Construct.

func Execution_IsConstruct

func Execution_IsConstruct(x interface{}) *bool

Return whether the given object is a Construct.

func NewDefaultPatchBaseline_Override

func NewDefaultPatchBaseline_Override(d DefaultPatchBaseline, scope alicloudroscdkcore.Construct, id *string, props *DefaultPatchBaselineProps, enableResourcePropertyConstraint *bool)

Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.

func NewExecution_Override

func NewExecution_Override(e Execution, scope alicloudroscdkcore.Construct, id *string, props *ExecutionProps, enableResourcePropertyConstraint *bool)

Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.

func NewParameter_Override

func NewParameter_Override(p Parameter, scope alicloudroscdkcore.Construct, id *string, props *ParameterProps, enableResourcePropertyConstraint *bool)

Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.

func NewPatchBaseline_Override

func NewPatchBaseline_Override(p PatchBaseline, scope alicloudroscdkcore.Construct, id *string, props *PatchBaselineProps, enableResourcePropertyConstraint *bool)

Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.

func NewRosDefaultPatchBaseline_Override

func NewRosDefaultPatchBaseline_Override(r RosDefaultPatchBaseline, scope alicloudroscdkcore.Construct, id *string, props *RosDefaultPatchBaselineProps, enableResourcePropertyConstraint *bool)

func NewRosExecution_Override

func NewRosExecution_Override(r RosExecution, scope alicloudroscdkcore.Construct, id *string, props *RosExecutionProps, enableResourcePropertyConstraint *bool)

func NewRosParameter_Override

func NewRosParameter_Override(r RosParameter, scope alicloudroscdkcore.Construct, id *string, props *RosParameterProps, enableResourcePropertyConstraint *bool)

func NewRosPatchBaseline_Override

func NewRosPatchBaseline_Override(r RosPatchBaseline, scope alicloudroscdkcore.Construct, id *string, props *RosPatchBaselineProps, enableResourcePropertyConstraint *bool)

func NewRosSecretParameter_Override

func NewRosSecretParameter_Override(r RosSecretParameter, scope alicloudroscdkcore.Construct, id *string, props *RosSecretParameterProps, enableResourcePropertyConstraint *bool)

func NewRosServiceSettings_Override added in v1.5.0

func NewRosServiceSettings_Override(r RosServiceSettings, scope alicloudroscdkcore.Construct, id *string, props *RosServiceSettingsProps, enableResourcePropertyConstraint *bool)

func NewRosStateConfiguration_Override

func NewRosStateConfiguration_Override(r RosStateConfiguration, scope alicloudroscdkcore.Construct, id *string, props *RosStateConfigurationProps, enableResourcePropertyConstraint *bool)

func NewRosTemplate_Override

func NewRosTemplate_Override(r RosTemplate, scope alicloudroscdkcore.Construct, id *string, props *RosTemplateProps, enableResourcePropertyConstraint *bool)

func NewSecretParameter_Override

func NewSecretParameter_Override(s SecretParameter, scope alicloudroscdkcore.Construct, id *string, props *SecretParameterProps, enableResourcePropertyConstraint *bool)

Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.

func NewServiceSettings_Override added in v1.5.0

func NewServiceSettings_Override(s ServiceSettings, scope alicloudroscdkcore.Construct, id *string, props *ServiceSettingsProps, enableResourcePropertyConstraint *bool)

Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.

func NewStateConfiguration_Override

func NewStateConfiguration_Override(s StateConfiguration, scope alicloudroscdkcore.Construct, id *string, props *StateConfigurationProps, enableResourcePropertyConstraint *bool)

Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.

func NewTemplate_Override

func NewTemplate_Override(t Template, scope alicloudroscdkcore.Construct, id *string, props *TemplateProps, enableResourcePropertyConstraint *bool)

Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.

func Parameter_IsConstruct

func Parameter_IsConstruct(x interface{}) *bool

Return whether the given object is a Construct.

func PatchBaseline_IsConstruct

func PatchBaseline_IsConstruct(x interface{}) *bool

Return whether the given object is a Construct.

func RosDefaultPatchBaseline_IsConstruct

func RosDefaultPatchBaseline_IsConstruct(x interface{}) *bool

Return whether the given object is a Construct.

func RosDefaultPatchBaseline_IsRosElement

func RosDefaultPatchBaseline_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 RosDefaultPatchBaseline_IsRosResource

func RosDefaultPatchBaseline_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool

Check whether the given construct is a RosResource.

func RosDefaultPatchBaseline_ROS_RESOURCE_TYPE_NAME

func RosDefaultPatchBaseline_ROS_RESOURCE_TYPE_NAME() *string

func RosExecution_IsConstruct

func RosExecution_IsConstruct(x interface{}) *bool

Return whether the given object is a Construct.

func RosExecution_IsRosElement

func RosExecution_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 RosExecution_IsRosResource

func RosExecution_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool

Check whether the given construct is a RosResource.

func RosExecution_ROS_RESOURCE_TYPE_NAME

func RosExecution_ROS_RESOURCE_TYPE_NAME() *string

func RosParameter_IsConstruct

func RosParameter_IsConstruct(x interface{}) *bool

Return whether the given object is a Construct.

func RosParameter_IsRosElement

func RosParameter_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 RosParameter_IsRosResource

func RosParameter_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool

Check whether the given construct is a RosResource.

func RosParameter_ROS_RESOURCE_TYPE_NAME

func RosParameter_ROS_RESOURCE_TYPE_NAME() *string

func RosPatchBaseline_IsConstruct

func RosPatchBaseline_IsConstruct(x interface{}) *bool

Return whether the given object is a Construct.

func RosPatchBaseline_IsRosElement

func RosPatchBaseline_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 RosPatchBaseline_IsRosResource

func RosPatchBaseline_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool

Check whether the given construct is a RosResource.

func RosPatchBaseline_ROS_RESOURCE_TYPE_NAME

func RosPatchBaseline_ROS_RESOURCE_TYPE_NAME() *string

func RosSecretParameter_IsConstruct

func RosSecretParameter_IsConstruct(x interface{}) *bool

Return whether the given object is a Construct.

func RosSecretParameter_IsRosElement

func RosSecretParameter_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 RosSecretParameter_IsRosResource

func RosSecretParameter_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool

Check whether the given construct is a RosResource.

func RosSecretParameter_ROS_RESOURCE_TYPE_NAME

func RosSecretParameter_ROS_RESOURCE_TYPE_NAME() *string

func RosServiceSettings_IsConstruct added in v1.5.0

func RosServiceSettings_IsConstruct(x interface{}) *bool

Return whether the given object is a Construct.

func RosServiceSettings_IsRosElement added in v1.5.0

func RosServiceSettings_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 RosServiceSettings_IsRosResource added in v1.5.0

func RosServiceSettings_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool

Check whether the given construct is a RosResource.

func RosServiceSettings_ROS_RESOURCE_TYPE_NAME added in v1.5.0

func RosServiceSettings_ROS_RESOURCE_TYPE_NAME() *string

func RosStateConfiguration_IsConstruct

func RosStateConfiguration_IsConstruct(x interface{}) *bool

Return whether the given object is a Construct.

func RosStateConfiguration_IsRosElement

func RosStateConfiguration_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 RosStateConfiguration_IsRosResource

func RosStateConfiguration_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool

Check whether the given construct is a RosResource.

func RosStateConfiguration_ROS_RESOURCE_TYPE_NAME

func RosStateConfiguration_ROS_RESOURCE_TYPE_NAME() *string

func RosTemplate_IsConstruct

func RosTemplate_IsConstruct(x interface{}) *bool

Return whether the given object is a Construct.

func RosTemplate_IsRosElement

func RosTemplate_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 RosTemplate_IsRosResource

func RosTemplate_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool

Check whether the given construct is a RosResource.

func RosTemplate_ROS_RESOURCE_TYPE_NAME

func RosTemplate_ROS_RESOURCE_TYPE_NAME() *string

func SecretParameter_IsConstruct

func SecretParameter_IsConstruct(x interface{}) *bool

Return whether the given object is a Construct.

func ServiceSettings_IsConstruct added in v1.5.0

func ServiceSettings_IsConstruct(x interface{}) *bool

Return whether the given object is a Construct.

func StateConfiguration_IsConstruct

func StateConfiguration_IsConstruct(x interface{}) *bool

Return whether the given object is a Construct.

func Template_IsConstruct

func Template_IsConstruct(x interface{}) *bool

Return whether the given object is a Construct.

Types

type DefaultPatchBaseline

type DefaultPatchBaseline interface {
	alicloudroscdkcore.Resource
	// Attribute ApprovalRules: The rules of scanning and installing patches for the specified operating system.
	AttrApprovalRules() alicloudroscdkcore.IResolvable
	// Attribute CreatedBy: The creator of the patch baseline.
	AttrCreatedBy() alicloudroscdkcore.IResolvable
	// Attribute CreatedDate: The time when the patch baseline was created.
	AttrCreatedDate() alicloudroscdkcore.IResolvable
	// Attribute Description: The description of the patch baseline.
	AttrDescription() alicloudroscdkcore.IResolvable
	// Attribute OperationSystem: The type of the operating system.
	AttrOperationSystem() alicloudroscdkcore.IResolvable
	// Attribute PatchBaselineId: The ID of the patch baseline.
	AttrPatchBaselineId() alicloudroscdkcore.IResolvable
	// Attribute PatchBaselineName: The name of the patch baseline.
	AttrPatchBaselineName() alicloudroscdkcore.IResolvable
	// Attribute ShareType: The share type of the patch baseline.
	AttrShareType() alicloudroscdkcore.IResolvable
	// Attribute UpdatedBy: The user who last modified the patch baseline.
	AttrUpdatedBy() alicloudroscdkcore.IResolvable
	// Attribute UpdatedDate: The time when the patch baseline was last modified.
	AttrUpdatedDate() 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() *DefaultPatchBaselineProps
	SetProps(val *DefaultPatchBaselineProps)
	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::OOS::DefaultPatchBaseline`, which is used to register a default patch baseline.

func NewDefaultPatchBaseline

func NewDefaultPatchBaseline(scope alicloudroscdkcore.Construct, id *string, props *DefaultPatchBaselineProps, enableResourcePropertyConstraint *bool) DefaultPatchBaseline

Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.

type DefaultPatchBaselineProps

type DefaultPatchBaselineProps struct {
	// Property patchBaselineName: The name of the patch baseline.
	PatchBaselineName interface{} `field:"required" json:"patchBaselineName" yaml:"patchBaselineName"`
}

Properties for defining a `DefaultPatchBaseline`.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-oos-defaultpatchbaseline

type Execution

type Execution interface {
	alicloudroscdkcore.Resource
	// Attribute Counters: Task statistics: FailedTasks, SuccessTasks, TotalTasks.
	AttrCounters() alicloudroscdkcore.IResolvable
	// Attribute CurlCli: Convenience attribute, provides curl CLI command prefix, which can be used to notify oos execution instead of OOS API NotifyExecution.
	//
	// You can notify approve to oos execution by adding --data-binary '{"data": {"NotifyType": "Approve"}}'
	// For more parameters in data, refer to https://help.aliyun.com/document_detail/120777.html.
	// You can also notify execution via ROS API SignalResource. API parameters Status and UniqueId are ignored. Use API parameter Data to pass data.
	AttrCurlCli() alicloudroscdkcore.IResolvable
	// Attribute ExecutionId: Execution ID.
	AttrExecutionId() alicloudroscdkcore.IResolvable
	// Attribute Outputs: Execution output.
	AttrOutputs() alicloudroscdkcore.IResolvable
	// Attribute PowerShellCurlCli: Convenience attribute, provides curl CLI command prefix for PowerShell, which can be used to notify oos execution instead of OOS API NotifyExecution.
	//
	// You can notify approve to oos execution by adding -Body '{"data": {"NotifyType": "Approve"}}'
	// For more parameters in data, refer to https://help.aliyun.com/document_detail/120777.html.You can also notify execution via ROS API SignalResource. API parameters Status and UniqueId are ignored. Use API parameter Data to pass data.
	AttrPowerShellCurlCli() alicloudroscdkcore.IResolvable
	// Attribute Status: Execution status.
	AttrStatus() alicloudroscdkcore.IResolvable
	// Attribute StatusMessage: Execution status information.
	AttrStatusMessage() alicloudroscdkcore.IResolvable
	// Attribute WindowsCurlCli: Convenience attribute, provides curl CLI command prefix for Windows, which can be used to notify oos execution instead of OOS API NotifyExecution.
	//
	// You can notify approve to oos execution by adding --data-binary "{\"data\": {\"NotifyType\": \"Approve\"}}"
	// For more parameters in data, refer to https://help.aliyun.com/document_detail/120777.html.You can also notify execution via ROS API SignalResource. API parameters Status and UniqueId are ignored. Use API parameter Data to pass data.
	AttrWindowsCurlCli() 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() *ExecutionProps
	SetProps(val *ExecutionProps)
	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::OOS::Execution`, which is used to start an execution.

func NewExecution

func NewExecution(scope alicloudroscdkcore.Construct, id *string, props *ExecutionProps, enableResourcePropertyConstraint *bool) Execution

Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.

type ExecutionProps

type ExecutionProps struct {
	// Property description: The description of OOS Execution.
	Description interface{} `field:"optional" json:"description" yaml:"description"`
	// Property loopMode: The loop mode of OOS Execution.
	//
	// Valid values:
	// - Automatic(Default): does not pause.
	// - FirstBatchPause: The first batch of pauses.
	// - EveryBatchPause: pause each batch.
	LoopMode interface{} `field:"optional" json:"loopMode" yaml:"loopMode"`
	// Property mode: Execution mode.
	Mode interface{} `field:"optional" json:"mode" yaml:"mode"`
	// Property parameters: Parameters for the execution of template.
	Parameters interface{} `field:"optional" json:"parameters" yaml:"parameters"`
	// Property parentExecutionId: Parent execution ID.
	ParentExecutionId interface{} `field:"optional" json:"parentExecutionId" yaml:"parentExecutionId"`
	// Property resourceGroupId: Resource group id.
	ResourceGroupId interface{} `field:"optional" json:"resourceGroupId" yaml:"resourceGroupId"`
	// Property resourceOptions: Resource options user by ROS.
	ResourceOptions interface{} `field:"optional" json:"resourceOptions" yaml:"resourceOptions"`
	// Property safetyCheck: Security check mode.
	//
	// Allowed values:
	// - Skip (default): This option means that customers understand the risks, you can do anything without confirmation Action, no matter what the level of risk. It takes effect only if Mode is Automatic.
	// - ConfirmEveryHighRiskAction: This option would require customers to confirm each Action a high risk. NotifyExecution by calling customer interface to confirm or cancel.
	SafetyCheck interface{} `field:"optional" json:"safetyCheck" yaml:"safetyCheck"`
	// Property tags: Tag value and the key mapping, the label of the key number can be up to 20.
	Tags *map[string]interface{} `field:"optional" json:"tags" yaml:"tags"`
	// Property templateContent: The content of the template in the JSON or YAML format.
	//
	// This parameter is the same as the Content parameter that you can specify when you call the CreateTemplate operation. You can use this parameter to specify the tasks that you want to run. This way, you do not need to create a template before you start an execution. If you select an existing template, you do not need to specify this parameter.
	TemplateContent interface{} `field:"optional" json:"templateContent" yaml:"templateContent"`
	// Property templateName: Template name.
	//
	// Content is limited to letters, numbers, underlined, underline, the length of 200 characters.
	TemplateName interface{} `field:"optional" json:"templateName" yaml:"templateName"`
	// Property templateUrl: The Object Storage Service (OSS) URL of the object that stores the content of the Operation Orchestration Service (OOS) template.
	//
	// The access control list (ACL) of the object must be public-read. You can use this parameter to specify the tasks that you want to run. This way, you do not need to create a template before you start an execution. If you select an existing template, you do not need to specify this parameter.
	TemplateUrl interface{} `field:"optional" json:"templateUrl" yaml:"templateUrl"`
	// Property templateVersion: Version number of template.
	//
	// Default to the latest version.
	TemplateVersion interface{} `field:"optional" json:"templateVersion" yaml:"templateVersion"`
}

Properties for defining a `Execution`.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-oos-execution

type Parameter

type Parameter interface {
	alicloudroscdkcore.Resource
	// Attribute Name: The Name of the parameter.
	AttrName() alicloudroscdkcore.IResolvable
	// Attribute Value: The Value of the parameter.
	AttrValue() 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() *ParameterProps
	SetProps(val *ParameterProps)
	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::OOS::Parameter`, which is used to create a common parameter.

func NewParameter

func NewParameter(scope alicloudroscdkcore.Construct, id *string, props *ParameterProps, enableResourcePropertyConstraint *bool) Parameter

Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.

type ParameterProps

type ParameterProps struct {
	// Property name: The name of the parameter.
	//
	// The name must be 1 to 200 characters in length,and can contain letters, digits, hyphens (-), and underscores (_).
	// It cannot start with ALIYUN, ACS, ALIBABA, ALICLOUD, or OOS.
	Name interface{} `field:"required" json:"name" yaml:"name"`
	// Property type: The data type of the common parameter.
	//
	// Valid values: String and StringList.
	Type interface{} `field:"required" json:"type" yaml:"type"`
	// Property value: The value of the parameter.
	//
	// The value must be 1 to 4096 characters in length.
	Value interface{} `field:"required" json:"value" yaml:"value"`
	// Property constraints: The constraints of the parameter.
	//
	// By default, this parameter is null. Valid values:
	// AllowedValues: The value that is allowed for the parameter. It must be an array string.
	// AllowedPattern: The pattern that is allowed for the parameter. It must be a regular expression.
	// MinLength: The minimum length of the parameter.
	// MaxLength: The maximum length of the parameter.
	Constraints interface{} `field:"optional" json:"constraints" yaml:"constraints"`
	// Property description: The description of the parameter.
	//
	// The description must be 1 to 200 characters in length.
	Description interface{} `field:"optional" json:"description" yaml:"description"`
	// Property resourceGroupId: Resource group id.
	ResourceGroupId interface{} `field:"optional" json:"resourceGroupId" yaml:"resourceGroupId"`
}

Properties for defining a `Parameter`.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-oos-parameter

type PatchBaseline

type PatchBaseline interface {
	alicloudroscdkcore.Resource
	// Attribute ApprovalRules: The rules of scanning and installing patches for the specified operating system.
	AttrApprovalRules() alicloudroscdkcore.IResolvable
	// Attribute ApprovedPatches: Approved patch list.
	AttrApprovedPatches() alicloudroscdkcore.IResolvable
	// Attribute ApprovedPatchesEnableNonSecurity: Approve whether the patch includes updates other than security.
	AttrApprovedPatchesEnableNonSecurity() alicloudroscdkcore.IResolvable
	// Attribute CreatedBy: The creator of the patch baseline.
	AttrCreatedBy() alicloudroscdkcore.IResolvable
	// Attribute CreateTime: The time when the patch baseline was created.
	AttrCreateTime() alicloudroscdkcore.IResolvable
	// Attribute Description: The description of the patch baseline.
	AttrDescription() alicloudroscdkcore.IResolvable
	// Attribute IsDefault: Indicates whether the patch baseline is set as the default patch baseline.
	AttrIsDefault() alicloudroscdkcore.IResolvable
	// Attribute OperationSystem: The type of the operating system.
	AttrOperationSystem() alicloudroscdkcore.IResolvable
	// Attribute PatchBaselineId: The ID of the patch baseline.
	AttrPatchBaselineId() alicloudroscdkcore.IResolvable
	// Attribute PatchBaselineName: The name of the patch baseline.
	AttrPatchBaselineName() alicloudroscdkcore.IResolvable
	// Attribute RejectedPatches: Reject the name of the patch.
	AttrRejectedPatches() alicloudroscdkcore.IResolvable
	// Attribute RejectedPatchesAction: The ID of the resource group.
	AttrRejectedPatchesAction() alicloudroscdkcore.IResolvable
	// Attribute ResourceGroupId: Approve whether the patch includes updates other than security.
	AttrResourceGroupId() alicloudroscdkcore.IResolvable
	// Attribute ShareType: The share type of the patch baseline.
	AttrShareType() alicloudroscdkcore.IResolvable
	// Attribute Sources: Patch source configuration list.
	AttrSources() alicloudroscdkcore.IResolvable
	// Attribute Tags: Tags of patch baseline.
	AttrTags() alicloudroscdkcore.IResolvable
	// Attribute UpdatedBy: The user who last modified the patch baseline.
	AttrUpdatedBy() alicloudroscdkcore.IResolvable
	// Attribute UpdatedDate: The time when the patch baseline was last modified.
	AttrUpdatedDate() 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() *PatchBaselineProps
	SetProps(val *PatchBaselineProps)
	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::OOS::PatchBaseline`, which is used to create a patch baseline.

func NewPatchBaseline

func NewPatchBaseline(scope alicloudroscdkcore.Construct, id *string, props *PatchBaselineProps, enableResourcePropertyConstraint *bool) PatchBaseline

Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.

type PatchBaselineProps

type PatchBaselineProps struct {
	// Property approvalRules: The rules of scanning and installing patches for the specified operating system.
	ApprovalRules interface{} `field:"required" json:"approvalRules" yaml:"approvalRules"`
	// Property operationSystem: The type of the operating system.
	OperationSystem interface{} `field:"required" json:"operationSystem" yaml:"operationSystem"`
	// Property patchBaselineName: The name of the patch baseline.
	PatchBaselineName interface{} `field:"required" json:"patchBaselineName" yaml:"patchBaselineName"`
	// Property approvedPatches: Approved patch list.
	ApprovedPatches interface{} `field:"optional" json:"approvedPatches" yaml:"approvedPatches"`
	// Property approvedPatchesEnableNonSecurity: Approve whether the patch includes updates other than security.
	ApprovedPatchesEnableNonSecurity interface{} `field:"optional" json:"approvedPatchesEnableNonSecurity" yaml:"approvedPatchesEnableNonSecurity"`
	// Property description: The description of the patch baseline.
	Description interface{} `field:"optional" json:"description" yaml:"description"`
	// Property rejectedPatches: Rejected patch list.
	RejectedPatches interface{} `field:"optional" json:"rejectedPatches" yaml:"rejectedPatches"`
	// Property rejectedPatchesAction: The operation of rejecting the patch.
	RejectedPatchesAction interface{} `field:"optional" json:"rejectedPatchesAction" yaml:"rejectedPatchesAction"`
	// Property resourceGroupId: Resource group id.
	ResourceGroupId interface{} `field:"optional" json:"resourceGroupId" yaml:"resourceGroupId"`
	// Property sources: Patch source configuration list.
	Sources interface{} `field:"optional" json:"sources" yaml:"sources"`
	// Property tags: Tags of patch baseline.
	Tags *[]*RosPatchBaseline_TagsProperty `field:"optional" json:"tags" yaml:"tags"`
}

Properties for defining a `PatchBaseline`.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-oos-patchbaseline

type RosDefaultPatchBaseline

type RosDefaultPatchBaseline interface {
	alicloudroscdkcore.RosResource
	AttrApprovalRules() alicloudroscdkcore.IResolvable
	AttrCreatedBy() alicloudroscdkcore.IResolvable
	AttrCreatedDate() alicloudroscdkcore.IResolvable
	AttrDescription() alicloudroscdkcore.IResolvable
	AttrOperationSystem() alicloudroscdkcore.IResolvable
	AttrPatchBaselineId() alicloudroscdkcore.IResolvable
	AttrPatchBaselineName() alicloudroscdkcore.IResolvable
	AttrShareType() alicloudroscdkcore.IResolvable
	AttrUpdatedBy() alicloudroscdkcore.IResolvable
	AttrUpdatedDate() 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
	PatchBaselineName() interface{}
	SetPatchBaselineName(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)
	// 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::OOS::DefaultPatchBaseline`, which is used to register a default patch baseline.

func NewRosDefaultPatchBaseline

func NewRosDefaultPatchBaseline(scope alicloudroscdkcore.Construct, id *string, props *RosDefaultPatchBaselineProps, enableResourcePropertyConstraint *bool) RosDefaultPatchBaseline

type RosDefaultPatchBaselineProps

type RosDefaultPatchBaselineProps struct {
	PatchBaselineName interface{} `field:"required" json:"patchBaselineName" yaml:"patchBaselineName"`
}

Properties for defining a `RosDefaultPatchBaseline`.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-oos-defaultpatchbaseline

type RosExecution

type RosExecution interface {
	alicloudroscdkcore.RosResource
	AttrCounters() alicloudroscdkcore.IResolvable
	AttrCurlCli() alicloudroscdkcore.IResolvable
	AttrExecutionId() alicloudroscdkcore.IResolvable
	AttrOutputs() alicloudroscdkcore.IResolvable
	AttrPowerShellCurlCli() alicloudroscdkcore.IResolvable
	AttrStatus() alicloudroscdkcore.IResolvable
	AttrStatusMessage() alicloudroscdkcore.IResolvable
	AttrWindowsCurlCli() 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
	Description() interface{}
	SetDescription(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
	LoopMode() interface{}
	SetLoopMode(val interface{})
	Mode() interface{}
	SetMode(val interface{})
	// The construct tree node associated with this construct.
	Node() alicloudroscdkcore.ConstructNode
	Parameters() interface{}
	SetParameters(val interface{})
	ParentExecutionId() interface{}
	SetParentExecutionId(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{})
	ResourceOptions() interface{}
	SetResourceOptions(val interface{})
	// Options for this resource, such as condition, update policy etc.
	RosOptions() alicloudroscdkcore.IRosResourceOptions
	RosProperties() *map[string]interface{}
	// ROS resource type.
	RosResourceType() *string
	SafetyCheck() interface{}
	SetSafetyCheck(val interface{})
	// The stack in which this element is defined.
	//
	// RosElements must be defined within a stack scope (directly or indirectly).
	Stack() alicloudroscdkcore.Stack
	Tags() *map[string]interface{}
	SetTags(val *map[string]interface{})
	TemplateContent() interface{}
	SetTemplateContent(val interface{})
	TemplateName() interface{}
	SetTemplateName(val interface{})
	TemplateUrl() interface{}
	SetTemplateUrl(val interface{})
	TemplateVersion() interface{}
	SetTemplateVersion(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)
	// 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::OOS::Execution`, which is used to start an execution.

func NewRosExecution

func NewRosExecution(scope alicloudroscdkcore.Construct, id *string, props *RosExecutionProps, enableResourcePropertyConstraint *bool) RosExecution

type RosExecutionProps

type RosExecutionProps struct {
	Description       interface{}             `field:"optional" json:"description" yaml:"description"`
	LoopMode          interface{}             `field:"optional" json:"loopMode" yaml:"loopMode"`
	Mode              interface{}             `field:"optional" json:"mode" yaml:"mode"`
	Parameters        interface{}             `field:"optional" json:"parameters" yaml:"parameters"`
	ParentExecutionId interface{}             `field:"optional" json:"parentExecutionId" yaml:"parentExecutionId"`
	ResourceGroupId   interface{}             `field:"optional" json:"resourceGroupId" yaml:"resourceGroupId"`
	ResourceOptions   interface{}             `field:"optional" json:"resourceOptions" yaml:"resourceOptions"`
	SafetyCheck       interface{}             `field:"optional" json:"safetyCheck" yaml:"safetyCheck"`
	Tags              *map[string]interface{} `field:"optional" json:"tags" yaml:"tags"`
	TemplateContent   interface{}             `field:"optional" json:"templateContent" yaml:"templateContent"`
	TemplateName      interface{}             `field:"optional" json:"templateName" yaml:"templateName"`
	TemplateUrl       interface{}             `field:"optional" json:"templateUrl" yaml:"templateUrl"`
	TemplateVersion   interface{}             `field:"optional" json:"templateVersion" yaml:"templateVersion"`
}

Properties for defining a `RosExecution`.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-oos-execution

type RosExecution_ResourceOptionsProperty

type RosExecution_ResourceOptionsProperty struct {
	CancelOnDelete  interface{} `field:"optional" json:"cancelOnDelete" yaml:"cancelOnDelete"`
	FailureStatuses interface{} `field:"optional" json:"failureStatuses" yaml:"failureStatuses"`
	SuccessStatuses interface{} `field:"optional" json:"successStatuses" yaml:"successStatuses"`
	Timeout         interface{} `field:"optional" json:"timeout" yaml:"timeout"`
}

type RosParameter

type RosParameter interface {
	alicloudroscdkcore.RosResource
	AttrName() alicloudroscdkcore.IResolvable
	AttrValue() alicloudroscdkcore.IResolvable
	Constraints() interface{}
	SetConstraints(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{})
	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
	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
	Type() interface{}
	SetType(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{}
	Value() interface{}
	SetValue(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::OOS::Parameter`, which is used to create a common parameter.

func NewRosParameter

func NewRosParameter(scope alicloudroscdkcore.Construct, id *string, props *RosParameterProps, enableResourcePropertyConstraint *bool) RosParameter

type RosParameterProps

type RosParameterProps struct {
	Name            interface{} `field:"required" json:"name" yaml:"name"`
	Type            interface{} `field:"required" json:"type" yaml:"type"`
	Value           interface{} `field:"required" json:"value" yaml:"value"`
	Constraints     interface{} `field:"optional" json:"constraints" yaml:"constraints"`
	Description     interface{} `field:"optional" json:"description" yaml:"description"`
	ResourceGroupId interface{} `field:"optional" json:"resourceGroupId" yaml:"resourceGroupId"`
}

Properties for defining a `RosParameter`.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-oos-parameter

type RosPatchBaseline

type RosPatchBaseline interface {
	alicloudroscdkcore.RosResource
	ApprovalRules() interface{}
	SetApprovalRules(val interface{})
	ApprovedPatches() interface{}
	SetApprovedPatches(val interface{})
	ApprovedPatchesEnableNonSecurity() interface{}
	SetApprovedPatchesEnableNonSecurity(val interface{})
	AttrApprovalRules() alicloudroscdkcore.IResolvable
	AttrApprovedPatches() alicloudroscdkcore.IResolvable
	AttrApprovedPatchesEnableNonSecurity() alicloudroscdkcore.IResolvable
	AttrCreatedBy() alicloudroscdkcore.IResolvable
	AttrCreateTime() alicloudroscdkcore.IResolvable
	AttrDescription() alicloudroscdkcore.IResolvable
	AttrIsDefault() alicloudroscdkcore.IResolvable
	AttrOperationSystem() alicloudroscdkcore.IResolvable
	AttrPatchBaselineId() alicloudroscdkcore.IResolvable
	AttrPatchBaselineName() alicloudroscdkcore.IResolvable
	AttrRejectedPatches() alicloudroscdkcore.IResolvable
	AttrRejectedPatchesAction() alicloudroscdkcore.IResolvable
	AttrResourceGroupId() alicloudroscdkcore.IResolvable
	AttrShareType() alicloudroscdkcore.IResolvable
	AttrSources() alicloudroscdkcore.IResolvable
	AttrTags() alicloudroscdkcore.IResolvable
	AttrUpdatedBy() alicloudroscdkcore.IResolvable
	AttrUpdatedDate() 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
	Description() interface{}
	SetDescription(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
	OperationSystem() interface{}
	SetOperationSystem(val interface{})
	PatchBaselineName() interface{}
	SetPatchBaselineName(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
	RejectedPatches() interface{}
	SetRejectedPatches(val interface{})
	RejectedPatchesAction() interface{}
	SetRejectedPatchesAction(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
	Sources() interface{}
	SetSources(val interface{})
	// The stack in which this element is defined.
	//
	// RosElements must be defined within a stack scope (directly or indirectly).
	Stack() alicloudroscdkcore.Stack
	Tags() *[]*RosPatchBaseline_TagsProperty
	SetTags(val *[]*RosPatchBaseline_TagsProperty)
	// 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::OOS::PatchBaseline`, which is used to create a patch baseline.

func NewRosPatchBaseline

func NewRosPatchBaseline(scope alicloudroscdkcore.Construct, id *string, props *RosPatchBaselineProps, enableResourcePropertyConstraint *bool) RosPatchBaseline

type RosPatchBaselineProps

type RosPatchBaselineProps struct {
	ApprovalRules                    interface{}                       `field:"required" json:"approvalRules" yaml:"approvalRules"`
	OperationSystem                  interface{}                       `field:"required" json:"operationSystem" yaml:"operationSystem"`
	PatchBaselineName                interface{}                       `field:"required" json:"patchBaselineName" yaml:"patchBaselineName"`
	ApprovedPatches                  interface{}                       `field:"optional" json:"approvedPatches" yaml:"approvedPatches"`
	ApprovedPatchesEnableNonSecurity interface{}                       `field:"optional" json:"approvedPatchesEnableNonSecurity" yaml:"approvedPatchesEnableNonSecurity"`
	Description                      interface{}                       `field:"optional" json:"description" yaml:"description"`
	RejectedPatches                  interface{}                       `field:"optional" json:"rejectedPatches" yaml:"rejectedPatches"`
	RejectedPatchesAction            interface{}                       `field:"optional" json:"rejectedPatchesAction" yaml:"rejectedPatchesAction"`
	ResourceGroupId                  interface{}                       `field:"optional" json:"resourceGroupId" yaml:"resourceGroupId"`
	Sources                          interface{}                       `field:"optional" json:"sources" yaml:"sources"`
	Tags                             *[]*RosPatchBaseline_TagsProperty `field:"optional" json:"tags" yaml:"tags"`
}

Properties for defining a `RosPatchBaseline`.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-oos-patchbaseline

type RosPatchBaseline_TagsProperty

type RosPatchBaseline_TagsProperty struct {
	Key   interface{} `field:"required" json:"key" yaml:"key"`
	Value interface{} `field:"optional" json:"value" yaml:"value"`
}

type RosSecretParameter

type RosSecretParameter interface {
	alicloudroscdkcore.RosResource
	AttrConstraints() alicloudroscdkcore.IResolvable
	AttrCreatedBy() alicloudroscdkcore.IResolvable
	AttrCreateTime() alicloudroscdkcore.IResolvable
	AttrDescription() alicloudroscdkcore.IResolvable
	AttrKeyId() alicloudroscdkcore.IResolvable
	AttrParameterVersion() alicloudroscdkcore.IResolvable
	AttrResourceGroupId() alicloudroscdkcore.IResolvable
	AttrSecretParameterId() alicloudroscdkcore.IResolvable
	AttrSecretParameterName() alicloudroscdkcore.IResolvable
	AttrShareType() alicloudroscdkcore.IResolvable
	AttrTags() alicloudroscdkcore.IResolvable
	AttrType() alicloudroscdkcore.IResolvable
	AttrUpdatedBy() alicloudroscdkcore.IResolvable
	AttrUpdatedDate() alicloudroscdkcore.IResolvable
	Constraints() interface{}
	SetConstraints(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{})
	EnableResourcePropertyConstraint() *bool
	SetEnableResourcePropertyConstraint(val *bool)
	KeyId() interface{}
	SetKeyId(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
	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
	SecretParameterName() interface{}
	SetSecretParameterName(val interface{})
	// The stack in which this element is defined.
	//
	// RosElements must be defined within a stack scope (directly or indirectly).
	Stack() alicloudroscdkcore.Stack
	Tags() *[]*RosSecretParameter_TagsProperty
	SetTags(val *[]*RosSecretParameter_TagsProperty)
	// 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{}
	Value() interface{}
	SetValue(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::OOS::SecretParameter`, which is used to create an encryption parameter.

func NewRosSecretParameter

func NewRosSecretParameter(scope alicloudroscdkcore.Construct, id *string, props *RosSecretParameterProps, enableResourcePropertyConstraint *bool) RosSecretParameter

type RosSecretParameterProps

type RosSecretParameterProps struct {
	SecretParameterName interface{}                         `field:"required" json:"secretParameterName" yaml:"secretParameterName"`
	Value               interface{}                         `field:"required" json:"value" yaml:"value"`
	Constraints         interface{}                         `field:"optional" json:"constraints" yaml:"constraints"`
	Description         interface{}                         `field:"optional" json:"description" yaml:"description"`
	KeyId               interface{}                         `field:"optional" json:"keyId" yaml:"keyId"`
	ResourceGroupId     interface{}                         `field:"optional" json:"resourceGroupId" yaml:"resourceGroupId"`
	Tags                *[]*RosSecretParameter_TagsProperty `field:"optional" json:"tags" yaml:"tags"`
}

Properties for defining a `RosSecretParameter`.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-oos-secretparameter

type RosSecretParameter_TagsProperty

type RosSecretParameter_TagsProperty struct {
	Key   interface{} `field:"required" json:"key" yaml:"key"`
	Value interface{} `field:"optional" json:"value" yaml:"value"`
}

type RosServiceSettings added in v1.5.0

type RosServiceSettings 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.
	CreationStack() *[]*string
	DeliveryOssBucketName() interface{}
	SetDeliveryOssBucketName(val interface{})
	DeliveryOssEnabled() interface{}
	SetDeliveryOssEnabled(val interface{})
	DeliveryOssKeyPrefix() interface{}
	SetDeliveryOssKeyPrefix(val interface{})
	DeliverySlsEnabled() interface{}
	SetDeliverySlsEnabled(val interface{})
	DeliverySlsProjectName() interface{}
	SetDeliverySlsProjectName(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
	RdcEnterpriseId() interface{}
	SetRdcEnterpriseId(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)
	// 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::OOS::ServiceSettings`.

func NewRosServiceSettings added in v1.5.0

func NewRosServiceSettings(scope alicloudroscdkcore.Construct, id *string, props *RosServiceSettingsProps, enableResourcePropertyConstraint *bool) RosServiceSettings

type RosServiceSettingsProps added in v1.5.0

type RosServiceSettingsProps struct {
	DeliveryOssBucketName  interface{} `field:"optional" json:"deliveryOssBucketName" yaml:"deliveryOssBucketName"`
	DeliveryOssEnabled     interface{} `field:"optional" json:"deliveryOssEnabled" yaml:"deliveryOssEnabled"`
	DeliveryOssKeyPrefix   interface{} `field:"optional" json:"deliveryOssKeyPrefix" yaml:"deliveryOssKeyPrefix"`
	DeliverySlsEnabled     interface{} `field:"optional" json:"deliverySlsEnabled" yaml:"deliverySlsEnabled"`
	DeliverySlsProjectName interface{} `field:"optional" json:"deliverySlsProjectName" yaml:"deliverySlsProjectName"`
	RdcEnterpriseId        interface{} `field:"optional" json:"rdcEnterpriseId" yaml:"rdcEnterpriseId"`
}

Properties for defining a `RosServiceSettings`.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-oos-servicesettings

type RosStateConfiguration

type RosStateConfiguration interface {
	alicloudroscdkcore.RosResource
	AttrStateConfigurationId() alicloudroscdkcore.IResolvable
	ConfigureMode() interface{}
	SetConfigureMode(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{})
	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
	Parameters() interface{}
	SetParameters(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
	ScheduleExpression() interface{}
	SetScheduleExpression(val interface{})
	ScheduleType() interface{}
	SetScheduleType(val interface{})
	// The stack in which this element is defined.
	//
	// RosElements must be defined within a stack scope (directly or indirectly).
	Stack() alicloudroscdkcore.Stack
	Tags() *map[string]interface{}
	SetTags(val *map[string]interface{})
	Targets() interface{}
	SetTargets(val interface{})
	TemplateName() interface{}
	SetTemplateName(val interface{})
	TemplateVersion() interface{}
	SetTemplateVersion(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)
	// 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::OOS::StateConfiguration`, which is used to create a desired-state configuration.

func NewRosStateConfiguration

func NewRosStateConfiguration(scope alicloudroscdkcore.Construct, id *string, props *RosStateConfigurationProps, enableResourcePropertyConstraint *bool) RosStateConfiguration

type RosStateConfigurationProps

type RosStateConfigurationProps struct {
	ScheduleExpression interface{}             `field:"required" json:"scheduleExpression" yaml:"scheduleExpression"`
	ScheduleType       interface{}             `field:"required" json:"scheduleType" yaml:"scheduleType"`
	Targets            interface{}             `field:"required" json:"targets" yaml:"targets"`
	TemplateName       interface{}             `field:"required" json:"templateName" yaml:"templateName"`
	ConfigureMode      interface{}             `field:"optional" json:"configureMode" yaml:"configureMode"`
	Description        interface{}             `field:"optional" json:"description" yaml:"description"`
	Parameters         interface{}             `field:"optional" json:"parameters" yaml:"parameters"`
	ResourceGroupId    interface{}             `field:"optional" json:"resourceGroupId" yaml:"resourceGroupId"`
	Tags               *map[string]interface{} `field:"optional" json:"tags" yaml:"tags"`
	TemplateVersion    interface{}             `field:"optional" json:"templateVersion" yaml:"templateVersion"`
}

Properties for defining a `RosStateConfiguration`.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-oos-stateconfiguration

type RosTemplate

type RosTemplate interface {
	alicloudroscdkcore.RosResource
	AttrExecutionPolicy() alicloudroscdkcore.IResolvable
	AttrTemplateId() alicloudroscdkcore.IResolvable
	AttrTemplateName() alicloudroscdkcore.IResolvable
	Content() interface{}
	SetContent(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
	// 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
	Tags() *map[string]interface{}
	SetTags(val *map[string]interface{})
	TemplateName() interface{}
	SetTemplateName(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)
	// 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::OOS::Template`, which is used to create a template.

func NewRosTemplate

func NewRosTemplate(scope alicloudroscdkcore.Construct, id *string, props *RosTemplateProps, enableResourcePropertyConstraint *bool) RosTemplate

type RosTemplateProps

type RosTemplateProps struct {
	Content         interface{}             `field:"required" json:"content" yaml:"content"`
	TemplateName    interface{}             `field:"required" json:"templateName" yaml:"templateName"`
	ResourceGroupId interface{}             `field:"optional" json:"resourceGroupId" yaml:"resourceGroupId"`
	Tags            *map[string]interface{} `field:"optional" json:"tags" yaml:"tags"`
}

Properties for defining a `RosTemplate`.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-oos-template

type SecretParameter

type SecretParameter interface {
	alicloudroscdkcore.Resource
	// Attribute Constraints: The constraints of the encryption parameter.
	AttrConstraints() alicloudroscdkcore.IResolvable
	// Attribute CreatedBy: The user who created the encryption parameter.
	AttrCreatedBy() alicloudroscdkcore.IResolvable
	// Attribute CreateTime: The time when the encryption parameter was created.
	AttrCreateTime() alicloudroscdkcore.IResolvable
	// Attribute Description: The description of the encryption parameter.
	AttrDescription() alicloudroscdkcore.IResolvable
	// Attribute KeyId: The Customer Master Key (CMK) of Key Management Service (KMS) that is used to encrypt the parameter.
	AttrKeyId() alicloudroscdkcore.IResolvable
	// Attribute ParameterVersion: The version number of the encryption parameter.
	AttrParameterVersion() alicloudroscdkcore.IResolvable
	// Attribute ResourceGroupId: The ID of resource group.
	AttrResourceGroupId() alicloudroscdkcore.IResolvable
	// Attribute SecretParameterId: The ID of the encryption parameter.
	AttrSecretParameterId() alicloudroscdkcore.IResolvable
	// Attribute SecretParameterName: The name of the encryption parameter.
	AttrSecretParameterName() alicloudroscdkcore.IResolvable
	// Attribute ShareType: The share type of the encryption parameter.
	AttrShareType() alicloudroscdkcore.IResolvable
	// Attribute Tags: Tags of encryption parameter.
	AttrTags() alicloudroscdkcore.IResolvable
	// Attribute Type: The data type of the encryption parameter.
	AttrType() alicloudroscdkcore.IResolvable
	// Attribute UpdatedBy: The user who updated the encryption parameter.
	AttrUpdatedBy() alicloudroscdkcore.IResolvable
	// Attribute UpdatedDate: The time when the encryption parameter was updated.
	AttrUpdatedDate() 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() *SecretParameterProps
	SetProps(val *SecretParameterProps)
	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::OOS::SecretParameter`, which is used to create an encryption parameter.

func NewSecretParameter

func NewSecretParameter(scope alicloudroscdkcore.Construct, id *string, props *SecretParameterProps, enableResourcePropertyConstraint *bool) SecretParameter

Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.

type SecretParameterProps

type SecretParameterProps struct {
	// Property secretParameterName: The name of the encryption parameter.
	//
	// The name must be 1 to 180 characters in length, and can contain letters, digits, hyphens (-), and underscores (_). It cannot start with ALIYUN, ACS, ALIBABA, ALICLOUD, or OOS.
	SecretParameterName interface{} `field:"required" json:"secretParameterName" yaml:"secretParameterName"`
	// Property value: The value of the encryption parameter.
	//
	// The value must be 1 to 4096 characters in length.
	Value interface{} `field:"required" json:"value" yaml:"value"`
	// Property constraints: The constraints of the encryption parameter.
	Constraints interface{} `field:"optional" json:"constraints" yaml:"constraints"`
	// Property description: The description of the encryption parameter.
	//
	// The description must be 1 to 200 characters in length.
	Description interface{} `field:"optional" json:"description" yaml:"description"`
	// Property keyId: The Customer Master Key (CMK) of Key Management Service (KMS) that is used to encrypt the parameter.
	KeyId interface{} `field:"optional" json:"keyId" yaml:"keyId"`
	// Property resourceGroupId: The ID of resource group.
	ResourceGroupId interface{} `field:"optional" json:"resourceGroupId" yaml:"resourceGroupId"`
	// Property tags: Tags of encryption parameter.
	Tags *[]*RosSecretParameter_TagsProperty `field:"optional" json:"tags" yaml:"tags"`
}

Properties for defining a `SecretParameter`.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-oos-secretparameter

type ServiceSettings added in v1.5.0

type ServiceSettings 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() *ServiceSettingsProps
	SetProps(val *ServiceSettingsProps)
	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::OOS::ServiceSettings`.

func NewServiceSettings added in v1.5.0

func NewServiceSettings(scope alicloudroscdkcore.Construct, id *string, props *ServiceSettingsProps, enableResourcePropertyConstraint *bool) ServiceSettings

Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.

type ServiceSettingsProps added in v1.5.0

type ServiceSettingsProps struct {
	// Property deliveryOssBucketName: OSS bucket name.
	DeliveryOssBucketName interface{} `field:"optional" json:"deliveryOssBucketName" yaml:"deliveryOssBucketName"`
	// Property deliveryOssEnabled: Whether to enable the OSS delivery template execution logging feature.
	//
	// Defaults to false.
	DeliveryOssEnabled interface{} `field:"optional" json:"deliveryOssEnabled" yaml:"deliveryOssEnabled"`
	// Property deliveryOssKeyPrefix: OSS storage space directory, such as "oos\/execution", pass "" to indicate that no directory is needed, if set before set again do not need directory can be cleared by passing "".
	DeliveryOssKeyPrefix interface{} `field:"optional" json:"deliveryOssKeyPrefix" yaml:"deliveryOssKeyPrefix"`
	// Property deliverySlsEnabled: Whether to enable the SLS delivery template execution logging feature.
	//
	// Defaults to false.
	DeliverySlsEnabled interface{} `field:"optional" json:"deliverySlsEnabled" yaml:"deliverySlsEnabled"`
	// Property deliverySlsProjectName: SLS project name.
	DeliverySlsProjectName interface{} `field:"optional" json:"deliverySlsProjectName" yaml:"deliverySlsProjectName"`
	// Property rdcEnterpriseId: Enterprise ID.
	RdcEnterpriseId interface{} `field:"optional" json:"rdcEnterpriseId" yaml:"rdcEnterpriseId"`
}

Properties for defining a `ServiceSettings`.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-oos-servicesettings

type StateConfiguration

type StateConfiguration interface {
	alicloudroscdkcore.Resource
	// Attribute StateConfigurationId: The ID of the desired-state configuration.
	AttrStateConfigurationId() 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() *StateConfigurationProps
	SetProps(val *StateConfigurationProps)
	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::OOS::StateConfiguration`, which is used to create a desired-state configuration.

func NewStateConfiguration

func NewStateConfiguration(scope alicloudroscdkcore.Construct, id *string, props *StateConfigurationProps, enableResourcePropertyConstraint *bool) StateConfiguration

Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.

type StateConfigurationProps

type StateConfigurationProps struct {
	// Property scheduleExpression: The schedule expression.
	//
	// The interval between two schedules must be a minimum of 30 minutes.
	ScheduleExpression interface{} `field:"required" json:"scheduleExpression" yaml:"scheduleExpression"`
	// Property scheduleType: The schedule type.
	//
	// Set the value to rate.
	ScheduleType interface{} `field:"required" json:"scheduleType" yaml:"scheduleType"`
	// Property targets: The resources to be queried.
	Targets interface{} `field:"required" json:"targets" yaml:"targets"`
	// Property templateName: The name of the template.
	//
	// The name must be 1 to 200 characters in length and can contain letters, digits, hyphens (-), and underscores (_).
	TemplateName interface{} `field:"required" json:"templateName" yaml:"templateName"`
	// Property configureMode: The configuration mode.
	//
	// Valid values: ApplyOnce: The configuration is applied only once. After a configuration is updated, the new configuration is applied. ApplyAndMonitor: The configuration is applied only once. After the configuration is applied, the system only checks whether the configuration is migrated in the future. ApplyAndAutoCorrect: The configuration is always applied.
	ConfigureMode interface{} `field:"optional" json:"configureMode" yaml:"configureMode"`
	// Property description: The description of the desired-state configuration.
	Description interface{} `field:"optional" json:"description" yaml:"description"`
	// Property parameters: The parameters.
	Parameters interface{} `field:"optional" json:"parameters" yaml:"parameters"`
	// Property resourceGroupId: The resource group ID.
	ResourceGroupId interface{} `field:"optional" json:"resourceGroupId" yaml:"resourceGroupId"`
	// Property tags: Tag value and the key mapping, the label of the key number can be up to 20.
	Tags *map[string]interface{} `field:"optional" json:"tags" yaml:"tags"`
	// Property templateVersion: The version number of the template.
	//
	// If you do not specify this parameter, the latest version of the template is used.
	TemplateVersion interface{} `field:"optional" json:"templateVersion" yaml:"templateVersion"`
}

Properties for defining a `StateConfiguration`.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-oos-stateconfiguration

type Template

type Template interface {
	alicloudroscdkcore.Resource
	// Attribute ExecutionPolicy: Execution Policy.
	AttrExecutionPolicy() alicloudroscdkcore.IResolvable
	// Attribute TemplateId: Template ID.
	AttrTemplateId() alicloudroscdkcore.IResolvable
	// Attribute TemplateName: Template Name.
	AttrTemplateName() 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() *TemplateProps
	SetProps(val *TemplateProps)
	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::OOS::Template`, which is used to create a template.

func NewTemplate

func NewTemplate(scope alicloudroscdkcore.Construct, id *string, props *TemplateProps, enableResourcePropertyConstraint *bool) Template

Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.

type TemplateProps

type TemplateProps struct {
	// Property content: The content of the template.
	//
	// The template must be in the JSON or YAML format. Maximum size: 64 KB.
	Content interface{} `field:"required" json:"content" yaml:"content"`
	// Property templateName: The name of the template.
	//
	// The template name can be up to 200 characters in length. The name can contain letters, digits, hyphens (-), and underscores (_). It cannot start with ALIYUN, ACS, ALIBABA, or ALICLOUD.
	TemplateName interface{} `field:"required" json:"templateName" yaml:"templateName"`
	// Property resourceGroupId: Resource group id.
	ResourceGroupId interface{} `field:"optional" json:"resourceGroupId" yaml:"resourceGroupId"`
	// Property tags: Tag value and the key mapping, the label of the key number can be up to 20.
	Tags *map[string]interface{} `field:"optional" json:"tags" yaml:"tags"`
}

Properties for defining a `Template`.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-oos-template

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL