Class: AWSCDK::ODB::CfnCloudAutonomousVmClusterProps

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

Overview

Properties for defining a CfnCloudAutonomousVmCluster.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(autonomous_data_storage_size_in_t_bs: nil, cloud_exadata_infrastructure_id: nil, cpu_core_count_per_node: nil, db_servers: nil, description: nil, display_name: nil, iam_roles: nil, is_mtls_enabled_vm_cluster: nil, license_model: nil, maintenance_window: nil, memory_per_oracle_compute_unit_in_g_bs: nil, odb_network_id: nil, scan_listener_port_non_tls: nil, scan_listener_port_tls: nil, tags: nil, time_zone: nil, total_container_databases: nil) ⇒ CfnCloudAutonomousVmClusterProps

Returns a new instance of CfnCloudAutonomousVmClusterProps.

Parameters:

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

    The data storage size allocated for Autonomous Databases in the Autonomous VM cluster, in TB.

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

    The unique identifier of the Cloud Exadata Infrastructure containing this Autonomous VM cluster.

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

    The number of CPU cores enabled per node in the Autonomous VM cluster.

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

    The list of database servers associated with the Autonomous VM cluster.

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

    The user-provided description of the Autonomous VM cluster.

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

    The display name of the Autonomous VM cluster.

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

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

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

    Specifies whether mutual TLS (mTLS) authentication is enabled for the Autonomous VM cluster.

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

    The Oracle license model that applies to the Autonomous VM cluster.

  • maintenance_window (AWSCDK::IResolvable, AWSCDK::ODB::CfnCloudAutonomousVmCluster::MaintenanceWindowProperty, nil) (defaults to: nil)

    The scheduling details for the maintenance window.

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

    The amount of memory allocated per Oracle Compute Unit, in GB.

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

    The unique identifier of the ODB network associated with this Autonomous VM cluster.

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

    The SCAN listener port for non-TLS (TCP) protocol.

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

    The SCAN listener port for TLS (TCP) protocol.

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

    Tags to assign to the Autonomous Vm Cluster.

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

    The time zone of the Autonomous VM cluster.

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

    The total number of Autonomous Container Databases that can be created with the allocated local storage.



26
27
28
29
30
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
# File 'odb/cfn_cloud_autonomous_vm_cluster_props.rb', line 26

