Documentation ¶
Overview ¶
Aliyun SDK Copyright (C) Alibaba Cloud Computing All rights reserved. http://www.aliyun.com
Index ¶
- func Alert_IsConstruct(x interface{}) *bool
- func ApplyConfigToMachineGroup_IsConstruct(x interface{}) *bool
- func Audit_IsConstruct(x interface{}) *bool
- func ConsumerGroup_IsConstruct(x interface{}) *bool
- func Dashboard_IsConstruct(x interface{}) *bool
- func Etl_IsConstruct(x interface{}) *bool
- func Index_IsConstruct(x interface{}) *bool
- func Logstore_IsConstruct(x interface{}) *bool
- func LogtailConfig_IsConstruct(x interface{}) *bool
- func MachineGroup_IsConstruct(x interface{}) *bool
- func MetricStore_IsConstruct(x interface{}) *bool
- func NewAlert_Override(a Alert, scope alicloudroscdkcore.Construct, id *string, props *AlertProps, ...)
- func NewApplyConfigToMachineGroup_Override(a ApplyConfigToMachineGroup, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewAudit_Override(a Audit, scope alicloudroscdkcore.Construct, id *string, props *AuditProps, ...)
- func NewConsumerGroup_Override(c ConsumerGroup, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewDashboard_Override(d Dashboard, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewEtl_Override(e Etl, scope alicloudroscdkcore.Construct, id *string, props *EtlProps, ...)
- func NewIndex_Override(i Index, scope alicloudroscdkcore.Construct, id *string, props *IndexProps, ...)
- func NewLogstore_Override(l Logstore, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewLogtailConfig_Override(l LogtailConfig, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewMachineGroup_Override(m MachineGroup, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewMetricStore_Override(m MetricStore, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewOssExport_Override(o OssExport, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewOssExternalStore_Override(o OssExternalStore, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewProject_Override(p Project, scope alicloudroscdkcore.Construct, id *string, props *ProjectProps, ...)
- func NewRdsExternalStore_Override(r RdsExternalStore, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewRosAlert_Override(r RosAlert, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewRosApplyConfigToMachineGroup_Override(r RosApplyConfigToMachineGroup, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewRosAudit_Override(r RosAudit, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewRosConsumerGroup_Override(r RosConsumerGroup, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewRosDashboard_Override(r RosDashboard, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewRosEtl_Override(r RosEtl, scope alicloudroscdkcore.Construct, id *string, props *RosEtlProps, ...)
- func NewRosIndex_Override(r RosIndex, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewRosLogstore_Override(r RosLogstore, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewRosLogtailConfig_Override(r RosLogtailConfig, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewRosMachineGroup_Override(r RosMachineGroup, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewRosMetricStore_Override(r RosMetricStore, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewRosOssExport_Override(r RosOssExport, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewRosOssExternalStore_Override(r RosOssExternalStore, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewRosProject_Override(r RosProject, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewRosRdsExternalStore_Override(r RosRdsExternalStore, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewRosSavedsearch_Override(r RosSavedsearch, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewRosServiceLog_Override(r RosServiceLog, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewSavedsearch_Override(s Savedsearch, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewServiceLog_Override(s ServiceLog, scope alicloudroscdkcore.Construct, id *string, ...)
- func OssExport_IsConstruct(x interface{}) *bool
- func OssExternalStore_IsConstruct(x interface{}) *bool
- func Project_IsConstruct(x interface{}) *bool
- func RdsExternalStore_IsConstruct(x interface{}) *bool
- func RosAlert_IsConstruct(x interface{}) *bool
- func RosAlert_IsRosElement(x interface{}) *bool
- func RosAlert_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
- func RosAlert_ROS_RESOURCE_TYPE_NAME() *string
- func RosApplyConfigToMachineGroup_IsConstruct(x interface{}) *bool
- func RosApplyConfigToMachineGroup_IsRosElement(x interface{}) *bool
- func RosApplyConfigToMachineGroup_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
- func RosApplyConfigToMachineGroup_ROS_RESOURCE_TYPE_NAME() *string
- func RosAudit_IsConstruct(x interface{}) *bool
- func RosAudit_IsRosElement(x interface{}) *bool
- func RosAudit_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
- func RosAudit_ROS_RESOURCE_TYPE_NAME() *string
- func RosConsumerGroup_IsConstruct(x interface{}) *bool
- func RosConsumerGroup_IsRosElement(x interface{}) *bool
- func RosConsumerGroup_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
- func RosConsumerGroup_ROS_RESOURCE_TYPE_NAME() *string
- func RosDashboard_IsConstruct(x interface{}) *bool
- func RosDashboard_IsRosElement(x interface{}) *bool
- func RosDashboard_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
- func RosDashboard_ROS_RESOURCE_TYPE_NAME() *string
- func RosEtl_IsConstruct(x interface{}) *bool
- func RosEtl_IsRosElement(x interface{}) *bool
- func RosEtl_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
- func RosEtl_ROS_RESOURCE_TYPE_NAME() *string
- func RosIndex_IsConstruct(x interface{}) *bool
- func RosIndex_IsRosElement(x interface{}) *bool
- func RosIndex_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
- func RosIndex_ROS_RESOURCE_TYPE_NAME() *string
- func RosLogstore_IsConstruct(x interface{}) *bool
- func RosLogstore_IsRosElement(x interface{}) *bool
- func RosLogstore_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
- func RosLogstore_ROS_RESOURCE_TYPE_NAME() *string
- func RosLogtailConfig_IsConstruct(x interface{}) *bool
- func RosLogtailConfig_IsRosElement(x interface{}) *bool
- func RosLogtailConfig_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
- func RosLogtailConfig_ROS_RESOURCE_TYPE_NAME() *string
- func RosMachineGroup_IsConstruct(x interface{}) *bool
- func RosMachineGroup_IsRosElement(x interface{}) *bool
- func RosMachineGroup_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
- func RosMachineGroup_ROS_RESOURCE_TYPE_NAME() *string
- func RosMetricStore_IsConstruct(x interface{}) *bool
- func RosMetricStore_IsRosElement(x interface{}) *bool
- func RosMetricStore_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
- func RosMetricStore_ROS_RESOURCE_TYPE_NAME() *string
- func RosOssExport_IsConstruct(x interface{}) *bool
- func RosOssExport_IsRosElement(x interface{}) *bool
- func RosOssExport_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
- func RosOssExport_ROS_RESOURCE_TYPE_NAME() *string
- func RosOssExternalStore_IsConstruct(x interface{}) *bool
- func RosOssExternalStore_IsRosElement(x interface{}) *bool
- func RosOssExternalStore_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
- func RosOssExternalStore_ROS_RESOURCE_TYPE_NAME() *string
- func RosProject_IsConstruct(x interface{}) *bool
- func RosProject_IsRosElement(x interface{}) *bool
- func RosProject_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
- func RosProject_ROS_RESOURCE_TYPE_NAME() *string
- func RosRdsExternalStore_IsConstruct(x interface{}) *bool
- func RosRdsExternalStore_IsRosElement(x interface{}) *bool
- func RosRdsExternalStore_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
- func RosRdsExternalStore_ROS_RESOURCE_TYPE_NAME() *string
- func RosSavedsearch_IsConstruct(x interface{}) *bool
- func RosSavedsearch_IsRosElement(x interface{}) *bool
- func RosSavedsearch_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
- func RosSavedsearch_ROS_RESOURCE_TYPE_NAME() *string
- func RosServiceLog_IsConstruct(x interface{}) *bool
- func RosServiceLog_IsRosElement(x interface{}) *bool
- func RosServiceLog_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
- func RosServiceLog_ROS_RESOURCE_TYPE_NAME() *string
- func Savedsearch_IsConstruct(x interface{}) *bool
- func ServiceLog_IsConstruct(x interface{}) *bool
- type Alert
- type AlertProps
- type ApplyConfigToMachineGroup
- type ApplyConfigToMachineGroupProps
- type Audit
- type AuditProps
- type ConsumerGroup
- type ConsumerGroupProps
- type Dashboard
- type DashboardProps
- type Etl
- type EtlProps
- type IAlert
- type IApplyConfigToMachineGroup
- type IAudit
- type IConsumerGroup
- type IDashboard
- type IEtl
- type IIndex
- type ILogstore
- type ILogtailConfig
- type IMachineGroup
- type IMetricStore
- type IOssExport
- type IOssExternalStore
- type IProject
- type IRdsExternalStore
- type ISavedsearch
- type IServiceLog
- type Index
- type IndexProps
- type Logstore
- type LogstoreProps
- type LogtailConfig
- type LogtailConfigProps
- type MachineGroup
- type MachineGroupProps
- type MetricStore
- type MetricStoreProps
- type OssExport
- type OssExportProps
- type OssExternalStore
- type OssExternalStoreProps
- type Project
- type ProjectProps
- type RdsExternalStore
- type RdsExternalStoreProps
- type RosAlert
- type RosAlertProps
- type RosAlert_AnnotationsProperty
- type RosAlert_ConfigurationProperty
- type RosAlert_DetailProperty
- type RosAlert_EvalConditionProperty
- type RosAlert_GroupConfigurationProperty
- type RosAlert_JoinConfigurationsProperty
- type RosAlert_LabelsProperty
- type RosAlert_NotificationListProperty
- type RosAlert_PolicyConfigurationProperty
- type RosAlert_QueryListProperty
- type RosAlert_ScheduleProperty
- type RosAlert_SeverityConfigurationsProperty
- type RosApplyConfigToMachineGroup
- type RosApplyConfigToMachineGroupProps
- type RosAudit
- type RosAuditProps
- type RosAudit_VariableMapProperty
- type RosConsumerGroup
- type RosConsumerGroupProps
- type RosDashboard
- type RosDashboardProps
- type RosEtl
- type RosEtlProps
- type RosEtl_ConfigurationProperty
- type RosEtl_ScheduleProperty
- type RosEtl_SinksProperty
- type RosIndex
- type RosIndexProps
- type RosIndex_FullTextIndexProperty
- type RosIndex_JsonKeyIndicesProperty
- type RosIndex_KeyIndicesProperty
- type RosLogstore
- type RosLogstoreProps
- type RosLogstore_EncryptConfProperty
- type RosLogstore_UserCmkInfoProperty
- type RosLogtailConfig
- type RosLogtailConfigProps
- type RosLogtailConfig_CloneFromProperty
- type RosMachineGroup
- type RosMachineGroupProps
- type RosMetricStore
- type RosMetricStoreProps
- type RosOssExport
- type RosOssExportProps
- type RosOssExport_ConfigurationProperty
- type RosOssExport_SinkProperty
- type RosOssExternalStore
- type RosOssExternalStoreProps
- type RosOssExternalStore_ColumnsProperty
- type RosProject
- type RosProjectProps
- type RosProject_TagsProperty
- type RosRdsExternalStore
- type RosRdsExternalStoreProps
- type RosSavedsearch
- type RosSavedsearchProps
- type RosSavedsearch_DetailProperty
- type RosServiceLog
- type RosServiceLogProps
- type Savedsearch
- type SavedsearchProps
- type ServiceLog
- type ServiceLogProps
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Alert_IsConstruct ¶
func Alert_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func ApplyConfigToMachineGroup_IsConstruct ¶
func ApplyConfigToMachineGroup_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func Audit_IsConstruct ¶
func Audit_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func ConsumerGroup_IsConstruct ¶ added in v1.5.0
func ConsumerGroup_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func Dashboard_IsConstruct ¶
func Dashboard_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func Etl_IsConstruct ¶
func Etl_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func Index_IsConstruct ¶
func Index_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func Logstore_IsConstruct ¶
func Logstore_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func LogtailConfig_IsConstruct ¶
func LogtailConfig_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func MachineGroup_IsConstruct ¶
func MachineGroup_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func MetricStore_IsConstruct ¶
func MetricStore_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func NewAlert_Override ¶
func NewAlert_Override(a Alert, scope alicloudroscdkcore.Construct, id *string, props *AlertProps, enableResourcePropertyConstraint *bool)
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
func NewApplyConfigToMachineGroup_Override ¶
func NewApplyConfigToMachineGroup_Override(a ApplyConfigToMachineGroup, scope alicloudroscdkcore.Construct, id *string, props *ApplyConfigToMachineGroupProps, enableResourcePropertyConstraint *bool)
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
func NewAudit_Override ¶
func NewAudit_Override(a Audit, scope alicloudroscdkcore.Construct, id *string, props *AuditProps, enableResourcePropertyConstraint *bool)
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
func NewConsumerGroup_Override ¶ added in v1.5.0
func NewConsumerGroup_Override(c ConsumerGroup, scope alicloudroscdkcore.Construct, id *string, props *ConsumerGroupProps, enableResourcePropertyConstraint *bool)
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
func NewDashboard_Override ¶
func NewDashboard_Override(d Dashboard, scope alicloudroscdkcore.Construct, id *string, props *DashboardProps, enableResourcePropertyConstraint *bool)
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
func NewEtl_Override ¶
func NewEtl_Override(e Etl, scope alicloudroscdkcore.Construct, id *string, props *EtlProps, enableResourcePropertyConstraint *bool)
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
func NewIndex_Override ¶
func NewIndex_Override(i Index, scope alicloudroscdkcore.Construct, id *string, props *IndexProps, enableResourcePropertyConstraint *bool)
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
func NewLogstore_Override ¶
func NewLogstore_Override(l Logstore, scope alicloudroscdkcore.Construct, id *string, props *LogstoreProps, enableResourcePropertyConstraint *bool)
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
func NewLogtailConfig_Override ¶
func NewLogtailConfig_Override(l LogtailConfig, scope alicloudroscdkcore.Construct, id *string, props *LogtailConfigProps, enableResourcePropertyConstraint *bool)
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
func NewMachineGroup_Override ¶
func NewMachineGroup_Override(m MachineGroup, scope alicloudroscdkcore.Construct, id *string, props *MachineGroupProps, enableResourcePropertyConstraint *bool)
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
func NewMetricStore_Override ¶
func NewMetricStore_Override(m MetricStore, scope alicloudroscdkcore.Construct, id *string, props *MetricStoreProps, enableResourcePropertyConstraint *bool)
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
func NewOssExport_Override ¶
func NewOssExport_Override(o OssExport, scope alicloudroscdkcore.Construct, id *string, props *OssExportProps, enableResourcePropertyConstraint *bool)
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
func NewOssExternalStore_Override ¶ added in v1.5.0
func NewOssExternalStore_Override(o OssExternalStore, scope alicloudroscdkcore.Construct, id *string, props *OssExternalStoreProps, enableResourcePropertyConstraint *bool)
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
func NewProject_Override ¶
func NewProject_Override(p Project, scope alicloudroscdkcore.Construct, id *string, props *ProjectProps, enableResourcePropertyConstraint *bool)
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
func NewRdsExternalStore_Override ¶ added in v1.5.0
func NewRdsExternalStore_Override(r RdsExternalStore, scope alicloudroscdkcore.Construct, id *string, props *RdsExternalStoreProps, enableResourcePropertyConstraint *bool)
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
func NewRosAlert_Override ¶
func NewRosAlert_Override(r RosAlert, scope alicloudroscdkcore.Construct, id *string, props *RosAlertProps, enableResourcePropertyConstraint *bool)
func NewRosApplyConfigToMachineGroup_Override ¶
func NewRosApplyConfigToMachineGroup_Override(r RosApplyConfigToMachineGroup, scope alicloudroscdkcore.Construct, id *string, props *RosApplyConfigToMachineGroupProps, enableResourcePropertyConstraint *bool)
func NewRosAudit_Override ¶
func NewRosAudit_Override(r RosAudit, scope alicloudroscdkcore.Construct, id *string, props *RosAuditProps, enableResourcePropertyConstraint *bool)
func NewRosConsumerGroup_Override ¶ added in v1.5.0
func NewRosConsumerGroup_Override(r RosConsumerGroup, scope alicloudroscdkcore.Construct, id *string, props *RosConsumerGroupProps, enableResourcePropertyConstraint *bool)
func NewRosDashboard_Override ¶
func NewRosDashboard_Override(r RosDashboard, scope alicloudroscdkcore.Construct, id *string, props *RosDashboardProps, enableResourcePropertyConstraint *bool)
func NewRosEtl_Override ¶
func NewRosEtl_Override(r RosEtl, scope alicloudroscdkcore.Construct, id *string, props *RosEtlProps, enableResourcePropertyConstraint *bool)
func NewRosIndex_Override ¶
func NewRosIndex_Override(r RosIndex, scope alicloudroscdkcore.Construct, id *string, props *RosIndexProps, enableResourcePropertyConstraint *bool)
func NewRosLogstore_Override ¶
func NewRosLogstore_Override(r RosLogstore, scope alicloudroscdkcore.Construct, id *string, props *RosLogstoreProps, enableResourcePropertyConstraint *bool)
func NewRosLogtailConfig_Override ¶
func NewRosLogtailConfig_Override(r RosLogtailConfig, scope alicloudroscdkcore.Construct, id *string, props *RosLogtailConfigProps, enableResourcePropertyConstraint *bool)
func NewRosMachineGroup_Override ¶
func NewRosMachineGroup_Override(r RosMachineGroup, scope alicloudroscdkcore.Construct, id *string, props *RosMachineGroupProps, enableResourcePropertyConstraint *bool)
func NewRosMetricStore_Override ¶
func NewRosMetricStore_Override(r RosMetricStore, scope alicloudroscdkcore.Construct, id *string, props *RosMetricStoreProps, enableResourcePropertyConstraint *bool)
func NewRosOssExport_Override ¶
func NewRosOssExport_Override(r RosOssExport, scope alicloudroscdkcore.Construct, id *string, props *RosOssExportProps, enableResourcePropertyConstraint *bool)
func NewRosOssExternalStore_Override ¶ added in v1.5.0
func NewRosOssExternalStore_Override(r RosOssExternalStore, scope alicloudroscdkcore.Construct, id *string, props *RosOssExternalStoreProps, enableResourcePropertyConstraint *bool)
func NewRosProject_Override ¶
func NewRosProject_Override(r RosProject, scope alicloudroscdkcore.Construct, id *string, props *RosProjectProps, enableResourcePropertyConstraint *bool)
func NewRosRdsExternalStore_Override ¶ added in v1.5.0
func NewRosRdsExternalStore_Override(r RosRdsExternalStore, scope alicloudroscdkcore.Construct, id *string, props *RosRdsExternalStoreProps, enableResourcePropertyConstraint *bool)
func NewRosSavedsearch_Override ¶
func NewRosSavedsearch_Override(r RosSavedsearch, scope alicloudroscdkcore.Construct, id *string, props *RosSavedsearchProps, enableResourcePropertyConstraint *bool)
func NewRosServiceLog_Override ¶
func NewRosServiceLog_Override(r RosServiceLog, scope alicloudroscdkcore.Construct, id *string, props *RosServiceLogProps, enableResourcePropertyConstraint *bool)
func NewSavedsearch_Override ¶
func NewSavedsearch_Override(s Savedsearch, scope alicloudroscdkcore.Construct, id *string, props *SavedsearchProps, enableResourcePropertyConstraint *bool)
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
func NewServiceLog_Override ¶
func NewServiceLog_Override(s ServiceLog, scope alicloudroscdkcore.Construct, id *string, props *ServiceLogProps, enableResourcePropertyConstraint *bool)
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
func OssExport_IsConstruct ¶
func OssExport_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func OssExternalStore_IsConstruct ¶ added in v1.5.0
func OssExternalStore_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func Project_IsConstruct ¶
func Project_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func RdsExternalStore_IsConstruct ¶ added in v1.5.0
func RdsExternalStore_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func RosAlert_IsConstruct ¶
func RosAlert_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func RosAlert_IsRosElement ¶
func RosAlert_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 RosAlert_IsRosResource ¶
func RosAlert_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
Check whether the given construct is a RosResource.
func RosAlert_ROS_RESOURCE_TYPE_NAME ¶
func RosAlert_ROS_RESOURCE_TYPE_NAME() *string
func RosApplyConfigToMachineGroup_IsConstruct ¶
func RosApplyConfigToMachineGroup_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func RosApplyConfigToMachineGroup_IsRosElement ¶
func RosApplyConfigToMachineGroup_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 RosApplyConfigToMachineGroup_IsRosResource ¶
func RosApplyConfigToMachineGroup_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
Check whether the given construct is a RosResource.
func RosApplyConfigToMachineGroup_ROS_RESOURCE_TYPE_NAME ¶
func RosApplyConfigToMachineGroup_ROS_RESOURCE_TYPE_NAME() *string
func RosAudit_IsConstruct ¶
func RosAudit_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func RosAudit_IsRosElement ¶
func RosAudit_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 RosAudit_IsRosResource ¶
func RosAudit_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
Check whether the given construct is a RosResource.
func RosAudit_ROS_RESOURCE_TYPE_NAME ¶
func RosAudit_ROS_RESOURCE_TYPE_NAME() *string
func RosConsumerGroup_IsConstruct ¶ added in v1.5.0
func RosConsumerGroup_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func RosConsumerGroup_IsRosElement ¶ added in v1.5.0
func RosConsumerGroup_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 RosConsumerGroup_IsRosResource ¶ added in v1.5.0
func RosConsumerGroup_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
Check whether the given construct is a RosResource.
func RosConsumerGroup_ROS_RESOURCE_TYPE_NAME ¶ added in v1.5.0
func RosConsumerGroup_ROS_RESOURCE_TYPE_NAME() *string
func RosDashboard_IsConstruct ¶
func RosDashboard_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func RosDashboard_IsRosElement ¶
func RosDashboard_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 RosDashboard_IsRosResource ¶
func RosDashboard_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
Check whether the given construct is a RosResource.
func RosDashboard_ROS_RESOURCE_TYPE_NAME ¶
func RosDashboard_ROS_RESOURCE_TYPE_NAME() *string
func RosEtl_IsConstruct ¶
func RosEtl_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func RosEtl_IsRosElement ¶
func RosEtl_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 RosEtl_IsRosResource ¶
func RosEtl_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
Check whether the given construct is a RosResource.
func RosEtl_ROS_RESOURCE_TYPE_NAME ¶
func RosEtl_ROS_RESOURCE_TYPE_NAME() *string
func RosIndex_IsConstruct ¶
func RosIndex_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func RosIndex_IsRosElement ¶
func RosIndex_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 RosIndex_IsRosResource ¶
func RosIndex_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
Check whether the given construct is a RosResource.
func RosIndex_ROS_RESOURCE_TYPE_NAME ¶
func RosIndex_ROS_RESOURCE_TYPE_NAME() *string
func RosLogstore_IsConstruct ¶
func RosLogstore_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func RosLogstore_IsRosElement ¶
func RosLogstore_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 RosLogstore_IsRosResource ¶
func RosLogstore_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
Check whether the given construct is a RosResource.
func RosLogstore_ROS_RESOURCE_TYPE_NAME ¶
func RosLogstore_ROS_RESOURCE_TYPE_NAME() *string
func RosLogtailConfig_IsConstruct ¶
func RosLogtailConfig_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func RosLogtailConfig_IsRosElement ¶
func RosLogtailConfig_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 RosLogtailConfig_IsRosResource ¶
func RosLogtailConfig_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
Check whether the given construct is a RosResource.
func RosLogtailConfig_ROS_RESOURCE_TYPE_NAME ¶
func RosLogtailConfig_ROS_RESOURCE_TYPE_NAME() *string
func RosMachineGroup_IsConstruct ¶
func RosMachineGroup_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func RosMachineGroup_IsRosElement ¶
func RosMachineGroup_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 RosMachineGroup_IsRosResource ¶
func RosMachineGroup_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
Check whether the given construct is a RosResource.
func RosMachineGroup_ROS_RESOURCE_TYPE_NAME ¶
func RosMachineGroup_ROS_RESOURCE_TYPE_NAME() *string
func RosMetricStore_IsConstruct ¶
func RosMetricStore_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func RosMetricStore_IsRosElement ¶
func RosMetricStore_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 RosMetricStore_IsRosResource ¶
func RosMetricStore_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
Check whether the given construct is a RosResource.
func RosMetricStore_ROS_RESOURCE_TYPE_NAME ¶
func RosMetricStore_ROS_RESOURCE_TYPE_NAME() *string
func RosOssExport_IsConstruct ¶
func RosOssExport_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func RosOssExport_IsRosElement ¶
func RosOssExport_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 RosOssExport_IsRosResource ¶
func RosOssExport_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
Check whether the given construct is a RosResource.
func RosOssExport_ROS_RESOURCE_TYPE_NAME ¶
func RosOssExport_ROS_RESOURCE_TYPE_NAME() *string
func RosOssExternalStore_IsConstruct ¶ added in v1.5.0
func RosOssExternalStore_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func RosOssExternalStore_IsRosElement ¶ added in v1.5.0
func RosOssExternalStore_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 RosOssExternalStore_IsRosResource ¶ added in v1.5.0
func RosOssExternalStore_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
Check whether the given construct is a RosResource.
func RosOssExternalStore_ROS_RESOURCE_TYPE_NAME ¶ added in v1.5.0
func RosOssExternalStore_ROS_RESOURCE_TYPE_NAME() *string
func RosProject_IsConstruct ¶
func RosProject_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func RosProject_IsRosElement ¶
func RosProject_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 RosProject_IsRosResource ¶
func RosProject_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
Check whether the given construct is a RosResource.
func RosProject_ROS_RESOURCE_TYPE_NAME ¶
func RosProject_ROS_RESOURCE_TYPE_NAME() *string
func RosRdsExternalStore_IsConstruct ¶ added in v1.5.0
func RosRdsExternalStore_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func RosRdsExternalStore_IsRosElement ¶ added in v1.5.0
func RosRdsExternalStore_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 RosRdsExternalStore_IsRosResource ¶ added in v1.5.0
func RosRdsExternalStore_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
Check whether the given construct is a RosResource.
func RosRdsExternalStore_ROS_RESOURCE_TYPE_NAME ¶ added in v1.5.0
func RosRdsExternalStore_ROS_RESOURCE_TYPE_NAME() *string
func RosSavedsearch_IsConstruct ¶
func RosSavedsearch_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func RosSavedsearch_IsRosElement ¶
func RosSavedsearch_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 RosSavedsearch_IsRosResource ¶
func RosSavedsearch_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
Check whether the given construct is a RosResource.
func RosSavedsearch_ROS_RESOURCE_TYPE_NAME ¶
func RosSavedsearch_ROS_RESOURCE_TYPE_NAME() *string
func RosServiceLog_IsConstruct ¶
func RosServiceLog_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func RosServiceLog_IsRosElement ¶
func RosServiceLog_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 RosServiceLog_IsRosResource ¶
func RosServiceLog_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
Check whether the given construct is a RosResource.
func RosServiceLog_ROS_RESOURCE_TYPE_NAME ¶
func RosServiceLog_ROS_RESOURCE_TYPE_NAME() *string
func Savedsearch_IsConstruct ¶
func Savedsearch_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func ServiceLog_IsConstruct ¶
func ServiceLog_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
Types ¶
type Alert ¶
type Alert interface { alicloudroscdkcore.Resource IAlert // Attribute Name: Alert name. AttrName() 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() *AlertProps Ref() *string Resource() alicloudroscdkcore.RosResource SetResource(val alicloudroscdkcore.RosResource) Scope() alicloudroscdkcore.Construct SetScope(val alicloudroscdkcore.Construct) // The stack in which this resource is defined. Stack() alicloudroscdkcore.Stack AddCondition(condition alicloudroscdkcore.RosCondition) AddCount(count interface{}) AddDependency(resource alicloudroscdkcore.Resource) AddResourceDesc(desc *string) ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy) FetchCondition() alicloudroscdkcore.RosCondition FetchDependency() *[]*string FetchResourceDesc() *string GeneratePhysicalName() *string GetAtt(name *string) alicloudroscdkcore.IResolvable // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() SetMetadata(key *string, value interface{}) // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string }
This class encapsulates and extends the ROS resource type `ALIYUN::SLS::Alert`, which is used to create an alert rule.
func NewAlert ¶
func NewAlert(scope alicloudroscdkcore.Construct, id *string, props *AlertProps, enableResourcePropertyConstraint *bool) Alert
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
type AlertProps ¶
type AlertProps struct { // Property detail:. Detail interface{} `field:"required" json:"detail" yaml:"detail"` // Property project: Project name: 1. // // Only supports lowercase letters, numbers, hyphens (-) and underscores (_). // 2. Must start and end with lowercase letters and numbers. // 3. The name length is 3-63 characters. Project interface{} `field:"required" json:"project" yaml:"project"` }
Properties for defining a `Alert`.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-sls-alert
type ApplyConfigToMachineGroup ¶
type ApplyConfigToMachineGroup interface { alicloudroscdkcore.Resource IApplyConfigToMachineGroup 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() *ApplyConfigToMachineGroupProps Ref() *string Resource() alicloudroscdkcore.RosResource SetResource(val alicloudroscdkcore.RosResource) Scope() alicloudroscdkcore.Construct SetScope(val alicloudroscdkcore.Construct) // The stack in which this resource is defined. Stack() alicloudroscdkcore.Stack AddCondition(condition alicloudroscdkcore.RosCondition) AddCount(count interface{}) AddDependency(resource alicloudroscdkcore.Resource) AddResourceDesc(desc *string) ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy) FetchCondition() alicloudroscdkcore.RosCondition FetchDependency() *[]*string FetchResourceDesc() *string GeneratePhysicalName() *string GetAtt(name *string) alicloudroscdkcore.IResolvable // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() SetMetadata(key *string, value interface{}) // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string }
This class encapsulates and extends the ROS resource type `ALIYUN::SLS::ApplyConfigToMachineGroup`, which is used to apply Log Service configurations to machine groups.
func NewApplyConfigToMachineGroup ¶
func NewApplyConfigToMachineGroup(scope alicloudroscdkcore.Construct, id *string, props *ApplyConfigToMachineGroupProps, enableResourcePropertyConstraint *bool) ApplyConfigToMachineGroup
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
type ApplyConfigToMachineGroupProps ¶
type ApplyConfigToMachineGroupProps struct { // Property configName: Apply config to the config name. ConfigName interface{} `field:"optional" json:"configName" yaml:"configName"` // Property groupName: Apply config to the group name. GroupName interface{} `field:"optional" json:"groupName" yaml:"groupName"` // Property projectName: Apply config to the project name. ProjectName interface{} `field:"optional" json:"projectName" yaml:"projectName"` }
Properties for defining a `ApplyConfigToMachineGroup`.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-sls-applyconfigtomachinegroup
type Audit ¶
type Audit interface { alicloudroscdkcore.Resource IAudit // Attribute DisplayName: Name of SLS log audit. AttrDisplayName() 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() *AuditProps Ref() *string Resource() alicloudroscdkcore.RosResource SetResource(val alicloudroscdkcore.RosResource) Scope() alicloudroscdkcore.Construct SetScope(val alicloudroscdkcore.Construct) // The stack in which this resource is defined. Stack() alicloudroscdkcore.Stack AddCondition(condition alicloudroscdkcore.RosCondition) AddCount(count interface{}) AddDependency(resource alicloudroscdkcore.Resource) AddResourceDesc(desc *string) ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy) FetchCondition() alicloudroscdkcore.RosCondition FetchDependency() *[]*string FetchResourceDesc() *string GeneratePhysicalName() *string GetAtt(name *string) alicloudroscdkcore.IResolvable // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() SetMetadata(key *string, value interface{}) // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string }
This class encapsulates and extends the ROS resource type `ALIYUN::SLS::Audit`, which is used to configure Log Audit Service.
func NewAudit ¶
func NewAudit(scope alicloudroscdkcore.Construct, id *string, props *AuditProps, enableResourcePropertyConstraint *bool) Audit
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
type AuditProps ¶
type AuditProps struct { // Property displayName: Name of SLS log audit. DisplayName interface{} `field:"required" json:"displayName" yaml:"displayName"` // Property variableMap: Log audit detailed configuration. VariableMap interface{} `field:"required" json:"variableMap" yaml:"variableMap"` // Property multiAccount: Multi-account configuration, please fill in multiple aliuid. MultiAccount interface{} `field:"optional" json:"multiAccount" yaml:"multiAccount"` }
Properties for defining a `Audit`.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-sls-audit
type ConsumerGroup ¶ added in v1.5.0
type ConsumerGroup interface { alicloudroscdkcore.Resource IConsumerGroup // Attribute ConsumerGroup: The name of the consumer group. AttrConsumerGroup() interface{} // Attribute Logstore: The name of the logstore to which this consumer group belongs. AttrLogstore() interface{} // Attribute Project: The name of the project to which the logstore belongs. AttrProject() 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() *ConsumerGroupProps Ref() *string Resource() alicloudroscdkcore.RosResource SetResource(val alicloudroscdkcore.RosResource) Scope() alicloudroscdkcore.Construct SetScope(val alicloudroscdkcore.Construct) // The stack in which this resource is defined. Stack() alicloudroscdkcore.Stack AddCondition(condition alicloudroscdkcore.RosCondition) AddCount(count interface{}) AddDependency(resource alicloudroscdkcore.Resource) AddResourceDesc(desc *string) ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy) FetchCondition() alicloudroscdkcore.RosCondition FetchDependency() *[]*string FetchResourceDesc() *string GeneratePhysicalName() *string GetAtt(name *string) alicloudroscdkcore.IResolvable // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() SetMetadata(key *string, value interface{}) // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string }
This class encapsulates and extends the ROS resource type `ALIYUN::SLS::ConsumerGroup`.
func NewConsumerGroup ¶ added in v1.5.0
func NewConsumerGroup(scope alicloudroscdkcore.Construct, id *string, props *ConsumerGroupProps, enableResourcePropertyConstraint *bool) ConsumerGroup
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
type ConsumerGroupProps ¶ added in v1.5.0
type ConsumerGroupProps struct { // Property consumerGroup: The name of the consumer group. // // The name must be unique in a project. ConsumerGroup interface{} `field:"required" json:"consumerGroup" yaml:"consumerGroup"` // Property logstore: The name of the Logstore. Logstore interface{} `field:"required" json:"logstore" yaml:"logstore"` // Property order: Specifies whether to consume data in sequence. // // Valid values: // true // In a shard, data is consumed in ascending order based on the value of the **__tag__:__receive_time__** field. // If a shard is split, data in the original shard is consumed first. Then, data in the new shards is consumed at the same time. // If shards are merged, data in the original shards is consumed first. Then, data in the new shard is consumed. // false Data in all shards is consumed at the same time. If a new shard is generated after a shard is split or after shards are merged, data in the new shard is immediately consumed. Order interface{} `field:"required" json:"order" yaml:"order"` // Property project: The name of the project. Project interface{} `field:"required" json:"project" yaml:"project"` // Property timeout: The timeout period. // // If the server does not receive heartbeats from a consumer within the timeout period, the server deletes the consumer. Unit: seconds. Timeout interface{} `field:"required" json:"timeout" yaml:"timeout"` }
Properties for defining a `ConsumerGroup`.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-sls-consumergroup
type Dashboard ¶
type Dashboard interface { alicloudroscdkcore.Resource IDashboard // Attribute DashboardName: Dashboard name. AttrDashboardName() interface{} // Attribute DisplayName: Display name. AttrDisplayName() 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() *DashboardProps Ref() *string Resource() alicloudroscdkcore.RosResource SetResource(val alicloudroscdkcore.RosResource) Scope() alicloudroscdkcore.Construct SetScope(val alicloudroscdkcore.Construct) // The stack in which this resource is defined. Stack() alicloudroscdkcore.Stack AddCondition(condition alicloudroscdkcore.RosCondition) AddCount(count interface{}) AddDependency(resource alicloudroscdkcore.Resource) AddResourceDesc(desc *string) ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy) FetchCondition() alicloudroscdkcore.RosCondition FetchDependency() *[]*string FetchResourceDesc() *string GeneratePhysicalName() *string GetAtt(name *string) alicloudroscdkcore.IResolvable // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() SetMetadata(key *string, value interface{}) // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string }
This class encapsulates and extends the ROS resource type `ALIYUN::SLS::Dashboard`, which is used to create a dashboard.
func NewDashboard ¶
func NewDashboard(scope alicloudroscdkcore.Construct, id *string, props *DashboardProps, enableResourcePropertyConstraint *bool) Dashboard
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
type DashboardProps ¶
type DashboardProps struct { // Property charts: Chart list. Charts interface{} `field:"required" json:"charts" yaml:"charts"` // Property dashboardName: Dashboard name. DashboardName interface{} `field:"required" json:"dashboardName" yaml:"dashboardName"` // Property projectName: Project name: 1. // // Only supports lowercase letters, numbers, hyphens (-) and underscores (_). // 2. Must start and end with lowercase letters and numbers. // 3. The name length is 3-63 characters. ProjectName interface{} `field:"required" json:"projectName" yaml:"projectName"` // Property description: Dashboard description. Description interface{} `field:"optional" json:"description" yaml:"description"` // Property displayName: Dashboard display name. DisplayName interface{} `field:"optional" json:"displayName" yaml:"displayName"` }
Properties for defining a `Dashboard`.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-sls-dashboard
type Etl ¶
type Etl interface { alicloudroscdkcore.Resource IEtl // Attribute Name: ETL name. AttrName() 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() *EtlProps Ref() *string Resource() alicloudroscdkcore.RosResource SetResource(val alicloudroscdkcore.RosResource) Scope() alicloudroscdkcore.Construct SetScope(val alicloudroscdkcore.Construct) // The stack in which this resource is defined. Stack() alicloudroscdkcore.Stack AddCondition(condition alicloudroscdkcore.RosCondition) AddCount(count interface{}) AddDependency(resource alicloudroscdkcore.Resource) AddResourceDesc(desc *string) ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy) FetchCondition() alicloudroscdkcore.RosCondition FetchDependency() *[]*string FetchResourceDesc() *string GeneratePhysicalName() *string GetAtt(name *string) alicloudroscdkcore.IResolvable // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() SetMetadata(key *string, value interface{}) // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string }
This class encapsulates and extends the ROS resource type `ALIYUN::SLS::Etl`, which is used to create a data transformation task.
type EtlProps ¶
type EtlProps struct { // Property configuration: The configuration of ETL task. Configuration interface{} `field:"required" json:"configuration" yaml:"configuration"` // Property displayName: ETL display name. DisplayName interface{} `field:"required" json:"displayName" yaml:"displayName"` // Property name: ETL name. Name interface{} `field:"required" json:"name" yaml:"name"` // Property projectName: Project name. ProjectName interface{} `field:"required" json:"projectName" yaml:"projectName"` // Property schedule: Task scheduling strategy. Schedule interface{} `field:"required" json:"schedule" yaml:"schedule"` // Property description: ETL description message. Description interface{} `field:"optional" json:"description" yaml:"description"` }
Properties for defining a `Etl`.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-sls-etl
type IAlert ¶ added in v1.6.0
type IAlert interface { alicloudroscdkcore.IResource // Attribute Name: Alert name. AttrName() interface{} Props() *AlertProps }
Represents a `Alert`.
type IApplyConfigToMachineGroup ¶ added in v1.6.0
type IApplyConfigToMachineGroup interface { alicloudroscdkcore.IResource Props() *ApplyConfigToMachineGroupProps }
Represents a `ApplyConfigToMachineGroup`.
type IAudit ¶ added in v1.6.0
type IAudit interface { alicloudroscdkcore.IResource // Attribute DisplayName: Name of SLS log audit. AttrDisplayName() interface{} Props() *AuditProps }
Represents a `Audit`.
type IConsumerGroup ¶ added in v1.6.0
type IConsumerGroup interface { alicloudroscdkcore.IResource // Attribute ConsumerGroup: The name of the consumer group. AttrConsumerGroup() interface{} // Attribute Logstore: The name of the logstore to which this consumer group belongs. AttrLogstore() interface{} // Attribute Project: The name of the project to which the logstore belongs. AttrProject() interface{} Props() *ConsumerGroupProps }
Represents a `ConsumerGroup`.
type IDashboard ¶ added in v1.6.0
type IDashboard interface { alicloudroscdkcore.IResource // Attribute DashboardName: Dashboard name. AttrDashboardName() interface{} // Attribute DisplayName: Display name. AttrDisplayName() interface{} Props() *DashboardProps }
Represents a `Dashboard`.
type IEtl ¶ added in v1.6.0
type IEtl interface { alicloudroscdkcore.IResource // Attribute Name: ETL name. AttrName() interface{} Props() *EtlProps }
Represents a `Etl`.
type IIndex ¶ added in v1.6.0
type IIndex interface { alicloudroscdkcore.IResource Props() *IndexProps }
Represents a `Index`.
type ILogstore ¶ added in v1.6.0
type ILogstore interface { alicloudroscdkcore.IResource // Attribute LogstoreName: Logstore name. AttrLogstoreName() interface{} // Attribute ProjectName: Project name. AttrProjectName() interface{} Props() *LogstoreProps }
Represents a `Logstore`.
type ILogtailConfig ¶ added in v1.6.0
type ILogtailConfig interface { alicloudroscdkcore.IResource // Attribute AppliedMachineGroups: Applied machine groups. AttrAppliedMachineGroups() interface{} // Attribute Endpoint: Endpoint address. AttrEndpoint() interface{} // Attribute LogtailConfigName: Logtail config name. AttrLogtailConfigName() interface{} Props() *LogtailConfigProps }
Represents a `LogtailConfig`.
type IMachineGroup ¶ added in v1.6.0
type IMachineGroup interface { alicloudroscdkcore.IResource // Attribute GroupName: GroupName of SLS. AttrGroupName() interface{} // Attribute ProjectName: ProjectName of SLS. AttrProjectName() interface{} Props() *MachineGroupProps }
Represents a `MachineGroup`.
type IMetricStore ¶ added in v1.6.0
type IMetricStore interface { alicloudroscdkcore.IResource // Attribute LogstoreName: Metric store name. AttrLogstoreName() interface{} Props() *MetricStoreProps }
Represents a `MetricStore`.
type IOssExport ¶ added in v1.6.0
type IOssExport interface { alicloudroscdkcore.IResource // Attribute ExportName: The name of the export job. AttrExportName() interface{} // Attribute ProjectName: The project name of SLS. AttrProjectName() interface{} Props() *OssExportProps }
Represents a `OssExport`.
type IOssExternalStore ¶ added in v1.6.0
type IOssExternalStore interface { alicloudroscdkcore.IResource // Attribute ExternalStoreName: The name of the external store. AttrExternalStoreName() interface{} // Attribute Project: The name of the project to which the external store belongs. AttrProject() interface{} Props() *OssExternalStoreProps }
Represents a `OssExternalStore`.
type IProject ¶ added in v1.6.0
type IProject interface { alicloudroscdkcore.IResource // Attribute Name: Project name. AttrName() interface{} Props() *ProjectProps }
Represents a `Project`.
type IRdsExternalStore ¶ added in v1.6.0
type IRdsExternalStore interface { alicloudroscdkcore.IResource // Attribute ExternalStoreName: The name of the external store. AttrExternalStoreName() interface{} // Attribute Project: The name of the project to which the external store belongs. AttrProject() interface{} Props() *RdsExternalStoreProps }
Represents a `RdsExternalStore`.
type ISavedsearch ¶ added in v1.6.0
type ISavedsearch interface { alicloudroscdkcore.IResource // Attribute SavedsearchName: Savedsearch name. AttrSavedsearchName() interface{} Props() *SavedsearchProps }
Represents a `Savedsearch`.
type IServiceLog ¶ added in v1.6.0
type IServiceLog interface { alicloudroscdkcore.IResource // Attribute ProjectName: The name of the project that needs to be activated. AttrProjectName() interface{} Props() *ServiceLogProps }
Represents a `ServiceLog`.
type Index ¶
type Index interface { alicloudroscdkcore.Resource IIndex 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() *IndexProps Ref() *string Resource() alicloudroscdkcore.RosResource SetResource(val alicloudroscdkcore.RosResource) Scope() alicloudroscdkcore.Construct SetScope(val alicloudroscdkcore.Construct) // The stack in which this resource is defined. Stack() alicloudroscdkcore.Stack AddCondition(condition alicloudroscdkcore.RosCondition) AddCount(count interface{}) AddDependency(resource alicloudroscdkcore.Resource) AddResourceDesc(desc *string) ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy) FetchCondition() alicloudroscdkcore.RosCondition FetchDependency() *[]*string FetchResourceDesc() *string GeneratePhysicalName() *string GetAtt(name *string) alicloudroscdkcore.IResolvable // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() SetMetadata(key *string, value interface{}) // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string }
This class encapsulates and extends the ROS resource type `ALIYUN::SLS::Index`, which is used to create an index for a specified Logstore.
func NewIndex ¶
func NewIndex(scope alicloudroscdkcore.Construct, id *string, props *IndexProps, enableResourcePropertyConstraint *bool) Index
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
type IndexProps ¶
type IndexProps struct { // Property fullTextIndex: Full-text indexing configuration. // // Full-text indexing and key indexing must have at least one enabled. FullTextIndex interface{} `field:"required" json:"fullTextIndex" yaml:"fullTextIndex"` // Property logstoreName: Logstore name: 1. // // Only supports lowercase letters, numbers, hyphens (-) and underscores (_). // 2. Must start and end with lowercase letters and numbers. // 3. The name length is 3-63 characters. LogstoreName interface{} `field:"required" json:"logstoreName" yaml:"logstoreName"` // Property projectName: Project name: 1. // // Only supports lowercase letters, numbers, hyphens (-) and underscores (_). // 2. Must start and end with lowercase letters and numbers. // 3. The name length is 3-63 characters. ProjectName interface{} `field:"required" json:"projectName" yaml:"projectName"` // Property keyIndices: Key index configurations. // // Full-text indexing and key indexing must have at least one enabled. KeyIndices interface{} `field:"optional" json:"keyIndices" yaml:"keyIndices"` // Property logReduce: Whether to enable log reduce. // // Default to false. LogReduce interface{} `field:"optional" json:"logReduce" yaml:"logReduce"` }
Properties for defining a `Index`.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-sls-index
type Logstore ¶
type Logstore interface { alicloudroscdkcore.Resource ILogstore // Attribute LogstoreName: Logstore name. AttrLogstoreName() interface{} // Attribute ProjectName: Project name. AttrProjectName() 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() *LogstoreProps Ref() *string Resource() alicloudroscdkcore.RosResource SetResource(val alicloudroscdkcore.RosResource) Scope() alicloudroscdkcore.Construct SetScope(val alicloudroscdkcore.Construct) // The stack in which this resource is defined. Stack() alicloudroscdkcore.Stack AddCondition(condition alicloudroscdkcore.RosCondition) AddCount(count interface{}) AddDependency(resource alicloudroscdkcore.Resource) AddResourceDesc(desc *string) ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy) FetchCondition() alicloudroscdkcore.RosCondition FetchDependency() *[]*string FetchResourceDesc() *string GeneratePhysicalName() *string GetAtt(name *string) alicloudroscdkcore.IResolvable // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() SetMetadata(key *string, value interface{}) // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string }
This class encapsulates and extends the ROS resource type `ALIYUN::SLS::Logstore`, which is used to create a Logstore in a Simple Log Service (SLS) project.
func NewLogstore ¶
func NewLogstore(scope alicloudroscdkcore.Construct, id *string, props *LogstoreProps, enableResourcePropertyConstraint *bool) Logstore
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
type LogstoreProps ¶
type LogstoreProps struct { // Property logstoreName: Logstore name: 1. // // Only supports lowercase letters, numbers, hyphens (-) and underscores (_). // 2. Must start and end with lowercase letters and numbers. // 3. The name length is 3-63 characters. LogstoreName interface{} `field:"required" json:"logstoreName" yaml:"logstoreName"` // Property projectName: Project name: 1. // // Only supports lowercase letters, numbers, hyphens (-) and underscores (_). // 2. Must start and end with lowercase letters and numbers. // 3. The name length is 3-63 characters. ProjectName interface{} `field:"required" json:"projectName" yaml:"projectName"` // Property appendMeta: Whether to add client external network IP and log arrival time after receiving the log. // // Default to false. AppendMeta interface{} `field:"optional" json:"appendMeta" yaml:"appendMeta"` // Property autoSplit: Whether to automatically split the shard. // // Default to false. AutoSplit interface{} `field:"optional" json:"autoSplit" yaml:"autoSplit"` // Property enableTracking: Whether to enable WebTracking, which supports fast capture of various browsers and iOS\/Android\/APP access information. // // Default to false. EnableTracking interface{} `field:"optional" json:"enableTracking" yaml:"enableTracking"` // Property encryptConf: Data encryption config. EncryptConf interface{} `field:"optional" json:"encryptConf" yaml:"encryptConf"` // Property maxSplitShard: The maximum number of shards when splitting automatically. // // Must be specified if AutoSplit is set to true. // Allowed Values: 1-64. MaxSplitShard interface{} `field:"optional" json:"maxSplitShard" yaml:"maxSplitShard"` // Property mode: The type of the Logstore. // // Simple Log Service provides two types of Logstores: Standard Logstores and Query Logstores. Valid values: // standard: Standard Logstore. This type of Logstore supports the log analysis feature and is suitable for scenarios such as real-time monitoring and interactive analysis. You can also use this type of Logstore to build a comprehensive observability system. // query: Query Logstore. This type of Logstore supports high-performance queries. The index traffic fee of a Query Logstore is approximately half that of a Standard Logstore. Query Logstores do not support SQL analysis. Query Logstores are suitable for scenarios in which the amount of data is large, the log retention period is long, or log analysis is not required. If logs are stored for weeks or months, the log retention period is considered long. Mode interface{} `field:"optional" json:"mode" yaml:"mode"` // Property preserveStorage: Whether to keep the log permanently. // // If set to true, TTL will be ignored. // Default to false. PreserveStorage interface{} `field:"optional" json:"preserveStorage" yaml:"preserveStorage"` // Property shardCount: The number of Shards. // // Allowed Values: 1-100, default to 2. ShardCount interface{} `field:"optional" json:"shardCount" yaml:"shardCount"` // Property ttl: The lifecycle of log in the logstore in days. // // Allowed Values: 1-3600, default to 30. Ttl interface{} `field:"optional" json:"ttl" yaml:"ttl"` }
Properties for defining a `Logstore`.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-sls-logstore
type LogtailConfig ¶
type LogtailConfig interface { alicloudroscdkcore.Resource ILogtailConfig // Attribute AppliedMachineGroups: Applied machine groups. AttrAppliedMachineGroups() interface{} // Attribute Endpoint: Endpoint address. AttrEndpoint() interface{} // Attribute LogtailConfigName: Logtail config name. AttrLogtailConfigName() 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() *LogtailConfigProps Ref() *string Resource() alicloudroscdkcore.RosResource SetResource(val alicloudroscdkcore.RosResource) Scope() alicloudroscdkcore.Construct SetScope(val alicloudroscdkcore.Construct) // The stack in which this resource is defined. Stack() alicloudroscdkcore.Stack AddCondition(condition alicloudroscdkcore.RosCondition) AddCount(count interface{}) AddDependency(resource alicloudroscdkcore.Resource) AddResourceDesc(desc *string) ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy) FetchCondition() alicloudroscdkcore.RosCondition FetchDependency() *[]*string FetchResourceDesc() *string GeneratePhysicalName() *string GetAtt(name *string) alicloudroscdkcore.IResolvable // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() SetMetadata(key *string, value interface{}) // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string }
This class encapsulates and extends the ROS resource type `ALIYUN::SLS::LogtailConfig`, which is used to configure Logtail properties for data collection.
func NewLogtailConfig ¶
func NewLogtailConfig(scope alicloudroscdkcore.Construct, id *string, props *LogtailConfigProps, enableResourcePropertyConstraint *bool) LogtailConfig
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
type LogtailConfigProps ¶
type LogtailConfigProps struct { // Property logstoreName: Logstore name: 1. // // Only supports lowercase letters, numbers, hyphens (-) and underscores (_). // 2. Must start and end with lowercase letters and numbers. // 3. The name length is 3-63 characters. LogstoreName interface{} `field:"required" json:"logstoreName" yaml:"logstoreName"` // Property logtailConfigName: Logtail config name: 1. // // Only supports lowercase letters, numbers, hyphens (-) and underscores (_). // 2. Must start and end with lowercase letters and numbers. // 3. The name length is 3-63 characters. LogtailConfigName interface{} `field:"required" json:"logtailConfigName" yaml:"logtailConfigName"` // Property projectName: Project name: 1. // // Only supports lowercase letters, numbers, hyphens (-) and underscores (_). // 2. Must start and end with lowercase letters and numbers. // 3. The name length is 3-63 characters. ProjectName interface{} `field:"required" json:"projectName" yaml:"projectName"` // Property cloneFrom: Clone logtail config data from existing logtail config. // // Either CloneFrom or RawConfigData must be specified. If CloneFrom and RawConfigData are both specified, logtail config data will be merged from both with RawConfigData first. CloneFrom interface{} `field:"optional" json:"cloneFrom" yaml:"cloneFrom"` // Property rawConfigData: The format is the same as the response of SLS API GetConfig. // // Either CloneFrom or RawConfigData must be specified. If CloneFrom and RawConfigData are both specified, logtail config data will be merged from both with RawConfigData first. // configName, outputType, outputDetail in data will be ignored.For example: // { // "configName": "test-logtail-config", // "createTime": 1574843554, // "inputDetail": { // "acceptNoEnoughKeys": false, // "adjustTimezone": false, // "advanced": { // "force_multiconfig": false // }, // "autoExtend": true, // "delayAlarmBytes": 0, // "delaySkipBytes": 0, // "discardNonUtf8": false, // "discardUnmatch": false, // "dockerExcludeEnv": {}, // "dockerExcludeLabel": {}, // "dockerFile": false, // "dockerIncludeEnv": {}, // "dockerIncludeLabel": {}, // "enableRawLog": false, // "enableTag": false, // "fileEncoding": "utf8", // "filePattern": "test.log*", // "filterKey": [], // "filterRegex": [], // "key": [ // "time", // "logger", // "level", // "request_id", // "user_id", // "region_id", // "content" // ], // "localStorage": true, // "logPath": "\/var\/log\/test", // "logTimezone": "", // "logType": "delimiter_log", // "maxDepth": 100, // "maxSendRate": -1, // "mergeType": "topic", // "preserve": true, // "preserveDepth": 1, // "priority": 0, // "quote": "\u0001", // "sendRateExpire": 0, // "sensitive_keys": [], // "separator": ",,,", // "shardHashKey": [], // "tailExisted": false, // "timeFormat": "", // "timeKey": "", // "topicFormat": "none" // }, // "inputType": "file", // "lastModifyTime": 1574843554, // "logSample": "2019-11-27 10:48:23,160,,,MAIN,,,INFO,,,98DCC51D-BE5D-49C7-B3FD-37B2BAEFB296,,,123456789,,,cn-hangzhou,,,this is a simple test.", // "outputDetail": { // "endpoint": "cn-hangzhou-intranet.log.aliyuncs.com", // "logstoreName": "test-logstore", // "region": "cn-hangzhou" // }, // "outputType": "LogService" // }. RawConfigData interface{} `field:"optional" json:"rawConfigData" yaml:"rawConfigData"` }
Properties for defining a `LogtailConfig`.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-sls-logtailconfig
type MachineGroup ¶
type MachineGroup interface { alicloudroscdkcore.Resource IMachineGroup // Attribute GroupName: GroupName of SLS. AttrGroupName() interface{} // Attribute ProjectName: ProjectName of SLS. AttrProjectName() 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() *MachineGroupProps Ref() *string Resource() alicloudroscdkcore.RosResource SetResource(val alicloudroscdkcore.RosResource) Scope() alicloudroscdkcore.Construct SetScope(val alicloudroscdkcore.Construct) // The stack in which this resource is defined. Stack() alicloudroscdkcore.Stack AddCondition(condition alicloudroscdkcore.RosCondition) AddCount(count interface{}) AddDependency(resource alicloudroscdkcore.Resource) AddResourceDesc(desc *string) ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy) FetchCondition() alicloudroscdkcore.RosCondition FetchDependency() *[]*string FetchResourceDesc() *string GeneratePhysicalName() *string GetAtt(name *string) alicloudroscdkcore.IResolvable // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() SetMetadata(key *string, value interface{}) // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string }
This class encapsulates and extends the ROS resource type `ALIYUN::SLS::MachineGroup`, which is used to create a machine group.
Log Service manages all the ECS instances whose logs need to be collected using the Logtail client in the form of machine groups.
func NewMachineGroup ¶
func NewMachineGroup(scope alicloudroscdkcore.Construct, id *string, props *MachineGroupProps, enableResourcePropertyConstraint *bool) MachineGroup
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
type MachineGroupProps ¶
type MachineGroupProps struct { // Property groupAttribute: Group attribute, default is null. // // The object value is groupTopic and externalName. GroupAttribute interface{} `field:"optional" json:"groupAttribute" yaml:"groupAttribute"` // Property groupName: Display name of the group name, the Project only. // // [2, 128] English or Chinese characters, must start with a letter or Chinese in size, can contain numbers, '_' or '.', '-' GroupName interface{} `field:"optional" json:"groupName" yaml:"groupName"` // Property groupType: MachineGroup type, the value is empty or Armory. GroupType interface{} `field:"optional" json:"groupType" yaml:"groupType"` // Property machineIdentifyType: Machine indentify type, the value is 'ip' or 'userdefined'. MachineIdentifyType interface{} `field:"optional" json:"machineIdentifyType" yaml:"machineIdentifyType"` // Property machineList: The machine tag, the value is ip or userdefined-id. MachineList interface{} `field:"optional" json:"machineList" yaml:"machineList"` // Property projectName: MachineGroup created in project. ProjectName interface{} `field:"optional" json:"projectName" yaml:"projectName"` }
Properties for defining a `MachineGroup`.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-sls-machinegroup
type MetricStore ¶
type MetricStore interface { alicloudroscdkcore.Resource IMetricStore // Attribute LogstoreName: Metric store name. AttrLogstoreName() 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() *MetricStoreProps Ref() *string Resource() alicloudroscdkcore.RosResource SetResource(val alicloudroscdkcore.RosResource) Scope() alicloudroscdkcore.Construct SetScope(val alicloudroscdkcore.Construct) // The stack in which this resource is defined. Stack() alicloudroscdkcore.Stack AddCondition(condition alicloudroscdkcore.RosCondition) AddCount(count interface{}) AddDependency(resource alicloudroscdkcore.Resource) AddResourceDesc(desc *string) ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy) FetchCondition() alicloudroscdkcore.RosCondition FetchDependency() *[]*string FetchResourceDesc() *string GeneratePhysicalName() *string GetAtt(name *string) alicloudroscdkcore.IResolvable // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() SetMetadata(key *string, value interface{}) // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string }
This class encapsulates and extends the ROS resource type `ALIYUN::SLS::MetricStore`, which is used to create a Logstore.
func NewMetricStore ¶
func NewMetricStore(scope alicloudroscdkcore.Construct, id *string, props *MetricStoreProps, enableResourcePropertyConstraint *bool) MetricStore
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
type MetricStoreProps ¶
type MetricStoreProps struct { // Property logstoreName: Metric store name: 1. // // Only supports lowercase letters, numbers, hyphens (-) and underscores (_). // 2. Must start and end with lowercase letters and numbers. // 3. The name length is 3-63 characters. LogstoreName interface{} `field:"required" json:"logstoreName" yaml:"logstoreName"` // Property projectName: Project name: 1. // // Only supports lowercase letters, numbers, hyphens (-) and underscores (_). // 2. Must start and end with lowercase letters and numbers. // 3. The name length is 3-63 characters. ProjectName interface{} `field:"required" json:"projectName" yaml:"projectName"` // Property preserveStorage: Whether to keep the log permanently. // // If set to true, TTL will be ignored. // Default to false. PreserveStorage interface{} `field:"optional" json:"preserveStorage" yaml:"preserveStorage"` // Property shardCount: The number of Shards. // // Allowed Values: 1-10, default to 2. ShardCount interface{} `field:"optional" json:"shardCount" yaml:"shardCount"` // Property ttl: The lifecycle of log in the metrice store in days. // // Allowed Values: 1-3000, default to 30. Ttl interface{} `field:"optional" json:"ttl" yaml:"ttl"` }
Properties for defining a `MetricStore`.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-sls-metricstore
type OssExport ¶
type OssExport interface { alicloudroscdkcore.Resource IOssExport // Attribute ExportName: The name of the export job. AttrExportName() interface{} // Attribute ProjectName: The project name of SLS. AttrProjectName() 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() *OssExportProps Ref() *string Resource() alicloudroscdkcore.RosResource SetResource(val alicloudroscdkcore.RosResource) Scope() alicloudroscdkcore.Construct SetScope(val alicloudroscdkcore.Construct) // The stack in which this resource is defined. Stack() alicloudroscdkcore.Stack AddCondition(condition alicloudroscdkcore.RosCondition) AddCount(count interface{}) AddDependency(resource alicloudroscdkcore.Resource) AddResourceDesc(desc *string) ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy) FetchCondition() alicloudroscdkcore.RosCondition FetchDependency() *[]*string FetchResourceDesc() *string GeneratePhysicalName() *string GetAtt(name *string) alicloudroscdkcore.IResolvable // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() SetMetadata(key *string, value interface{}) // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string }
This class encapsulates and extends the ROS resource type `ALIYUN::SLS::OssExport`, which is used to create an Object Storage Service (OSS) data shipping job to manage Simple Log Service (SLS) data and ship Logstore data to OSS for storage.
func NewOssExport ¶
func NewOssExport(scope alicloudroscdkcore.Construct, id *string, props *OssExportProps, enableResourcePropertyConstraint *bool) OssExport
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
type OssExportProps ¶
type OssExportProps struct { // Property configuration: The configuration of the export job. Configuration interface{} `field:"required" json:"configuration" yaml:"configuration"` // Property displayName: The display name of the export job. // // It must be 4 to 100 characters in length. DisplayName interface{} `field:"required" json:"displayName" yaml:"displayName"` // Property exportName: The name of the export job. // // This value should be unique. It must be 2 to 64 characters in length and can contain lowercase letters, digits, hyphens (-), and underscores (_). It must start and end with a lowercase letter or a digit. ExportName interface{} `field:"required" json:"exportName" yaml:"exportName"` // Property projectName: The project name of SLS. ProjectName interface{} `field:"required" json:"projectName" yaml:"projectName"` // Property description: The description of the export job. // // It could be 0 to 256 characters in length. Description interface{} `field:"optional" json:"description" yaml:"description"` }
Properties for defining a `OssExport`.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-sls-ossexport
type OssExternalStore ¶ added in v1.5.0
type OssExternalStore interface { alicloudroscdkcore.Resource IOssExternalStore // Attribute ExternalStoreName: The name of the external store. AttrExternalStoreName() interface{} // Attribute Project: The name of the project to which the external store belongs. AttrProject() 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() *OssExternalStoreProps Ref() *string Resource() alicloudroscdkcore.RosResource SetResource(val alicloudroscdkcore.RosResource) Scope() alicloudroscdkcore.Construct SetScope(val alicloudroscdkcore.Construct) // The stack in which this resource is defined. Stack() alicloudroscdkcore.Stack AddCondition(condition alicloudroscdkcore.RosCondition) AddCount(count interface{}) AddDependency(resource alicloudroscdkcore.Resource) AddResourceDesc(desc *string) ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy) FetchCondition() alicloudroscdkcore.RosCondition FetchDependency() *[]*string FetchResourceDesc() *string GeneratePhysicalName() *string GetAtt(name *string) alicloudroscdkcore.IResolvable // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() SetMetadata(key *string, value interface{}) // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string }
This class encapsulates and extends the ROS resource type `ALIYUN::SLS::OssExternalStore`.
func NewOssExternalStore ¶ added in v1.5.0
func NewOssExternalStore(scope alicloudroscdkcore.Construct, id *string, props *OssExternalStoreProps, enableResourcePropertyConstraint *bool) OssExternalStore
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
type OssExternalStoreProps ¶ added in v1.5.0
type OssExternalStoreProps struct { // Property accessId: The AccessKey ID. AccessId interface{} `field:"required" json:"accessId" yaml:"accessId"` // Property accessKey: The AccessKey secret. AccessKey interface{} `field:"required" json:"accessKey" yaml:"accessKey"` // Property bucket: The name of the OSS bucket. Bucket interface{} `field:"required" json:"bucket" yaml:"bucket"` // Property columns: The associated fields. Columns interface{} `field:"required" json:"columns" yaml:"columns"` // Property endpoint: The OSS endpoint. Endpoint interface{} `field:"required" json:"endpoint" yaml:"endpoint"` // Property externalStoreName: The name of the external store. ExternalStoreName interface{} `field:"required" json:"externalStoreName" yaml:"externalStoreName"` // Property objects: The associated OSS objects. // // Valid values of n: 1 to 100. Objects interface{} `field:"required" json:"objects" yaml:"objects"` // Property project: A short description of struct. Project interface{} `field:"required" json:"project" yaml:"project"` // Property storeType: The type of the external store. // // Set the value to oss. StoreType interface{} `field:"required" json:"storeType" yaml:"storeType"` }
Properties for defining a `OssExternalStore`.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-sls-ossexternalstore
type Project ¶
type Project interface { alicloudroscdkcore.Resource IProject // Attribute Name: Project name. AttrName() 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() *ProjectProps Ref() *string Resource() alicloudroscdkcore.RosResource SetResource(val alicloudroscdkcore.RosResource) Scope() alicloudroscdkcore.Construct SetScope(val alicloudroscdkcore.Construct) // The stack in which this resource is defined. Stack() alicloudroscdkcore.Stack AddCondition(condition alicloudroscdkcore.RosCondition) AddCount(count interface{}) AddDependency(resource alicloudroscdkcore.Resource) AddResourceDesc(desc *string) ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy) FetchCondition() alicloudroscdkcore.RosCondition FetchDependency() *[]*string FetchResourceDesc() *string GeneratePhysicalName() *string GetAtt(name *string) alicloudroscdkcore.IResolvable // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() SetMetadata(key *string, value interface{}) // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string }
This class encapsulates and extends the ROS resource type `ALIYUN::SLS::Project`, which is used to create a Log Service project.
func NewProject ¶
func NewProject(scope alicloudroscdkcore.Construct, id *string, props *ProjectProps, enableResourcePropertyConstraint *bool) Project
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
type ProjectProps ¶
type ProjectProps struct { // Property name: Project name: 1. // // Only supports lowercase letters, numbers, hyphens (-). // 2. Must start and end with lowercase letters and numbers. // 3. The name length is 3-63 characters. Name interface{} `field:"required" json:"name" yaml:"name"` // Property dataRedundancyType: Disaster recovery type.LRS: Local redundant storage.ZRS: Local redundant storage. DataRedundancyType interface{} `field:"optional" json:"dataRedundancyType" yaml:"dataRedundancyType"` // Property description: Project description: <>'"\ is not supported, up to 64 characters. Description interface{} `field:"optional" json:"description" yaml:"description"` // Property resourceGroupId: The ID of the resource group to which the sls project belongs. // // If not provided, the project belongs to the default resource group. ResourceGroupId interface{} `field:"optional" json:"resourceGroupId" yaml:"resourceGroupId"` // Property tags: Tags to attach to project. // // Max support 20 tags to add during create project. Each tag with two properties Key and Value, and Key is required. Tags *[]*RosProject_TagsProperty `field:"optional" json:"tags" yaml:"tags"` }
Properties for defining a `Project`.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-sls-project
type RdsExternalStore ¶ added in v1.5.0
type RdsExternalStore interface { alicloudroscdkcore.Resource IRdsExternalStore // Attribute ExternalStoreName: The name of the external store. AttrExternalStoreName() interface{} // Attribute Project: The name of the project to which the external store belongs. AttrProject() 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() *RdsExternalStoreProps Ref() *string Resource() alicloudroscdkcore.RosResource SetResource(val alicloudroscdkcore.RosResource) Scope() alicloudroscdkcore.Construct SetScope(val alicloudroscdkcore.Construct) // The stack in which this resource is defined. Stack() alicloudroscdkcore.Stack AddCondition(condition alicloudroscdkcore.RosCondition) AddCount(count interface{}) AddDependency(resource alicloudroscdkcore.Resource) AddResourceDesc(desc *string) ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy) FetchCondition() alicloudroscdkcore.RosCondition FetchDependency() *[]*string FetchResourceDesc() *string GeneratePhysicalName() *string GetAtt(name *string) alicloudroscdkcore.IResolvable // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() SetMetadata(key *string, value interface{}) // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string }
This class encapsulates and extends the ROS resource type `ALIYUN::SLS::RdsExternalStore`.
func NewRdsExternalStore ¶ added in v1.5.0
func NewRdsExternalStore(scope alicloudroscdkcore.Construct, id *string, props *RdsExternalStoreProps, enableResourcePropertyConstraint *bool) RdsExternalStore
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
type RdsExternalStoreProps ¶ added in v1.5.0
type RdsExternalStoreProps struct { // Property db: The name of the database in the ApsaraDB RDS for MySQL instance. Db interface{} `field:"required" json:"db" yaml:"db"` // Property externalStoreName: The name of the external store. // // The name must be unique in a project and different from Logstore. ExternalStoreName interface{} `field:"required" json:"externalStoreName" yaml:"externalStoreName"` // Property host: The internal or public endpoint of the ApsaraDB RDS for MySQL instance. Host interface{} `field:"required" json:"host" yaml:"host"` // Property password: The password that is used to log on to the ApsaraDB RDS for MySQL instance. Password interface{} `field:"required" json:"password" yaml:"password"` // Property port: The internal or public port of the ApsaraDB RDS for MySQL instance. Port interface{} `field:"required" json:"port" yaml:"port"` // Property project: The name of the project. Project interface{} `field:"required" json:"project" yaml:"project"` // Property region: The region where the ApsaraDB RDS for MySQL instance resides. // // Valid values: cn-qingdao, cn-beijing, cn-hangzhou. Region interface{} `field:"required" json:"region" yaml:"region"` // Property storeType: The storage type. // // Set the value to rds-vpc, which indicates an ApsaraDB RDS for MySQL database in a virtual private cloud (VPC). StoreType interface{} `field:"required" json:"storeType" yaml:"storeType"` // Property table: The name of the database table in the ApsaraDB RDS for MySQL instance. Table interface{} `field:"required" json:"table" yaml:"table"` // Property username: The username that is used to log on to the ApsaraDB RDS for MySQL instance. Username interface{} `field:"required" json:"username" yaml:"username"` // Property vpcId: The ID of the VPC to which the ApsaraDB RDS for MySQL instance belongs. VpcId interface{} `field:"required" json:"vpcId" yaml:"vpcId"` // Property instanceId: The id of the RDS instance. InstanceId interface{} `field:"optional" json:"instanceId" yaml:"instanceId"` }
Properties for defining a `RdsExternalStore`.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-sls-rdsexternalstore
type RosAlert ¶
type RosAlert interface { alicloudroscdkcore.RosResource AttrName() 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 Detail() interface{} SetDetail(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 Project() interface{} SetProject(val interface{}) // Return a string that will be resolved to a RosTemplate `{ Ref }` for this element. // // If, by any chance, the intrinsic reference of a resource is not a string, you could // coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`. Ref() *string // Options for this resource, such as condition, update policy etc. RosOptions() alicloudroscdkcore.IRosResourceOptions RosProperties() *map[string]interface{} // ROS resource type. RosResourceType() *string // The stack in which this element is defined. // // RosElements must be defined within a stack scope (directly or indirectly). Stack() alicloudroscdkcore.Stack // Return properties modified after initiation. // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperites() *map[string]interface{} AddCondition(con alicloudroscdkcore.RosCondition) AddCount(count interface{}) // Syntactic sugar for `addOverride(path, undefined)`. AddDeletionOverride(path *string) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // // This can be used for resources across stacks (or nested stack) boundaries // and the dependency will automatically be transferred to the relevant scope. AddDependsOn(target alicloudroscdkcore.RosResource) AddDesc(desc *string) AddMetaData(key *string, value interface{}) // Adds an override to the synthesized ROS resource. // // To add a // property override, either use `addPropertyOverride` or prefix `path` with // "Properties." (i.e. `Properties.TopicName`). // // If the override is nested, separate each nested level using a dot (.) in the path parameter. // If there is an array as part of the nesting, specify the index in the path. // // For example, // “`typescript // addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']) // addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE') // “` // would add the overrides // “`json // "Properties": { // "GlobalSecondaryIndexes": [ // { // "Projection": { // "NonKeyAttributes": [ "myattribute" ] // ... // } // ... // }, // { // "ProjectionType": "INCLUDE" // ... // }, // ] // ... // } // “`. AddOverride(path *string, value interface{}) // Adds an override that deletes the value of a property from the resource definition. AddPropertyDeletionOverride(propertyPath *string) // Adds an override to a resource property. // // Syntactic sugar for `addOverride("Properties.<...>", value)`. AddPropertyOverride(propertyPath *string, value interface{}) AddRosDependency(target *string) // Sets the deletion policy of the resource based on the removal policy specified. ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy, options *alicloudroscdkcore.RemovalPolicyOptions) FetchCondition() alicloudroscdkcore.RosCondition FetchDesc() *string FetchRosDependency() *[]*string // Returns a token for an runtime attribute of this resource. // // Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility // in case there is no generated attribute. GetAtt(attributeName *string) alicloudroscdkcore.Reference // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Overrides the auto-generated logical ID with a specific ID. OverrideLogicalId(newLogicalId *string) // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() RenderProperties(props *map[string]interface{}) *map[string]interface{} // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. // // Returns: a string representation of this resource. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string ValidateProperties(_properties interface{}) }
This class is a base encapsulation around the ROS resource type `ALIYUN::SLS::Alert`, which is used to create an alert rule.
func NewRosAlert ¶
func NewRosAlert(scope alicloudroscdkcore.Construct, id *string, props *RosAlertProps, enableResourcePropertyConstraint *bool) RosAlert
type RosAlertProps ¶
type RosAlertProps struct { Detail interface{} `field:"required" json:"detail" yaml:"detail"` Project interface{} `field:"required" json:"project" yaml:"project"` }
Properties for defining a `RosAlert`.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-sls-alert
type RosAlert_AnnotationsProperty ¶
type RosAlert_AnnotationsProperty struct { Key interface{} `field:"required" json:"key" yaml:"key"` Value interface{} `field:"required" json:"value" yaml:"value"` }
type RosAlert_ConfigurationProperty ¶
type RosAlert_ConfigurationProperty struct { Dashboard interface{} `field:"required" json:"dashboard" yaml:"dashboard"` QueryList interface{} `field:"required" json:"queryList" yaml:"queryList"` Annotations interface{} `field:"optional" json:"annotations" yaml:"annotations"` AutoAnnotation interface{} `field:"optional" json:"autoAnnotation" yaml:"autoAnnotation"` Condition interface{} `field:"optional" json:"condition" yaml:"condition"` GroupConfiguration interface{} `field:"optional" json:"groupConfiguration" yaml:"groupConfiguration"` JoinConfigurations interface{} `field:"optional" json:"joinConfigurations" yaml:"joinConfigurations"` Labels interface{} `field:"optional" json:"labels" yaml:"labels"` MuteUntil interface{} `field:"optional" json:"muteUntil" yaml:"muteUntil"` NoDataFire interface{} `field:"optional" json:"noDataFire" yaml:"noDataFire"` NoDataSeverity interface{} `field:"optional" json:"noDataSeverity" yaml:"noDataSeverity"` NotificationList interface{} `field:"optional" json:"notificationList" yaml:"notificationList"` NotifyThreshold interface{} `field:"optional" json:"notifyThreshold" yaml:"notifyThreshold"` PolicyConfiguration interface{} `field:"optional" json:"policyConfiguration" yaml:"policyConfiguration"` SendResolved interface{} `field:"optional" json:"sendResolved" yaml:"sendResolved"` SeverityConfigurations interface{} `field:"optional" json:"severityConfigurations" yaml:"severityConfigurations"` Threshold interface{} `field:"optional" json:"threshold" yaml:"threshold"` Throttling interface{} `field:"optional" json:"throttling" yaml:"throttling"` Type interface{} `field:"optional" json:"type" yaml:"type"` Version interface{} `field:"optional" json:"version" yaml:"version"` }
type RosAlert_DetailProperty ¶
type RosAlert_DetailProperty struct { Configuration interface{} `field:"required" json:"configuration" yaml:"configuration"` DisplayName interface{} `field:"required" json:"displayName" yaml:"displayName"` Name interface{} `field:"required" json:"name" yaml:"name"` Schedule interface{} `field:"required" json:"schedule" yaml:"schedule"` Description interface{} `field:"optional" json:"description" yaml:"description"` State interface{} `field:"optional" json:"state" yaml:"state"` Type interface{} `field:"optional" json:"type" yaml:"type"` }
type RosAlert_EvalConditionProperty ¶
type RosAlert_EvalConditionProperty struct { Condition interface{} `field:"optional" json:"condition" yaml:"condition"` CountCondition interface{} `field:"optional" json:"countCondition" yaml:"countCondition"` }
type RosAlert_GroupConfigurationProperty ¶
type RosAlert_GroupConfigurationProperty struct { Type interface{} `field:"required" json:"type" yaml:"type"` Fields interface{} `field:"optional" json:"fields" yaml:"fields"` }
type RosAlert_JoinConfigurationsProperty ¶
type RosAlert_JoinConfigurationsProperty struct { Type interface{} `field:"required" json:"type" yaml:"type"` Condition interface{} `field:"optional" json:"condition" yaml:"condition"` }
type RosAlert_LabelsProperty ¶
type RosAlert_LabelsProperty struct { Key interface{} `field:"required" json:"key" yaml:"key"` Value interface{} `field:"required" json:"value" yaml:"value"` }
type RosAlert_NotificationListProperty ¶
type RosAlert_NotificationListProperty struct { Type interface{} `field:"required" json:"type" yaml:"type"` Content interface{} `field:"optional" json:"content" yaml:"content"` EmailList interface{} `field:"optional" json:"emailList" yaml:"emailList"` Headers interface{} `field:"optional" json:"headers" yaml:"headers"` Method interface{} `field:"optional" json:"method" yaml:"method"` MobileList interface{} `field:"optional" json:"mobileList" yaml:"mobileList"` ServiceUri interface{} `field:"optional" json:"serviceUri" yaml:"serviceUri"` }
type RosAlert_PolicyConfigurationProperty ¶
type RosAlert_PolicyConfigurationProperty struct { ActionPolicyId interface{} `field:"optional" json:"actionPolicyId" yaml:"actionPolicyId"` AlertPolicyId interface{} `field:"optional" json:"alertPolicyId" yaml:"alertPolicyId"` RepeatInterval interface{} `field:"optional" json:"repeatInterval" yaml:"repeatInterval"` UseDefault interface{} `field:"optional" json:"useDefault" yaml:"useDefault"` }
type RosAlert_QueryListProperty ¶
type RosAlert_QueryListProperty struct { End interface{} `field:"required" json:"end" yaml:"end"` Query interface{} `field:"required" json:"query" yaml:"query"` Start interface{} `field:"required" json:"start" yaml:"start"` TimeSpanType interface{} `field:"required" json:"timeSpanType" yaml:"timeSpanType"` ChartTitle interface{} `field:"optional" json:"chartTitle" yaml:"chartTitle"` DashboardId interface{} `field:"optional" json:"dashboardId" yaml:"dashboardId"` LogStore interface{} `field:"optional" json:"logStore" yaml:"logStore"` PowerSqlMode interface{} `field:"optional" json:"powerSqlMode" yaml:"powerSqlMode"` Project interface{} `field:"optional" json:"project" yaml:"project"` Region interface{} `field:"optional" json:"region" yaml:"region"` RoleArn interface{} `field:"optional" json:"roleArn" yaml:"roleArn"` Store interface{} `field:"optional" json:"store" yaml:"store"` StoreType interface{} `field:"optional" json:"storeType" yaml:"storeType"` }
type RosAlert_ScheduleProperty ¶
type RosAlert_ScheduleProperty struct { Type interface{} `field:"required" json:"type" yaml:"type"` CronExpression interface{} `field:"optional" json:"cronExpression" yaml:"cronExpression"` DayOfWeek interface{} `field:"optional" json:"dayOfWeek" yaml:"dayOfWeek"` Delay interface{} `field:"optional" json:"delay" yaml:"delay"` Hour interface{} `field:"optional" json:"hour" yaml:"hour"` Interval interface{} `field:"optional" json:"interval" yaml:"interval"` RunImmediately interface{} `field:"optional" json:"runImmediately" yaml:"runImmediately"` }
type RosAlert_SeverityConfigurationsProperty ¶
type RosAlert_SeverityConfigurationsProperty struct { Severity interface{} `field:"required" json:"severity" yaml:"severity"` EvalCondition interface{} `field:"optional" json:"evalCondition" yaml:"evalCondition"` }
type RosApplyConfigToMachineGroup ¶
type RosApplyConfigToMachineGroup interface { alicloudroscdkcore.RosResource ConfigName() interface{} SetConfigName(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) GroupName() interface{} SetGroupName(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 ProjectName() interface{} SetProjectName(val interface{}) // Return a string that will be resolved to a RosTemplate `{ Ref }` for this element. // // If, by any chance, the intrinsic reference of a resource is not a string, you could // coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`. Ref() *string // Options for this resource, such as condition, update policy etc. RosOptions() alicloudroscdkcore.IRosResourceOptions RosProperties() *map[string]interface{} // ROS resource type. RosResourceType() *string // The stack in which this element is defined. // // RosElements must be defined within a stack scope (directly or indirectly). Stack() alicloudroscdkcore.Stack // Return properties modified after initiation. // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperites() *map[string]interface{} AddCondition(con alicloudroscdkcore.RosCondition) AddCount(count interface{}) // Syntactic sugar for `addOverride(path, undefined)`. AddDeletionOverride(path *string) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // // This can be used for resources across stacks (or nested stack) boundaries // and the dependency will automatically be transferred to the relevant scope. AddDependsOn(target alicloudroscdkcore.RosResource) AddDesc(desc *string) AddMetaData(key *string, value interface{}) // Adds an override to the synthesized ROS resource. // // To add a // property override, either use `addPropertyOverride` or prefix `path` with // "Properties." (i.e. `Properties.TopicName`). // // If the override is nested, separate each nested level using a dot (.) in the path parameter. // If there is an array as part of the nesting, specify the index in the path. // // For example, // “`typescript // addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']) // addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE') // “` // would add the overrides // “`json // "Properties": { // "GlobalSecondaryIndexes": [ // { // "Projection": { // "NonKeyAttributes": [ "myattribute" ] // ... // } // ... // }, // { // "ProjectionType": "INCLUDE" // ... // }, // ] // ... // } // “`. AddOverride(path *string, value interface{}) // Adds an override that deletes the value of a property from the resource definition. AddPropertyDeletionOverride(propertyPath *string) // Adds an override to a resource property. // // Syntactic sugar for `addOverride("Properties.<...>", value)`. AddPropertyOverride(propertyPath *string, value interface{}) AddRosDependency(target *string) // Sets the deletion policy of the resource based on the removal policy specified. ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy, options *alicloudroscdkcore.RemovalPolicyOptions) FetchCondition() alicloudroscdkcore.RosCondition FetchDesc() *string FetchRosDependency() *[]*string // Returns a token for an runtime attribute of this resource. // // Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility // in case there is no generated attribute. GetAtt(attributeName *string) alicloudroscdkcore.Reference // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Overrides the auto-generated logical ID with a specific ID. OverrideLogicalId(newLogicalId *string) // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() RenderProperties(props *map[string]interface{}) *map[string]interface{} // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. // // Returns: a string representation of this resource. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string ValidateProperties(_properties interface{}) }
This class is a base encapsulation around the ROS resource type `ALIYUN::SLS::ApplyConfigToMachineGroup`, which is used to apply Log Service configurations to machine groups.
func NewRosApplyConfigToMachineGroup ¶
func NewRosApplyConfigToMachineGroup(scope alicloudroscdkcore.Construct, id *string, props *RosApplyConfigToMachineGroupProps, enableResourcePropertyConstraint *bool) RosApplyConfigToMachineGroup
type RosApplyConfigToMachineGroupProps ¶
type RosApplyConfigToMachineGroupProps struct { ConfigName interface{} `field:"optional" json:"configName" yaml:"configName"` GroupName interface{} `field:"optional" json:"groupName" yaml:"groupName"` ProjectName interface{} `field:"optional" json:"projectName" yaml:"projectName"` }
Properties for defining a `RosApplyConfigToMachineGroup`.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-sls-applyconfigtomachinegroup
type RosAudit ¶
type RosAudit interface { alicloudroscdkcore.RosResource AttrDisplayName() alicloudroscdkcore.IResolvable // Returns: the stack trace of the point where this Resource was created from, sourced // from the +metadata+ entry typed +aliyun:ros:logicalId+, and with the bottom-most // node +internal+ entries filtered. CreationStack() *[]*string DisplayName() interface{} SetDisplayName(val interface{}) EnableResourcePropertyConstraint() *bool SetEnableResourcePropertyConstraint(val *bool) // The logical ID for this stack element. // // The logical ID of the element // is calculated from the path of the resource node in the construct tree. // // To override this value, use `overrideLogicalId(newLogicalId)`. // // Returns: the logical ID as a stringified token. This value will only get // resolved during synthesis. LogicalId() *string MultiAccount() interface{} SetMultiAccount(val interface{}) // The construct tree node associated with this construct. Node() alicloudroscdkcore.ConstructNode // Return a string that will be resolved to a RosTemplate `{ Ref }` for this element. // // If, by any chance, the intrinsic reference of a resource is not a string, you could // coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`. Ref() *string // Options for this resource, such as condition, update policy etc. RosOptions() alicloudroscdkcore.IRosResourceOptions RosProperties() *map[string]interface{} // ROS resource type. RosResourceType() *string // The stack in which this element is defined. // // RosElements must be defined within a stack scope (directly or indirectly). Stack() alicloudroscdkcore.Stack // Return properties modified after initiation. // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperites() *map[string]interface{} VariableMap() interface{} SetVariableMap(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) FetchCondition() alicloudroscdkcore.RosCondition FetchDesc() *string FetchRosDependency() *[]*string // Returns a token for an runtime attribute of this resource. // // Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility // in case there is no generated attribute. GetAtt(attributeName *string) alicloudroscdkcore.Reference // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Overrides the auto-generated logical ID with a specific ID. OverrideLogicalId(newLogicalId *string) // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() RenderProperties(props *map[string]interface{}) *map[string]interface{} // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. // // Returns: a string representation of this resource. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string ValidateProperties(_properties interface{}) }
This class is a base encapsulation around the ROS resource type `ALIYUN::SLS::Audit`, which is used to configure Log Audit Service.
func NewRosAudit ¶
func NewRosAudit(scope alicloudroscdkcore.Construct, id *string, props *RosAuditProps, enableResourcePropertyConstraint *bool) RosAudit
type RosAuditProps ¶
type RosAuditProps struct { DisplayName interface{} `field:"required" json:"displayName" yaml:"displayName"` VariableMap interface{} `field:"required" json:"variableMap" yaml:"variableMap"` MultiAccount interface{} `field:"optional" json:"multiAccount" yaml:"multiAccount"` }
Properties for defining a `RosAudit`.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-sls-audit
type RosAudit_VariableMapProperty ¶
type RosAudit_VariableMapProperty struct { ActiontrailEnabled interface{} `field:"optional" json:"actiontrailEnabled" yaml:"actiontrailEnabled"` ActiontrailOpenapiCollectionPolicy interface{} `field:"optional" json:"actiontrailOpenapiCollectionPolicy" yaml:"actiontrailOpenapiCollectionPolicy"` ActiontrailOpenapiPolicySetting interface{} `field:"optional" json:"actiontrailOpenapiPolicySetting" yaml:"actiontrailOpenapiPolicySetting"` ActiontrailTiEnabled interface{} `field:"optional" json:"actiontrailTiEnabled" yaml:"actiontrailTiEnabled"` ActiontrailTtl interface{} `field:"optional" json:"actiontrailTtl" yaml:"actiontrailTtl"` AlbAccessCollectionPolicy interface{} `field:"optional" json:"albAccessCollectionPolicy" yaml:"albAccessCollectionPolicy"` AlbAccessEnabled interface{} `field:"optional" json:"albAccessEnabled" yaml:"albAccessEnabled"` AlbAccessTtl interface{} `field:"optional" json:"albAccessTtl" yaml:"albAccessTtl"` AlbSyncEnabled interface{} `field:"optional" json:"albSyncEnabled" yaml:"albSyncEnabled"` AlbSyncTtl interface{} `field:"optional" json:"albSyncTtl" yaml:"albSyncTtl"` ApigatewayAccessCollectionPolicy interface{} `field:"optional" json:"apigatewayAccessCollectionPolicy" yaml:"apigatewayAccessCollectionPolicy"` ApigatewayAccessPolicySetting interface{} `field:"optional" json:"apigatewayAccessPolicySetting" yaml:"apigatewayAccessPolicySetting"` ApigatewayEnabled interface{} `field:"optional" json:"apigatewayEnabled" yaml:"apigatewayEnabled"` ApigatewayTiEnabled interface{} `field:"optional" json:"apigatewayTiEnabled" yaml:"apigatewayTiEnabled"` ApigatewayTtl interface{} `field:"optional" json:"apigatewayTtl" yaml:"apigatewayTtl"` AppconnectEnabled interface{} `field:"optional" json:"appconnectEnabled" yaml:"appconnectEnabled"` AppconnectOpCollectionPolicy interface{} `field:"optional" json:"appconnectOpCollectionPolicy" yaml:"appconnectOpCollectionPolicy"` AppconnectOpPolicySetting interface{} `field:"optional" json:"appconnectOpPolicySetting" yaml:"appconnectOpPolicySetting"` AppconnectTiEnabled interface{} `field:"optional" json:"appconnectTiEnabled" yaml:"appconnectTiEnabled"` AppconnectTtl interface{} `field:"optional" json:"appconnectTtl" yaml:"appconnectTtl"` BastionAuditCollectionPolicy interface{} `field:"optional" json:"bastionAuditCollectionPolicy" yaml:"bastionAuditCollectionPolicy"` BastionAuditPolicySetting interface{} `field:"optional" json:"bastionAuditPolicySetting" yaml:"bastionAuditPolicySetting"` BastionEnabled interface{} `field:"optional" json:"bastionEnabled" yaml:"bastionEnabled"` BastionTiEnabled interface{} `field:"optional" json:"bastionTiEnabled" yaml:"bastionTiEnabled"` BastionTtl interface{} `field:"optional" json:"bastionTtl" yaml:"bastionTtl"` CloudconfigChangeEnabled interface{} `field:"optional" json:"cloudconfigChangeEnabled" yaml:"cloudconfigChangeEnabled"` CloudconfigChangeTtl interface{} `field:"optional" json:"cloudconfigChangeTtl" yaml:"cloudconfigChangeTtl"` CloudconfigNoncomEnabled interface{} `field:"optional" json:"cloudconfigNoncomEnabled" yaml:"cloudconfigNoncomEnabled"` CloudconfigNoncomTtl interface{} `field:"optional" json:"cloudconfigNoncomTtl" yaml:"cloudconfigNoncomTtl"` CloudfirewallAccessCollectionPolicy interface{} `field:"optional" json:"cloudfirewallAccessCollectionPolicy" yaml:"cloudfirewallAccessCollectionPolicy"` CloudfirewallAccessPolicySetting interface{} `field:"optional" json:"cloudfirewallAccessPolicySetting" yaml:"cloudfirewallAccessPolicySetting"` CloudfirewallEnabled interface{} `field:"optional" json:"cloudfirewallEnabled" yaml:"cloudfirewallEnabled"` CloudfirewallTiEnabled interface{} `field:"optional" json:"cloudfirewallTiEnabled" yaml:"cloudfirewallTiEnabled"` CloudfirewallTtl interface{} `field:"optional" json:"cloudfirewallTtl" yaml:"cloudfirewallTtl"` CloudfirewallVpcEnabled interface{} `field:"optional" json:"cloudfirewallVpcEnabled" yaml:"cloudfirewallVpcEnabled"` CloudfirewallVpcTtl interface{} `field:"optional" json:"cloudfirewallVpcTtl" yaml:"cloudfirewallVpcTtl"` CpsCallbackCollectionPolicy interface{} `field:"optional" json:"cpsCallbackCollectionPolicy" yaml:"cpsCallbackCollectionPolicy"` CpsCallbackPolicySetting interface{} `field:"optional" json:"cpsCallbackPolicySetting" yaml:"cpsCallbackPolicySetting"` CpsEnabled interface{} `field:"optional" json:"cpsEnabled" yaml:"cpsEnabled"` CpsTiEnabled interface{} `field:"optional" json:"cpsTiEnabled" yaml:"cpsTiEnabled"` CpsTtl interface{} `field:"optional" json:"cpsTtl" yaml:"cpsTtl"` DdosBgpAccessEnabled interface{} `field:"optional" json:"ddosBgpAccessEnabled" yaml:"ddosBgpAccessEnabled"` DdosBgpAccessTtl interface{} `field:"optional" json:"ddosBgpAccessTtl" yaml:"ddosBgpAccessTtl"` DdosCooAccessCollectionPolicy interface{} `field:"optional" json:"ddosCooAccessCollectionPolicy" yaml:"ddosCooAccessCollectionPolicy"` DdosCooAccessEnabled interface{} `field:"optional" json:"ddosCooAccessEnabled" yaml:"ddosCooAccessEnabled"` DdosCooAccessPolicySetting interface{} `field:"optional" json:"ddosCooAccessPolicySetting" yaml:"ddosCooAccessPolicySetting"` DdosCooAccessTiEnabled interface{} `field:"optional" json:"ddosCooAccessTiEnabled" yaml:"ddosCooAccessTiEnabled"` DdosCooAccessTtl interface{} `field:"optional" json:"ddosCooAccessTtl" yaml:"ddosCooAccessTtl"` DdosDipAccessEnabled interface{} `field:"optional" json:"ddosDipAccessEnabled" yaml:"ddosDipAccessEnabled"` DdosDipAccessTtl interface{} `field:"optional" json:"ddosDipAccessTtl" yaml:"ddosDipAccessTtl"` DnsIntranetCollectionPolicy interface{} `field:"optional" json:"dnsIntranetCollectionPolicy" yaml:"dnsIntranetCollectionPolicy"` DnsIntranetEnabled interface{} `field:"optional" json:"dnsIntranetEnabled" yaml:"dnsIntranetEnabled"` DnsIntranetTtl interface{} `field:"optional" json:"dnsIntranetTtl" yaml:"dnsIntranetTtl"` DnsSyncEnabled interface{} `field:"optional" json:"dnsSyncEnabled" yaml:"dnsSyncEnabled"` DnsSyncTtl interface{} `field:"optional" json:"dnsSyncTtl" yaml:"dnsSyncTtl"` DrdsAuditCollectionPolicy interface{} `field:"optional" json:"drdsAuditCollectionPolicy" yaml:"drdsAuditCollectionPolicy"` DrdsAuditEnabled interface{} `field:"optional" json:"drdsAuditEnabled" yaml:"drdsAuditEnabled"` DrdsAuditPolicySetting interface{} `field:"optional" json:"drdsAuditPolicySetting" yaml:"drdsAuditPolicySetting"` DrdsAuditTiEnabled interface{} `field:"optional" json:"drdsAuditTiEnabled" yaml:"drdsAuditTiEnabled"` DrdsAuditTtl interface{} `field:"optional" json:"drdsAuditTtl" yaml:"drdsAuditTtl"` DrdsSyncEnabled interface{} `field:"optional" json:"drdsSyncEnabled" yaml:"drdsSyncEnabled"` DrdsSyncTtl interface{} `field:"optional" json:"drdsSyncTtl" yaml:"drdsSyncTtl"` IdaasMngCollectionPolicy interface{} `field:"optional" json:"idaasMngCollectionPolicy" yaml:"idaasMngCollectionPolicy"` IdaasMngEnabled interface{} `field:"optional" json:"idaasMngEnabled" yaml:"idaasMngEnabled"` IdaasMngTtl interface{} `field:"optional" json:"idaasMngTtl" yaml:"idaasMngTtl"` IdaasUserCollectionPolicy interface{} `field:"optional" json:"idaasUserCollectionPolicy" yaml:"idaasUserCollectionPolicy"` IdaasUserEnabled interface{} `field:"optional" json:"idaasUserEnabled" yaml:"idaasUserEnabled"` IdaasUserTtl interface{} `field:"optional" json:"idaasUserTtl" yaml:"idaasUserTtl"` K8SAuditCollectionPolicy interface{} `field:"optional" json:"k8SAuditCollectionPolicy" yaml:"k8SAuditCollectionPolicy"` K8SAuditEnabled interface{} `field:"optional" json:"k8SAuditEnabled" yaml:"k8SAuditEnabled"` K8SAuditPolicySetting interface{} `field:"optional" json:"k8SAuditPolicySetting" yaml:"k8SAuditPolicySetting"` K8SAuditTiEnabled interface{} `field:"optional" json:"k8SAuditTiEnabled" yaml:"k8SAuditTiEnabled"` K8SAuditTtl interface{} `field:"optional" json:"k8SAuditTtl" yaml:"k8SAuditTtl"` K8SEventCollectionPolicy interface{} `field:"optional" json:"k8SEventCollectionPolicy" yaml:"k8SEventCollectionPolicy"` K8SEventEnabled interface{} `field:"optional" json:"k8SEventEnabled" yaml:"k8SEventEnabled"` K8SEventPolicySetting interface{} `field:"optional" json:"k8SEventPolicySetting" yaml:"k8SEventPolicySetting"` K8SEventTiEnabled interface{} `field:"optional" json:"k8SEventTiEnabled" yaml:"k8SEventTiEnabled"` K8SEventTtl interface{} `field:"optional" json:"k8SEventTtl" yaml:"k8SEventTtl"` K8SIngressCollectionPolicy interface{} `field:"optional" json:"k8SIngressCollectionPolicy" yaml:"k8SIngressCollectionPolicy"` K8SIngressEnabled interface{} `field:"optional" json:"k8SIngressEnabled" yaml:"k8SIngressEnabled"` K8SIngressPolicySetting interface{} `field:"optional" json:"k8SIngressPolicySetting" yaml:"k8SIngressPolicySetting"` K8SIngressTiEnabled interface{} `field:"optional" json:"k8SIngressTiEnabled" yaml:"k8SIngressTiEnabled"` K8SIngressTtl interface{} `field:"optional" json:"k8SIngressTtl" yaml:"k8SIngressTtl"` NasAuditCollectionPolicy interface{} `field:"optional" json:"nasAuditCollectionPolicy" yaml:"nasAuditCollectionPolicy"` NasAuditPolicySetting interface{} `field:"optional" json:"nasAuditPolicySetting" yaml:"nasAuditPolicySetting"` NasEnabled interface{} `field:"optional" json:"nasEnabled" yaml:"nasEnabled"` NasTiEnabled interface{} `field:"optional" json:"nasTiEnabled" yaml:"nasTiEnabled"` NasTtl interface{} `field:"optional" json:"nasTtl" yaml:"nasTtl"` OssAccessCollectionPolicy interface{} `field:"optional" json:"ossAccessCollectionPolicy" yaml:"ossAccessCollectionPolicy"` OssAccessEnabled interface{} `field:"optional" json:"ossAccessEnabled" yaml:"ossAccessEnabled"` OssAccessPolicySetting interface{} `field:"optional" json:"ossAccessPolicySetting" yaml:"ossAccessPolicySetting"` OssAccessTiEnabled interface{} `field:"optional" json:"ossAccessTiEnabled" yaml:"ossAccessTiEnabled"` OssAccessTtl interface{} `field:"optional" json:"ossAccessTtl" yaml:"ossAccessTtl"` OssMeteringCollectionPolicy interface{} `field:"optional" json:"ossMeteringCollectionPolicy" yaml:"ossMeteringCollectionPolicy"` OssMeteringEnabled interface{} `field:"optional" json:"ossMeteringEnabled" yaml:"ossMeteringEnabled"` OssMeteringPolicySetting interface{} `field:"optional" json:"ossMeteringPolicySetting" yaml:"ossMeteringPolicySetting"` OssMeteringTiEnabled interface{} `field:"optional" json:"ossMeteringTiEnabled" yaml:"ossMeteringTiEnabled"` OssMeteringTtl interface{} `field:"optional" json:"ossMeteringTtl" yaml:"ossMeteringTtl"` OssSyncEnabled interface{} `field:"optional" json:"ossSyncEnabled" yaml:"ossSyncEnabled"` OssSyncTtl interface{} `field:"optional" json:"ossSyncTtl" yaml:"ossSyncTtl"` PolardbAuditCollectionPolicy interface{} `field:"optional" json:"polardbAuditCollectionPolicy" yaml:"polardbAuditCollectionPolicy"` PolardbAuditPolicySetting interface{} `field:"optional" json:"polardbAuditPolicySetting" yaml:"polardbAuditPolicySetting"` PolardbEnabled interface{} `field:"optional" json:"polardbEnabled" yaml:"polardbEnabled"` PolardbErrorCollectionPolicy interface{} `field:"optional" json:"polardbErrorCollectionPolicy" yaml:"polardbErrorCollectionPolicy"` PolardbErrorEnabled interface{} `field:"optional" json:"polardbErrorEnabled" yaml:"polardbErrorEnabled"` PolardbErrorTtl interface{} `field:"optional" json:"polardbErrorTtl" yaml:"polardbErrorTtl"` PolardbPerfCollectionPolicy interface{} `field:"optional" json:"polardbPerfCollectionPolicy" yaml:"polardbPerfCollectionPolicy"` PolardbPerfEnabled interface{} `field:"optional" json:"polardbPerfEnabled" yaml:"polardbPerfEnabled"` PolardbPerfPolicySetting interface{} `field:"optional" json:"polardbPerfPolicySetting" yaml:"polardbPerfPolicySetting"` PolardbPerfTiEnabled interface{} `field:"optional" json:"polardbPerfTiEnabled" yaml:"polardbPerfTiEnabled"` PolardbPerfTtl interface{} `field:"optional" json:"polardbPerfTtl" yaml:"polardbPerfTtl"` PolardbSlowCollectionPolicy interface{} `field:"optional" json:"polardbSlowCollectionPolicy" yaml:"polardbSlowCollectionPolicy"` PolardbSlowEnabled interface{} `field:"optional" json:"polardbSlowEnabled" yaml:"polardbSlowEnabled"` PolardbSlowPolicySetting interface{} `field:"optional" json:"polardbSlowPolicySetting" yaml:"polardbSlowPolicySetting"` PolardbSlowTiEnabled interface{} `field:"optional" json:"polardbSlowTiEnabled" yaml:"polardbSlowTiEnabled"` PolardbSlowTtl interface{} `field:"optional" json:"polardbSlowTtl" yaml:"polardbSlowTtl"` PolardbTiEnabled interface{} `field:"optional" json:"polardbTiEnabled" yaml:"polardbTiEnabled"` PolardbTtl interface{} `field:"optional" json:"polardbTtl" yaml:"polardbTtl"` RdsAuditCollectionPolicy interface{} `field:"optional" json:"rdsAuditCollectionPolicy" yaml:"rdsAuditCollectionPolicy"` RdsAuditPolicySetting interface{} `field:"optional" json:"rdsAuditPolicySetting" yaml:"rdsAuditPolicySetting"` RdsEnabled interface{} `field:"optional" json:"rdsEnabled" yaml:"rdsEnabled"` RdsErrorCollectionPolicy interface{} `field:"optional" json:"rdsErrorCollectionPolicy" yaml:"rdsErrorCollectionPolicy"` RdsErrorEnabled interface{} `field:"optional" json:"rdsErrorEnabled" yaml:"rdsErrorEnabled"` RdsErrorTtl interface{} `field:"optional" json:"rdsErrorTtl" yaml:"rdsErrorTtl"` RdsPerfCollectionPolicy interface{} `field:"optional" json:"rdsPerfCollectionPolicy" yaml:"rdsPerfCollectionPolicy"` RdsPerfEnabled interface{} `field:"optional" json:"rdsPerfEnabled" yaml:"rdsPerfEnabled"` RdsPerfPolicySetting interface{} `field:"optional" json:"rdsPerfPolicySetting" yaml:"rdsPerfPolicySetting"` RdsPerfTiEnabled interface{} `field:"optional" json:"rdsPerfTiEnabled" yaml:"rdsPerfTiEnabled"` RdsPerfTtl interface{} `field:"optional" json:"rdsPerfTtl" yaml:"rdsPerfTtl"` RdsSlowCollectionPolicy interface{} `field:"optional" json:"rdsSlowCollectionPolicy" yaml:"rdsSlowCollectionPolicy"` RdsSlowEnabled interface{} `field:"optional" json:"rdsSlowEnabled" yaml:"rdsSlowEnabled"` RdsSlowPolicySetting interface{} `field:"optional" json:"rdsSlowPolicySetting" yaml:"rdsSlowPolicySetting"` RdsSlowTiEnabled interface{} `field:"optional" json:"rdsSlowTiEnabled" yaml:"rdsSlowTiEnabled"` RdsSlowTtl interface{} `field:"optional" json:"rdsSlowTtl" yaml:"rdsSlowTtl"` RdsTiEnabled interface{} `field:"optional" json:"rdsTiEnabled" yaml:"rdsTiEnabled"` RdsTtl interface{} `field:"optional" json:"rdsTtl" yaml:"rdsTtl"` RedisAuditCollectionPolicy interface{} `field:"optional" json:"redisAuditCollectionPolicy" yaml:"redisAuditCollectionPolicy"` RedisAuditEnabled interface{} `field:"optional" json:"redisAuditEnabled" yaml:"redisAuditEnabled"` RedisAuditPolicySetting interface{} `field:"optional" json:"redisAuditPolicySetting" yaml:"redisAuditPolicySetting"` RedisAuditTiEnabled interface{} `field:"optional" json:"redisAuditTiEnabled" yaml:"redisAuditTiEnabled"` RedisAuditTtl interface{} `field:"optional" json:"redisAuditTtl" yaml:"redisAuditTtl"` RedisSyncEnabled interface{} `field:"optional" json:"redisSyncEnabled" yaml:"redisSyncEnabled"` RedisSyncTtl interface{} `field:"optional" json:"redisSyncTtl" yaml:"redisSyncTtl"` SasCrackEnabled interface{} `field:"optional" json:"sasCrackEnabled" yaml:"sasCrackEnabled"` SasDnsEnabled interface{} `field:"optional" json:"sasDnsEnabled" yaml:"sasDnsEnabled"` SasDnsQueryEnabled interface{} `field:"optional" json:"sasDnsQueryEnabled" yaml:"sasDnsQueryEnabled"` SasHttpEnabled interface{} `field:"optional" json:"sasHttpEnabled" yaml:"sasHttpEnabled"` SasLocalDnsEnabled interface{} `field:"optional" json:"sasLocalDnsEnabled" yaml:"sasLocalDnsEnabled"` SasLoginEnabled interface{} `field:"optional" json:"sasLoginEnabled" yaml:"sasLoginEnabled"` SasNetworkEnabled interface{} `field:"optional" json:"sasNetworkEnabled" yaml:"sasNetworkEnabled"` SasProcessEnabled interface{} `field:"optional" json:"sasProcessEnabled" yaml:"sasProcessEnabled"` SasSecurityAlertEnabled interface{} `field:"optional" json:"sasSecurityAlertEnabled" yaml:"sasSecurityAlertEnabled"` SasSecurityHcEnabled interface{} `field:"optional" json:"sasSecurityHcEnabled" yaml:"sasSecurityHcEnabled"` SasSecurityVulEnabled interface{} `field:"optional" json:"sasSecurityVulEnabled" yaml:"sasSecurityVulEnabled"` SasSessionEnabled interface{} `field:"optional" json:"sasSessionEnabled" yaml:"sasSessionEnabled"` SasSnapshotAccountEnabled interface{} `field:"optional" json:"sasSnapshotAccountEnabled" yaml:"sasSnapshotAccountEnabled"` SasSnapshotPortEnabled interface{} `field:"optional" json:"sasSnapshotPortEnabled" yaml:"sasSnapshotPortEnabled"` SasSnapshotProcessEnabled interface{} `field:"optional" json:"sasSnapshotProcessEnabled" yaml:"sasSnapshotProcessEnabled"` SasTiEnabled interface{} `field:"optional" json:"sasTiEnabled" yaml:"sasTiEnabled"` SasTtl interface{} `field:"optional" json:"sasTtl" yaml:"sasTtl"` SlbAccessCollectionPolicy interface{} `field:"optional" json:"slbAccessCollectionPolicy" yaml:"slbAccessCollectionPolicy"` SlbAccessEnabled interface{} `field:"optional" json:"slbAccessEnabled" yaml:"slbAccessEnabled"` SlbAccessPolicySetting interface{} `field:"optional" json:"slbAccessPolicySetting" yaml:"slbAccessPolicySetting"` SlbAccessTiEnabled interface{} `field:"optional" json:"slbAccessTiEnabled" yaml:"slbAccessTiEnabled"` SlbAccessTtl interface{} `field:"optional" json:"slbAccessTtl" yaml:"slbAccessTtl"` SlbSyncEnabled interface{} `field:"optional" json:"slbSyncEnabled" yaml:"slbSyncEnabled"` SlbSyncTtl interface{} `field:"optional" json:"slbSyncTtl" yaml:"slbSyncTtl"` VpcFlowCollectionPolicy interface{} `field:"optional" json:"vpcFlowCollectionPolicy" yaml:"vpcFlowCollectionPolicy"` VpcFlowEnabled interface{} `field:"optional" json:"vpcFlowEnabled" yaml:"vpcFlowEnabled"` VpcFlowTtl interface{} `field:"optional" json:"vpcFlowTtl" yaml:"vpcFlowTtl"` VpcSyncEnabled interface{} `field:"optional" json:"vpcSyncEnabled" yaml:"vpcSyncEnabled"` VpcSyncTtl interface{} `field:"optional" json:"vpcSyncTtl" yaml:"vpcSyncTtl"` WafAccessCollectionPolicy interface{} `field:"optional" json:"wafAccessCollectionPolicy" yaml:"wafAccessCollectionPolicy"` WafAccessPolicySetting interface{} `field:"optional" json:"wafAccessPolicySetting" yaml:"wafAccessPolicySetting"` WafEnabled interface{} `field:"optional" json:"wafEnabled" yaml:"wafEnabled"` WafTiEnabled interface{} `field:"optional" json:"wafTiEnabled" yaml:"wafTiEnabled"` WafTtl interface{} `field:"optional" json:"wafTtl" yaml:"wafTtl"` }
type RosConsumerGroup ¶ added in v1.5.0
type RosConsumerGroup interface { alicloudroscdkcore.RosResource AttrConsumerGroup() alicloudroscdkcore.IResolvable AttrLogstore() alicloudroscdkcore.IResolvable AttrProject() alicloudroscdkcore.IResolvable ConsumerGroup() interface{} SetConsumerGroup(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 Logstore() interface{} SetLogstore(val interface{}) // The construct tree node associated with this construct. Node() alicloudroscdkcore.ConstructNode Order() interface{} SetOrder(val interface{}) Project() interface{} SetProject(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 Timeout() interface{} SetTimeout(val interface{}) // Return properties modified after initiation. // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperites() *map[string]interface{} AddCondition(con alicloudroscdkcore.RosCondition) AddCount(count interface{}) // Syntactic sugar for `addOverride(path, undefined)`. AddDeletionOverride(path *string) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // // This can be used for resources across stacks (or nested stack) boundaries // and the dependency will automatically be transferred to the relevant scope. AddDependsOn(target alicloudroscdkcore.RosResource) AddDesc(desc *string) AddMetaData(key *string, value interface{}) // Adds an override to the synthesized ROS resource. // // To add a // property override, either use `addPropertyOverride` or prefix `path` with // "Properties." (i.e. `Properties.TopicName`). // // If the override is nested, separate each nested level using a dot (.) in the path parameter. // If there is an array as part of the nesting, specify the index in the path. // // For example, // “`typescript // addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']) // addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE') // “` // would add the overrides // “`json // "Properties": { // "GlobalSecondaryIndexes": [ // { // "Projection": { // "NonKeyAttributes": [ "myattribute" ] // ... // } // ... // }, // { // "ProjectionType": "INCLUDE" // ... // }, // ] // ... // } // “`. AddOverride(path *string, value interface{}) // Adds an override that deletes the value of a property from the resource definition. AddPropertyDeletionOverride(propertyPath *string) // Adds an override to a resource property. // // Syntactic sugar for `addOverride("Properties.<...>", value)`. AddPropertyOverride(propertyPath *string, value interface{}) AddRosDependency(target *string) // Sets the deletion policy of the resource based on the removal policy specified. ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy, options *alicloudroscdkcore.RemovalPolicyOptions) FetchCondition() alicloudroscdkcore.RosCondition FetchDesc() *string FetchRosDependency() *[]*string // Returns a token for an runtime attribute of this resource. // // Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility // in case there is no generated attribute. GetAtt(attributeName *string) alicloudroscdkcore.Reference // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Overrides the auto-generated logical ID with a specific ID. OverrideLogicalId(newLogicalId *string) // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() RenderProperties(props *map[string]interface{}) *map[string]interface{} // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. // // Returns: a string representation of this resource. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string ValidateProperties(_properties interface{}) }
This class is a base encapsulation around the ROS resource type `ALIYUN::SLS::ConsumerGroup`.
func NewRosConsumerGroup ¶ added in v1.5.0
func NewRosConsumerGroup(scope alicloudroscdkcore.Construct, id *string, props *RosConsumerGroupProps, enableResourcePropertyConstraint *bool) RosConsumerGroup
type RosConsumerGroupProps ¶ added in v1.5.0
type RosConsumerGroupProps struct { ConsumerGroup interface{} `field:"required" json:"consumerGroup" yaml:"consumerGroup"` Logstore interface{} `field:"required" json:"logstore" yaml:"logstore"` Order interface{} `field:"required" json:"order" yaml:"order"` Project interface{} `field:"required" json:"project" yaml:"project"` Timeout interface{} `field:"required" json:"timeout" yaml:"timeout"` }
Properties for defining a `RosConsumerGroup`.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-sls-consumergroup
type RosDashboard ¶
type RosDashboard interface { alicloudroscdkcore.RosResource AttrDashboardName() alicloudroscdkcore.IResolvable AttrDisplayName() alicloudroscdkcore.IResolvable Charts() interface{} SetCharts(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 DashboardName() interface{} SetDashboardName(val interface{}) Description() interface{} SetDescription(val interface{}) DisplayName() interface{} SetDisplayName(val interface{}) EnableResourcePropertyConstraint() *bool SetEnableResourcePropertyConstraint(val *bool) // The logical ID for this stack element. // // The logical ID of the element // is calculated from the path of the resource node in the construct tree. // // To override this value, use `overrideLogicalId(newLogicalId)`. // // Returns: the logical ID as a stringified token. This value will only get // resolved during synthesis. LogicalId() *string // The construct tree node associated with this construct. Node() alicloudroscdkcore.ConstructNode ProjectName() interface{} SetProjectName(val interface{}) // Return a string that will be resolved to a RosTemplate `{ Ref }` for this element. // // If, by any chance, the intrinsic reference of a resource is not a string, you could // coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`. Ref() *string // Options for this resource, such as condition, update policy etc. RosOptions() alicloudroscdkcore.IRosResourceOptions RosProperties() *map[string]interface{} // ROS resource type. RosResourceType() *string // The stack in which this element is defined. // // RosElements must be defined within a stack scope (directly or indirectly). Stack() alicloudroscdkcore.Stack // Return properties modified after initiation. // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperites() *map[string]interface{} AddCondition(con alicloudroscdkcore.RosCondition) AddCount(count interface{}) // Syntactic sugar for `addOverride(path, undefined)`. AddDeletionOverride(path *string) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // // This can be used for resources across stacks (or nested stack) boundaries // and the dependency will automatically be transferred to the relevant scope. AddDependsOn(target alicloudroscdkcore.RosResource) AddDesc(desc *string) AddMetaData(key *string, value interface{}) // Adds an override to the synthesized ROS resource. // // To add a // property override, either use `addPropertyOverride` or prefix `path` with // "Properties." (i.e. `Properties.TopicName`). // // If the override is nested, separate each nested level using a dot (.) in the path parameter. // If there is an array as part of the nesting, specify the index in the path. // // For example, // “`typescript // addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']) // addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE') // “` // would add the overrides // “`json // "Properties": { // "GlobalSecondaryIndexes": [ // { // "Projection": { // "NonKeyAttributes": [ "myattribute" ] // ... // } // ... // }, // { // "ProjectionType": "INCLUDE" // ... // }, // ] // ... // } // “`. AddOverride(path *string, value interface{}) // Adds an override that deletes the value of a property from the resource definition. AddPropertyDeletionOverride(propertyPath *string) // Adds an override to a resource property. // // Syntactic sugar for `addOverride("Properties.<...>", value)`. AddPropertyOverride(propertyPath *string, value interface{}) AddRosDependency(target *string) // Sets the deletion policy of the resource based on the removal policy specified. ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy, options *alicloudroscdkcore.RemovalPolicyOptions) FetchCondition() alicloudroscdkcore.RosCondition FetchDesc() *string FetchRosDependency() *[]*string // Returns a token for an runtime attribute of this resource. // // Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility // in case there is no generated attribute. GetAtt(attributeName *string) alicloudroscdkcore.Reference // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Overrides the auto-generated logical ID with a specific ID. OverrideLogicalId(newLogicalId *string) // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() RenderProperties(props *map[string]interface{}) *map[string]interface{} // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. // // Returns: a string representation of this resource. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string ValidateProperties(_properties interface{}) }
This class is a base encapsulation around the ROS resource type `ALIYUN::SLS::Dashboard`, which is used to create a dashboard.
func NewRosDashboard ¶
func NewRosDashboard(scope alicloudroscdkcore.Construct, id *string, props *RosDashboardProps, enableResourcePropertyConstraint *bool) RosDashboard
type RosDashboardProps ¶
type RosDashboardProps struct { Charts interface{} `field:"required" json:"charts" yaml:"charts"` DashboardName interface{} `field:"required" json:"dashboardName" yaml:"dashboardName"` ProjectName interface{} `field:"required" json:"projectName" yaml:"projectName"` Description interface{} `field:"optional" json:"description" yaml:"description"` DisplayName interface{} `field:"optional" json:"displayName" yaml:"displayName"` }
Properties for defining a `RosDashboard`.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-sls-dashboard
type RosEtl ¶
type RosEtl interface { alicloudroscdkcore.RosResource AttrName() alicloudroscdkcore.IResolvable Configuration() interface{} SetConfiguration(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{}) DisplayName() interface{} SetDisplayName(val interface{}) EnableResourcePropertyConstraint() *bool SetEnableResourcePropertyConstraint(val *bool) // The logical ID for this stack element. // // The logical ID of the element // is calculated from the path of the resource node in the construct tree. // // To override this value, use `overrideLogicalId(newLogicalId)`. // // Returns: the logical ID as a stringified token. This value will only get // resolved during synthesis. LogicalId() *string Name() interface{} SetName(val interface{}) // The construct tree node associated with this construct. Node() alicloudroscdkcore.ConstructNode ProjectName() interface{} SetProjectName(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 Schedule() interface{} SetSchedule(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 `ALIYUN::SLS::Etl`, which is used to create a data transformation task.
func NewRosEtl ¶
func NewRosEtl(scope alicloudroscdkcore.Construct, id *string, props *RosEtlProps, enableResourcePropertyConstraint *bool) RosEtl
type RosEtlProps ¶
type RosEtlProps struct { Configuration interface{} `field:"required" json:"configuration" yaml:"configuration"` DisplayName interface{} `field:"required" json:"displayName" yaml:"displayName"` Name interface{} `field:"required" json:"name" yaml:"name"` ProjectName interface{} `field:"required" json:"projectName" yaml:"projectName"` Schedule interface{} `field:"required" json:"schedule" yaml:"schedule"` Description interface{} `field:"optional" json:"description" yaml:"description"` }
Properties for defining a `RosEtl`.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-sls-etl
type RosEtl_ConfigurationProperty ¶
type RosEtl_ConfigurationProperty struct { Logstore interface{} `field:"required" json:"logstore" yaml:"logstore"` Script interface{} `field:"required" json:"script" yaml:"script"` Sinks interface{} `field:"required" json:"sinks" yaml:"sinks"` FromTime interface{} `field:"optional" json:"fromTime" yaml:"fromTime"` Parameters interface{} `field:"optional" json:"parameters" yaml:"parameters"` RoleArn interface{} `field:"optional" json:"roleArn" yaml:"roleArn"` ToTime interface{} `field:"optional" json:"toTime" yaml:"toTime"` Version interface{} `field:"optional" json:"version" yaml:"version"` }
type RosEtl_ScheduleProperty ¶
type RosEtl_ScheduleProperty struct {
Type interface{} `field:"required" json:"type" yaml:"type"`
}
type RosEtl_SinksProperty ¶
type RosEtl_SinksProperty struct { Logstore interface{} `field:"required" json:"logstore" yaml:"logstore"` Name interface{} `field:"required" json:"name" yaml:"name"` Project interface{} `field:"required" json:"project" yaml:"project"` Endpoint interface{} `field:"optional" json:"endpoint" yaml:"endpoint"` RoleArn interface{} `field:"optional" json:"roleArn" yaml:"roleArn"` Type interface{} `field:"optional" json:"type" yaml:"type"` }
type RosIndex ¶
type RosIndex 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 EnableResourcePropertyConstraint() *bool SetEnableResourcePropertyConstraint(val *bool) FullTextIndex() interface{} SetFullTextIndex(val interface{}) KeyIndices() interface{} SetKeyIndices(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 LogReduce() interface{} SetLogReduce(val interface{}) LogstoreName() interface{} SetLogstoreName(val interface{}) // The construct tree node associated with this construct. Node() alicloudroscdkcore.ConstructNode ProjectName() interface{} SetProjectName(val interface{}) // Return a string that will be resolved to a RosTemplate `{ Ref }` for this element. // // If, by any chance, the intrinsic reference of a resource is not a string, you could // coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`. Ref() *string // Options for this resource, such as condition, update policy etc. RosOptions() alicloudroscdkcore.IRosResourceOptions RosProperties() *map[string]interface{} // ROS resource type. RosResourceType() *string // The stack in which this element is defined. // // RosElements must be defined within a stack scope (directly or indirectly). Stack() alicloudroscdkcore.Stack // Return properties modified after initiation. // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperites() *map[string]interface{} AddCondition(con alicloudroscdkcore.RosCondition) AddCount(count interface{}) // Syntactic sugar for `addOverride(path, undefined)`. AddDeletionOverride(path *string) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // // This can be used for resources across stacks (or nested stack) boundaries // and the dependency will automatically be transferred to the relevant scope. AddDependsOn(target alicloudroscdkcore.RosResource) AddDesc(desc *string) AddMetaData(key *string, value interface{}) // Adds an override to the synthesized ROS resource. // // To add a // property override, either use `addPropertyOverride` or prefix `path` with // "Properties." (i.e. `Properties.TopicName`). // // If the override is nested, separate each nested level using a dot (.) in the path parameter. // If there is an array as part of the nesting, specify the index in the path. // // For example, // “`typescript // addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']) // addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE') // “` // would add the overrides // “`json // "Properties": { // "GlobalSecondaryIndexes": [ // { // "Projection": { // "NonKeyAttributes": [ "myattribute" ] // ... // } // ... // }, // { // "ProjectionType": "INCLUDE" // ... // }, // ] // ... // } // “`. AddOverride(path *string, value interface{}) // Adds an override that deletes the value of a property from the resource definition. AddPropertyDeletionOverride(propertyPath *string) // Adds an override to a resource property. // // Syntactic sugar for `addOverride("Properties.<...>", value)`. AddPropertyOverride(propertyPath *string, value interface{}) AddRosDependency(target *string) // Sets the deletion policy of the resource based on the removal policy specified. ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy, options *alicloudroscdkcore.RemovalPolicyOptions) FetchCondition() alicloudroscdkcore.RosCondition FetchDesc() *string FetchRosDependency() *[]*string // Returns a token for an runtime attribute of this resource. // // Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility // in case there is no generated attribute. GetAtt(attributeName *string) alicloudroscdkcore.Reference // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Overrides the auto-generated logical ID with a specific ID. OverrideLogicalId(newLogicalId *string) // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() RenderProperties(props *map[string]interface{}) *map[string]interface{} // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. // // Returns: a string representation of this resource. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string ValidateProperties(_properties interface{}) }
This class is a base encapsulation around the ROS resource type `ALIYUN::SLS::Index`, which is used to create an index for a specified Logstore.
func NewRosIndex ¶
func NewRosIndex(scope alicloudroscdkcore.Construct, id *string, props *RosIndexProps, enableResourcePropertyConstraint *bool) RosIndex
type RosIndexProps ¶
type RosIndexProps struct { FullTextIndex interface{} `field:"required" json:"fullTextIndex" yaml:"fullTextIndex"` LogstoreName interface{} `field:"required" json:"logstoreName" yaml:"logstoreName"` ProjectName interface{} `field:"required" json:"projectName" yaml:"projectName"` KeyIndices interface{} `field:"optional" json:"keyIndices" yaml:"keyIndices"` LogReduce interface{} `field:"optional" json:"logReduce" yaml:"logReduce"` }
Properties for defining a `RosIndex`.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-sls-index
type RosIndex_FullTextIndexProperty ¶
type RosIndex_FullTextIndexProperty struct { Enable interface{} `field:"required" json:"enable" yaml:"enable"` CaseSensitive interface{} `field:"optional" json:"caseSensitive" yaml:"caseSensitive"` Delimiter interface{} `field:"optional" json:"delimiter" yaml:"delimiter"` IncludeChinese interface{} `field:"optional" json:"includeChinese" yaml:"includeChinese"` }
type RosIndex_JsonKeyIndicesProperty ¶
type RosIndex_JsonKeyIndicesProperty struct { Name interface{} `field:"required" json:"name" yaml:"name"` Type interface{} `field:"required" json:"type" yaml:"type"` Alias interface{} `field:"optional" json:"alias" yaml:"alias"` EnableAnalytics interface{} `field:"optional" json:"enableAnalytics" yaml:"enableAnalytics"` }
type RosIndex_KeyIndicesProperty ¶
type RosIndex_KeyIndicesProperty struct { Name interface{} `field:"required" json:"name" yaml:"name"` Type interface{} `field:"required" json:"type" yaml:"type"` Alias interface{} `field:"optional" json:"alias" yaml:"alias"` CaseSensitive interface{} `field:"optional" json:"caseSensitive" yaml:"caseSensitive"` Delimiter interface{} `field:"optional" json:"delimiter" yaml:"delimiter"` EnableAnalytics interface{} `field:"optional" json:"enableAnalytics" yaml:"enableAnalytics"` IncludeChinese interface{} `field:"optional" json:"includeChinese" yaml:"includeChinese"` JsonKeyIndices interface{} `field:"optional" json:"jsonKeyIndices" yaml:"jsonKeyIndices"` }
type RosLogstore ¶
type RosLogstore interface { alicloudroscdkcore.RosResource AppendMeta() interface{} SetAppendMeta(val interface{}) AttrLogstoreName() alicloudroscdkcore.IResolvable AttrProjectName() alicloudroscdkcore.IResolvable AutoSplit() interface{} SetAutoSplit(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) EnableTracking() interface{} SetEnableTracking(val interface{}) EncryptConf() interface{} SetEncryptConf(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 LogstoreName() interface{} SetLogstoreName(val interface{}) MaxSplitShard() interface{} SetMaxSplitShard(val interface{}) Mode() interface{} SetMode(val interface{}) // The construct tree node associated with this construct. Node() alicloudroscdkcore.ConstructNode PreserveStorage() interface{} SetPreserveStorage(val interface{}) ProjectName() interface{} SetProjectName(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 ShardCount() interface{} SetShardCount(val interface{}) // The stack in which this element is defined. // // RosElements must be defined within a stack scope (directly or indirectly). Stack() alicloudroscdkcore.Stack Ttl() interface{} SetTtl(val interface{}) // Return properties modified after initiation. // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperites() *map[string]interface{} AddCondition(con alicloudroscdkcore.RosCondition) AddCount(count interface{}) // Syntactic sugar for `addOverride(path, undefined)`. AddDeletionOverride(path *string) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // // This can be used for resources across stacks (or nested stack) boundaries // and the dependency will automatically be transferred to the relevant scope. AddDependsOn(target alicloudroscdkcore.RosResource) AddDesc(desc *string) AddMetaData(key *string, value interface{}) // Adds an override to the synthesized ROS resource. // // To add a // property override, either use `addPropertyOverride` or prefix `path` with // "Properties." (i.e. `Properties.TopicName`). // // If the override is nested, separate each nested level using a dot (.) in the path parameter. // If there is an array as part of the nesting, specify the index in the path. // // For example, // “`typescript // addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']) // addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE') // “` // would add the overrides // “`json // "Properties": { // "GlobalSecondaryIndexes": [ // { // "Projection": { // "NonKeyAttributes": [ "myattribute" ] // ... // } // ... // }, // { // "ProjectionType": "INCLUDE" // ... // }, // ] // ... // } // “`. AddOverride(path *string, value interface{}) // Adds an override that deletes the value of a property from the resource definition. AddPropertyDeletionOverride(propertyPath *string) // Adds an override to a resource property. // // Syntactic sugar for `addOverride("Properties.<...>", value)`. AddPropertyOverride(propertyPath *string, value interface{}) AddRosDependency(target *string) // Sets the deletion policy of the resource based on the removal policy specified. ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy, options *alicloudroscdkcore.RemovalPolicyOptions) FetchCondition() alicloudroscdkcore.RosCondition FetchDesc() *string FetchRosDependency() *[]*string // Returns a token for an runtime attribute of this resource. // // Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility // in case there is no generated attribute. GetAtt(attributeName *string) alicloudroscdkcore.Reference // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Overrides the auto-generated logical ID with a specific ID. OverrideLogicalId(newLogicalId *string) // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() RenderProperties(props *map[string]interface{}) *map[string]interface{} // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. // // Returns: a string representation of this resource. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string ValidateProperties(_properties interface{}) }
This class is a base encapsulation around the ROS resource type `ALIYUN::SLS::Logstore`, which is used to create a Logstore in a Simple Log Service (SLS) project.
func NewRosLogstore ¶
func NewRosLogstore(scope alicloudroscdkcore.Construct, id *string, props *RosLogstoreProps, enableResourcePropertyConstraint *bool) RosLogstore
type RosLogstoreProps ¶
type RosLogstoreProps struct { LogstoreName interface{} `field:"required" json:"logstoreName" yaml:"logstoreName"` ProjectName interface{} `field:"required" json:"projectName" yaml:"projectName"` AppendMeta interface{} `field:"optional" json:"appendMeta" yaml:"appendMeta"` AutoSplit interface{} `field:"optional" json:"autoSplit" yaml:"autoSplit"` EnableTracking interface{} `field:"optional" json:"enableTracking" yaml:"enableTracking"` EncryptConf interface{} `field:"optional" json:"encryptConf" yaml:"encryptConf"` MaxSplitShard interface{} `field:"optional" json:"maxSplitShard" yaml:"maxSplitShard"` Mode interface{} `field:"optional" json:"mode" yaml:"mode"` PreserveStorage interface{} `field:"optional" json:"preserveStorage" yaml:"preserveStorage"` ShardCount interface{} `field:"optional" json:"shardCount" yaml:"shardCount"` Ttl interface{} `field:"optional" json:"ttl" yaml:"ttl"` }
Properties for defining a `RosLogstore`.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-sls-logstore
type RosLogstore_EncryptConfProperty ¶
type RosLogstore_EncryptConfProperty struct { Enable interface{} `field:"required" json:"enable" yaml:"enable"` EncryptType interface{} `field:"required" json:"encryptType" yaml:"encryptType"` UserCmkInfo interface{} `field:"optional" json:"userCmkInfo" yaml:"userCmkInfo"` }
type RosLogstore_UserCmkInfoProperty ¶
type RosLogstore_UserCmkInfoProperty struct { Arn interface{} `field:"required" json:"arn" yaml:"arn"` CmkKeyId interface{} `field:"required" json:"cmkKeyId" yaml:"cmkKeyId"` RegionId interface{} `field:"required" json:"regionId" yaml:"regionId"` }
type RosLogtailConfig ¶
type RosLogtailConfig interface { alicloudroscdkcore.RosResource AttrAppliedMachineGroups() alicloudroscdkcore.IResolvable AttrEndpoint() alicloudroscdkcore.IResolvable AttrLogtailConfigName() alicloudroscdkcore.IResolvable CloneFrom() interface{} SetCloneFrom(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 LogstoreName() interface{} SetLogstoreName(val interface{}) LogtailConfigName() interface{} SetLogtailConfigName(val interface{}) // The construct tree node associated with this construct. Node() alicloudroscdkcore.ConstructNode ProjectName() interface{} SetProjectName(val interface{}) RawConfigData() interface{} SetRawConfigData(val interface{}) // Return a string that will be resolved to a RosTemplate `{ Ref }` for this element. // // If, by any chance, the intrinsic reference of a resource is not a string, you could // coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`. Ref() *string // Options for this resource, such as condition, update policy etc. RosOptions() alicloudroscdkcore.IRosResourceOptions RosProperties() *map[string]interface{} // ROS resource type. RosResourceType() *string // The stack in which this element is defined. // // RosElements must be defined within a stack scope (directly or indirectly). Stack() alicloudroscdkcore.Stack // Return properties modified after initiation. // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperites() *map[string]interface{} AddCondition(con alicloudroscdkcore.RosCondition) AddCount(count interface{}) // Syntactic sugar for `addOverride(path, undefined)`. AddDeletionOverride(path *string) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // // This can be used for resources across stacks (or nested stack) boundaries // and the dependency will automatically be transferred to the relevant scope. AddDependsOn(target alicloudroscdkcore.RosResource) AddDesc(desc *string) AddMetaData(key *string, value interface{}) // Adds an override to the synthesized ROS resource. // // To add a // property override, either use `addPropertyOverride` or prefix `path` with // "Properties." (i.e. `Properties.TopicName`). // // If the override is nested, separate each nested level using a dot (.) in the path parameter. // If there is an array as part of the nesting, specify the index in the path. // // For example, // “`typescript // addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']) // addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE') // “` // would add the overrides // “`json // "Properties": { // "GlobalSecondaryIndexes": [ // { // "Projection": { // "NonKeyAttributes": [ "myattribute" ] // ... // } // ... // }, // { // "ProjectionType": "INCLUDE" // ... // }, // ] // ... // } // “`. AddOverride(path *string, value interface{}) // Adds an override that deletes the value of a property from the resource definition. AddPropertyDeletionOverride(propertyPath *string) // Adds an override to a resource property. // // Syntactic sugar for `addOverride("Properties.<...>", value)`. AddPropertyOverride(propertyPath *string, value interface{}) AddRosDependency(target *string) // Sets the deletion policy of the resource based on the removal policy specified. ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy, options *alicloudroscdkcore.RemovalPolicyOptions) FetchCondition() alicloudroscdkcore.RosCondition FetchDesc() *string FetchRosDependency() *[]*string // Returns a token for an runtime attribute of this resource. // // Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility // in case there is no generated attribute. GetAtt(attributeName *string) alicloudroscdkcore.Reference // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Overrides the auto-generated logical ID with a specific ID. OverrideLogicalId(newLogicalId *string) // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() RenderProperties(props *map[string]interface{}) *map[string]interface{} // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. // // Returns: a string representation of this resource. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string ValidateProperties(_properties interface{}) }
This class is a base encapsulation around the ROS resource type `ALIYUN::SLS::LogtailConfig`, which is used to configure Logtail properties for data collection.
func NewRosLogtailConfig ¶
func NewRosLogtailConfig(scope alicloudroscdkcore.Construct, id *string, props *RosLogtailConfigProps, enableResourcePropertyConstraint *bool) RosLogtailConfig
type RosLogtailConfigProps ¶
type RosLogtailConfigProps struct { LogstoreName interface{} `field:"required" json:"logstoreName" yaml:"logstoreName"` LogtailConfigName interface{} `field:"required" json:"logtailConfigName" yaml:"logtailConfigName"` ProjectName interface{} `field:"required" json:"projectName" yaml:"projectName"` CloneFrom interface{} `field:"optional" json:"cloneFrom" yaml:"cloneFrom"` RawConfigData interface{} `field:"optional" json:"rawConfigData" yaml:"rawConfigData"` }
Properties for defining a `RosLogtailConfig`.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-sls-logtailconfig
type RosLogtailConfig_CloneFromProperty ¶
type RosLogtailConfig_CloneFromProperty struct { LogtailConfigName interface{} `field:"required" json:"logtailConfigName" yaml:"logtailConfigName"` ProjectName interface{} `field:"required" json:"projectName" yaml:"projectName"` }
type RosMachineGroup ¶
type RosMachineGroup interface { alicloudroscdkcore.RosResource AttrGroupName() alicloudroscdkcore.IResolvable AttrProjectName() 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) GroupAttribute() interface{} SetGroupAttribute(val interface{}) GroupName() interface{} SetGroupName(val interface{}) GroupType() interface{} SetGroupType(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 MachineIdentifyType() interface{} SetMachineIdentifyType(val interface{}) MachineList() interface{} SetMachineList(val interface{}) // The construct tree node associated with this construct. Node() alicloudroscdkcore.ConstructNode ProjectName() interface{} SetProjectName(val interface{}) // Return a string that will be resolved to a RosTemplate `{ Ref }` for this element. // // If, by any chance, the intrinsic reference of a resource is not a string, you could // coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`. Ref() *string // Options for this resource, such as condition, update policy etc. RosOptions() alicloudroscdkcore.IRosResourceOptions RosProperties() *map[string]interface{} // ROS resource type. RosResourceType() *string // The stack in which this element is defined. // // RosElements must be defined within a stack scope (directly or indirectly). Stack() alicloudroscdkcore.Stack // Return properties modified after initiation. // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperites() *map[string]interface{} AddCondition(con alicloudroscdkcore.RosCondition) AddCount(count interface{}) // Syntactic sugar for `addOverride(path, undefined)`. AddDeletionOverride(path *string) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // // This can be used for resources across stacks (or nested stack) boundaries // and the dependency will automatically be transferred to the relevant scope. AddDependsOn(target alicloudroscdkcore.RosResource) AddDesc(desc *string) AddMetaData(key *string, value interface{}) // Adds an override to the synthesized ROS resource. // // To add a // property override, either use `addPropertyOverride` or prefix `path` with // "Properties." (i.e. `Properties.TopicName`). // // If the override is nested, separate each nested level using a dot (.) in the path parameter. // If there is an array as part of the nesting, specify the index in the path. // // For example, // “`typescript // addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']) // addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE') // “` // would add the overrides // “`json // "Properties": { // "GlobalSecondaryIndexes": [ // { // "Projection": { // "NonKeyAttributes": [ "myattribute" ] // ... // } // ... // }, // { // "ProjectionType": "INCLUDE" // ... // }, // ] // ... // } // “`. AddOverride(path *string, value interface{}) // Adds an override that deletes the value of a property from the resource definition. AddPropertyDeletionOverride(propertyPath *string) // Adds an override to a resource property. // // Syntactic sugar for `addOverride("Properties.<...>", value)`. AddPropertyOverride(propertyPath *string, value interface{}) AddRosDependency(target *string) // Sets the deletion policy of the resource based on the removal policy specified. ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy, options *alicloudroscdkcore.RemovalPolicyOptions) FetchCondition() alicloudroscdkcore.RosCondition FetchDesc() *string FetchRosDependency() *[]*string // Returns a token for an runtime attribute of this resource. // // Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility // in case there is no generated attribute. GetAtt(attributeName *string) alicloudroscdkcore.Reference // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Overrides the auto-generated logical ID with a specific ID. OverrideLogicalId(newLogicalId *string) // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() RenderProperties(props *map[string]interface{}) *map[string]interface{} // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. // // Returns: a string representation of this resource. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string ValidateProperties(_properties interface{}) }
This class is a base encapsulation around the ROS resource type `ALIYUN::SLS::MachineGroup`, which is used to create a machine group.
Log Service manages all the ECS instances whose logs need to be collected using the Logtail client in the form of machine groups.
func NewRosMachineGroup ¶
func NewRosMachineGroup(scope alicloudroscdkcore.Construct, id *string, props *RosMachineGroupProps, enableResourcePropertyConstraint *bool) RosMachineGroup
type RosMachineGroupProps ¶
type RosMachineGroupProps struct { GroupAttribute interface{} `field:"optional" json:"groupAttribute" yaml:"groupAttribute"` GroupName interface{} `field:"optional" json:"groupName" yaml:"groupName"` GroupType interface{} `field:"optional" json:"groupType" yaml:"groupType"` MachineIdentifyType interface{} `field:"optional" json:"machineIdentifyType" yaml:"machineIdentifyType"` MachineList interface{} `field:"optional" json:"machineList" yaml:"machineList"` ProjectName interface{} `field:"optional" json:"projectName" yaml:"projectName"` }
Properties for defining a `RosMachineGroup`.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-sls-machinegroup
type RosMetricStore ¶
type RosMetricStore interface { alicloudroscdkcore.RosResource AttrLogstoreName() 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 LogstoreName() interface{} SetLogstoreName(val interface{}) // The construct tree node associated with this construct. Node() alicloudroscdkcore.ConstructNode PreserveStorage() interface{} SetPreserveStorage(val interface{}) ProjectName() interface{} SetProjectName(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 ShardCount() interface{} SetShardCount(val interface{}) // The stack in which this element is defined. // // RosElements must be defined within a stack scope (directly or indirectly). Stack() alicloudroscdkcore.Stack Ttl() interface{} SetTtl(val interface{}) // Return properties modified after initiation. // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperites() *map[string]interface{} AddCondition(con alicloudroscdkcore.RosCondition) AddCount(count interface{}) // Syntactic sugar for `addOverride(path, undefined)`. AddDeletionOverride(path *string) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // // This can be used for resources across stacks (or nested stack) boundaries // and the dependency will automatically be transferred to the relevant scope. AddDependsOn(target alicloudroscdkcore.RosResource) AddDesc(desc *string) AddMetaData(key *string, value interface{}) // Adds an override to the synthesized ROS resource. // // To add a // property override, either use `addPropertyOverride` or prefix `path` with // "Properties." (i.e. `Properties.TopicName`). // // If the override is nested, separate each nested level using a dot (.) in the path parameter. // If there is an array as part of the nesting, specify the index in the path. // // For example, // “`typescript // addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']) // addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE') // “` // would add the overrides // “`json // "Properties": { // "GlobalSecondaryIndexes": [ // { // "Projection": { // "NonKeyAttributes": [ "myattribute" ] // ... // } // ... // }, // { // "ProjectionType": "INCLUDE" // ... // }, // ] // ... // } // “`. AddOverride(path *string, value interface{}) // Adds an override that deletes the value of a property from the resource definition. AddPropertyDeletionOverride(propertyPath *string) // Adds an override to a resource property. // // Syntactic sugar for `addOverride("Properties.<...>", value)`. AddPropertyOverride(propertyPath *string, value interface{}) AddRosDependency(target *string) // Sets the deletion policy of the resource based on the removal policy specified. ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy, options *alicloudroscdkcore.RemovalPolicyOptions) FetchCondition() alicloudroscdkcore.RosCondition FetchDesc() *string FetchRosDependency() *[]*string // Returns a token for an runtime attribute of this resource. // // Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility // in case there is no generated attribute. GetAtt(attributeName *string) alicloudroscdkcore.Reference // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Overrides the auto-generated logical ID with a specific ID. OverrideLogicalId(newLogicalId *string) // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() RenderProperties(props *map[string]interface{}) *map[string]interface{} // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. // // Returns: a string representation of this resource. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string ValidateProperties(_properties interface{}) }
This class is a base encapsulation around the ROS resource type `ALIYUN::SLS::MetricStore`, which is used to create a Logstore.
func NewRosMetricStore ¶
func NewRosMetricStore(scope alicloudroscdkcore.Construct, id *string, props *RosMetricStoreProps, enableResourcePropertyConstraint *bool) RosMetricStore
type RosMetricStoreProps ¶
type RosMetricStoreProps struct { LogstoreName interface{} `field:"required" json:"logstoreName" yaml:"logstoreName"` ProjectName interface{} `field:"required" json:"projectName" yaml:"projectName"` PreserveStorage interface{} `field:"optional" json:"preserveStorage" yaml:"preserveStorage"` ShardCount interface{} `field:"optional" json:"shardCount" yaml:"shardCount"` Ttl interface{} `field:"optional" json:"ttl" yaml:"ttl"` }
Properties for defining a `RosMetricStore`.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-sls-metricstore
type RosOssExport ¶
type RosOssExport interface { alicloudroscdkcore.RosResource AttrExportName() alicloudroscdkcore.IResolvable AttrProjectName() alicloudroscdkcore.IResolvable Configuration() interface{} SetConfiguration(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{}) DisplayName() interface{} SetDisplayName(val interface{}) EnableResourcePropertyConstraint() *bool SetEnableResourcePropertyConstraint(val *bool) ExportName() interface{} SetExportName(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 ProjectName() interface{} SetProjectName(val interface{}) // Return a string that will be resolved to a RosTemplate `{ Ref }` for this element. // // If, by any chance, the intrinsic reference of a resource is not a string, you could // coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`. Ref() *string // Options for this resource, such as condition, update policy etc. RosOptions() alicloudroscdkcore.IRosResourceOptions RosProperties() *map[string]interface{} // ROS resource type. RosResourceType() *string // The stack in which this element is defined. // // RosElements must be defined within a stack scope (directly or indirectly). Stack() alicloudroscdkcore.Stack // Return properties modified after initiation. // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperites() *map[string]interface{} AddCondition(con alicloudroscdkcore.RosCondition) AddCount(count interface{}) // Syntactic sugar for `addOverride(path, undefined)`. AddDeletionOverride(path *string) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // // This can be used for resources across stacks (or nested stack) boundaries // and the dependency will automatically be transferred to the relevant scope. AddDependsOn(target alicloudroscdkcore.RosResource) AddDesc(desc *string) AddMetaData(key *string, value interface{}) // Adds an override to the synthesized ROS resource. // // To add a // property override, either use `addPropertyOverride` or prefix `path` with // "Properties." (i.e. `Properties.TopicName`). // // If the override is nested, separate each nested level using a dot (.) in the path parameter. // If there is an array as part of the nesting, specify the index in the path. // // For example, // “`typescript // addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']) // addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE') // “` // would add the overrides // “`json // "Properties": { // "GlobalSecondaryIndexes": [ // { // "Projection": { // "NonKeyAttributes": [ "myattribute" ] // ... // } // ... // }, // { // "ProjectionType": "INCLUDE" // ... // }, // ] // ... // } // “`. AddOverride(path *string, value interface{}) // Adds an override that deletes the value of a property from the resource definition. AddPropertyDeletionOverride(propertyPath *string) // Adds an override to a resource property. // // Syntactic sugar for `addOverride("Properties.<...>", value)`. AddPropertyOverride(propertyPath *string, value interface{}) AddRosDependency(target *string) // Sets the deletion policy of the resource based on the removal policy specified. ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy, options *alicloudroscdkcore.RemovalPolicyOptions) FetchCondition() alicloudroscdkcore.RosCondition FetchDesc() *string FetchRosDependency() *[]*string // Returns a token for an runtime attribute of this resource. // // Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility // in case there is no generated attribute. GetAtt(attributeName *string) alicloudroscdkcore.Reference // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Overrides the auto-generated logical ID with a specific ID. OverrideLogicalId(newLogicalId *string) // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() RenderProperties(props *map[string]interface{}) *map[string]interface{} // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. // // Returns: a string representation of this resource. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string ValidateProperties(_properties interface{}) }
This class is a base encapsulation around the ROS resource type `ALIYUN::SLS::OssExport`, which is used to create an Object Storage Service (OSS) data shipping job to manage Simple Log Service (SLS) data and ship Logstore data to OSS for storage.
func NewRosOssExport ¶
func NewRosOssExport(scope alicloudroscdkcore.Construct, id *string, props *RosOssExportProps, enableResourcePropertyConstraint *bool) RosOssExport
type RosOssExportProps ¶
type RosOssExportProps struct { Configuration interface{} `field:"required" json:"configuration" yaml:"configuration"` DisplayName interface{} `field:"required" json:"displayName" yaml:"displayName"` ExportName interface{} `field:"required" json:"exportName" yaml:"exportName"` ProjectName interface{} `field:"required" json:"projectName" yaml:"projectName"` Description interface{} `field:"optional" json:"description" yaml:"description"` }
Properties for defining a `RosOssExport`.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-sls-ossexport
type RosOssExport_ConfigurationProperty ¶
type RosOssExport_ConfigurationProperty struct { Logstore interface{} `field:"required" json:"logstore" yaml:"logstore"` RoleArn interface{} `field:"required" json:"roleArn" yaml:"roleArn"` Sink interface{} `field:"required" json:"sink" yaml:"sink"` FromTime interface{} `field:"optional" json:"fromTime" yaml:"fromTime"` ToTime interface{} `field:"optional" json:"toTime" yaml:"toTime"` }
type RosOssExport_SinkProperty ¶
type RosOssExport_SinkProperty struct { Bucket interface{} `field:"required" json:"bucket" yaml:"bucket"` BufferInterval interface{} `field:"required" json:"bufferInterval" yaml:"bufferInterval"` BufferSize interface{} `field:"required" json:"bufferSize" yaml:"bufferSize"` ContentType interface{} `field:"required" json:"contentType" yaml:"contentType"` RoleArn interface{} `field:"required" json:"roleArn" yaml:"roleArn"` CompressionType interface{} `field:"optional" json:"compressionType" yaml:"compressionType"` ContentDetail interface{} `field:"optional" json:"contentDetail" yaml:"contentDetail"` DelaySeconds interface{} `field:"optional" json:"delaySeconds" yaml:"delaySeconds"` Endpoint interface{} `field:"optional" json:"endpoint" yaml:"endpoint"` PathFormat interface{} `field:"optional" json:"pathFormat" yaml:"pathFormat"` PathFormatType interface{} `field:"optional" json:"pathFormatType" yaml:"pathFormatType"` Prefix interface{} `field:"optional" json:"prefix" yaml:"prefix"` Suffix interface{} `field:"optional" json:"suffix" yaml:"suffix"` TimeZone interface{} `field:"optional" json:"timeZone" yaml:"timeZone"` }
type RosOssExternalStore ¶ added in v1.5.0
type RosOssExternalStore interface { alicloudroscdkcore.RosResource AccessId() interface{} SetAccessId(val interface{}) AccessKey() interface{} SetAccessKey(val interface{}) AttrExternalStoreName() alicloudroscdkcore.IResolvable AttrProject() alicloudroscdkcore.IResolvable Bucket() interface{} SetBucket(val interface{}) Columns() interface{} SetColumns(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) Endpoint() interface{} SetEndpoint(val interface{}) ExternalStoreName() interface{} SetExternalStoreName(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 Objects() interface{} SetObjects(val interface{}) Project() interface{} SetProject(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 StoreType() interface{} SetStoreType(val interface{}) // Return properties modified after initiation. // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperites() *map[string]interface{} AddCondition(con alicloudroscdkcore.RosCondition) AddCount(count interface{}) // Syntactic sugar for `addOverride(path, undefined)`. AddDeletionOverride(path *string) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // // This can be used for resources across stacks (or nested stack) boundaries // and the dependency will automatically be transferred to the relevant scope. AddDependsOn(target alicloudroscdkcore.RosResource) AddDesc(desc *string) AddMetaData(key *string, value interface{}) // Adds an override to the synthesized ROS resource. // // To add a // property override, either use `addPropertyOverride` or prefix `path` with // "Properties." (i.e. `Properties.TopicName`). // // If the override is nested, separate each nested level using a dot (.) in the path parameter. // If there is an array as part of the nesting, specify the index in the path. // // For example, // “`typescript // addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']) // addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE') // “` // would add the overrides // “`json // "Properties": { // "GlobalSecondaryIndexes": [ // { // "Projection": { // "NonKeyAttributes": [ "myattribute" ] // ... // } // ... // }, // { // "ProjectionType": "INCLUDE" // ... // }, // ] // ... // } // “`. AddOverride(path *string, value interface{}) // Adds an override that deletes the value of a property from the resource definition. AddPropertyDeletionOverride(propertyPath *string) // Adds an override to a resource property. // // Syntactic sugar for `addOverride("Properties.<...>", value)`. AddPropertyOverride(propertyPath *string, value interface{}) AddRosDependency(target *string) // Sets the deletion policy of the resource based on the removal policy specified. ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy, options *alicloudroscdkcore.RemovalPolicyOptions) FetchCondition() alicloudroscdkcore.RosCondition FetchDesc() *string FetchRosDependency() *[]*string // Returns a token for an runtime attribute of this resource. // // Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility // in case there is no generated attribute. GetAtt(attributeName *string) alicloudroscdkcore.Reference // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Overrides the auto-generated logical ID with a specific ID. OverrideLogicalId(newLogicalId *string) // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() RenderProperties(props *map[string]interface{}) *map[string]interface{} // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. // // Returns: a string representation of this resource. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string ValidateProperties(_properties interface{}) }
This class is a base encapsulation around the ROS resource type `ALIYUN::SLS::OssExternalStore`.
func NewRosOssExternalStore ¶ added in v1.5.0
func NewRosOssExternalStore(scope alicloudroscdkcore.Construct, id *string, props *RosOssExternalStoreProps, enableResourcePropertyConstraint *bool) RosOssExternalStore
type RosOssExternalStoreProps ¶ added in v1.5.0
type RosOssExternalStoreProps struct { AccessId interface{} `field:"required" json:"accessId" yaml:"accessId"` AccessKey interface{} `field:"required" json:"accessKey" yaml:"accessKey"` Bucket interface{} `field:"required" json:"bucket" yaml:"bucket"` Columns interface{} `field:"required" json:"columns" yaml:"columns"` Endpoint interface{} `field:"required" json:"endpoint" yaml:"endpoint"` ExternalStoreName interface{} `field:"required" json:"externalStoreName" yaml:"externalStoreName"` Objects interface{} `field:"required" json:"objects" yaml:"objects"` Project interface{} `field:"required" json:"project" yaml:"project"` StoreType interface{} `field:"required" json:"storeType" yaml:"storeType"` }
Properties for defining a `RosOssExternalStore`.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-sls-ossexternalstore
type RosOssExternalStore_ColumnsProperty ¶ added in v1.5.0
type RosOssExternalStore_ColumnsProperty struct { Name interface{} `field:"required" json:"name" yaml:"name"` Type interface{} `field:"required" json:"type" yaml:"type"` }
type RosProject ¶
type RosProject interface { alicloudroscdkcore.RosResource AttrName() 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 DataRedundancyType() interface{} SetDataRedundancyType(val interface{}) 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 Tags() *[]*RosProject_TagsProperty SetTags(val *[]*RosProject_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) FetchCondition() alicloudroscdkcore.RosCondition FetchDesc() *string FetchRosDependency() *[]*string // Returns a token for an runtime attribute of this resource. // // Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility // in case there is no generated attribute. GetAtt(attributeName *string) alicloudroscdkcore.Reference // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Overrides the auto-generated logical ID with a specific ID. OverrideLogicalId(newLogicalId *string) // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() RenderProperties(props *map[string]interface{}) *map[string]interface{} // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. // // Returns: a string representation of this resource. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string ValidateProperties(_properties interface{}) }
This class is a base encapsulation around the ROS resource type `ALIYUN::SLS::Project`, which is used to create a Log Service project.
func NewRosProject ¶
func NewRosProject(scope alicloudroscdkcore.Construct, id *string, props *RosProjectProps, enableResourcePropertyConstraint *bool) RosProject
type RosProjectProps ¶
type RosProjectProps struct { Name interface{} `field:"required" json:"name" yaml:"name"` DataRedundancyType interface{} `field:"optional" json:"dataRedundancyType" yaml:"dataRedundancyType"` Description interface{} `field:"optional" json:"description" yaml:"description"` ResourceGroupId interface{} `field:"optional" json:"resourceGroupId" yaml:"resourceGroupId"` Tags *[]*RosProject_TagsProperty `field:"optional" json:"tags" yaml:"tags"` }
Properties for defining a `RosProject`.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-sls-project
type RosProject_TagsProperty ¶
type RosProject_TagsProperty struct { Key interface{} `field:"required" json:"key" yaml:"key"` Value interface{} `field:"optional" json:"value" yaml:"value"` }
type RosRdsExternalStore ¶ added in v1.5.0
type RosRdsExternalStore interface { alicloudroscdkcore.RosResource AttrExternalStoreName() alicloudroscdkcore.IResolvable AttrProject() 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 Db() interface{} SetDb(val interface{}) EnableResourcePropertyConstraint() *bool SetEnableResourcePropertyConstraint(val *bool) ExternalStoreName() interface{} SetExternalStoreName(val interface{}) Host() interface{} SetHost(val interface{}) InstanceId() interface{} SetInstanceId(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 Password() interface{} SetPassword(val interface{}) Port() interface{} SetPort(val interface{}) Project() interface{} SetProject(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 Region() interface{} SetRegion(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 StoreType() interface{} SetStoreType(val interface{}) Table() interface{} SetTable(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{} Username() interface{} SetUsername(val interface{}) VpcId() interface{} SetVpcId(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) FetchCondition() alicloudroscdkcore.RosCondition FetchDesc() *string FetchRosDependency() *[]*string // Returns a token for an runtime attribute of this resource. // // Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility // in case there is no generated attribute. GetAtt(attributeName *string) alicloudroscdkcore.Reference // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Overrides the auto-generated logical ID with a specific ID. OverrideLogicalId(newLogicalId *string) // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() RenderProperties(props *map[string]interface{}) *map[string]interface{} // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. // // Returns: a string representation of this resource. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string ValidateProperties(_properties interface{}) }
This class is a base encapsulation around the ROS resource type `ALIYUN::SLS::RdsExternalStore`.
func NewRosRdsExternalStore ¶ added in v1.5.0
func NewRosRdsExternalStore(scope alicloudroscdkcore.Construct, id *string, props *RosRdsExternalStoreProps, enableResourcePropertyConstraint *bool) RosRdsExternalStore
type RosRdsExternalStoreProps ¶ added in v1.5.0
type RosRdsExternalStoreProps struct { Db interface{} `field:"required" json:"db" yaml:"db"` ExternalStoreName interface{} `field:"required" json:"externalStoreName" yaml:"externalStoreName"` Host interface{} `field:"required" json:"host" yaml:"host"` Password interface{} `field:"required" json:"password" yaml:"password"` Port interface{} `field:"required" json:"port" yaml:"port"` Project interface{} `field:"required" json:"project" yaml:"project"` Region interface{} `field:"required" json:"region" yaml:"region"` StoreType interface{} `field:"required" json:"storeType" yaml:"storeType"` Table interface{} `field:"required" json:"table" yaml:"table"` Username interface{} `field:"required" json:"username" yaml:"username"` VpcId interface{} `field:"required" json:"vpcId" yaml:"vpcId"` InstanceId interface{} `field:"optional" json:"instanceId" yaml:"instanceId"` }
Properties for defining a `RosRdsExternalStore`.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-sls-rdsexternalstore
type RosSavedsearch ¶
type RosSavedsearch interface { alicloudroscdkcore.RosResource AttrSavedsearchName() 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 Detail() interface{} SetDetail(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 Project() interface{} SetProject(val interface{}) // Return a string that will be resolved to a RosTemplate `{ Ref }` for this element. // // If, by any chance, the intrinsic reference of a resource is not a string, you could // coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`. Ref() *string // Options for this resource, such as condition, update policy etc. RosOptions() alicloudroscdkcore.IRosResourceOptions RosProperties() *map[string]interface{} // ROS resource type. RosResourceType() *string // The stack in which this element is defined. // // RosElements must be defined within a stack scope (directly or indirectly). Stack() alicloudroscdkcore.Stack // Return properties modified after initiation. // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperites() *map[string]interface{} AddCondition(con alicloudroscdkcore.RosCondition) AddCount(count interface{}) // Syntactic sugar for `addOverride(path, undefined)`. AddDeletionOverride(path *string) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // // This can be used for resources across stacks (or nested stack) boundaries // and the dependency will automatically be transferred to the relevant scope. AddDependsOn(target alicloudroscdkcore.RosResource) AddDesc(desc *string) AddMetaData(key *string, value interface{}) // Adds an override to the synthesized ROS resource. // // To add a // property override, either use `addPropertyOverride` or prefix `path` with // "Properties." (i.e. `Properties.TopicName`). // // If the override is nested, separate each nested level using a dot (.) in the path parameter. // If there is an array as part of the nesting, specify the index in the path. // // For example, // “`typescript // addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']) // addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE') // “` // would add the overrides // “`json // "Properties": { // "GlobalSecondaryIndexes": [ // { // "Projection": { // "NonKeyAttributes": [ "myattribute" ] // ... // } // ... // }, // { // "ProjectionType": "INCLUDE" // ... // }, // ] // ... // } // “`. AddOverride(path *string, value interface{}) // Adds an override that deletes the value of a property from the resource definition. AddPropertyDeletionOverride(propertyPath *string) // Adds an override to a resource property. // // Syntactic sugar for `addOverride("Properties.<...>", value)`. AddPropertyOverride(propertyPath *string, value interface{}) AddRosDependency(target *string) // Sets the deletion policy of the resource based on the removal policy specified. ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy, options *alicloudroscdkcore.RemovalPolicyOptions) FetchCondition() alicloudroscdkcore.RosCondition FetchDesc() *string FetchRosDependency() *[]*string // Returns a token for an runtime attribute of this resource. // // Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility // in case there is no generated attribute. GetAtt(attributeName *string) alicloudroscdkcore.Reference // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Overrides the auto-generated logical ID with a specific ID. OverrideLogicalId(newLogicalId *string) // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() RenderProperties(props *map[string]interface{}) *map[string]interface{} // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. // // Returns: a string representation of this resource. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string ValidateProperties(_properties interface{}) }
This class is a base encapsulation around the ROS resource type `ALIYUN::SLS::Savedsearch`, which is used to save search results as a saved search.
func NewRosSavedsearch ¶
func NewRosSavedsearch(scope alicloudroscdkcore.Construct, id *string, props *RosSavedsearchProps, enableResourcePropertyConstraint *bool) RosSavedsearch
type RosSavedsearchProps ¶
type RosSavedsearchProps struct { Detail interface{} `field:"required" json:"detail" yaml:"detail"` Project interface{} `field:"required" json:"project" yaml:"project"` }
Properties for defining a `RosSavedsearch`.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-sls-savedsearch
type RosSavedsearch_DetailProperty ¶
type RosSavedsearch_DetailProperty struct { Logstore interface{} `field:"required" json:"logstore" yaml:"logstore"` SavedsearchName interface{} `field:"required" json:"savedsearchName" yaml:"savedsearchName"` SearchQuery interface{} `field:"required" json:"searchQuery" yaml:"searchQuery"` Topic interface{} `field:"required" json:"topic" yaml:"topic"` DisplayName interface{} `field:"optional" json:"displayName" yaml:"displayName"` }
type RosServiceLog ¶
type RosServiceLog interface { alicloudroscdkcore.RosResource AttrProjectName() 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 LogStorageLocation() interface{} SetLogStorageLocation(val interface{}) // The construct tree node associated with this construct. Node() alicloudroscdkcore.ConstructNode ProjectName() interface{} SetProjectName(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 ServiceLogTypes() interface{} SetServiceLogTypes(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 `ALIYUN::SLS::ServiceLog`, which is used to enable the service log feature.
func NewRosServiceLog ¶
func NewRosServiceLog(scope alicloudroscdkcore.Construct, id *string, props *RosServiceLogProps, enableResourcePropertyConstraint *bool) RosServiceLog
type RosServiceLogProps ¶
type RosServiceLogProps struct { LogStorageLocation interface{} `field:"required" json:"logStorageLocation" yaml:"logStorageLocation"` ProjectName interface{} `field:"required" json:"projectName" yaml:"projectName"` ServiceLogTypes interface{} `field:"required" json:"serviceLogTypes" yaml:"serviceLogTypes"` }
Properties for defining a `RosServiceLog`.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-sls-servicelog
type Savedsearch ¶
type Savedsearch interface { alicloudroscdkcore.Resource ISavedsearch // Attribute SavedsearchName: Savedsearch name. AttrSavedsearchName() 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() *SavedsearchProps Ref() *string Resource() alicloudroscdkcore.RosResource SetResource(val alicloudroscdkcore.RosResource) Scope() alicloudroscdkcore.Construct SetScope(val alicloudroscdkcore.Construct) // The stack in which this resource is defined. Stack() alicloudroscdkcore.Stack AddCondition(condition alicloudroscdkcore.RosCondition) AddCount(count interface{}) AddDependency(resource alicloudroscdkcore.Resource) AddResourceDesc(desc *string) ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy) FetchCondition() alicloudroscdkcore.RosCondition FetchDependency() *[]*string FetchResourceDesc() *string GeneratePhysicalName() *string GetAtt(name *string) alicloudroscdkcore.IResolvable // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() SetMetadata(key *string, value interface{}) // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string }
This class encapsulates and extends the ROS resource type `ALIYUN::SLS::Savedsearch`, which is used to save search results as a saved search.
func NewSavedsearch ¶
func NewSavedsearch(scope alicloudroscdkcore.Construct, id *string, props *SavedsearchProps, enableResourcePropertyConstraint *bool) Savedsearch
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
type SavedsearchProps ¶
type SavedsearchProps struct { // Property detail:. Detail interface{} `field:"required" json:"detail" yaml:"detail"` // Property project: Project name. Project interface{} `field:"required" json:"project" yaml:"project"` }
Properties for defining a `Savedsearch`.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-sls-savedsearch
type ServiceLog ¶
type ServiceLog interface { alicloudroscdkcore.Resource IServiceLog // Attribute ProjectName: The name of the project that needs to be activated. AttrProjectName() 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() *ServiceLogProps Ref() *string Resource() alicloudroscdkcore.RosResource SetResource(val alicloudroscdkcore.RosResource) Scope() alicloudroscdkcore.Construct SetScope(val alicloudroscdkcore.Construct) // The stack in which this resource is defined. Stack() alicloudroscdkcore.Stack AddCondition(condition alicloudroscdkcore.RosCondition) AddCount(count interface{}) AddDependency(resource alicloudroscdkcore.Resource) AddResourceDesc(desc *string) ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy) FetchCondition() alicloudroscdkcore.RosCondition FetchDependency() *[]*string FetchResourceDesc() *string GeneratePhysicalName() *string GetAtt(name *string) alicloudroscdkcore.IResolvable // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() SetMetadata(key *string, value interface{}) // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string }
This class encapsulates and extends the ROS resource type `ALIYUN::SLS::ServiceLog`, which is used to enable the service log feature.
func NewServiceLog ¶
func NewServiceLog(scope alicloudroscdkcore.Construct, id *string, props *ServiceLogProps, enableResourcePropertyConstraint *bool) ServiceLog
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
type ServiceLogProps ¶
type ServiceLogProps struct { // Property logStorageLocation: The location of the service log. LogStorageLocation interface{} `field:"required" json:"logStorageLocation" yaml:"logStorageLocation"` // Property projectName: The name of the project that needs to be activated. // // If it has been activated, it will be reactivated again. ProjectName interface{} `field:"required" json:"projectName" yaml:"projectName"` // Property serviceLogTypes: Types of service log that needs to be activated. ServiceLogTypes interface{} `field:"required" json:"serviceLogTypes" yaml:"serviceLogTypes"` }
Properties for defining a `ServiceLog`.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-sls-servicelog
Source Files ¶
- Alert.go
- AlertProps.go
- Alert__checks.go
- ApplyConfigToMachineGroup.go
- ApplyConfigToMachineGroupProps.go
- ApplyConfigToMachineGroup__checks.go
- Audit.go
- AuditProps.go
- Audit__checks.go
- ConsumerGroup.go
- ConsumerGroupProps.go
- ConsumerGroup__checks.go
- Dashboard.go
- DashboardProps.go
- Dashboard__checks.go
- Etl.go
- EtlProps.go
- Etl__checks.go
- IAlert.go
- IApplyConfigToMachineGroup.go
- IAudit.go
- IConsumerGroup.go
- IDashboard.go
- IEtl.go
- IIndex.go
- ILogstore.go
- ILogtailConfig.go
- IMachineGroup.go
- IMetricStore.go
- IOssExport.go
- IOssExternalStore.go
- IProject.go
- IRdsExternalStore.go
- ISavedsearch.go
- IServiceLog.go
- Index.go
- IndexProps.go
- Index__checks.go
- Logstore.go
- LogstoreProps.go
- Logstore__checks.go
- LogtailConfig.go
- LogtailConfigProps.go
- LogtailConfig__checks.go
- MachineGroup.go
- MachineGroupProps.go
- MachineGroup__checks.go
- MetricStore.go
- MetricStoreProps.go
- MetricStore__checks.go
- OssExport.go
- OssExportProps.go
- OssExport__checks.go
- OssExternalStore.go
- OssExternalStoreProps.go
- OssExternalStore__checks.go
- Project.go
- ProjectProps.go
- Project__checks.go
- RdsExternalStore.go
- RdsExternalStoreProps.go
- RdsExternalStore__checks.go
- RosAlert.go
- RosAlertProps.go
- RosAlert_AnnotationsProperty.go
- RosAlert_ConfigurationProperty.go
- RosAlert_DetailProperty.go
- RosAlert_EvalConditionProperty.go
- RosAlert_GroupConfigurationProperty.go
- RosAlert_JoinConfigurationsProperty.go
- RosAlert_LabelsProperty.go
- RosAlert_NotificationListProperty.go
- RosAlert_PolicyConfigurationProperty.go
- RosAlert_QueryListProperty.go
- RosAlert_ScheduleProperty.go
- RosAlert_SeverityConfigurationsProperty.go
- RosAlert__checks.go
- RosApplyConfigToMachineGroup.go
- RosApplyConfigToMachineGroupProps.go
- RosApplyConfigToMachineGroup__checks.go
- RosAudit.go
- RosAuditProps.go
- RosAudit_VariableMapProperty.go
- RosAudit__checks.go
- RosConsumerGroup.go
- RosConsumerGroupProps.go
- RosConsumerGroup__checks.go
- RosDashboard.go
- RosDashboardProps.go
- RosDashboard__checks.go
- RosEtl.go
- RosEtlProps.go
- RosEtl_ConfigurationProperty.go
- RosEtl_ScheduleProperty.go
- RosEtl_SinksProperty.go
- RosEtl__checks.go
- RosIndex.go
- RosIndexProps.go
- RosIndex_FullTextIndexProperty.go
- RosIndex_JsonKeyIndicesProperty.go
- RosIndex_KeyIndicesProperty.go
- RosIndex__checks.go
- RosLogstore.go
- RosLogstoreProps.go
- RosLogstore_EncryptConfProperty.go
- RosLogstore_UserCmkInfoProperty.go
- RosLogstore__checks.go
- RosLogtailConfig.go
- RosLogtailConfigProps.go
- RosLogtailConfig_CloneFromProperty.go
- RosLogtailConfig__checks.go
- RosMachineGroup.go
- RosMachineGroupProps.go
- RosMachineGroup__checks.go
- RosMetricStore.go
- RosMetricStoreProps.go
- RosMetricStore__checks.go
- RosOssExport.go
- RosOssExportProps.go
- RosOssExport_ConfigurationProperty.go
- RosOssExport_SinkProperty.go
- RosOssExport__checks.go
- RosOssExternalStore.go
- RosOssExternalStoreProps.go
- RosOssExternalStore_ColumnsProperty.go
- RosOssExternalStore__checks.go
- RosProject.go
- RosProjectProps.go
- RosProject_TagsProperty.go
- RosProject__checks.go
- RosRdsExternalStore.go
- RosRdsExternalStoreProps.go
- RosRdsExternalStore__checks.go
- RosSavedsearch.go
- RosSavedsearchProps.go
- RosSavedsearch_DetailProperty.go
- RosSavedsearch__checks.go
- RosServiceLog.go
- RosServiceLogProps.go
- RosServiceLog__checks.go
- Savedsearch.go
- SavedsearchProps.go
- Savedsearch__checks.go
- ServiceLog.go
- ServiceLogProps.go
- ServiceLog__checks.go
- main.go
Directories ¶
Path | Synopsis |
---|---|
Package jsii contains the functionaility needed for jsii packages to initialize their dependencies and themselves.
|
Package jsii contains the functionaility needed for jsii packages to initialize their dependencies and themselves. |