Class: AWSCDK::ODB::CfnCloudVmClusterProps

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
odb/cfn_cloud_vm_cluster_props.rb

Overview

Properties for defining a CfnCloudVmCluster.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(cloud_exadata_infrastructure_id: nil, cluster_name: nil, cpu_core_count: nil, data_collection_options: nil, data_storage_size_in_t_bs: nil, db_nodes: nil, db_node_storage_size_in_g_bs: nil, db_servers: nil, display_name: nil, gi_version: nil, hostname: nil, iam_roles: nil, is_local_backup_enabled: nil, is_sparse_diskgroup_enabled: nil, license_model: nil, memory_size_in_g_bs: nil, odb_network_id: nil, scan_listener_port_tcp: nil, ssh_public_keys: nil, system_version: nil, tags: nil, time_zone: nil) ⇒ CfnCloudVmClusterProps

Returns a new instance of CfnCloudVmClusterProps.

Parameters:

  • cloud_exadata_infrastructure_id (String, nil) (defaults to: nil)

    The unique identifier of the Exadata infrastructure that this VM cluster belongs to.

  • cluster_name (String, nil) (defaults to: nil)

    The name of the Grid Infrastructure (GI) cluster.

  • cpu_core_count (Numeric, nil) (defaults to: nil)

    The number of CPU cores enabled on the VM cluster.

  • data_collection_options (AWSCDK::IResolvable, AWSCDK::ODB::CfnCloudVmCluster::DataCollectionOptionsProperty, nil) (defaults to: nil)

    The set of diagnostic collection options enabled for the VM cluster.

  • data_storage_size_in_t_bs (Numeric, nil) (defaults to: nil)

    The size of the data disk group, in terabytes (TB), that's allocated for the VM cluster.

  • db_nodes (AWSCDK::IResolvable, Array<AWSCDK::IResolvable, AWSCDK::ODB::CfnCloudVmCluster::DBNodeProperty>, nil) (defaults to: nil)

    The DB nodes that are implicitly created and managed as part of this VM Cluster.

  • db_node_storage_size_in_g_bs (Numeric, nil) (defaults to: nil)

    The amount of local node storage, in gigabytes (GB), that's allocated for the VM cluster.

  • db_servers (Array<String>, nil) (defaults to: nil)

    The list of database servers for the VM cluster.

  • display_name (String, nil) (defaults to: nil)

    The user-friendly name for the VM cluster.

  • gi_version (String, nil) (defaults to: nil)

    The software version of the Oracle Grid Infrastructure (GI) for the VM cluster.

  • hostname (String, nil) (defaults to: nil)

    The host name for the VM cluster.

  • iam_roles (AWSCDK::IResolvable, Array<AWSCDK::IResolvable, AWSCDK::ODB::CfnCloudVmCluster::IAMRoleProperty>, nil) (defaults to: nil)

    The AWS Identity and Access Management (IAM) service roles associated with the VM cluster.

  • is_local_backup_enabled (Boolean, AWSCDK::IResolvable, nil) (defaults to: nil)

    Specifies whether database backups to local Exadata storage are enabled for the VM cluster.

  • is_sparse_diskgroup_enabled (Boolean, AWSCDK::IResolvable, nil) (defaults to: nil)

    Specifies whether the VM cluster is configured with a sparse disk group.

  • license_model (String, nil) (defaults to: nil)

    The Oracle license model applied to the VM cluster.

  • memory_size_in_g_bs (Numeric, nil) (defaults to: nil)

    The amount of memory, in gigabytes (GB), that's allocated for the VM cluster.

  • odb_network_id (String, nil) (defaults to: nil)

    The unique identifier of the ODB network for the VM cluster.

  • scan_listener_port_tcp (Numeric, nil) (defaults to: nil)

    The port number for TCP connections to the single client access name (SCAN) listener.

  • ssh_public_keys (Array<String>, nil) (defaults to: nil)

    The public key portion of one or more key pairs used for SSH access to the VM cluster.

  • system_version (String, nil) (defaults to: nil)

    The operating system version of the image chosen for the VM cluster.

  • tags (Array<AWSCDK::CfnTag>, nil) (defaults to: nil)

    Tags to assign to the Vm Cluster.

  • time_zone (String, nil) (defaults to: nil)

    The time zone of the VM cluster.



31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
# File 'odb/cfn_cloud_vm_cluster_props.rb', line 31

