Documentation ¶
Index ¶
- func GitCodeRepo_IsConstruct(x interface{}) *bool
- func NewGitCodeRepo_Override(g GitCodeRepo, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewPatchBaseline_Override(p PatchBaseline, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewPatchBaselines_Override(p PatchBaselines, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewRosGitCodeRepo_Override(r RosGitCodeRepo, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewRosPatchBaseline_Override(r RosPatchBaseline, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewRosPatchBaselines_Override(r RosPatchBaselines, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewRosSecretParameter_Override(r RosSecretParameter, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewRosSecretParameters_Override(r RosSecretParameters, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewSecretParameter_Override(s SecretParameter, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewSecretParameters_Override(s SecretParameters, scope alicloudroscdkcore.Construct, id *string, ...)
- func PatchBaseline_IsConstruct(x interface{}) *bool
- func PatchBaselines_IsConstruct(x interface{}) *bool
- func RosGitCodeRepo_IsConstruct(x interface{}) *bool
- func RosGitCodeRepo_IsRosElement(x interface{}) *bool
- func RosGitCodeRepo_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
- func RosGitCodeRepo_ROS_RESOURCE_TYPE_NAME() *string
- func RosPatchBaseline_IsConstruct(x interface{}) *bool
- func RosPatchBaseline_IsRosElement(x interface{}) *bool
- func RosPatchBaseline_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
- func RosPatchBaseline_ROS_RESOURCE_TYPE_NAME() *string
- func RosPatchBaselines_IsConstruct(x interface{}) *bool
- func RosPatchBaselines_IsRosElement(x interface{}) *bool
- func RosPatchBaselines_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
- func RosPatchBaselines_ROS_RESOURCE_TYPE_NAME() *string
- func RosSecretParameter_IsConstruct(x interface{}) *bool
- func RosSecretParameter_IsRosElement(x interface{}) *bool
- func RosSecretParameter_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
- func RosSecretParameter_ROS_RESOURCE_TYPE_NAME() *string
- func RosSecretParameters_IsConstruct(x interface{}) *bool
- func RosSecretParameters_IsRosElement(x interface{}) *bool
- func RosSecretParameters_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
- func RosSecretParameters_ROS_RESOURCE_TYPE_NAME() *string
- func SecretParameter_IsConstruct(x interface{}) *bool
- func SecretParameters_IsConstruct(x interface{}) *bool
- type GitCodeRepo
- type GitCodeRepoProps
- type IGitCodeRepo
- type IPatchBaseline
- type IPatchBaselines
- type ISecretParameter
- type ISecretParameters
- type PatchBaseline
- type PatchBaselineProps
- type PatchBaselines
- type PatchBaselinesProps
- type RosGitCodeRepo
- type RosGitCodeRepoProps
- type RosPatchBaseline
- type RosPatchBaselineProps
- type RosPatchBaselines
- type RosPatchBaselinesProps
- type RosSecretParameter
- type RosSecretParameterProps
- type RosSecretParameters
- type RosSecretParametersProps
- type SecretParameter
- type SecretParameterProps
- type SecretParameters
- type SecretParametersProps
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GitCodeRepo_IsConstruct ¶
func GitCodeRepo_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func NewGitCodeRepo_Override ¶
func NewGitCodeRepo_Override(g GitCodeRepo, scope alicloudroscdkcore.Construct, id *string, props *GitCodeRepoProps, 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 NewPatchBaselines_Override ¶
func NewPatchBaselines_Override(p PatchBaselines, scope alicloudroscdkcore.Construct, id *string, props *PatchBaselinesProps, enableResourcePropertyConstraint *bool)
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
func NewRosGitCodeRepo_Override ¶
func NewRosGitCodeRepo_Override(r RosGitCodeRepo, scope alicloudroscdkcore.Construct, id *string, props *RosGitCodeRepoProps, enableResourcePropertyConstraint *bool)
func NewRosPatchBaseline_Override ¶
func NewRosPatchBaseline_Override(r RosPatchBaseline, scope alicloudroscdkcore.Construct, id *string, props *RosPatchBaselineProps, enableResourcePropertyConstraint *bool)
func NewRosPatchBaselines_Override ¶
func NewRosPatchBaselines_Override(r RosPatchBaselines, scope alicloudroscdkcore.Construct, id *string, props *RosPatchBaselinesProps, enableResourcePropertyConstraint *bool)
func NewRosSecretParameter_Override ¶ added in v1.5.0
func NewRosSecretParameter_Override(r RosSecretParameter, scope alicloudroscdkcore.Construct, id *string, props *RosSecretParameterProps, enableResourcePropertyConstraint *bool)
func NewRosSecretParameters_Override ¶
func NewRosSecretParameters_Override(r RosSecretParameters, scope alicloudroscdkcore.Construct, id *string, props *RosSecretParametersProps, enableResourcePropertyConstraint *bool)
func NewSecretParameter_Override ¶ added in v1.5.0
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 NewSecretParameters_Override ¶
func NewSecretParameters_Override(s SecretParameters, scope alicloudroscdkcore.Construct, id *string, props *SecretParametersProps, enableResourcePropertyConstraint *bool)
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
func PatchBaseline_IsConstruct ¶
func PatchBaseline_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func PatchBaselines_IsConstruct ¶
func PatchBaselines_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func RosGitCodeRepo_IsConstruct ¶
func RosGitCodeRepo_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func RosGitCodeRepo_IsRosElement ¶
func RosGitCodeRepo_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 RosGitCodeRepo_IsRosResource ¶
func RosGitCodeRepo_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
Check whether the given construct is a RosResource.
func RosGitCodeRepo_ROS_RESOURCE_TYPE_NAME ¶
func RosGitCodeRepo_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 RosPatchBaselines_IsConstruct ¶
func RosPatchBaselines_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func RosPatchBaselines_IsRosElement ¶
func RosPatchBaselines_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 RosPatchBaselines_IsRosResource ¶
func RosPatchBaselines_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
Check whether the given construct is a RosResource.
func RosPatchBaselines_ROS_RESOURCE_TYPE_NAME ¶
func RosPatchBaselines_ROS_RESOURCE_TYPE_NAME() *string
func RosSecretParameter_IsConstruct ¶ added in v1.5.0
func RosSecretParameter_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func RosSecretParameter_IsRosElement ¶ added in v1.5.0
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 ¶ added in v1.5.0
func RosSecretParameter_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
Check whether the given construct is a RosResource.
func RosSecretParameter_ROS_RESOURCE_TYPE_NAME ¶ added in v1.5.0
func RosSecretParameter_ROS_RESOURCE_TYPE_NAME() *string
func RosSecretParameters_IsConstruct ¶
func RosSecretParameters_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func RosSecretParameters_IsRosElement ¶
func RosSecretParameters_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 RosSecretParameters_IsRosResource ¶
func RosSecretParameters_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
Check whether the given construct is a RosResource.
func RosSecretParameters_ROS_RESOURCE_TYPE_NAME ¶
func RosSecretParameters_ROS_RESOURCE_TYPE_NAME() *string
func SecretParameter_IsConstruct ¶ added in v1.5.0
func SecretParameter_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func SecretParameters_IsConstruct ¶
func SecretParameters_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
Types ¶
type GitCodeRepo ¶
type GitCodeRepo interface { alicloudroscdkcore.Resource IGitCodeRepo // Attribute AuthorizedUrl: Authorized url. AttrAuthorizedUrl() interface{} EnableResourcePropertyConstraint() *bool SetEnableResourcePropertyConstraint(val *bool) // The environment this resource belongs to. // // For resources that are created and managed by the CDK // (generally, those created by creating new class instances like Role, Bucket, etc.), // this is always the same as the environment of the stack they belong to; // however, for imported resources // (those obtained from static methods like fromRoleArn, fromBucketName, etc.), // that might be different than the stack they were imported into. Env() *alicloudroscdkcore.ResourceEnvironment Id() *string SetId(val *string) // The construct tree node associated with this construct. Node() alicloudroscdkcore.ConstructNode // Returns a string-encoded token that resolves to the physical name that should be passed to the ROS resource. // // This value will resolve to one of the following: // - a concrete value (e.g. `"my-awesome-bucket"`) // - `undefined`, when a name should be generated by ROS // - a concrete name generated automatically during synthesis, in // cross-environment scenarios. // Experimental. PhysicalName() *string Props() *GitCodeRepoProps Ref() *string Resource() alicloudroscdkcore.RosResource SetResource(val alicloudroscdkcore.RosResource) Scope() alicloudroscdkcore.Construct SetScope(val alicloudroscdkcore.Construct) // The stack in which this resource is defined. Stack() alicloudroscdkcore.Stack AddCondition(condition alicloudroscdkcore.RosCondition) AddCount(count interface{}) AddDependency(resource alicloudroscdkcore.Resource) AddResourceDesc(desc *string) ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy) FetchCondition() alicloudroscdkcore.RosCondition FetchDependency() *[]*string FetchResourceDesc() *string GeneratePhysicalName() *string GetAtt(name *string) alicloudroscdkcore.IResolvable // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() SetMetadata(key *string, value interface{}) // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string }
This class encapsulates and extends the ROS resource type `DATASOURCE::OOS::GitCodeRepo`, which is used to generate the URL of a user-specified GitHub or Gitee code repository.
func NewGitCodeRepo ¶
func NewGitCodeRepo(scope alicloudroscdkcore.Construct, id *string, props *GitCodeRepoProps, enableResourcePropertyConstraint *bool) GitCodeRepo
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
type GitCodeRepoProps ¶
type GitCodeRepoProps struct { // Property owner: Git account. Owner interface{} `field:"required" json:"owner" yaml:"owner"` // Property platform: Git platform. Platform interface{} `field:"required" json:"platform" yaml:"platform"` // Property repository: Git repository. Repository interface{} `field:"required" json:"repository" yaml:"repository"` // Property commitId: Git commit id. CommitId interface{} `field:"optional" json:"commitId" yaml:"commitId"` // Property organization: Git organization. Organization interface{} `field:"optional" json:"organization" yaml:"organization"` // Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated. // // Valid values: // - Never: Never refresh the datasource resource when the stack is updated. // - Always: Always refresh the datasource resource when the stack is updated. // Default is Never. RefreshOptions interface{} `field:"optional" json:"refreshOptions" yaml:"refreshOptions"` }
Properties for defining a `GitCodeRepo`.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-oos-gitcoderepo
type IGitCodeRepo ¶ added in v1.6.0
type IGitCodeRepo interface { alicloudroscdkcore.IResource // Attribute AuthorizedUrl: Authorized url. AttrAuthorizedUrl() interface{} Props() *GitCodeRepoProps }
Represents a `GitCodeRepo`.
type IPatchBaseline ¶ added in v1.6.0
type IPatchBaseline interface { alicloudroscdkcore.IResource // Attribute ApprovalRules: Accept the rules. AttrApprovalRules() interface{} // Attribute ApprovedPatches: Approved patch list. AttrApprovedPatches() interface{} // Attribute ApprovedPatchesEnableNonSecurity: Approve whether the patch includes updates other than security. AttrApprovedPatchesEnableNonSecurity() interface{} // Attribute CreatedBy: Patch baseline creator. AttrCreatedBy() interface{} // Attribute CreateTime: Creation time. AttrCreateTime() interface{} // Attribute Description: Patches baseline description information. AttrDescription() interface{} // Attribute IsDefault: Whether it is the default patch baseline. AttrIsDefault() interface{} // Attribute OperationSystem: Operating system type. AttrOperationSystem() interface{} // Attribute PatchBaselineId: Patch baseline ID. AttrPatchBaselineId() interface{} // Attribute PatchBaselineName: The name of the patch baseline. AttrPatchBaselineName() interface{} // Attribute RejectedPatches: Reject the name of the patch. AttrRejectedPatches() interface{} // Attribute RejectedPatchesAction: The operation of rejecting the patch. AttrRejectedPatchesAction() interface{} // Attribute ResourceGroupId: Approve whether the patch includes updates other than security. AttrResourceGroupId() interface{} AttrShareType() interface{} // Attribute Sources: Patch source configuration list. AttrSources() interface{} // Attribute Tags: Tags of patch baseline. AttrTags() interface{} // Attribute UpdatedBy: Patch baseline updater. AttrUpdatedBy() interface{} // Attribute UpdatedDate: Update time. AttrUpdatedDate() interface{} Props() *PatchBaselineProps }
Represents a `PatchBaseline`.
type IPatchBaselines ¶ added in v1.6.0
type IPatchBaselines interface { alicloudroscdkcore.IResource // Attribute PatchBaselineNames: The list of patch baseline names. AttrPatchBaselineNames() interface{} // Attribute PatchBaselines: The list of patch baselines. AttrPatchBaselines() interface{} Props() *PatchBaselinesProps }
Represents a `PatchBaselines`.
type ISecretParameter ¶ added in v1.6.0
type ISecretParameter interface { alicloudroscdkcore.IResource // Attribute Constraints: The constraints of the encryption parameter. AttrConstraints() interface{} // Attribute CreatedBy: The user who created the encryption parameter. AttrCreatedBy() interface{} // Attribute CreateTime: The time when the encryption parameter was created. AttrCreateTime() interface{} // Attribute Description: The description of the encryption parameter. AttrDescription() interface{} // Attribute KeyId: The ID of the key of Key Management Service (KMS) that is used for encryption. AttrKeyId() interface{} // Attribute ParameterVersion: The version number of the encryption parameter. AttrParameterVersion() interface{} // Attribute ResourceGroupId: The ID of the resource group. AttrResourceGroupId() interface{} // Attribute SecretParameterId: The ID of the encryption parameter. AttrSecretParameterId() interface{} // Attribute SecretParameterName: The name of the parameter. AttrSecretParameterName() interface{} AttrShareType() interface{} // Attribute Tags: The tags of the parameter. AttrTags() interface{} // Attribute Type: The type of the parameter. AttrType() interface{} // Attribute UpdatedBy: The user who updated the encryption parameter. AttrUpdatedBy() interface{} // Attribute UpdatedDate: The time when the encryption parameter was updated. AttrUpdatedDate() interface{} // Attribute Value: The value of the encryption parameter. AttrValue() interface{} Props() *SecretParameterProps }
Represents a `SecretParameter`.
type ISecretParameters ¶ added in v1.6.0
type ISecretParameters interface { alicloudroscdkcore.IResource // Attribute SecretParameterNames: The list of secret parameter names. AttrSecretParameterNames() interface{} // Attribute SecretParameters: The list of secret parameters. AttrSecretParameters() interface{} Props() *SecretParametersProps }
Represents a `SecretParameters`.
type PatchBaseline ¶
type PatchBaseline interface { alicloudroscdkcore.Resource IPatchBaseline // Attribute ApprovalRules: Accept the rules. AttrApprovalRules() interface{} // Attribute ApprovedPatches: Approved patch list. AttrApprovedPatches() interface{} // Attribute ApprovedPatchesEnableNonSecurity: Approve whether the patch includes updates other than security. AttrApprovedPatchesEnableNonSecurity() interface{} // Attribute CreatedBy: Patch baseline creator. AttrCreatedBy() interface{} // Attribute CreateTime: Creation time. AttrCreateTime() interface{} // Attribute Description: Patches baseline description information. AttrDescription() interface{} // Attribute IsDefault: Whether it is the default patch baseline. AttrIsDefault() interface{} // Attribute OperationSystem: Operating system type. AttrOperationSystem() interface{} // Attribute PatchBaselineId: Patch baseline ID. AttrPatchBaselineId() interface{} // Attribute PatchBaselineName: The name of the patch baseline. AttrPatchBaselineName() interface{} // Attribute RejectedPatches: Reject the name of the patch. AttrRejectedPatches() interface{} // Attribute RejectedPatchesAction: The operation of rejecting the patch. AttrRejectedPatchesAction() interface{} // Attribute ResourceGroupId: Approve whether the patch includes updates other than security. AttrResourceGroupId() interface{} AttrShareType() interface{} // Attribute Sources: Patch source configuration list. AttrSources() interface{} // Attribute Tags: Tags of patch baseline. AttrTags() interface{} // Attribute UpdatedBy: Patch baseline updater. AttrUpdatedBy() interface{} // Attribute UpdatedDate: Update time. AttrUpdatedDate() interface{} EnableResourcePropertyConstraint() *bool SetEnableResourcePropertyConstraint(val *bool) // The environment this resource belongs to. // // For resources that are created and managed by the CDK // (generally, those created by creating new class instances like Role, Bucket, etc.), // this is always the same as the environment of the stack they belong to; // however, for imported resources // (those obtained from static methods like fromRoleArn, fromBucketName, etc.), // that might be different than the stack they were imported into. Env() *alicloudroscdkcore.ResourceEnvironment Id() *string SetId(val *string) // The construct tree node associated with this construct. Node() alicloudroscdkcore.ConstructNode // Returns a string-encoded token that resolves to the physical name that should be passed to the ROS resource. // // This value will resolve to one of the following: // - a concrete value (e.g. `"my-awesome-bucket"`) // - `undefined`, when a name should be generated by ROS // - a concrete name generated automatically during synthesis, in // cross-environment scenarios. // Experimental. PhysicalName() *string Props() *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) FetchCondition() alicloudroscdkcore.RosCondition FetchDependency() *[]*string FetchResourceDesc() *string GeneratePhysicalName() *string GetAtt(name *string) alicloudroscdkcore.IResolvable // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() SetMetadata(key *string, value interface{}) // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string }
This class encapsulates and extends the ROS resource type `DATASOURCE::OOS::PatchBaseline`, which is used to query 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 patchBaselineName: The name of the patch baseline. PatchBaselineName interface{} `field:"required" json:"patchBaselineName" yaml:"patchBaselineName"` // Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated. // // Valid values: // - Never: Never refresh the datasource resource when the stack is updated. // - Always: Always refresh the datasource resource when the stack is updated. // Default is Never. RefreshOptions interface{} `field:"optional" json:"refreshOptions" yaml:"refreshOptions"` }
Properties for defining a `PatchBaseline`.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-oos-patchbaseline
type PatchBaselines ¶
type PatchBaselines interface { alicloudroscdkcore.Resource IPatchBaselines // Attribute PatchBaselineNames: The list of patch baseline names. AttrPatchBaselineNames() interface{} // Attribute PatchBaselines: The list of patch baselines. AttrPatchBaselines() interface{} EnableResourcePropertyConstraint() *bool SetEnableResourcePropertyConstraint(val *bool) // The environment this resource belongs to. // // For resources that are created and managed by the CDK // (generally, those created by creating new class instances like Role, Bucket, etc.), // this is always the same as the environment of the stack they belong to; // however, for imported resources // (those obtained from static methods like fromRoleArn, fromBucketName, etc.), // that might be different than the stack they were imported into. Env() *alicloudroscdkcore.ResourceEnvironment Id() *string SetId(val *string) // The construct tree node associated with this construct. Node() alicloudroscdkcore.ConstructNode // Returns a string-encoded token that resolves to the physical name that should be passed to the ROS resource. // // This value will resolve to one of the following: // - a concrete value (e.g. `"my-awesome-bucket"`) // - `undefined`, when a name should be generated by ROS // - a concrete name generated automatically during synthesis, in // cross-environment scenarios. // Experimental. PhysicalName() *string Props() *PatchBaselinesProps Ref() *string Resource() alicloudroscdkcore.RosResource SetResource(val alicloudroscdkcore.RosResource) Scope() alicloudroscdkcore.Construct SetScope(val alicloudroscdkcore.Construct) // The stack in which this resource is defined. Stack() alicloudroscdkcore.Stack AddCondition(condition alicloudroscdkcore.RosCondition) AddCount(count interface{}) AddDependency(resource alicloudroscdkcore.Resource) AddResourceDesc(desc *string) ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy) FetchCondition() alicloudroscdkcore.RosCondition FetchDependency() *[]*string FetchResourceDesc() *string GeneratePhysicalName() *string GetAtt(name *string) alicloudroscdkcore.IResolvable // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() SetMetadata(key *string, value interface{}) // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string }
This class encapsulates and extends the ROS resource type `DATASOURCE::OOS::PatchBaselines`, which is used to query patch baselines.
func NewPatchBaselines ¶
func NewPatchBaselines(scope alicloudroscdkcore.Construct, id *string, props *PatchBaselinesProps, enableResourcePropertyConstraint *bool) PatchBaselines
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
type PatchBaselinesProps ¶
type PatchBaselinesProps struct { // Property operationSystem: Operating system type. OperationSystem interface{} `field:"optional" json:"operationSystem" yaml:"operationSystem"` // Property patchBaselineName: The name of the patch baseline. PatchBaselineName interface{} `field:"optional" json:"patchBaselineName" yaml:"patchBaselineName"` // Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated. // // Valid values: // - Never: Never refresh the datasource resource when the stack is updated. // - Always: Always refresh the datasource resource when the stack is updated. // Default is Never. RefreshOptions interface{} `field:"optional" json:"refreshOptions" yaml:"refreshOptions"` ShareType interface{} `field:"optional" json:"shareType" yaml:"shareType"` }
Properties for defining a `PatchBaselines`.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-oos-patchbaselines
type RosGitCodeRepo ¶
type RosGitCodeRepo interface { alicloudroscdkcore.RosResource AttrAuthorizedUrl() alicloudroscdkcore.IResolvable CommitId() interface{} SetCommitId(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 Organization() interface{} SetOrganization(val interface{}) Owner() interface{} SetOwner(val interface{}) Platform() interface{} SetPlatform(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 RefreshOptions() interface{} SetRefreshOptions(val interface{}) Repository() interface{} SetRepository(val interface{}) // Options for this resource, such as condition, update policy etc. RosOptions() alicloudroscdkcore.IRosResourceOptions RosProperties() *map[string]interface{} // ROS resource type. RosResourceType() *string // The stack in which this element is defined. // // RosElements must be defined within a stack scope (directly or indirectly). Stack() alicloudroscdkcore.Stack // Return properties modified after initiation. // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperites() *map[string]interface{} AddCondition(con alicloudroscdkcore.RosCondition) AddCount(count interface{}) // Syntactic sugar for `addOverride(path, undefined)`. AddDeletionOverride(path *string) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // // This can be used for resources across stacks (or nested stack) boundaries // and the dependency will automatically be transferred to the relevant scope. AddDependsOn(target alicloudroscdkcore.RosResource) AddDesc(desc *string) AddMetaData(key *string, value interface{}) // Adds an override to the synthesized ROS resource. // // To add a // property override, either use `addPropertyOverride` or prefix `path` with // "Properties." (i.e. `Properties.TopicName`). // // If the override is nested, separate each nested level using a dot (.) in the path parameter. // If there is an array as part of the nesting, specify the index in the path. // // For example, // “`typescript // addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']) // addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE') // “` // would add the overrides // “`json // "Properties": { // "GlobalSecondaryIndexes": [ // { // "Projection": { // "NonKeyAttributes": [ "myattribute" ] // ... // } // ... // }, // { // "ProjectionType": "INCLUDE" // ... // }, // ] // ... // } // “`. AddOverride(path *string, value interface{}) // Adds an override that deletes the value of a property from the resource definition. AddPropertyDeletionOverride(propertyPath *string) // Adds an override to a resource property. // // Syntactic sugar for `addOverride("Properties.<...>", value)`. AddPropertyOverride(propertyPath *string, value interface{}) AddRosDependency(target *string) // Sets the deletion policy of the resource based on the removal policy specified. ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy, options *alicloudroscdkcore.RemovalPolicyOptions) FetchCondition() alicloudroscdkcore.RosCondition FetchDesc() *string FetchRosDependency() *[]*string // Returns a token for an runtime attribute of this resource. // // Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility // in case there is no generated attribute. GetAtt(attributeName *string) alicloudroscdkcore.Reference // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Overrides the auto-generated logical ID with a specific ID. OverrideLogicalId(newLogicalId *string) // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() RenderProperties(props *map[string]interface{}) *map[string]interface{} // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. // // Returns: a string representation of this resource. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string ValidateProperties(_properties interface{}) }
This class is a base encapsulation around the ROS resource type `DATASOURCE::OOS::GitCodeRepo`, which is used to generate the URL of a user-specified GitHub or Gitee code repository.
func NewRosGitCodeRepo ¶
func NewRosGitCodeRepo(scope alicloudroscdkcore.Construct, id *string, props *RosGitCodeRepoProps, enableResourcePropertyConstraint *bool) RosGitCodeRepo
type RosGitCodeRepoProps ¶
type RosGitCodeRepoProps struct { Owner interface{} `field:"required" json:"owner" yaml:"owner"` Platform interface{} `field:"required" json:"platform" yaml:"platform"` Repository interface{} `field:"required" json:"repository" yaml:"repository"` CommitId interface{} `field:"optional" json:"commitId" yaml:"commitId"` Organization interface{} `field:"optional" json:"organization" yaml:"organization"` RefreshOptions interface{} `field:"optional" json:"refreshOptions" yaml:"refreshOptions"` }
Properties for defining a `RosGitCodeRepo`.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-oos-gitcoderepo
type RosPatchBaseline ¶
type RosPatchBaseline interface { alicloudroscdkcore.RosResource 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 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 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 RefreshOptions() interface{} SetRefreshOptions(val interface{}) // Options for this resource, such as condition, update policy etc. RosOptions() alicloudroscdkcore.IRosResourceOptions RosProperties() *map[string]interface{} // ROS resource type. RosResourceType() *string // The stack in which this element is defined. // // RosElements must be defined within a stack scope (directly or indirectly). Stack() alicloudroscdkcore.Stack // Return properties modified after initiation. // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperites() *map[string]interface{} AddCondition(con alicloudroscdkcore.RosCondition) AddCount(count interface{}) // Syntactic sugar for `addOverride(path, undefined)`. AddDeletionOverride(path *string) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // // This can be used for resources across stacks (or nested stack) boundaries // and the dependency will automatically be transferred to the relevant scope. AddDependsOn(target alicloudroscdkcore.RosResource) AddDesc(desc *string) AddMetaData(key *string, value interface{}) // Adds an override to the synthesized ROS resource. // // To add a // property override, either use `addPropertyOverride` or prefix `path` with // "Properties." (i.e. `Properties.TopicName`). // // If the override is nested, separate each nested level using a dot (.) in the path parameter. // If there is an array as part of the nesting, specify the index in the path. // // For example, // “`typescript // addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']) // addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE') // “` // would add the overrides // “`json // "Properties": { // "GlobalSecondaryIndexes": [ // { // "Projection": { // "NonKeyAttributes": [ "myattribute" ] // ... // } // ... // }, // { // "ProjectionType": "INCLUDE" // ... // }, // ] // ... // } // “`. AddOverride(path *string, value interface{}) // Adds an override that deletes the value of a property from the resource definition. AddPropertyDeletionOverride(propertyPath *string) // Adds an override to a resource property. // // Syntactic sugar for `addOverride("Properties.<...>", value)`. AddPropertyOverride(propertyPath *string, value interface{}) AddRosDependency(target *string) // Sets the deletion policy of the resource based on the removal policy specified. ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy, options *alicloudroscdkcore.RemovalPolicyOptions) FetchCondition() alicloudroscdkcore.RosCondition FetchDesc() *string FetchRosDependency() *[]*string // Returns a token for an runtime attribute of this resource. // // Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility // in case there is no generated attribute. GetAtt(attributeName *string) alicloudroscdkcore.Reference // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Overrides the auto-generated logical ID with a specific ID. OverrideLogicalId(newLogicalId *string) // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() RenderProperties(props *map[string]interface{}) *map[string]interface{} // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. // // Returns: a string representation of this resource. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string ValidateProperties(_properties interface{}) }
This class is a base encapsulation around the ROS resource type `DATASOURCE::OOS::PatchBaseline`, which is used to query a patch baseline.
func NewRosPatchBaseline ¶
func NewRosPatchBaseline(scope alicloudroscdkcore.Construct, id *string, props *RosPatchBaselineProps, enableResourcePropertyConstraint *bool) RosPatchBaseline
type RosPatchBaselineProps ¶
type RosPatchBaselineProps struct { PatchBaselineName interface{} `field:"required" json:"patchBaselineName" yaml:"patchBaselineName"` RefreshOptions interface{} `field:"optional" json:"refreshOptions" yaml:"refreshOptions"` }
Properties for defining a `RosPatchBaseline`.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-oos-patchbaseline
type RosPatchBaselines ¶
type RosPatchBaselines interface { alicloudroscdkcore.RosResource AttrPatchBaselineNames() alicloudroscdkcore.IResolvable AttrPatchBaselines() 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 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 RefreshOptions() interface{} SetRefreshOptions(val interface{}) // Options for this resource, such as condition, update policy etc. RosOptions() alicloudroscdkcore.IRosResourceOptions RosProperties() *map[string]interface{} // ROS resource type. RosResourceType() *string // The stack in which this element is defined. // // RosElements must be defined within a stack scope (directly or indirectly). Stack() alicloudroscdkcore.Stack // Return properties modified after initiation. // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperites() *map[string]interface{} AddCondition(con alicloudroscdkcore.RosCondition) AddCount(count interface{}) // Syntactic sugar for `addOverride(path, undefined)`. AddDeletionOverride(path *string) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // // This can be used for resources across stacks (or nested stack) boundaries // and the dependency will automatically be transferred to the relevant scope. AddDependsOn(target alicloudroscdkcore.RosResource) AddDesc(desc *string) AddMetaData(key *string, value interface{}) // Adds an override to the synthesized ROS resource. // // To add a // property override, either use `addPropertyOverride` or prefix `path` with // "Properties." (i.e. `Properties.TopicName`). // // If the override is nested, separate each nested level using a dot (.) in the path parameter. // If there is an array as part of the nesting, specify the index in the path. // // For example, // “`typescript // addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']) // addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE') // “` // would add the overrides // “`json // "Properties": { // "GlobalSecondaryIndexes": [ // { // "Projection": { // "NonKeyAttributes": [ "myattribute" ] // ... // } // ... // }, // { // "ProjectionType": "INCLUDE" // ... // }, // ] // ... // } // “`. AddOverride(path *string, value interface{}) // Adds an override that deletes the value of a property from the resource definition. AddPropertyDeletionOverride(propertyPath *string) // Adds an override to a resource property. // // Syntactic sugar for `addOverride("Properties.<...>", value)`. AddPropertyOverride(propertyPath *string, value interface{}) AddRosDependency(target *string) // Sets the deletion policy of the resource based on the removal policy specified. ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy, options *alicloudroscdkcore.RemovalPolicyOptions) FetchCondition() alicloudroscdkcore.RosCondition FetchDesc() *string FetchRosDependency() *[]*string // Returns a token for an runtime attribute of this resource. // // Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility // in case there is no generated attribute. GetAtt(attributeName *string) alicloudroscdkcore.Reference // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Overrides the auto-generated logical ID with a specific ID. OverrideLogicalId(newLogicalId *string) // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() RenderProperties(props *map[string]interface{}) *map[string]interface{} // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. // // Returns: a string representation of this resource. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string ValidateProperties(_properties interface{}) }
This class is a base encapsulation around the ROS resource type `DATASOURCE::OOS::PatchBaselines`, which is used to query patch baselines.
func NewRosPatchBaselines ¶
func NewRosPatchBaselines(scope alicloudroscdkcore.Construct, id *string, props *RosPatchBaselinesProps, enableResourcePropertyConstraint *bool) RosPatchBaselines
type RosPatchBaselinesProps ¶
type RosPatchBaselinesProps struct { OperationSystem interface{} `field:"optional" json:"operationSystem" yaml:"operationSystem"` PatchBaselineName interface{} `field:"optional" json:"patchBaselineName" yaml:"patchBaselineName"` RefreshOptions interface{} `field:"optional" json:"refreshOptions" yaml:"refreshOptions"` }
Properties for defining a `RosPatchBaselines`.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-oos-patchbaselines
type RosSecretParameter ¶ added in v1.5.0
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 AttrTags() alicloudroscdkcore.IResolvable AttrType() alicloudroscdkcore.IResolvable AttrUpdatedBy() alicloudroscdkcore.IResolvable AttrUpdatedDate() alicloudroscdkcore.IResolvable AttrValue() alicloudroscdkcore.IResolvable // Returns: the stack trace of the point where this Resource was created from, sourced // from the +metadata+ entry typed +aliyun:ros:logicalId+, and with the bottom-most // node +internal+ entries filtered. CreationStack() *[]*string EnableResourcePropertyConstraint() *bool SetEnableResourcePropertyConstraint(val *bool) // The logical ID for this stack element. // // The logical ID of the element // is calculated from the path of the resource node in the construct tree. // // To override this value, use `overrideLogicalId(newLogicalId)`. // // Returns: the logical ID as a stringified token. This value will only get // resolved during synthesis. LogicalId() *string // The construct tree node associated with this construct. Node() alicloudroscdkcore.ConstructNode // Return a string that will be resolved to a RosTemplate `{ Ref }` for this element. // // If, by any chance, the intrinsic reference of a resource is not a string, you could // coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`. Ref() *string RefreshOptions() interface{} SetRefreshOptions(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 // Return properties modified after initiation. // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperites() *map[string]interface{} AddCondition(con alicloudroscdkcore.RosCondition) AddCount(count interface{}) // Syntactic sugar for `addOverride(path, undefined)`. AddDeletionOverride(path *string) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // // This can be used for resources across stacks (or nested stack) boundaries // and the dependency will automatically be transferred to the relevant scope. AddDependsOn(target alicloudroscdkcore.RosResource) AddDesc(desc *string) AddMetaData(key *string, value interface{}) // Adds an override to the synthesized ROS resource. // // To add a // property override, either use `addPropertyOverride` or prefix `path` with // "Properties." (i.e. `Properties.TopicName`). // // If the override is nested, separate each nested level using a dot (.) in the path parameter. // If there is an array as part of the nesting, specify the index in the path. // // For example, // “`typescript // addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']) // addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE') // “` // would add the overrides // “`json // "Properties": { // "GlobalSecondaryIndexes": [ // { // "Projection": { // "NonKeyAttributes": [ "myattribute" ] // ... // } // ... // }, // { // "ProjectionType": "INCLUDE" // ... // }, // ] // ... // } // “`. AddOverride(path *string, value interface{}) // Adds an override that deletes the value of a property from the resource definition. AddPropertyDeletionOverride(propertyPath *string) // Adds an override to a resource property. // // Syntactic sugar for `addOverride("Properties.<...>", value)`. AddPropertyOverride(propertyPath *string, value interface{}) AddRosDependency(target *string) // Sets the deletion policy of the resource based on the removal policy specified. ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy, options *alicloudroscdkcore.RemovalPolicyOptions) FetchCondition() alicloudroscdkcore.RosCondition FetchDesc() *string FetchRosDependency() *[]*string // Returns a token for an runtime attribute of this resource. // // Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility // in case there is no generated attribute. GetAtt(attributeName *string) alicloudroscdkcore.Reference // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Overrides the auto-generated logical ID with a specific ID. OverrideLogicalId(newLogicalId *string) // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() RenderProperties(props *map[string]interface{}) *map[string]interface{} // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. // // Returns: a string representation of this resource. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string ValidateProperties(_properties interface{}) }
This class is a base encapsulation around the ROS resource type `DATASOURCE::OOS::SecretParameter`.
func NewRosSecretParameter ¶ added in v1.5.0
func NewRosSecretParameter(scope alicloudroscdkcore.Construct, id *string, props *RosSecretParameterProps, enableResourcePropertyConstraint *bool) RosSecretParameter
type RosSecretParameterProps ¶ added in v1.5.0
type RosSecretParameterProps struct { SecretParameterName interface{} `field:"required" json:"secretParameterName" yaml:"secretParameterName"` RefreshOptions interface{} `field:"optional" json:"refreshOptions" yaml:"refreshOptions"` }
Properties for defining a `RosSecretParameter`.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-oos-secretparameter
type RosSecretParameters ¶
type RosSecretParameters interface { alicloudroscdkcore.RosResource AttrSecretParameterNames() alicloudroscdkcore.IResolvable AttrSecretParameters() alicloudroscdkcore.IResolvable // Returns: the stack trace of the point where this Resource was created from, sourced // from the +metadata+ entry typed +aliyun:ros:logicalId+, and with the bottom-most // node +internal+ entries filtered. CreationStack() *[]*string EnableResourcePropertyConstraint() *bool SetEnableResourcePropertyConstraint(val *bool) // The logical ID for this stack element. // // The logical ID of the element // is calculated from the path of the resource node in the construct tree. // // To override this value, use `overrideLogicalId(newLogicalId)`. // // Returns: the logical ID as a stringified token. This value will only get // resolved during synthesis. LogicalId() *string // The construct tree node associated with this construct. Node() alicloudroscdkcore.ConstructNode // Return a string that will be resolved to a RosTemplate `{ Ref }` for this element. // // If, by any chance, the intrinsic reference of a resource is not a string, you could // coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`. Ref() *string RefreshOptions() interface{} SetRefreshOptions(val interface{}) ResourceGroupId() interface{} SetResourceGroupId(val interface{}) // Options for this resource, such as condition, update policy etc. RosOptions() alicloudroscdkcore.IRosResourceOptions RosProperties() *map[string]interface{} // ROS resource type. RosResourceType() *string 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 // Return properties modified after initiation. // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperites() *map[string]interface{} AddCondition(con alicloudroscdkcore.RosCondition) AddCount(count interface{}) // Syntactic sugar for `addOverride(path, undefined)`. AddDeletionOverride(path *string) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // // This can be used for resources across stacks (or nested stack) boundaries // and the dependency will automatically be transferred to the relevant scope. AddDependsOn(target alicloudroscdkcore.RosResource) AddDesc(desc *string) AddMetaData(key *string, value interface{}) // Adds an override to the synthesized ROS resource. // // To add a // property override, either use `addPropertyOverride` or prefix `path` with // "Properties." (i.e. `Properties.TopicName`). // // If the override is nested, separate each nested level using a dot (.) in the path parameter. // If there is an array as part of the nesting, specify the index in the path. // // For example, // “`typescript // addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']) // addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE') // “` // would add the overrides // “`json // "Properties": { // "GlobalSecondaryIndexes": [ // { // "Projection": { // "NonKeyAttributes": [ "myattribute" ] // ... // } // ... // }, // { // "ProjectionType": "INCLUDE" // ... // }, // ] // ... // } // “`. AddOverride(path *string, value interface{}) // Adds an override that deletes the value of a property from the resource definition. AddPropertyDeletionOverride(propertyPath *string) // Adds an override to a resource property. // // Syntactic sugar for `addOverride("Properties.<...>", value)`. AddPropertyOverride(propertyPath *string, value interface{}) AddRosDependency(target *string) // Sets the deletion policy of the resource based on the removal policy specified. ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy, options *alicloudroscdkcore.RemovalPolicyOptions) FetchCondition() alicloudroscdkcore.RosCondition FetchDesc() *string FetchRosDependency() *[]*string // Returns a token for an runtime attribute of this resource. // // Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility // in case there is no generated attribute. GetAtt(attributeName *string) alicloudroscdkcore.Reference // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Overrides the auto-generated logical ID with a specific ID. OverrideLogicalId(newLogicalId *string) // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() RenderProperties(props *map[string]interface{}) *map[string]interface{} // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. // // Returns: a string representation of this resource. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string ValidateProperties(_properties interface{}) }
This class is a base encapsulation around the ROS resource type `DATASOURCE::OOS::SecretParameters`, which is used to query encryption parameters.
func NewRosSecretParameters ¶
func NewRosSecretParameters(scope alicloudroscdkcore.Construct, id *string, props *RosSecretParametersProps, enableResourcePropertyConstraint *bool) RosSecretParameters
type RosSecretParametersProps ¶
type RosSecretParametersProps struct { RefreshOptions interface{} `field:"optional" json:"refreshOptions" yaml:"refreshOptions"` ResourceGroupId interface{} `field:"optional" json:"resourceGroupId" yaml:"resourceGroupId"` SecretParameterName interface{} `field:"optional" json:"secretParameterName" yaml:"secretParameterName"` }
Properties for defining a `RosSecretParameters`.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-oos-secretparameters
type SecretParameter ¶ added in v1.5.0
type SecretParameter interface { alicloudroscdkcore.Resource ISecretParameter // Attribute Constraints: The constraints of the encryption parameter. AttrConstraints() interface{} // Attribute CreatedBy: The user who created the encryption parameter. AttrCreatedBy() interface{} // Attribute CreateTime: The time when the encryption parameter was created. AttrCreateTime() interface{} // Attribute Description: The description of the encryption parameter. AttrDescription() interface{} // Attribute KeyId: The ID of the key of Key Management Service (KMS) that is used for encryption. AttrKeyId() interface{} // Attribute ParameterVersion: The version number of the encryption parameter. AttrParameterVersion() interface{} // Attribute ResourceGroupId: The ID of the resource group. AttrResourceGroupId() interface{} // Attribute SecretParameterId: The ID of the encryption parameter. AttrSecretParameterId() interface{} // Attribute SecretParameterName: The name of the parameter. AttrSecretParameterName() interface{} AttrShareType() interface{} // Attribute Tags: The tags of the parameter. AttrTags() interface{} // Attribute Type: The type of the parameter. AttrType() interface{} // Attribute UpdatedBy: The user who updated the encryption parameter. AttrUpdatedBy() interface{} // Attribute UpdatedDate: The time when the encryption parameter was updated. AttrUpdatedDate() interface{} // Attribute Value: The value of the encryption parameter. AttrValue() interface{} EnableResourcePropertyConstraint() *bool SetEnableResourcePropertyConstraint(val *bool) // The environment this resource belongs to. // // For resources that are created and managed by the CDK // (generally, those created by creating new class instances like Role, Bucket, etc.), // this is always the same as the environment of the stack they belong to; // however, for imported resources // (those obtained from static methods like fromRoleArn, fromBucketName, etc.), // that might be different than the stack they were imported into. Env() *alicloudroscdkcore.ResourceEnvironment Id() *string SetId(val *string) // The construct tree node associated with this construct. Node() alicloudroscdkcore.ConstructNode // Returns a string-encoded token that resolves to the physical name that should be passed to the ROS resource. // // This value will resolve to one of the following: // - a concrete value (e.g. `"my-awesome-bucket"`) // - `undefined`, when a name should be generated by ROS // - a concrete name generated automatically during synthesis, in // cross-environment scenarios. // Experimental. PhysicalName() *string Props() *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) FetchCondition() alicloudroscdkcore.RosCondition FetchDependency() *[]*string FetchResourceDesc() *string GeneratePhysicalName() *string GetAtt(name *string) alicloudroscdkcore.IResolvable // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() SetMetadata(key *string, value interface{}) // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string }
This class encapsulates and extends the ROS resource type `DATASOURCE::OOS::SecretParameter`.
func NewSecretParameter ¶ added in v1.5.0
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 ¶ added in v1.5.0
type SecretParameterProps struct { // Property secretParameterName: The name of the parameter. SecretParameterName interface{} `field:"required" json:"secretParameterName" yaml:"secretParameterName"` // Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated. // // Valid values: // - Never: Never refresh the datasource resource when the stack is updated. // - Always: Always refresh the datasource resource when the stack is updated. // Default is Never. RefreshOptions interface{} `field:"optional" json:"refreshOptions" yaml:"refreshOptions"` }
Properties for defining a `SecretParameter`.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-oos-secretparameter
type SecretParameters ¶
type SecretParameters interface { alicloudroscdkcore.Resource ISecretParameters // Attribute SecretParameterNames: The list of secret parameter names. AttrSecretParameterNames() interface{} // Attribute SecretParameters: The list of secret parameters. AttrSecretParameters() interface{} EnableResourcePropertyConstraint() *bool SetEnableResourcePropertyConstraint(val *bool) // The environment this resource belongs to. // // For resources that are created and managed by the CDK // (generally, those created by creating new class instances like Role, Bucket, etc.), // this is always the same as the environment of the stack they belong to; // however, for imported resources // (those obtained from static methods like fromRoleArn, fromBucketName, etc.), // that might be different than the stack they were imported into. Env() *alicloudroscdkcore.ResourceEnvironment Id() *string SetId(val *string) // The construct tree node associated with this construct. Node() alicloudroscdkcore.ConstructNode // Returns a string-encoded token that resolves to the physical name that should be passed to the ROS resource. // // This value will resolve to one of the following: // - a concrete value (e.g. `"my-awesome-bucket"`) // - `undefined`, when a name should be generated by ROS // - a concrete name generated automatically during synthesis, in // cross-environment scenarios. // Experimental. PhysicalName() *string Props() *SecretParametersProps Ref() *string Resource() alicloudroscdkcore.RosResource SetResource(val alicloudroscdkcore.RosResource) Scope() alicloudroscdkcore.Construct SetScope(val alicloudroscdkcore.Construct) // The stack in which this resource is defined. Stack() alicloudroscdkcore.Stack AddCondition(condition alicloudroscdkcore.RosCondition) AddCount(count interface{}) AddDependency(resource alicloudroscdkcore.Resource) AddResourceDesc(desc *string) ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy) FetchCondition() alicloudroscdkcore.RosCondition FetchDependency() *[]*string FetchResourceDesc() *string GeneratePhysicalName() *string GetAtt(name *string) alicloudroscdkcore.IResolvable // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() SetMetadata(key *string, value interface{}) // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string }
This class encapsulates and extends the ROS resource type `DATASOURCE::OOS::SecretParameters`, which is used to query encryption parameters.
func NewSecretParameters ¶
func NewSecretParameters(scope alicloudroscdkcore.Construct, id *string, props *SecretParametersProps, enableResourcePropertyConstraint *bool) SecretParameters
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
type SecretParametersProps ¶
type SecretParametersProps struct { // Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated. // // Valid values: // - Never: Never refresh the datasource resource when the stack is updated. // - Always: Always refresh the datasource resource when the stack is updated. // Default is Never. RefreshOptions interface{} `field:"optional" json:"refreshOptions" yaml:"refreshOptions"` // Property resourceGroupId: The ID of resource group. ResourceGroupId interface{} `field:"optional" json:"resourceGroupId" yaml:"resourceGroupId"` // Property secretParameterName: The name of the encryption parameter. SecretParameterName interface{} `field:"optional" json:"secretParameterName" yaml:"secretParameterName"` }
Properties for defining a `SecretParameters`.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-oos-secretparameters
Source Files ¶
- GitCodeRepo.go
- GitCodeRepoProps.go
- GitCodeRepo__checks.go
- IGitCodeRepo.go
- IPatchBaseline.go
- IPatchBaselines.go
- ISecretParameter.go
- ISecretParameters.go
- PatchBaseline.go
- PatchBaselineProps.go
- PatchBaseline__checks.go
- PatchBaselines.go
- PatchBaselinesProps.go
- PatchBaselines__checks.go
- RosGitCodeRepo.go
- RosGitCodeRepoProps.go
- RosGitCodeRepo__checks.go
- RosPatchBaseline.go
- RosPatchBaselineProps.go
- RosPatchBaseline__checks.go
- RosPatchBaselines.go
- RosPatchBaselinesProps.go
- RosPatchBaselines__checks.go
- RosSecretParameter.go
- RosSecretParameterProps.go
- RosSecretParameter__checks.go
- RosSecretParameters.go
- RosSecretParametersProps.go
- RosSecretParameters__checks.go
- SecretParameter.go
- SecretParameterProps.go
- SecretParameter__checks.go
- SecretParameters.go
- SecretParametersProps.go
- SecretParameters__checks.go
- main.go