def initialize(autonomous_data_storage_size_in_t_bs: nil, cloud_exadata_infrastructure_id: nil, cpu_core_count_per_node: nil, db_servers: nil, description: nil, display_name: nil, iam_roles: nil, is_mtls_enabled_vm_cluster: nil, license_model: nil, maintenance_window: nil, memory_per_oracle_compute_unit_in_g_bs: nil, odb_network_id: nil, scan_listener_port_non_tls: nil, scan_listener_port_tls: nil, tags: nil, time_zone: nil, total_container_databases: nil)
  @autonomous_data_storage_size_in_t_bs = autonomous_data_storage_size_in_t_bs
  Jsii::Type.check_type(@autonomous_data_storage_size_in_t_bs, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "autonomousDataStorageSizeInTBs") unless @autonomous_data_storage_size_in_t_bs.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?
  @cpu_core_count_per_node = cpu_core_count_per_node
  Jsii::Type.check_type(@cpu_core_count_per_node, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "cpuCoreCountPerNode") unless @cpu_core_count_per_node.nil?
  @db_servers = db_servers
  Jsii::Type.check_type(@db_servers, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "dbServers") unless @db_servers.nil?
  @description = description
  Jsii::Type.check_type(@description, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "description") unless @description.nil?
  @display_name = display_name
  Jsii::Type.check_type(@display_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "displayName") unless @display_name.nil?
  @iam_roles = iam_roles
  Jsii::Type.check_type(@iam_roles, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfb2RiLkNmbkNsb3VkQXV0b25vbW91c1ZtQ2x1c3Rlci5JYW1Sb2xlUHJvcGVydHkifV19fSwia2luZCI6ImFycmF5In19XX19")), "iamRoles") unless @iam_roles.nil?
  @is_mtls_enabled_vm_cluster = is_mtls_enabled_vm_cluster
  Jsii::Type.check_type(@is_mtls_enabled_vm_cluster, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "isMtlsEnabledVmCluster") unless @is_mtls_enabled_vm_cluster.nil?
  @license_model = license_model
  Jsii::Type.check_type(@license_model, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "licenseModel") unless @license_model.nil?
  @maintenance_window = maintenance_window.is_a?(Hash) ? ::AWSCDK::ODB::CfnCloudAutonomousVmCluster::MaintenanceWindowProperty.new(**maintenance_window.transform_keys(&:to_sym)) : maintenance_window
  Jsii::Type.check_type(@maintenance_window, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19vZGIuQ2ZuQ2xvdWRBdXRvbm9tb3VzVm1DbHVzdGVyLk1haW50ZW5hbmNlV2luZG93UHJvcGVydHkifV19fQ==")), "maintenanceWindow") unless @maintenance_window.nil?
  @memory_per_oracle_compute_unit_in_g_bs = memory_per_oracle_compute_unit_in_g_bs
  Jsii::Type.check_type(@memory_per_oracle_compute_unit_in_g_bs, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "memoryPerOracleComputeUnitInGBs") unless @memory_per_oracle_compute_unit_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_non_tls = scan_listener_port_non_tls
  Jsii::Type.check_type(@scan_listener_port_non_tls, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "scanListenerPortNonTls") unless @scan_listener_port_non_tls.nil?
  @scan_listener_port_tls = scan_listener_port_tls
  Jsii::Type.check_type(@scan_listener_port_tls, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "scanListenerPortTls") unless @scan_listener_port_tls.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?
  @total_container_databases = total_container_databases
  Jsii::Type.check_type(@total_container_databases, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "totalContainerDatabases") unless @total_container_databases.nil?
end

Instance Attribute Details

#autonomous_data_storage_size_in_t_bsNumeric? (readonly)

The data storage size allocated for Autonomous Databases in the Autonomous VM cluster, in TB.

Required when creating an Autonomous VM cluster.



69
70
71
# File 'odb/cfn_cloud_autonomous_vm_cluster_props.rb', line 69

def autonomous_data_storage_size_in_t_bs
  @autonomous_data_storage_size_in_t_bs
end

#cloud_exadata_infrastructure_idString? (readonly)

The unique identifier of the Cloud Exadata Infrastructure containing this Autonomous VM cluster.

Required when creating an Autonomous VM cluster.



76
77
78
# File 'odb/cfn_cloud_autonomous_vm_cluster_props.rb', line 76

def cloud_exadata_infrastructure_id
  @cloud_exadata_infrastructure_id
end

#cpu_core_count_per_nodeNumeric? (readonly)

The number of CPU cores enabled per node in the Autonomous VM cluster.

Required when creating an Autonomous VM cluster.



83
84
85
# File 'odb/cfn_cloud_autonomous_vm_cluster_props.rb', line 83

def cpu_core_count_per_node
  @cpu_core_count_per_node
end

#db_serversArray<String>? (readonly)

The list of database servers associated with the Autonomous VM cluster.



88
89
90
# File 'odb/cfn_cloud_autonomous_vm_cluster_props.rb', line 88

def db_servers
  @db_servers
end

#descriptionString? (readonly)

The user-provided description of the Autonomous VM cluster.



93
94
95
# File 'odb/cfn_cloud_autonomous_vm_cluster_props.rb', line 93

def description
  @description
end

#display_nameString? (readonly)

The display name of the Autonomous VM cluster.

Required when creating an Autonomous VM cluster.



100
101
102
# File 'odb/cfn_cloud_autonomous_vm_cluster_props.rb', line 100

def display_name
  @display_name
end

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

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



105
106
107
# File 'odb/cfn_cloud_autonomous_vm_cluster_props.rb', line 105

def iam_roles
  @iam_roles
end

#is_mtls_enabled_vm_clusterBoolean, ... (readonly)

Specifies whether mutual TLS (mTLS) authentication is enabled for the Autonomous VM cluster.



110
111
112
# File 'odb/cfn_cloud_autonomous_vm_cluster_props.rb', line 110

def is_mtls_enabled_vm_cluster
  @is_mtls_enabled_vm_cluster
end

#license_modelString? (readonly)

The Oracle license model that applies to the Autonomous VM cluster.

Valid values are LICENSE_INCLUDED or BRING_YOUR_OWN_LICENSE .



117
118
119
# File 'odb/cfn_cloud_autonomous_vm_cluster_props.rb', line 117

def license_model
  @license_model
end

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

The scheduling details for the maintenance window.

Patching and system updates take place during the maintenance window.



124
125
126
# File 'odb/cfn_cloud_autonomous_vm_cluster_props.rb', line 124

def maintenance_window
  @maintenance_window
end

#memory_per_oracle_compute_unit_in_g_bsNumeric? (readonly)

The amount of memory allocated per Oracle Compute Unit, in GB.

Required when creating an Autonomous VM cluster.



131
132
133
# File 'odb/cfn_cloud_autonomous_vm_cluster_props.rb', line 131

def memory_per_oracle_compute_unit_in_g_bs
  @memory_per_oracle_compute_unit_in_g_bs
end

#odb_network_idString? (readonly)

The unique identifier of the ODB network associated with this Autonomous VM cluster.

Required when creating an Autonomous VM cluster.



138
139
140
# File 'odb/cfn_cloud_autonomous_vm_cluster_props.rb', line 138

def odb_network_id
  @odb_network_id
end

#scan_listener_port_non_tlsNumeric? (readonly)

The SCAN listener port for non-TLS (TCP) protocol.

The default is 1521.



145
146
147
# File 'odb/cfn_cloud_autonomous_vm_cluster_props.rb', line 145

def scan_listener_port_non_tls
  @scan_listener_port_non_tls
end

#scan_listener_port_tlsNumeric? (readonly)

The SCAN listener port for TLS (TCP) protocol.

The default is 2484.



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

def scan_listener_port_tls
  @scan_listener_port_tls
end

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

Tags to assign to the Autonomous Vm Cluster.



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

def tags
  @tags
end

#time_zoneString? (readonly)

The time zone of the Autonomous VM cluster.



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

def time_zone
  @time_zone
end

#total_container_databasesNumeric? (readonly)

The total number of Autonomous Container Databases that can be created with the allocated local storage.

Required when creating an Autonomous VM cluster.



169
170
171
# File 'odb/cfn_cloud_autonomous_vm_cluster_props.rb', line 169

def total_container_databases
  @total_container_databases
end

Class Method Details

.jsii_propertiesObject



171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
# File 'odb/cfn_cloud_autonomous_vm_cluster_props.rb', line 171

def self.jsii_properties
  {
    :autonomous_data_storage_size_in_t_bs => "autonomousDataStorageSizeInTBs",
    :cloud_exadata_infrastructure_id => "cloudExadataInfrastructureId",
    :cpu_core_count_per_node => "cpuCoreCountPerNode",
    :db_servers => "dbServers",
    :description => "description",
    :display_name => "displayName",
    :iam_roles => "iamRoles",
    :is_mtls_enabled_vm_cluster => "isMtlsEnabledVmCluster",
    :license_model => "licenseModel",
    :maintenance_window => "maintenanceWindow",
    :memory_per_oracle_compute_unit_in_g_bs => "memoryPerOracleComputeUnitInGBs",
    :odb_network_id => "odbNetworkId",
    :scan_listener_port_non_tls => "scanListenerPortNonTls",
    :scan_listener_port_tls => "scanListenerPortTls",
    :tags => "tags",
    :time_zone => "timeZone",
    :total_container_databases => "totalContainerDatabases",
  }
end

Instance Method Details

#to_jsiiObject



193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
# File 'odb/cfn_cloud_autonomous_vm_cluster_props.rb', line 193

def to_jsii
  result = {}
  result.merge!({
    "autonomousDataStorageSizeInTBs" => @autonomous_data_storage_size_in_t_bs,
    "cloudExadataInfrastructureId" => @cloud_exadata_infrastructure_id,
    "cpuCoreCountPerNode" => @cpu_core_count_per_node,
    "dbServers" => @db_servers,
    "description" => @description,
    "displayName" => @display_name,
    "iamRoles" => @iam_roles,
    "isMtlsEnabledVmCluster" => @is_mtls_enabled_vm_cluster,
    "licenseModel" => @license_model,
    "maintenanceWindow" => @maintenance_window,
    "memoryPerOracleComputeUnitInGBs" => @memory_per_oracle_compute_unit_in_g_bs,
    "odbNetworkId" => @odb_network_id,
    "scanListenerPortNonTls" => @scan_listener_port_non_tls,
    "scanListenerPortTls" => @scan_listener_port_tls,
    "tags" => @tags,
    "timeZone" => @time_zone,
    "totalContainerDatabases" => @total_container_databases,
  })
  result.compact
end