Documentation ¶
Overview ¶
Aliyun SDK Copyright (C) Alibaba Cloud Computing All rights reserved. http://www.aliyun.com
Index ¶
- func Cluster2_IsConstruct(x interface{}) *bool
- func ClusterServiceConfigs_IsConstruct(x interface{}) *bool
- func Cluster_IsConstruct(x interface{}) *bool
- func FlowProject_IsConstruct(x interface{}) *bool
- func NewCluster2_Override(c Cluster2, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewClusterServiceConfigs_Override(c ClusterServiceConfigs, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewCluster_Override(c Cluster, scope alicloudroscdkcore.Construct, id *string, props *ClusterProps, ...)
- func NewFlowProject_Override(f FlowProject, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewRosCluster2_Override(r RosCluster2, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewRosClusterServiceConfigs_Override(r RosClusterServiceConfigs, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewRosCluster_Override(r RosCluster, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewRosFlowProject_Override(r RosFlowProject, scope alicloudroscdkcore.Construct, id *string, ...)
- func RosCluster2_IsConstruct(x interface{}) *bool
- func RosCluster2_IsRosElement(x interface{}) *bool
- func RosCluster2_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
- func RosCluster2_ROS_RESOURCE_TYPE_NAME() *string
- func RosClusterServiceConfigs_IsConstruct(x interface{}) *bool
- func RosClusterServiceConfigs_IsRosElement(x interface{}) *bool
- func RosClusterServiceConfigs_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
- func RosClusterServiceConfigs_ROS_RESOURCE_TYPE_NAME() *string
- func RosCluster_IsConstruct(x interface{}) *bool
- func RosCluster_IsRosElement(x interface{}) *bool
- func RosCluster_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
- func RosCluster_ROS_RESOURCE_TYPE_NAME() *string
- func RosFlowProject_IsConstruct(x interface{}) *bool
- func RosFlowProject_IsRosElement(x interface{}) *bool
- func RosFlowProject_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
- func RosFlowProject_ROS_RESOURCE_TYPE_NAME() *string
- type Cluster
- type Cluster2
- type Cluster2Props
- type ClusterProps
- type ClusterServiceConfigs
- type ClusterServiceConfigsProps
- type FlowProject
- type FlowProjectProps
- type RosCluster
- type RosCluster2
- type RosCluster2Props
- type RosCluster2_ApplicationConfigsProperty
- type RosCluster2_ApplicationsProperty
- type RosCluster2_BootstrapScriptsProperty
- type RosCluster2_CostOptimizedConfigProperty
- type RosCluster2_DataDisksProperty
- type RosCluster2_NodeAttributesProperty
- type RosCluster2_NodeGroupsProperty
- type RosCluster2_NodeSelectorProperty
- type RosCluster2_SpotBidPricesProperty
- type RosCluster2_SubscriptionConfigProperty
- type RosCluster2_SystemDiskProperty
- type RosCluster2_TagsProperty
- type RosClusterProps
- type RosClusterServiceConfigs
- type RosClusterServiceConfigsProps
- type RosClusterServiceConfigs_ServiceConfigsProperty
- type RosCluster_BootstrapActionProperty
- type RosCluster_ConfigProperty
- type RosCluster_HostGroupProperty
- type RosCluster_TagsProperty
- type RosCluster_UserInfoProperty
- type RosFlowProject
- type RosFlowProjectProps
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Cluster2_IsConstruct ¶
func Cluster2_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func ClusterServiceConfigs_IsConstruct ¶
func ClusterServiceConfigs_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func Cluster_IsConstruct ¶
func Cluster_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func FlowProject_IsConstruct ¶
func FlowProject_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func NewCluster2_Override ¶
func NewCluster2_Override(c Cluster2, scope alicloudroscdkcore.Construct, id *string, props *Cluster2Props, enableResourcePropertyConstraint *bool)
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
func NewClusterServiceConfigs_Override ¶
func NewClusterServiceConfigs_Override(c ClusterServiceConfigs, scope alicloudroscdkcore.Construct, id *string, props *ClusterServiceConfigsProps, enableResourcePropertyConstraint *bool)
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
func NewCluster_Override ¶
func NewCluster_Override(c Cluster, scope alicloudroscdkcore.Construct, id *string, props *ClusterProps, enableResourcePropertyConstraint *bool)
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
func NewFlowProject_Override ¶
func NewFlowProject_Override(f FlowProject, scope alicloudroscdkcore.Construct, id *string, props *FlowProjectProps, enableResourcePropertyConstraint *bool)
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
func NewRosCluster2_Override ¶
func NewRosCluster2_Override(r RosCluster2, scope alicloudroscdkcore.Construct, id *string, props *RosCluster2Props, enableResourcePropertyConstraint *bool)
func NewRosClusterServiceConfigs_Override ¶
func NewRosClusterServiceConfigs_Override(r RosClusterServiceConfigs, scope alicloudroscdkcore.Construct, id *string, props *RosClusterServiceConfigsProps, enableResourcePropertyConstraint *bool)
func NewRosCluster_Override ¶
func NewRosCluster_Override(r RosCluster, scope alicloudroscdkcore.Construct, id *string, props *RosClusterProps, enableResourcePropertyConstraint *bool)
func NewRosFlowProject_Override ¶
func NewRosFlowProject_Override(r RosFlowProject, scope alicloudroscdkcore.Construct, id *string, props *RosFlowProjectProps, enableResourcePropertyConstraint *bool)
func RosCluster2_IsConstruct ¶
func RosCluster2_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func RosCluster2_IsRosElement ¶
func RosCluster2_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 RosCluster2_IsRosResource ¶
func RosCluster2_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
Check whether the given construct is a RosResource.
func RosCluster2_ROS_RESOURCE_TYPE_NAME ¶
func RosCluster2_ROS_RESOURCE_TYPE_NAME() *string
func RosClusterServiceConfigs_IsConstruct ¶
func RosClusterServiceConfigs_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func RosClusterServiceConfigs_IsRosElement ¶
func RosClusterServiceConfigs_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 RosClusterServiceConfigs_IsRosResource ¶
func RosClusterServiceConfigs_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
Check whether the given construct is a RosResource.
func RosClusterServiceConfigs_ROS_RESOURCE_TYPE_NAME ¶
func RosClusterServiceConfigs_ROS_RESOURCE_TYPE_NAME() *string
func RosCluster_IsConstruct ¶
func RosCluster_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func RosCluster_IsRosElement ¶
func RosCluster_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 RosCluster_IsRosResource ¶
func RosCluster_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
Check whether the given construct is a RosResource.
func RosCluster_ROS_RESOURCE_TYPE_NAME ¶
func RosCluster_ROS_RESOURCE_TYPE_NAME() *string
func RosFlowProject_IsConstruct ¶
func RosFlowProject_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func RosFlowProject_IsRosElement ¶
func RosFlowProject_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 RosFlowProject_IsRosResource ¶
func RosFlowProject_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
Check whether the given construct is a RosResource.
func RosFlowProject_ROS_RESOURCE_TYPE_NAME ¶
func RosFlowProject_ROS_RESOURCE_TYPE_NAME() *string
Types ¶
type Cluster ¶
type Cluster interface { alicloudroscdkcore.Resource // Attribute ClusterId: The ID of the cluster. AttrClusterId() alicloudroscdkcore.IResolvable // Attribute HostGroups: The host group list of the cluster. AttrHostGroups() alicloudroscdkcore.IResolvable // Attribute MasterNodeInnerIps: The inner ip list of the cluster master nodes. AttrMasterNodeInnerIps() alicloudroscdkcore.IResolvable // Attribute MasterNodePubIps: The public ip list of the cluster master nodes. AttrMasterNodePubIps() alicloudroscdkcore.IResolvable EnableResourcePropertyConstraint() *bool SetEnableResourcePropertyConstraint(val *bool) Id() *string SetId(val *string) // The construct tree node associated with this construct. Node() alicloudroscdkcore.ConstructNode // Returns a string-encoded token that resolves to the physical name that should be passed to the ROS resource. // // This value will resolve to one of the following: // - a concrete value (e.g. `"my-awesome-bucket"`) // - `undefined`, when a name should be generated by ROS // - a concrete name generated automatically during synthesis, in // cross-environment scenarios. // Experimental. PhysicalName() *string Props() *ClusterProps SetProps(val *ClusterProps) Ref() *string Resource() alicloudroscdkcore.RosResource SetResource(val alicloudroscdkcore.RosResource) Scope() alicloudroscdkcore.Construct SetScope(val alicloudroscdkcore.Construct) // The stack in which this resource is defined. Stack() alicloudroscdkcore.Stack AddCondition(condition alicloudroscdkcore.RosCondition) AddCount(count interface{}) AddDependency(resource alicloudroscdkcore.Resource) AddResourceDesc(desc *string) ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy) GeneratePhysicalName() *string GetAtt(name *string) alicloudroscdkcore.IResolvable // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() SetMetadata(key *string, value interface{}) // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string }
This class encapsulates and extends the ROS resource type `ALIYUN::EMR::Cluster`, which is used to create an E-MapReduce (EMR) cluster.
func NewCluster ¶
func NewCluster(scope alicloudroscdkcore.Construct, id *string, props *ClusterProps, enableResourcePropertyConstraint *bool) Cluster
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
type Cluster2 ¶
type Cluster2 interface { alicloudroscdkcore.Resource // Attribute ApplicationLinks: ApplicationLinks of cluster. AttrApplicationLinks() alicloudroscdkcore.IResolvable // Attribute ClusterId: Cluster ID. AttrClusterId() alicloudroscdkcore.IResolvable EnableResourcePropertyConstraint() *bool SetEnableResourcePropertyConstraint(val *bool) Id() *string SetId(val *string) // The construct tree node associated with this construct. Node() alicloudroscdkcore.ConstructNode // Returns a string-encoded token that resolves to the physical name that should be passed to the ROS resource. // // This value will resolve to one of the following: // - a concrete value (e.g. `"my-awesome-bucket"`) // - `undefined`, when a name should be generated by ROS // - a concrete name generated automatically during synthesis, in // cross-environment scenarios. // Experimental. PhysicalName() *string Props() *Cluster2Props SetProps(val *Cluster2Props) Ref() *string Resource() alicloudroscdkcore.RosResource SetResource(val alicloudroscdkcore.RosResource) Scope() alicloudroscdkcore.Construct SetScope(val alicloudroscdkcore.Construct) // The stack in which this resource is defined. Stack() alicloudroscdkcore.Stack AddCondition(condition alicloudroscdkcore.RosCondition) AddCount(count interface{}) AddDependency(resource alicloudroscdkcore.Resource) AddResourceDesc(desc *string) ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy) GeneratePhysicalName() *string GetAtt(name *string) alicloudroscdkcore.IResolvable // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() SetMetadata(key *string, value interface{}) // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string }
This class encapsulates and extends the ROS resource type `ALIYUN::EMR::Cluster2`, which is used to create an E-MapReduce (EMR) cluster.
func NewCluster2 ¶
func NewCluster2(scope alicloudroscdkcore.Construct, id *string, props *Cluster2Props, enableResourcePropertyConstraint *bool) Cluster2
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
type Cluster2Props ¶
type Cluster2Props struct { // Property applications: Application List.The value range of the number n of the number N group: 1 ~ 100. Applications interface{} `field:"required" json:"applications" yaml:"applications"` // Property clusterName: Cluster name.The length is 1 ~ 128 characters, and the alphabet or Chinese must be started. It cannot start with http:\/\/ and https: \/\/.It can include Chinese, English, numbers, half-horn colons (:), down line (_), half-angle period (.) Or short lines (-). ClusterName interface{} `field:"required" json:"clusterName" yaml:"clusterName"` // Property clusterType: Cluster type.Ranges: DATALAKE: The new version of the data lake. OLAP: Data analysis. DATAFLOW: Real -time data stream. DATASERVING: Data service. HADOOP: The old version of the data lake (not recommended, it is recommended to use the new version of the data lake). ClusterType interface{} `field:"required" json:"clusterType" yaml:"clusterType"` // Property nodeAttributes: Node attributes.All ECS nodes basic attributes of the cluster. NodeAttributes interface{} `field:"required" json:"nodeAttributes" yaml:"nodeAttributes"` // Property nodeGroups: The node group configuration array.The value range of the number n of the number N group: 1 ~ 100. NodeGroups interface{} `field:"required" json:"nodeGroups" yaml:"nodeGroups"` // Property releaseVersion: EMR release version.View EMR distribution versions can be viewed through the EMR cluster. ReleaseVersion interface{} `field:"required" json:"releaseVersion" yaml:"releaseVersion"` // Property applicationConfigs: Application configuration.The value range of the number n of the array element n: 1 ~ 1000. ApplicationConfigs interface{} `field:"optional" json:"applicationConfigs" yaml:"applicationConfigs"` // Property bootstrapScripts: Guide the script group.The value range of the number n of the number N group: 1 ~ 10. BootstrapScripts interface{} `field:"optional" json:"bootstrapScripts" yaml:"bootstrapScripts"` // Property deployMode: Application deployment mode in the cluster.Ranges: Normal: non -high available deployment.Cluster 1 master node. HA: High availability deployment.High availability deployment requires at least 3 master nodes. DeployMode interface{} `field:"optional" json:"deployMode" yaml:"deployMode"` // Property paymentType: Payment type. // // Ranges: // PayAsYouGo: Post-paid, pay-as-you-go. // Subscription: Prepaid, yearly and monthly. // Default: PayAsYouGo. PaymentType interface{} `field:"optional" json:"paymentType" yaml:"paymentType"` // Property resourceGroupId: Resource group ID. ResourceGroupId interface{} `field:"optional" json:"resourceGroupId" yaml:"resourceGroupId"` // Property securityMode: Cluster Kerberos security mode.Ranges: Normal: General mode, does not open the Kerberos mode. Kerberos: Open the Kerberos mode. SecurityMode interface{} `field:"optional" json:"securityMode" yaml:"securityMode"` // Property subscriptionConfig: Pre -paid allocation.When the value of PaymentType is Subscripting, it must be filled. SubscriptionConfig interface{} `field:"optional" json:"subscriptionConfig" yaml:"subscriptionConfig"` // Property tags: Tags to attach to cluster. // // Max support 20 tags to add during create cluster. Each tag with two properties Key and Value, and Key is required. Tags *[]*RosCluster2_TagsProperty `field:"optional" json:"tags" yaml:"tags"` }
Properties for defining a `Cluster2`.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-emr-cluster2
type ClusterProps ¶
type ClusterProps struct { // Property chargeType: The billing method. // // Valid values: PostPaid and PrePaid. PostPaid: pay-as-you-go. PrePaid: // subscription. ChargeType interface{} `field:"required" json:"chargeType" yaml:"chargeType"` // Property clusterType: The type of the cluster. // // Allowd values: HADOOP, KAFKA, DRUID, ZOOKEEPER, DATA_SCIENCE, GATEWAY etc. ClusterType interface{} `field:"required" json:"clusterType" yaml:"clusterType"` // Property emrVer: The version of EMR. EmrVer interface{} `field:"required" json:"emrVer" yaml:"emrVer"` // Property hostGroup:. HostGroup interface{} `field:"required" json:"hostGroup" yaml:"hostGroup"` // Property name: The name of the cluster. // // The name can be 1 to 64 characters in length and only contain // Chinese characters, letters, numbers, hyphens (-), and underscores (_). Name interface{} `field:"required" json:"name" yaml:"name"` // Property netType: The type of the network. NetType interface{} `field:"required" json:"netType" yaml:"netType"` // Property useLocalMetaDb: Indicates whether the local Hive metadatabase is used. UseLocalMetaDb interface{} `field:"required" json:"useLocalMetaDb" yaml:"useLocalMetaDb"` // Property zoneId: The zone ID. ZoneId interface{} `field:"required" json:"zoneId" yaml:"zoneId"` // Property authorizeContent: Not required. AuthorizeContent interface{} `field:"optional" json:"authorizeContent" yaml:"authorizeContent"` // Property autoRenew: Indicates whether the subscription cluster is auto-renewed. AutoRenew interface{} `field:"optional" json:"autoRenew" yaml:"autoRenew"` // Property bootstrapAction:. BootstrapAction interface{} `field:"optional" json:"bootstrapAction" yaml:"bootstrapAction"` // Property clickHouseConf: undefined. ClickHouseConf interface{} `field:"optional" json:"clickHouseConf" yaml:"clickHouseConf"` // Property config:. Config interface{} `field:"optional" json:"config" yaml:"config"` // Property configurations: Not required. Configurations interface{} `field:"optional" json:"configurations" yaml:"configurations"` // Property depositType: The hosting type. DepositType interface{} `field:"optional" json:"depositType" yaml:"depositType"` // Property easEnable: Indicates whether the cluster is a high-security cluster. EasEnable interface{} `field:"optional" json:"easEnable" yaml:"easEnable"` // Property highAvailabilityEnable: Indicates whether the cluster is a high-availability cluster. // // A value of true indicates // that two master nodes are required. HighAvailabilityEnable interface{} `field:"optional" json:"highAvailabilityEnable" yaml:"highAvailabilityEnable"` // Property initCustomHiveMetaDb: A reserved parameter. // // Not required. InitCustomHiveMetaDb interface{} `field:"optional" json:"initCustomHiveMetaDb" yaml:"initCustomHiveMetaDb"` // Property instanceGeneration: The generation of the ECS instances. InstanceGeneration interface{} `field:"optional" json:"instanceGeneration" yaml:"instanceGeneration"` // Property ioOptimized: Indicates wether I\/O optimization is enabled. // // Default value: true. IoOptimized interface{} `field:"optional" json:"ioOptimized" yaml:"ioOptimized"` // Property isOpenPublicIp: Indicates whether a public IP address is assigned. // // A value of true indicates that // a bandwidth of 8 MB is set by default. IsOpenPublicIp interface{} `field:"optional" json:"isOpenPublicIp" yaml:"isOpenPublicIp"` // Property keyPairName: The name of the key pair. KeyPairName interface{} `field:"optional" json:"keyPairName" yaml:"keyPairName"` // Property logPath: The log path in OSS. LogPath interface{} `field:"optional" json:"logPath" yaml:"logPath"` // Property machineType: The type of the machine. MachineType interface{} `field:"optional" json:"machineType" yaml:"machineType"` // Property masterPwd: The SSH password for the master node. // // The password must meet the following requirements. // Length constraints: Minimum length of 8 characters. Maximum length of 30 characters. // It must contain three types of characters (uppercase letters, lowercase letters, numbers, // and special symbols). MasterPwd interface{} `field:"optional" json:"masterPwd" yaml:"masterPwd"` // Property metaStoreConf: Meta store conf of specific meta store type. // // If MetaStoreType=user_rds, MetaStoreConf should be like {"dbUrl":"jdbc:mysql:\/\/xxxxxx", "dbUserName":"username", "dbPassword":"password"}. MetaStoreConf interface{} `field:"optional" json:"metaStoreConf" yaml:"metaStoreConf"` // Property metaStoreType: Meta store type. // // Allow types: // local: Local cluster // unified: Unified meta data // user_rds: User's RDS. MetaStoreType interface{} `field:"optional" json:"metaStoreType" yaml:"metaStoreType"` // Property optionSoftWareList: The list of optional services. OptionSoftWareList interface{} `field:"optional" json:"optionSoftWareList" yaml:"optionSoftWareList"` // Property period: The length of the subscription. // // Unit: months. Valid values: 1, 2, 3, 4, 5, 6, 7, 8, // 9, 12, 24, and 36. A value is required when ChargeType=PrePaid. Period interface{} `field:"optional" json:"period" yaml:"period"` // Property relatedClusterId: The ID of the primary cluster (when the cluster that you create is a Gateway cluster). RelatedClusterId interface{} `field:"optional" json:"relatedClusterId" yaml:"relatedClusterId"` // Property resourceGroupId: Resource group id. ResourceGroupId interface{} `field:"optional" json:"resourceGroupId" yaml:"resourceGroupId"` // Property securityGroupId: The ID of the security group. // // You can create a security group in the ECS console and // use it. Note: If you use an existing security group, the default security group policy // is applied to this security group: Only port 22 is open at the inbound and all ports // are open at the outbound. You need to specify either SecurityGroupId or SecurityGroupName. SecurityGroupId interface{} `field:"optional" json:"securityGroupId" yaml:"securityGroupId"` // Property securityGroupName: The name of the security group to create. // // If the ID of the security group is not specified, // this name is used to create a new security group. After the cluster is created, you // can view the ID of the security group on the Cluster Management page. The default // security group policy is applied to this security group: Only port 22 is open at the // inbound and all ports are open at the outbound. You need to specify either SecurityGroupId // or SecurityGroupName. SecurityGroupName interface{} `field:"optional" json:"securityGroupName" yaml:"securityGroupName"` // Property sshEnable: Indicates whether SSH is enabled. SshEnable interface{} `field:"optional" json:"sshEnable" yaml:"sshEnable"` // Property tags: Tags to attach to instance. // // Max support 20 tags to add during create instance. Each tag with two properties Key and Value, and Key is required. Tags *[]*RosCluster_TagsProperty `field:"optional" json:"tags" yaml:"tags"` // Property useCustomHiveMetaDb: A reserved parameter. // // Not required. UseCustomHiveMetaDb interface{} `field:"optional" json:"useCustomHiveMetaDb" yaml:"useCustomHiveMetaDb"` // Property userDefinedEmrEcsRole: The role that is assigned to EMR for calling ECS resources. UserDefinedEmrEcsRole interface{} `field:"optional" json:"userDefinedEmrEcsRole" yaml:"userDefinedEmrEcsRole"` // Property userInfo:. UserInfo interface{} `field:"optional" json:"userInfo" yaml:"userInfo"` // Property vpcId: The ID of the VPC. // // A value is required when NetType=vpc. VpcId interface{} `field:"optional" json:"vpcId" yaml:"vpcId"` // Property vSwitchId: The ID of the Vswitch. // // A value is required when NetType=vpc. VSwitchId interface{} `field:"optional" json:"vSwitchId" yaml:"vSwitchId"` // Property whiteListType: Not required. WhiteListType interface{} `field:"optional" json:"whiteListType" yaml:"whiteListType"` }
Properties for defining a `Cluster`.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-emr-cluster
type ClusterServiceConfigs ¶
type ClusterServiceConfigs interface { alicloudroscdkcore.Resource // Attribute ClusterId: The ID of the cluster. AttrClusterId() alicloudroscdkcore.IResolvable EnableResourcePropertyConstraint() *bool SetEnableResourcePropertyConstraint(val *bool) Id() *string SetId(val *string) // The construct tree node associated with this construct. Node() alicloudroscdkcore.ConstructNode // Returns a string-encoded token that resolves to the physical name that should be passed to the ROS resource. // // This value will resolve to one of the following: // - a concrete value (e.g. `"my-awesome-bucket"`) // - `undefined`, when a name should be generated by ROS // - a concrete name generated automatically during synthesis, in // cross-environment scenarios. // Experimental. PhysicalName() *string Props() *ClusterServiceConfigsProps SetProps(val *ClusterServiceConfigsProps) Ref() *string Resource() alicloudroscdkcore.RosResource SetResource(val alicloudroscdkcore.RosResource) Scope() alicloudroscdkcore.Construct SetScope(val alicloudroscdkcore.Construct) // The stack in which this resource is defined. Stack() alicloudroscdkcore.Stack AddCondition(condition alicloudroscdkcore.RosCondition) AddCount(count interface{}) AddDependency(resource alicloudroscdkcore.Resource) AddResourceDesc(desc *string) ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy) GeneratePhysicalName() *string GetAtt(name *string) alicloudroscdkcore.IResolvable // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() SetMetadata(key *string, value interface{}) // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string }
This class encapsulates and extends the ROS resource type `ALIYUN::EMR::ClusterServiceConfigs`, which is used to create or modify the configurations of a specified service in a cluster.
func NewClusterServiceConfigs ¶
func NewClusterServiceConfigs(scope alicloudroscdkcore.Construct, id *string, props *ClusterServiceConfigsProps, enableResourcePropertyConstraint *bool) ClusterServiceConfigs
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
type ClusterServiceConfigsProps ¶
type ClusterServiceConfigsProps struct { // Property clusterId: The ID of the cluster. ClusterId interface{} `field:"required" json:"clusterId" yaml:"clusterId"` // Property serviceConfigs: Server configs. ServiceConfigs interface{} `field:"required" json:"serviceConfigs" yaml:"serviceConfigs"` }
Properties for defining a `ClusterServiceConfigs`.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-emr-clusterserviceconfigs
type FlowProject ¶
type FlowProject interface { alicloudroscdkcore.Resource // Attribute CreateTime: The time when the project was created. AttrCreateTime() alicloudroscdkcore.IResolvable // Attribute Description: The description of the project. AttrDescription() alicloudroscdkcore.IResolvable // Attribute FlowProjectId: The ID of the project. AttrFlowProjectId() alicloudroscdkcore.IResolvable // Attribute FlowProjectName: The name of the project. AttrFlowProjectName() alicloudroscdkcore.IResolvable // Attribute GmtModified: The time when the project was modified. AttrGmtModified() alicloudroscdkcore.IResolvable // Attribute UserId: The ID of the primary account. AttrUserId() alicloudroscdkcore.IResolvable EnableResourcePropertyConstraint() *bool SetEnableResourcePropertyConstraint(val *bool) Id() *string SetId(val *string) // The construct tree node associated with this construct. Node() alicloudroscdkcore.ConstructNode // Returns a string-encoded token that resolves to the physical name that should be passed to the ROS resource. // // This value will resolve to one of the following: // - a concrete value (e.g. `"my-awesome-bucket"`) // - `undefined`, when a name should be generated by ROS // - a concrete name generated automatically during synthesis, in // cross-environment scenarios. // Experimental. PhysicalName() *string Props() *FlowProjectProps SetProps(val *FlowProjectProps) Ref() *string Resource() alicloudroscdkcore.RosResource SetResource(val alicloudroscdkcore.RosResource) Scope() alicloudroscdkcore.Construct SetScope(val alicloudroscdkcore.Construct) // The stack in which this resource is defined. Stack() alicloudroscdkcore.Stack AddCondition(condition alicloudroscdkcore.RosCondition) AddCount(count interface{}) AddDependency(resource alicloudroscdkcore.Resource) AddResourceDesc(desc *string) ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy) GeneratePhysicalName() *string GetAtt(name *string) alicloudroscdkcore.IResolvable // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() SetMetadata(key *string, value interface{}) // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string }
This class encapsulates and extends the ROS resource type `ALIYUN::EMR::FlowProject`, which is used to create a data development project.
func NewFlowProject ¶
func NewFlowProject(scope alicloudroscdkcore.Construct, id *string, props *FlowProjectProps, enableResourcePropertyConstraint *bool) FlowProject
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
type FlowProjectProps ¶
type FlowProjectProps struct { // Property description: The description of the project. Description interface{} `field:"required" json:"description" yaml:"description"` // Property flowProjectName: The name of the project. FlowProjectName interface{} `field:"required" json:"flowProjectName" yaml:"flowProjectName"` // Property resourceGroupId: The ID of the enterprise resource group to which the EMR instances and ECS node instances belong. ResourceGroupId interface{} `field:"optional" json:"resourceGroupId" yaml:"resourceGroupId"` }
Properties for defining a `FlowProject`.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-emr-flowproject
type RosCluster ¶
type RosCluster interface { alicloudroscdkcore.RosResource AttrClusterId() alicloudroscdkcore.IResolvable AttrHostGroups() alicloudroscdkcore.IResolvable AttrMasterNodeInnerIps() alicloudroscdkcore.IResolvable AttrMasterNodePubIps() alicloudroscdkcore.IResolvable AuthorizeContent() interface{} SetAuthorizeContent(val interface{}) AutoRenew() interface{} SetAutoRenew(val interface{}) BootstrapAction() interface{} SetBootstrapAction(val interface{}) ChargeType() interface{} SetChargeType(val interface{}) ClickHouseConf() interface{} SetClickHouseConf(val interface{}) ClusterType() interface{} SetClusterType(val interface{}) Config() interface{} SetConfig(val interface{}) Configurations() interface{} SetConfigurations(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 DepositType() interface{} SetDepositType(val interface{}) EasEnable() interface{} SetEasEnable(val interface{}) EmrVer() interface{} SetEmrVer(val interface{}) EnableResourcePropertyConstraint() *bool SetEnableResourcePropertyConstraint(val *bool) HighAvailabilityEnable() interface{} SetHighAvailabilityEnable(val interface{}) HostGroup() interface{} SetHostGroup(val interface{}) InitCustomHiveMetaDb() interface{} SetInitCustomHiveMetaDb(val interface{}) InstanceGeneration() interface{} SetInstanceGeneration(val interface{}) IoOptimized() interface{} SetIoOptimized(val interface{}) IsOpenPublicIp() interface{} SetIsOpenPublicIp(val interface{}) KeyPairName() interface{} SetKeyPairName(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 LogPath() interface{} SetLogPath(val interface{}) MachineType() interface{} SetMachineType(val interface{}) MasterPwd() interface{} SetMasterPwd(val interface{}) MetaStoreConf() interface{} SetMetaStoreConf(val interface{}) MetaStoreType() interface{} SetMetaStoreType(val interface{}) Name() interface{} SetName(val interface{}) NetType() interface{} SetNetType(val interface{}) // The construct tree node associated with this construct. Node() alicloudroscdkcore.ConstructNode OptionSoftWareList() interface{} SetOptionSoftWareList(val interface{}) Period() interface{} SetPeriod(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 RelatedClusterId() interface{} SetRelatedClusterId(val interface{}) ResourceGroupId() interface{} SetResourceGroupId(val interface{}) // Options for this resource, such as condition, update policy etc. RosOptions() alicloudroscdkcore.IRosResourceOptions RosProperties() *map[string]interface{} // ROS resource type. RosResourceType() *string SecurityGroupId() interface{} SetSecurityGroupId(val interface{}) SecurityGroupName() interface{} SetSecurityGroupName(val interface{}) SshEnable() interface{} SetSshEnable(val interface{}) // The stack in which this element is defined. // // RosElements must be defined within a stack scope (directly or indirectly). Stack() alicloudroscdkcore.Stack Tags() *[]*RosCluster_TagsProperty SetTags(val *[]*RosCluster_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{} UseCustomHiveMetaDb() interface{} SetUseCustomHiveMetaDb(val interface{}) UseLocalMetaDb() interface{} SetUseLocalMetaDb(val interface{}) UserDefinedEmrEcsRole() interface{} SetUserDefinedEmrEcsRole(val interface{}) UserInfo() interface{} SetUserInfo(val interface{}) VpcId() interface{} SetVpcId(val interface{}) VSwitchId() interface{} SetVSwitchId(val interface{}) WhiteListType() interface{} SetWhiteListType(val interface{}) ZoneId() interface{} SetZoneId(val interface{}) AddCondition(con alicloudroscdkcore.RosCondition) AddCount(count interface{}) // Syntactic sugar for `addOverride(path, undefined)`. AddDeletionOverride(path *string) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // // This can be used for resources across stacks (or nested stack) boundaries // and the dependency will automatically be transferred to the relevant scope. AddDependsOn(target alicloudroscdkcore.RosResource) AddDesc(desc *string) AddMetaData(key *string, value interface{}) // Adds an override to the synthesized ROS resource. // // To add a // property override, either use `addPropertyOverride` or prefix `path` with // "Properties." (i.e. `Properties.TopicName`). // // If the override is nested, separate each nested level using a dot (.) in the path parameter. // If there is an array as part of the nesting, specify the index in the path. // // For example, // “`typescript // addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']) // addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE') // “` // would add the overrides // “`json // "Properties": { // "GlobalSecondaryIndexes": [ // { // "Projection": { // "NonKeyAttributes": [ "myattribute" ] // ... // } // ... // }, // { // "ProjectionType": "INCLUDE" // ... // }, // ] // ... // } // “`. AddOverride(path *string, value interface{}) // Adds an override that deletes the value of a property from the resource definition. AddPropertyDeletionOverride(propertyPath *string) // Adds an override to a resource property. // // Syntactic sugar for `addOverride("Properties.<...>", value)`. AddPropertyOverride(propertyPath *string, value interface{}) AddRosDependency(target *string) // Sets the deletion policy of the resource based on the removal policy specified. ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy, options *alicloudroscdkcore.RemovalPolicyOptions) // Returns a token for an runtime attribute of this resource. // // Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility // in case there is no generated attribute. GetAtt(attributeName *string) alicloudroscdkcore.Reference // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Overrides the auto-generated logical ID with a specific ID. OverrideLogicalId(newLogicalId *string) // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() RenderProperties(props *map[string]interface{}) *map[string]interface{} // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. // // Returns: a string representation of this resource. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string ValidateProperties(_properties interface{}) }
This class is a base encapsulation around the ROS resource type `ALIYUN::EMR::Cluster`, which is used to create an E-MapReduce (EMR) cluster.
func NewRosCluster ¶
func NewRosCluster(scope alicloudroscdkcore.Construct, id *string, props *RosClusterProps, enableResourcePropertyConstraint *bool) RosCluster
type RosCluster2 ¶
type RosCluster2 interface { alicloudroscdkcore.RosResource ApplicationConfigs() interface{} SetApplicationConfigs(val interface{}) Applications() interface{} SetApplications(val interface{}) AttrApplicationLinks() alicloudroscdkcore.IResolvable AttrClusterId() alicloudroscdkcore.IResolvable BootstrapScripts() interface{} SetBootstrapScripts(val interface{}) ClusterName() interface{} SetClusterName(val interface{}) ClusterType() interface{} SetClusterType(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 DeployMode() interface{} SetDeployMode(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 NodeAttributes() interface{} SetNodeAttributes(val interface{}) NodeGroups() interface{} SetNodeGroups(val interface{}) PaymentType() interface{} SetPaymentType(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 ReleaseVersion() interface{} SetReleaseVersion(val interface{}) ResourceGroupId() interface{} SetResourceGroupId(val interface{}) // Options for this resource, such as condition, update policy etc. RosOptions() alicloudroscdkcore.IRosResourceOptions RosProperties() *map[string]interface{} // ROS resource type. RosResourceType() *string SecurityMode() interface{} SetSecurityMode(val interface{}) // The stack in which this element is defined. // // RosElements must be defined within a stack scope (directly or indirectly). Stack() alicloudroscdkcore.Stack SubscriptionConfig() interface{} SetSubscriptionConfig(val interface{}) Tags() *[]*RosCluster2_TagsProperty SetTags(val *[]*RosCluster2_TagsProperty) // Return properties modified after initiation. // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperites() *map[string]interface{} AddCondition(con alicloudroscdkcore.RosCondition) AddCount(count interface{}) // Syntactic sugar for `addOverride(path, undefined)`. AddDeletionOverride(path *string) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // // This can be used for resources across stacks (or nested stack) boundaries // and the dependency will automatically be transferred to the relevant scope. AddDependsOn(target alicloudroscdkcore.RosResource) AddDesc(desc *string) AddMetaData(key *string, value interface{}) // Adds an override to the synthesized ROS resource. // // To add a // property override, either use `addPropertyOverride` or prefix `path` with // "Properties." (i.e. `Properties.TopicName`). // // If the override is nested, separate each nested level using a dot (.) in the path parameter. // If there is an array as part of the nesting, specify the index in the path. // // For example, // “`typescript // addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']) // addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE') // “` // would add the overrides // “`json // "Properties": { // "GlobalSecondaryIndexes": [ // { // "Projection": { // "NonKeyAttributes": [ "myattribute" ] // ... // } // ... // }, // { // "ProjectionType": "INCLUDE" // ... // }, // ] // ... // } // “`. AddOverride(path *string, value interface{}) // Adds an override that deletes the value of a property from the resource definition. AddPropertyDeletionOverride(propertyPath *string) // Adds an override to a resource property. // // Syntactic sugar for `addOverride("Properties.<...>", value)`. AddPropertyOverride(propertyPath *string, value interface{}) AddRosDependency(target *string) // Sets the deletion policy of the resource based on the removal policy specified. ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy, options *alicloudroscdkcore.RemovalPolicyOptions) // Returns a token for an runtime attribute of this resource. // // Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility // in case there is no generated attribute. GetAtt(attributeName *string) alicloudroscdkcore.Reference // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Overrides the auto-generated logical ID with a specific ID. OverrideLogicalId(newLogicalId *string) // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() RenderProperties(props *map[string]interface{}) *map[string]interface{} // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. // // Returns: a string representation of this resource. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string ValidateProperties(_properties interface{}) }
This class is a base encapsulation around the ROS resource type `ALIYUN::EMR::Cluster2`, which is used to create an E-MapReduce (EMR) cluster.
func NewRosCluster2 ¶
func NewRosCluster2(scope alicloudroscdkcore.Construct, id *string, props *RosCluster2Props, enableResourcePropertyConstraint *bool) RosCluster2
type RosCluster2Props ¶
type RosCluster2Props struct { Applications interface{} `field:"required" json:"applications" yaml:"applications"` ClusterName interface{} `field:"required" json:"clusterName" yaml:"clusterName"` ClusterType interface{} `field:"required" json:"clusterType" yaml:"clusterType"` NodeAttributes interface{} `field:"required" json:"nodeAttributes" yaml:"nodeAttributes"` NodeGroups interface{} `field:"required" json:"nodeGroups" yaml:"nodeGroups"` ReleaseVersion interface{} `field:"required" json:"releaseVersion" yaml:"releaseVersion"` ApplicationConfigs interface{} `field:"optional" json:"applicationConfigs" yaml:"applicationConfigs"` BootstrapScripts interface{} `field:"optional" json:"bootstrapScripts" yaml:"bootstrapScripts"` DeployMode interface{} `field:"optional" json:"deployMode" yaml:"deployMode"` PaymentType interface{} `field:"optional" json:"paymentType" yaml:"paymentType"` ResourceGroupId interface{} `field:"optional" json:"resourceGroupId" yaml:"resourceGroupId"` SecurityMode interface{} `field:"optional" json:"securityMode" yaml:"securityMode"` SubscriptionConfig interface{} `field:"optional" json:"subscriptionConfig" yaml:"subscriptionConfig"` Tags *[]*RosCluster2_TagsProperty `field:"optional" json:"tags" yaml:"tags"` }
Properties for defining a `RosCluster2`.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-emr-cluster2
type RosCluster2_ApplicationConfigsProperty ¶
type RosCluster2_ApplicationConfigsProperty struct { ApplicationName interface{} `field:"required" json:"applicationName" yaml:"applicationName"` ConfigFileName interface{} `field:"optional" json:"configFileName" yaml:"configFileName"` ConfigItemKey interface{} `field:"optional" json:"configItemKey" yaml:"configItemKey"` ConfigItemValue interface{} `field:"optional" json:"configItemValue" yaml:"configItemValue"` ConfigScope interface{} `field:"optional" json:"configScope" yaml:"configScope"` NodeGroupId interface{} `field:"optional" json:"nodeGroupId" yaml:"nodeGroupId"` NodeGroupName interface{} `field:"optional" json:"nodeGroupName" yaml:"nodeGroupName"` }
type RosCluster2_ApplicationsProperty ¶
type RosCluster2_ApplicationsProperty struct {
ApplicationName interface{} `field:"required" json:"applicationName" yaml:"applicationName"`
}
type RosCluster2_BootstrapScriptsProperty ¶
type RosCluster2_BootstrapScriptsProperty struct { NodeSelector interface{} `field:"required" json:"nodeSelector" yaml:"nodeSelector"` ScriptName interface{} `field:"required" json:"scriptName" yaml:"scriptName"` ScriptPath interface{} `field:"required" json:"scriptPath" yaml:"scriptPath"` ExecutionFailStrategy interface{} `field:"optional" json:"executionFailStrategy" yaml:"executionFailStrategy"` ExecutionMoment interface{} `field:"optional" json:"executionMoment" yaml:"executionMoment"` Priority interface{} `field:"optional" json:"priority" yaml:"priority"` ScriptArgs interface{} `field:"optional" json:"scriptArgs" yaml:"scriptArgs"` }
type RosCluster2_CostOptimizedConfigProperty ¶
type RosCluster2_CostOptimizedConfigProperty struct { OnDemandBaseCapacity interface{} `field:"required" json:"onDemandBaseCapacity" yaml:"onDemandBaseCapacity"` OnDemandPercentageAboveBaseCapacity interface{} `field:"required" json:"onDemandPercentageAboveBaseCapacity" yaml:"onDemandPercentageAboveBaseCapacity"` SpotInstancePools interface{} `field:"required" json:"spotInstancePools" yaml:"spotInstancePools"` }
type RosCluster2_DataDisksProperty ¶
type RosCluster2_DataDisksProperty struct { Category interface{} `field:"required" json:"category" yaml:"category"` Size interface{} `field:"required" json:"size" yaml:"size"` Count interface{} `field:"optional" json:"count" yaml:"count"` PerformanceLevel interface{} `field:"optional" json:"performanceLevel" yaml:"performanceLevel"` }
type RosCluster2_NodeAttributesProperty ¶
type RosCluster2_NodeAttributesProperty struct { SecurityGroupId interface{} `field:"required" json:"securityGroupId" yaml:"securityGroupId"` VpcId interface{} `field:"required" json:"vpcId" yaml:"vpcId"` ZoneId interface{} `field:"required" json:"zoneId" yaml:"zoneId"` KeyPairName interface{} `field:"optional" json:"keyPairName" yaml:"keyPairName"` MasterRootPassword interface{} `field:"optional" json:"masterRootPassword" yaml:"masterRootPassword"` RamRole interface{} `field:"optional" json:"ramRole" yaml:"ramRole"` }
type RosCluster2_NodeGroupsProperty ¶
type RosCluster2_NodeGroupsProperty struct { InstanceTypes interface{} `field:"required" json:"instanceTypes" yaml:"instanceTypes"` NodeGroupType interface{} `field:"required" json:"nodeGroupType" yaml:"nodeGroupType"` AdditionalSecurityGroupIds interface{} `field:"optional" json:"additionalSecurityGroupIds" yaml:"additionalSecurityGroupIds"` CostOptimizedConfig interface{} `field:"optional" json:"costOptimizedConfig" yaml:"costOptimizedConfig"` DataDisks interface{} `field:"optional" json:"dataDisks" yaml:"dataDisks"` DeploymentSetStrategy interface{} `field:"optional" json:"deploymentSetStrategy" yaml:"deploymentSetStrategy"` GracefulShutdown interface{} `field:"optional" json:"gracefulShutdown" yaml:"gracefulShutdown"` NodeCount interface{} `field:"optional" json:"nodeCount" yaml:"nodeCount"` NodeGroupName interface{} `field:"optional" json:"nodeGroupName" yaml:"nodeGroupName"` NodeResizeStrategy interface{} `field:"optional" json:"nodeResizeStrategy" yaml:"nodeResizeStrategy"` SpotBidPrices interface{} `field:"optional" json:"spotBidPrices" yaml:"spotBidPrices"` SpotInstanceRemedy interface{} `field:"optional" json:"spotInstanceRemedy" yaml:"spotInstanceRemedy"` SpotStrategy interface{} `field:"optional" json:"spotStrategy" yaml:"spotStrategy"` SystemDisk interface{} `field:"optional" json:"systemDisk" yaml:"systemDisk"` VSwitchIds interface{} `field:"optional" json:"vSwitchIds" yaml:"vSwitchIds"` WithPublicIp interface{} `field:"optional" json:"withPublicIp" yaml:"withPublicIp"` }
type RosCluster2_NodeSelectorProperty ¶
type RosCluster2_NodeSelectorProperty struct { NodeSelectType interface{} `field:"required" json:"nodeSelectType" yaml:"nodeSelectType"` NodeGroupId interface{} `field:"optional" json:"nodeGroupId" yaml:"nodeGroupId"` NodeGroupName interface{} `field:"optional" json:"nodeGroupName" yaml:"nodeGroupName"` NodeGroupTypes interface{} `field:"optional" json:"nodeGroupTypes" yaml:"nodeGroupTypes"` NodeNames interface{} `field:"optional" json:"nodeNames" yaml:"nodeNames"` }
type RosCluster2_SpotBidPricesProperty ¶
type RosCluster2_SpotBidPricesProperty struct { BidPrice interface{} `field:"optional" json:"bidPrice" yaml:"bidPrice"` InstanceType interface{} `field:"optional" json:"instanceType" yaml:"instanceType"` }
type RosCluster2_SubscriptionConfigProperty ¶
type RosCluster2_SubscriptionConfigProperty struct { AutoRenew interface{} `field:"optional" json:"autoRenew" yaml:"autoRenew"` AutoRenewDuration interface{} `field:"optional" json:"autoRenewDuration" yaml:"autoRenewDuration"` AutoRenewDurationUnit interface{} `field:"optional" json:"autoRenewDurationUnit" yaml:"autoRenewDurationUnit"` PaymentDuration interface{} `field:"optional" json:"paymentDuration" yaml:"paymentDuration"` PaymentDurationUnit interface{} `field:"optional" json:"paymentDurationUnit" yaml:"paymentDurationUnit"` }
type RosCluster2_SystemDiskProperty ¶
type RosCluster2_SystemDiskProperty struct { Category interface{} `field:"required" json:"category" yaml:"category"` Size interface{} `field:"required" json:"size" yaml:"size"` Count interface{} `field:"optional" json:"count" yaml:"count"` PerformanceLevel interface{} `field:"optional" json:"performanceLevel" yaml:"performanceLevel"` }
type RosCluster2_TagsProperty ¶
type RosCluster2_TagsProperty struct { Key interface{} `field:"required" json:"key" yaml:"key"` Value interface{} `field:"optional" json:"value" yaml:"value"` }
type RosClusterProps ¶
type RosClusterProps struct { ChargeType interface{} `field:"required" json:"chargeType" yaml:"chargeType"` ClusterType interface{} `field:"required" json:"clusterType" yaml:"clusterType"` EmrVer interface{} `field:"required" json:"emrVer" yaml:"emrVer"` HostGroup interface{} `field:"required" json:"hostGroup" yaml:"hostGroup"` Name interface{} `field:"required" json:"name" yaml:"name"` NetType interface{} `field:"required" json:"netType" yaml:"netType"` UseLocalMetaDb interface{} `field:"required" json:"useLocalMetaDb" yaml:"useLocalMetaDb"` ZoneId interface{} `field:"required" json:"zoneId" yaml:"zoneId"` AuthorizeContent interface{} `field:"optional" json:"authorizeContent" yaml:"authorizeContent"` AutoRenew interface{} `field:"optional" json:"autoRenew" yaml:"autoRenew"` BootstrapAction interface{} `field:"optional" json:"bootstrapAction" yaml:"bootstrapAction"` ClickHouseConf interface{} `field:"optional" json:"clickHouseConf" yaml:"clickHouseConf"` Config interface{} `field:"optional" json:"config" yaml:"config"` Configurations interface{} `field:"optional" json:"configurations" yaml:"configurations"` DepositType interface{} `field:"optional" json:"depositType" yaml:"depositType"` EasEnable interface{} `field:"optional" json:"easEnable" yaml:"easEnable"` HighAvailabilityEnable interface{} `field:"optional" json:"highAvailabilityEnable" yaml:"highAvailabilityEnable"` InitCustomHiveMetaDb interface{} `field:"optional" json:"initCustomHiveMetaDb" yaml:"initCustomHiveMetaDb"` InstanceGeneration interface{} `field:"optional" json:"instanceGeneration" yaml:"instanceGeneration"` IoOptimized interface{} `field:"optional" json:"ioOptimized" yaml:"ioOptimized"` IsOpenPublicIp interface{} `field:"optional" json:"isOpenPublicIp" yaml:"isOpenPublicIp"` KeyPairName interface{} `field:"optional" json:"keyPairName" yaml:"keyPairName"` LogPath interface{} `field:"optional" json:"logPath" yaml:"logPath"` MachineType interface{} `field:"optional" json:"machineType" yaml:"machineType"` MasterPwd interface{} `field:"optional" json:"masterPwd" yaml:"masterPwd"` MetaStoreConf interface{} `field:"optional" json:"metaStoreConf" yaml:"metaStoreConf"` MetaStoreType interface{} `field:"optional" json:"metaStoreType" yaml:"metaStoreType"` OptionSoftWareList interface{} `field:"optional" json:"optionSoftWareList" yaml:"optionSoftWareList"` Period interface{} `field:"optional" json:"period" yaml:"period"` RelatedClusterId interface{} `field:"optional" json:"relatedClusterId" yaml:"relatedClusterId"` ResourceGroupId interface{} `field:"optional" json:"resourceGroupId" yaml:"resourceGroupId"` SecurityGroupId interface{} `field:"optional" json:"securityGroupId" yaml:"securityGroupId"` SecurityGroupName interface{} `field:"optional" json:"securityGroupName" yaml:"securityGroupName"` SshEnable interface{} `field:"optional" json:"sshEnable" yaml:"sshEnable"` Tags *[]*RosCluster_TagsProperty `field:"optional" json:"tags" yaml:"tags"` UseCustomHiveMetaDb interface{} `field:"optional" json:"useCustomHiveMetaDb" yaml:"useCustomHiveMetaDb"` UserDefinedEmrEcsRole interface{} `field:"optional" json:"userDefinedEmrEcsRole" yaml:"userDefinedEmrEcsRole"` UserInfo interface{} `field:"optional" json:"userInfo" yaml:"userInfo"` VpcId interface{} `field:"optional" json:"vpcId" yaml:"vpcId"` VSwitchId interface{} `field:"optional" json:"vSwitchId" yaml:"vSwitchId"` WhiteListType interface{} `field:"optional" json:"whiteListType" yaml:"whiteListType"` }
Properties for defining a `RosCluster`.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-emr-cluster
type RosClusterServiceConfigs ¶
type RosClusterServiceConfigs interface { alicloudroscdkcore.RosResource AttrClusterId() alicloudroscdkcore.IResolvable ClusterId() interface{} SetClusterId(val interface{}) // Returns: the stack trace of the point where this Resource was created from, sourced // from the +metadata+ entry typed +aliyun:ros:logicalId+, and with the bottom-most // node +internal+ entries filtered. CreationStack() *[]*string EnableResourcePropertyConstraint() *bool SetEnableResourcePropertyConstraint(val *bool) // The logical ID for this stack element. // // The logical ID of the element // is calculated from the path of the resource node in the construct tree. // // To override this value, use `overrideLogicalId(newLogicalId)`. // // Returns: the logical ID as a stringified token. This value will only get // resolved during synthesis. LogicalId() *string // The construct tree node associated with this construct. Node() alicloudroscdkcore.ConstructNode // Return a string that will be resolved to a RosTemplate `{ Ref }` for this element. // // If, by any chance, the intrinsic reference of a resource is not a string, you could // coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`. Ref() *string // Options for this resource, such as condition, update policy etc. RosOptions() alicloudroscdkcore.IRosResourceOptions RosProperties() *map[string]interface{} // ROS resource type. RosResourceType() *string ServiceConfigs() interface{} SetServiceConfigs(val interface{}) // The stack in which this element is defined. // // RosElements must be defined within a stack scope (directly or indirectly). Stack() alicloudroscdkcore.Stack // Return properties modified after initiation. // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperites() *map[string]interface{} AddCondition(con alicloudroscdkcore.RosCondition) AddCount(count interface{}) // Syntactic sugar for `addOverride(path, undefined)`. AddDeletionOverride(path *string) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // // This can be used for resources across stacks (or nested stack) boundaries // and the dependency will automatically be transferred to the relevant scope. AddDependsOn(target alicloudroscdkcore.RosResource) AddDesc(desc *string) AddMetaData(key *string, value interface{}) // Adds an override to the synthesized ROS resource. // // To add a // property override, either use `addPropertyOverride` or prefix `path` with // "Properties." (i.e. `Properties.TopicName`). // // If the override is nested, separate each nested level using a dot (.) in the path parameter. // If there is an array as part of the nesting, specify the index in the path. // // For example, // “`typescript // addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']) // addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE') // “` // would add the overrides // “`json // "Properties": { // "GlobalSecondaryIndexes": [ // { // "Projection": { // "NonKeyAttributes": [ "myattribute" ] // ... // } // ... // }, // { // "ProjectionType": "INCLUDE" // ... // }, // ] // ... // } // “`. AddOverride(path *string, value interface{}) // Adds an override that deletes the value of a property from the resource definition. AddPropertyDeletionOverride(propertyPath *string) // Adds an override to a resource property. // // Syntactic sugar for `addOverride("Properties.<...>", value)`. AddPropertyOverride(propertyPath *string, value interface{}) AddRosDependency(target *string) // Sets the deletion policy of the resource based on the removal policy specified. ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy, options *alicloudroscdkcore.RemovalPolicyOptions) // Returns a token for an runtime attribute of this resource. // // Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility // in case there is no generated attribute. GetAtt(attributeName *string) alicloudroscdkcore.Reference // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Overrides the auto-generated logical ID with a specific ID. OverrideLogicalId(newLogicalId *string) // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() RenderProperties(props *map[string]interface{}) *map[string]interface{} // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. // // Returns: a string representation of this resource. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string ValidateProperties(_properties interface{}) }
This class is a base encapsulation around the ROS resource type `ALIYUN::EMR::ClusterServiceConfigs`, which is used to create or modify the configurations of a specified service in a cluster.
func NewRosClusterServiceConfigs ¶
func NewRosClusterServiceConfigs(scope alicloudroscdkcore.Construct, id *string, props *RosClusterServiceConfigsProps, enableResourcePropertyConstraint *bool) RosClusterServiceConfigs
type RosClusterServiceConfigsProps ¶
type RosClusterServiceConfigsProps struct { ClusterId interface{} `field:"required" json:"clusterId" yaml:"clusterId"` ServiceConfigs interface{} `field:"required" json:"serviceConfigs" yaml:"serviceConfigs"` }
Properties for defining a `RosClusterServiceConfigs`.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-emr-clusterserviceconfigs
type RosClusterServiceConfigs_ServiceConfigsProperty ¶
type RosClusterServiceConfigs_ServiceConfigsProperty struct { ConfigParams interface{} `field:"required" json:"configParams" yaml:"configParams"` ServiceName interface{} `field:"required" json:"serviceName" yaml:"serviceName"` Comment interface{} `field:"optional" json:"comment" yaml:"comment"` ConfigType interface{} `field:"optional" json:"configType" yaml:"configType"` CustomConfigParams interface{} `field:"optional" json:"customConfigParams" yaml:"customConfigParams"` GatewayClusterIdList interface{} `field:"optional" json:"gatewayClusterIdList" yaml:"gatewayClusterIdList"` GroupId interface{} `field:"optional" json:"groupId" yaml:"groupId"` HostInstanceId interface{} `field:"optional" json:"hostInstanceId" yaml:"hostInstanceId"` RefreshHostConfig interface{} `field:"optional" json:"refreshHostConfig" yaml:"refreshHostConfig"` }
type RosCluster_BootstrapActionProperty ¶
type RosCluster_BootstrapActionProperty struct { Arg interface{} `field:"optional" json:"arg" yaml:"arg"` Name interface{} `field:"optional" json:"name" yaml:"name"` Path interface{} `field:"optional" json:"path" yaml:"path"` }
type RosCluster_ConfigProperty ¶
type RosCluster_ConfigProperty struct { ConfigKey interface{} `field:"optional" json:"configKey" yaml:"configKey"` ConfigValue interface{} `field:"optional" json:"configValue" yaml:"configValue"` Encrypt interface{} `field:"optional" json:"encrypt" yaml:"encrypt"` FileName interface{} `field:"optional" json:"fileName" yaml:"fileName"` Replace interface{} `field:"optional" json:"replace" yaml:"replace"` ServiceName interface{} `field:"optional" json:"serviceName" yaml:"serviceName"` }
type RosCluster_HostGroupProperty ¶
type RosCluster_HostGroupProperty struct { ChargeType interface{} `field:"required" json:"chargeType" yaml:"chargeType"` DiskCapacity interface{} `field:"required" json:"diskCapacity" yaml:"diskCapacity"` DiskCount interface{} `field:"required" json:"diskCount" yaml:"diskCount"` DiskType interface{} `field:"required" json:"diskType" yaml:"diskType"` HostGroupType interface{} `field:"required" json:"hostGroupType" yaml:"hostGroupType"` InstanceType interface{} `field:"required" json:"instanceType" yaml:"instanceType"` NodeCount interface{} `field:"required" json:"nodeCount" yaml:"nodeCount"` SysDiskCapacity interface{} `field:"required" json:"sysDiskCapacity" yaml:"sysDiskCapacity"` SysDiskType interface{} `field:"required" json:"sysDiskType" yaml:"sysDiskType"` AutoRenew interface{} `field:"optional" json:"autoRenew" yaml:"autoRenew"` ClusterId interface{} `field:"optional" json:"clusterId" yaml:"clusterId"` Comment interface{} `field:"optional" json:"comment" yaml:"comment"` CreateType interface{} `field:"optional" json:"createType" yaml:"createType"` GpuDriver interface{} `field:"optional" json:"gpuDriver" yaml:"gpuDriver"` HostGroupId interface{} `field:"optional" json:"hostGroupId" yaml:"hostGroupId"` HostGroupName interface{} `field:"optional" json:"hostGroupName" yaml:"hostGroupName"` HostKeyPairName interface{} `field:"optional" json:"hostKeyPairName" yaml:"hostKeyPairName"` HostPassword interface{} `field:"optional" json:"hostPassword" yaml:"hostPassword"` Period interface{} `field:"optional" json:"period" yaml:"period"` VSwitchId interface{} `field:"optional" json:"vSwitchId" yaml:"vSwitchId"` }
type RosCluster_TagsProperty ¶
type RosCluster_TagsProperty struct { Key interface{} `field:"required" json:"key" yaml:"key"` Value interface{} `field:"optional" json:"value" yaml:"value"` }
type RosCluster_UserInfoProperty ¶
type RosCluster_UserInfoProperty struct { Password interface{} `field:"optional" json:"password" yaml:"password"` UserId interface{} `field:"optional" json:"userId" yaml:"userId"` UserName interface{} `field:"optional" json:"userName" yaml:"userName"` }
type RosFlowProject ¶
type RosFlowProject interface { alicloudroscdkcore.RosResource AttrCreateTime() alicloudroscdkcore.IResolvable AttrDescription() alicloudroscdkcore.IResolvable AttrFlowProjectId() alicloudroscdkcore.IResolvable AttrFlowProjectName() alicloudroscdkcore.IResolvable AttrGmtModified() alicloudroscdkcore.IResolvable AttrUserId() alicloudroscdkcore.IResolvable // Returns: the stack trace of the point where this Resource was created from, sourced // from the +metadata+ entry typed +aliyun:ros:logicalId+, and with the bottom-most // node +internal+ entries filtered. CreationStack() *[]*string Description() interface{} SetDescription(val interface{}) EnableResourcePropertyConstraint() *bool SetEnableResourcePropertyConstraint(val *bool) FlowProjectName() interface{} SetFlowProjectName(val interface{}) // The logical ID for this stack element. // // The logical ID of the element // is calculated from the path of the resource node in the construct tree. // // To override this value, use `overrideLogicalId(newLogicalId)`. // // Returns: the logical ID as a stringified token. This value will only get // resolved during synthesis. LogicalId() *string // The construct tree node associated with this construct. Node() alicloudroscdkcore.ConstructNode // Return a string that will be resolved to a RosTemplate `{ Ref }` for this element. // // If, by any chance, the intrinsic reference of a resource is not a string, you could // coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`. Ref() *string ResourceGroupId() interface{} SetResourceGroupId(val interface{}) // Options for this resource, such as condition, update policy etc. RosOptions() alicloudroscdkcore.IRosResourceOptions RosProperties() *map[string]interface{} // ROS resource type. RosResourceType() *string // The stack in which this element is defined. // // RosElements must be defined within a stack scope (directly or indirectly). Stack() alicloudroscdkcore.Stack // Return properties modified after initiation. // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperites() *map[string]interface{} AddCondition(con alicloudroscdkcore.RosCondition) AddCount(count interface{}) // Syntactic sugar for `addOverride(path, undefined)`. AddDeletionOverride(path *string) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // // This can be used for resources across stacks (or nested stack) boundaries // and the dependency will automatically be transferred to the relevant scope. AddDependsOn(target alicloudroscdkcore.RosResource) AddDesc(desc *string) AddMetaData(key *string, value interface{}) // Adds an override to the synthesized ROS resource. // // To add a // property override, either use `addPropertyOverride` or prefix `path` with // "Properties." (i.e. `Properties.TopicName`). // // If the override is nested, separate each nested level using a dot (.) in the path parameter. // If there is an array as part of the nesting, specify the index in the path. // // For example, // “`typescript // addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']) // addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE') // “` // would add the overrides // “`json // "Properties": { // "GlobalSecondaryIndexes": [ // { // "Projection": { // "NonKeyAttributes": [ "myattribute" ] // ... // } // ... // }, // { // "ProjectionType": "INCLUDE" // ... // }, // ] // ... // } // “`. AddOverride(path *string, value interface{}) // Adds an override that deletes the value of a property from the resource definition. AddPropertyDeletionOverride(propertyPath *string) // Adds an override to a resource property. // // Syntactic sugar for `addOverride("Properties.<...>", value)`. AddPropertyOverride(propertyPath *string, value interface{}) AddRosDependency(target *string) // Sets the deletion policy of the resource based on the removal policy specified. ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy, options *alicloudroscdkcore.RemovalPolicyOptions) // Returns a token for an runtime attribute of this resource. // // Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility // in case there is no generated attribute. GetAtt(attributeName *string) alicloudroscdkcore.Reference // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. OnPrepare() // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. OnSynthesize(session constructs.ISynthesisSession) // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. OnValidate() *[]*string // Overrides the auto-generated logical ID with a specific ID. OverrideLogicalId(newLogicalId *string) // Perform final modifications before synthesis. // // This method can be implemented by derived constructs in order to perform // final changes before synthesis. prepare() will be called after child // constructs have been prepared. // // This is an advanced framework feature. Only use this if you // understand the implications. Prepare() RenderProperties(props *map[string]interface{}) *map[string]interface{} // Allows this construct to emit artifacts into the cloud assembly during synthesis. // // This method is usually implemented by framework-level constructs such as `Stack` and `Asset` // as they participate in synthesizing the cloud assembly. Synthesize(session alicloudroscdkcore.ISynthesisSession) // Returns a string representation of this construct. // // Returns: a string representation of this resource. ToString() *string // Validate the current construct. // // This method can be implemented by derived constructs in order to perform // validation logic. It is called on all constructs before synthesis. // // Returns: An array of validation error messages, or an empty array if the construct is valid. Validate() *[]*string ValidateProperties(_properties interface{}) }
This class is a base encapsulation around the ROS resource type `ALIYUN::EMR::FlowProject`, which is used to create a data development project.
func NewRosFlowProject ¶
func NewRosFlowProject(scope alicloudroscdkcore.Construct, id *string, props *RosFlowProjectProps, enableResourcePropertyConstraint *bool) RosFlowProject
type RosFlowProjectProps ¶
type RosFlowProjectProps struct { Description interface{} `field:"required" json:"description" yaml:"description"` FlowProjectName interface{} `field:"required" json:"flowProjectName" yaml:"flowProjectName"` ResourceGroupId interface{} `field:"optional" json:"resourceGroupId" yaml:"resourceGroupId"` }
Properties for defining a `RosFlowProject`.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-emr-flowproject
Source Files ¶
- Cluster.go
- Cluster2.go
- Cluster2Props.go
- Cluster2__checks.go
- ClusterProps.go
- ClusterServiceConfigs.go
- ClusterServiceConfigsProps.go
- ClusterServiceConfigs__checks.go
- Cluster__checks.go
- FlowProject.go
- FlowProjectProps.go
- FlowProject__checks.go
- RosCluster.go
- RosCluster2.go
- RosCluster2Props.go
- RosCluster2_ApplicationConfigsProperty.go
- RosCluster2_ApplicationsProperty.go
- RosCluster2_BootstrapScriptsProperty.go
- RosCluster2_CostOptimizedConfigProperty.go
- RosCluster2_DataDisksProperty.go
- RosCluster2_NodeAttributesProperty.go
- RosCluster2_NodeGroupsProperty.go
- RosCluster2_NodeSelectorProperty.go
- RosCluster2_SpotBidPricesProperty.go
- RosCluster2_SubscriptionConfigProperty.go
- RosCluster2_SystemDiskProperty.go
- RosCluster2_TagsProperty.go
- RosCluster2__checks.go
- RosClusterProps.go
- RosClusterServiceConfigs.go
- RosClusterServiceConfigsProps.go
- RosClusterServiceConfigs_ServiceConfigsProperty.go
- RosClusterServiceConfigs__checks.go
- RosCluster_BootstrapActionProperty.go
- RosCluster_ConfigProperty.go
- RosCluster_HostGroupProperty.go
- RosCluster_TagsProperty.go
- RosCluster_UserInfoProperty.go
- RosCluster__checks.go
- RosFlowProject.go
- RosFlowProjectProps.go
- RosFlowProject__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. |