def initialize(cloud_exadata_infrastructure_id: nil, cluster_name: nil, cpu_core_count: nil, data_collection_options: nil, data_storage_size_in_t_bs: nil, db_nodes: nil, db_node_storage_size_in_g_bs: nil, db_servers: nil, display_name: nil, gi_version: nil, hostname: nil, iam_roles: nil, is_local_backup_enabled: nil, is_sparse_diskgroup_enabled: nil, license_model: nil, memory_size_in_g_bs: nil, odb_network_id: nil, scan_listener_port_tcp: nil, ssh_public_keys: nil, system_version: nil, tags: nil, time_zone: nil)
  @cloud_exadata_infrastructure_id = cloud_exadata_infrastructure_id
  Jsii::Type.check_type(@cloud_exadata_infrastructure_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "cloudExadataInfrastructureId") unless @cloud_exadata_infrastructure_id.nil?
  @cluster_name = cluster_name
  Jsii::Type.check_type(@cluster_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "clusterName") unless @cluster_name.nil?
  @cpu_core_count = cpu_core_count
  Jsii::Type.check_type(@cpu_core_count, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "cpuCoreCount") unless @cpu_core_count.nil?
  @data_collection_options = data_collection_options.is_a?(Hash) ? ::AWSCDK::ODB::CfnCloudVmCluster::DataCollectionOptionsProperty.new(**data_collection_options.transform_keys(&:to_sym)) : data_collection_options
  Jsii::Type.check_type(@data_collection_options, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19vZGIuQ2ZuQ2xvdWRWbUNsdXN0ZXIuRGF0YUNvbGxlY3Rpb25PcHRpb25zUHJvcGVydHkifV19fQ==")), "dataCollectionOptions") unless @data_collection_options.nil?
  @data_storage_size_in_t_bs = data_storage_size_in_t_bs
  Jsii::Type.check_type(@data_storage_size_in_t_bs, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "dataStorageSizeInTBs") unless @data_storage_size_in_t_bs.nil?
  @db_nodes = db_nodes
  Jsii::Type.check_type(@db_nodes, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfb2RiLkNmbkNsb3VkVm1DbHVzdGVyLkRiTm9kZVByb3BlcnR5In1dfX0sImtpbmQiOiJhcnJheSJ9fV19fQ==")), "dbNodes") unless @db_nodes.nil?
  @db_node_storage_size_in_g_bs = db_node_storage_size_in_g_bs
  Jsii::Type.check_type(@db_node_storage_size_in_g_bs, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "dbNodeStorageSizeInGBs") unless @db_node_storage_size_in_g_bs.nil?
  @db_servers = db_servers
  Jsii::Type.check_type(@db_servers, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "dbServers") unless @db_servers.nil?
  @display_name = display_name
  Jsii::Type.check_type(@display_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "displayName") unless @display_name.nil?
  @gi_version = gi_version
  Jsii::Type.check_type(@gi_version, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "giVersion") unless @gi_version.nil?
  @hostname = hostname
  Jsii::Type.check_type(@hostname, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "hostname") unless @hostname.nil?
  @iam_roles = iam_roles
  Jsii::Type.check_type(@iam_roles, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfb2RiLkNmbkNsb3VkVm1DbHVzdGVyLklhbVJvbGVQcm9wZXJ0eSJ9XX19LCJraW5kIjoiYXJyYXkifX1dfX0=")), "iamRoles") unless @iam_roles.nil?
  @is_local_backup_enabled = is_local_backup_enabled
  Jsii::Type.check_type(@is_local_backup_enabled, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "isLocalBackupEnabled") unless @is_local_backup_enabled.nil?
  @is_sparse_diskgroup_enabled = is_sparse_diskgroup_enabled
  Jsii::Type.check_type(@is_sparse_diskgroup_enabled, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "isSparseDiskgroupEnabled") unless @is_sparse_diskgroup_enabled.nil?
  @license_model = license_model
  Jsii::Type.check_type(@license_model, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "licenseModel") unless @license_model.nil?
  @memory_size_in_g_bs = memory_size_in_g_bs
  Jsii::Type.check_type(@memory_size_in_g_bs, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "memorySizeInGBs") unless @memory_size_in_g_bs.nil?
  @odb_network_id = odb_network_id
  Jsii::Type.check_type(@odb_network_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "odbNetworkId") unless @odb_network_id.nil?
  @scan_listener_port_tcp = scan_listener_port_tcp
  Jsii::Type.check_type(@scan_listener_port_tcp, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "scanListenerPortTcp") unless @scan_listener_port_tcp.nil?
  @ssh_public_keys = ssh_public_keys
  Jsii::Type.check_type(@ssh_public_keys, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "sshPublicKeys") unless @ssh_public_keys.nil?
  @system_version = system_version
  Jsii::Type.check_type(@system_version, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "systemVersion") unless @system_version.nil?
  @tags = tags.is_a?(Array) ? tags.map { |jsii_v0| jsii_v0.is_a?(Hash) ? ::AWSCDK::CfnTag.new(**jsii_v0.transform_keys(&:to_sym)) : jsii_v0 } : tags
  Jsii::Type.check_type(@tags, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7ImZxbiI6ImF3cy1jZGstbGliLkNmblRhZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "tags") unless @tags.nil?
  @time_zone = time_zone
  Jsii::Type.check_type(@time_zone, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "timeZone") unless @time_zone.nil?
end

Instance Attribute Details

#cloud_exadata_infrastructure_idString? (readonly)

The unique identifier of the Exadata infrastructure that this VM cluster belongs to.

Required when creating a VM cluster.



84
85
86
# File 'odb/cfn_cloud_vm_cluster_props.rb', line 84

def cloud_exadata_infrastructure_id
  @cloud_exadata_infrastructure_id
end

#cluster_nameString? (readonly)

The name of the Grid Infrastructure (GI) cluster.



89
90
91
# File 'odb/cfn_cloud_vm_cluster_props.rb', line 89

def cluster_name
  @cluster_name
end

#cpu_core_countNumeric? (readonly)

The number of CPU cores enabled on the VM cluster.

Required when creating a VM cluster.



96
97
98
# File 'odb/cfn_cloud_vm_cluster_props.rb', line 96

def cpu_core_count
  @cpu_core_count
end

#data_collection_optionsAWSCDK::IResolvable, ... (readonly)

The set of diagnostic collection options enabled for the VM cluster.



101
102
103
# File 'odb/cfn_cloud_vm_cluster_props.rb', line 101

def data_collection_options
  @data_collection_options
end

#data_storage_size_in_t_bsNumeric? (readonly)

The size of the data disk group, in terabytes (TB), that's allocated for the VM cluster.



106
107
108
# File 'odb/cfn_cloud_vm_cluster_props.rb', line 106

def data_storage_size_in_t_bs
  @data_storage_size_in_t_bs
end

#db_node_storage_size_in_g_bsNumeric? (readonly)

The amount of local node storage, in gigabytes (GB), that's allocated for the VM cluster.



116
117
118
# File 'odb/cfn_cloud_vm_cluster_props.rb', line 116

def db_node_storage_size_in_g_bs
  @db_node_storage_size_in_g_bs
end

#db_nodesAWSCDK::IResolvable, ... (readonly)

The DB nodes that are implicitly created and managed as part of this VM Cluster.



111
112
113
# File 'odb/cfn_cloud_vm_cluster_props.rb', line 111

def db_nodes
  @db_nodes
end

#db_serversArray<String>? (readonly)

The list of database servers for the VM cluster.



121
122
123
# File 'odb/cfn_cloud_vm_cluster_props.rb', line 121

def db_servers
  @db_servers
end

#display_nameString? (readonly)

The user-friendly name for the VM cluster.

Required when creating a VM cluster.



128
129
130
# File 'odb/cfn_cloud_vm_cluster_props.rb', line 128

def display_name
  @display_name
end

#gi_versionString? (readonly)

The software version of the Oracle Grid Infrastructure (GI) for the VM cluster.

Required when creating a VM cluster.



135
136
137
# File 'odb/cfn_cloud_vm_cluster_props.rb', line 135

def gi_version
  @gi_version
end

#hostnameString? (readonly)

The host name for the VM cluster.

Required when creating a VM cluster.



142
143
144
# File 'odb/cfn_cloud_vm_cluster_props.rb', line 142

def hostname
  @hostname
end

#iam_rolesAWSCDK::IResolvable, ... (readonly)

The AWS Identity and Access Management (IAM) service roles associated with the VM cluster.



147
148
149
# File 'odb/cfn_cloud_vm_cluster_props.rb', line 147

def iam_roles
  @iam_roles
end

#is_local_backup_enabledBoolean, ... (readonly)

Specifies whether database backups to local Exadata storage are enabled for the VM cluster.



152
153
154
# File 'odb/cfn_cloud_vm_cluster_props.rb', line 152

def is_local_backup_enabled
  @is_local_backup_enabled
end

#is_sparse_diskgroup_enabledBoolean, ... (readonly)

Specifies whether the VM cluster is configured with a sparse disk group.



157
158
159
# File 'odb/cfn_cloud_vm_cluster_props.rb', line 157

def is_sparse_diskgroup_enabled
  @is_sparse_diskgroup_enabled
end

#license_modelString? (readonly)

The Oracle license model applied to the VM cluster.



162
163
164
# File 'odb/cfn_cloud_vm_cluster_props.rb', line 162

def license_model
  @license_model
end

#memory_size_in_g_bsNumeric? (readonly)

The amount of memory, in gigabytes (GB), that's allocated for the VM cluster.



167
168
169
# File 'odb/cfn_cloud_vm_cluster_props.rb', line 167

def memory_size_in_g_bs
  @memory_size_in_g_bs
end

#odb_network_idString? (readonly)

The unique identifier of the ODB network for the VM cluster.

Required when creating a VM cluster.



174
175
176
# File 'odb/cfn_cloud_vm_cluster_props.rb', line 174

def odb_network_id
  @odb_network_id
end

#scan_listener_port_tcpNumeric? (readonly)

The port number for TCP connections to the single client access name (SCAN) listener.

Valid values: 1024–8999 with the following exceptions: 2484 , 6100 , 6200 , 7060 , 7070 , 7085 , and 7879

Default: 1521



183
184
185
# File 'odb/cfn_cloud_vm_cluster_props.rb', line 183

def scan_listener_port_tcp
  @scan_listener_port_tcp
end

#ssh_public_keysArray<String>? (readonly)

The public key portion of one or more key pairs used for SSH access to the VM cluster.

Required when creating a VM cluster.



190
191
192
# File 'odb/cfn_cloud_vm_cluster_props.rb', line 190

def ssh_public_keys
  @ssh_public_keys
end

#system_versionString? (readonly)

The operating system version of the image chosen for the VM cluster.



195
196
197
# File 'odb/cfn_cloud_vm_cluster_props.rb', line 195

def system_version
  @system_version
end

#tagsArray<AWSCDK::CfnTag>? (readonly)

Tags to assign to the Vm Cluster.



200
201
202
# File 'odb/cfn_cloud_vm_cluster_props.rb', line 200

def tags
  @tags
end

#time_zoneString? (readonly)

The time zone of the VM cluster.



205
206
207
# File 'odb/cfn_cloud_vm_cluster_props.rb', line 205

def time_zone
  @time_zone
end

Class Method Details

.jsii_propertiesObject



207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
# File 'odb/cfn_cloud_vm_cluster_props.rb', line 207

def self.jsii_properties
  {
    :cloud_exadata_infrastructure_id => "cloudExadataInfrastructureId",
    :cluster_name => "clusterName",
    :cpu_core_count => "cpuCoreCount",
    :data_collection_options => "dataCollectionOptions",
    :data_storage_size_in_t_bs => "dataStorageSizeInTBs",
    :db_nodes => "dbNodes",
    :db_node_storage_size_in_g_bs => "dbNodeStorageSizeInGBs",
    :db_servers => "dbServers",
    :display_name => "displayName",
    :gi_version => "giVersion",
    :hostname => "hostname",
    :iam_roles => "iamRoles",
    :is_local_backup_enabled => "isLocalBackupEnabled",
    :is_sparse_diskgroup_enabled => "isSparseDiskgroupEnabled",
    :license_model => "licenseModel",
    :memory_size_in_g_bs => "memorySizeInGBs",
    :odb_network_id => "odbNetworkId",
    :scan_listener_port_tcp => "scanListenerPortTcp",
    :ssh_public_keys => "sshPublicKeys",
    :system_version => "systemVersion",
    :tags => "tags",
    :time_zone => "timeZone",
  }
end

Instance Method Details

#to_jsiiObject



234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
# File 'odb/cfn_cloud_vm_cluster_props.rb', line 234

def to_jsii
  result = {}
  result.merge!({
    "cloudExadataInfrastructureId" => @cloud_exadata_infrastructure_id,
    "clusterName" => @cluster_name,
    "cpuCoreCount" => @cpu_core_count,
    "dataCollectionOptions" => @data_collection_options,
    "dataStorageSizeInTBs" => @data_storage_size_in_t_bs,
    "dbNodes" => @db_nodes,
    "dbNodeStorageSizeInGBs" => @db_node_storage_size_in_g_bs,
    "dbServers" => @db_servers,
    "displayName" => @display_name,
    "giVersion" => @gi_version,
    "hostname" => @hostname,
    "iamRoles" => @iam_roles,
    "isLocalBackupEnabled" => @is_local_backup_enabled,
    "isSparseDiskgroupEnabled" => @is_sparse_diskgroup_enabled,
    "licenseModel" => @license_model,
    "memorySizeInGBs" => @memory_size_in_g_bs,
    "odbNetworkId" => @odb_network_id,
    "scanListenerPortTcp" => @scan_listener_port_tcp,
    "sshPublicKeys" => @ssh_public_keys,
    "systemVersion" => @system_version,
    "tags" => @tags,
    "timeZone" => @time_zone,
  })
  result.compact
end