Class: AWSCDK::ODB::CfnCloudExadataInfrastructureProps

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

Overview

Properties for defining a CfnCloudExadataInfrastructure.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(availability_zone: nil, availability_zone_id: nil, compute_count: nil, customer_contacts_to_send_to_oci: nil, database_server_type: nil, display_name: nil, maintenance_window: nil, shape: nil, storage_count: nil, storage_server_type: nil, tags: nil) ⇒ CfnCloudExadataInfrastructureProps

Returns a new instance of CfnCloudExadataInfrastructureProps.

Parameters:

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

    The name of the Availability Zone (AZ) where the Exadata infrastructure is located.

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

    The AZ ID of the AZ where the Exadata infrastructure is located.

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

    The number of database servers for the Exadata infrastructure.

  • customer_contacts_to_send_to_oci (AWSCDK::IResolvable, Array<AWSCDK::IResolvable, AWSCDK::ODB::CfnCloudExadataInfrastructure::CustomerContactProperty>, nil) (defaults to: nil)

    The email addresses of contacts to receive notification from Oracle about maintenance updates for the Exadata infrastructure.

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

    The database server model type of the Exadata infrastructure.

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

    The user-friendly name for the Exadata infrastructure.

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

    The scheduling details for the maintenance window.

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

    The model name of the Exadata infrastructure.

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

    The number of storage servers that are activated for the Exadata infrastructure.

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

    The storage server model type of the Exadata infrastructure.

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

    Tags to assign to the Exadata Infrastructure.



20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# File 'odb/cfn_cloud_exadata_infrastructure_props.rb', line 20

def initialize(availability_zone: nil, availability_zone_id: nil, compute_count: nil, customer_contacts_to_send_to_oci: nil, database_server_type: nil, display_name: nil, maintenance_window: nil, shape: nil, storage_count: nil, storage_server_type: nil, tags: nil)
  @availability_zone = availability_zone
  Jsii::Type.check_type(@availability_zone, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "availabilityZone") unless @availability_zone.nil?
  @availability_zone_id = availability_zone_id
  Jsii::Type.check_type(@availability_zone_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "availabilityZoneId") unless @availability_zone_id.nil?
  @compute_count = compute_count
  Jsii::Type.check_type(@compute_count, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "computeCount") unless @compute_count.nil?
  @customer_contacts_to_send_to_oci = customer_contacts_to_send_to_oci
  Jsii::Type.check_type(@customer_contacts_to_send_to_oci, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfb2RiLkNmbkNsb3VkRXhhZGF0YUluZnJhc3RydWN0dXJlLkN1c3RvbWVyQ29udGFjdFByb3BlcnR5In1dfX0sImtpbmQiOiJhcnJheSJ9fV19fQ==")), "customerContactsToSendToOci") unless @customer_contacts_to_send_to_oci.nil?
  @database_server_type = database_server_type
  Jsii::Type.check_type(@database_server_type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "databaseServerType") unless @database_server_type.nil?
  @display_name = display_name
  Jsii::Type.check_type(@display_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "displayName") unless @display_name.nil?
  @maintenance_window = maintenance_window.is_a?(Hash) ? ::AWSCDK::ODB::CfnCloudExadataInfrastructure::MaintenanceWindowProperty.new(**maintenance_window.transform_keys(&:to_sym)) : maintenance_window
  Jsii::Type.check_type(@maintenance_window, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19vZGIuQ2ZuQ2xvdWRFeGFkYXRhSW5mcmFzdHJ1Y3R1cmUuTWFpbnRlbmFuY2VXaW5kb3dQcm9wZXJ0eSJ9XX19")), "maintenanceWindow") unless @maintenance_window.nil?
  @shape = shape
  Jsii::Type.check_type(@shape, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "shape") unless @shape.nil?
  @storage_count = storage_count
  Jsii::Type.check_type(@storage_count, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "storageCount") unless @storage_count.nil?
  @storage_server_type = storage_server_type
  Jsii::Type.check_type(@storage_server_type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "storageServerType") unless @storage_server_type.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?
end

Instance Attribute Details

#availability_zoneString? (readonly)

The name of the Availability Zone (AZ) where the Exadata infrastructure is located.

Required when creating an Exadata infrastructure. Specify either AvailabilityZone or AvailabilityZoneId to define the location of the infrastructure.



51
52
53
# File 'odb/cfn_cloud_exadata_infrastructure_props.rb', line 51

def availability_zone
  @availability_zone
end

#availability_zone_idString? (readonly)

The AZ ID of the AZ where the Exadata infrastructure is located.

Required when creating an Exadata infrastructure. Specify either AvailabilityZone or AvailabilityZoneId to define the location of the infrastructure.



58
59
60
# File 'odb/cfn_cloud_exadata_infrastructure_props.rb', line 58

def availability_zone_id
  @availability_zone_id
end

#compute_countNumeric? (readonly)

The number of database servers for the Exadata infrastructure.

Required when creating an Exadata infrastructure.



65
66
67
# File 'odb/cfn_cloud_exadata_infrastructure_props.rb', line 65

def compute_count
  @compute_count
end

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

The email addresses of contacts to receive notification from Oracle about maintenance updates for the Exadata infrastructure.



70
71
72
# File 'odb/cfn_cloud_exadata_infrastructure_props.rb', line 70

def customer_contacts_to_send_to_oci
  @customer_contacts_to_send_to_oci
end

#database_server_typeString? (readonly)

The database server model type of the Exadata infrastructure.

For the list of valid model names, use the ListDbSystemShapes operation.



77
78
79
# File 'odb/cfn_cloud_exadata_infrastructure_props.rb', line 77

def database_server_type
  @database_server_type
end

#display_nameString? (readonly)

The user-friendly name for the Exadata infrastructure.

Required when creating an Exadata infrastructure.



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

def display_name
  @display_name
end

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

The scheduling details for the maintenance window.

Patching and system updates take place during the maintenance window.



91
92
93
# File 'odb/cfn_cloud_exadata_infrastructure_props.rb', line 91

def maintenance_window
  @maintenance_window
end

#shapeString? (readonly)

The model name of the Exadata infrastructure.

Required when creating an Exadata infrastructure.



98
99
100
# File 'odb/cfn_cloud_exadata_infrastructure_props.rb', line 98

def shape
  @shape
end

#storage_countNumeric? (readonly)

The number of storage servers that are activated for the Exadata infrastructure.

Required when creating an Exadata infrastructure.



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

def storage_count
  @storage_count
end

#storage_server_typeString? (readonly)

The storage server model type of the Exadata infrastructure.

For the list of valid model names, use the ListDbSystemShapes operation.



112
113
114
# File 'odb/cfn_cloud_exadata_infrastructure_props.rb', line 112

def storage_server_type
  @storage_server_type
end

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

Tags to assign to the Exadata Infrastructure.



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

def tags
  @tags
end

Class Method Details

.jsii_propertiesObject



119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
# File 'odb/cfn_cloud_exadata_infrastructure_props.rb', line 119

def self.jsii_properties
  {
    :availability_zone => "availabilityZone",
    :availability_zone_id => "availabilityZoneId",
    :compute_count => "computeCount",
    :customer_contacts_to_send_to_oci => "customerContactsToSendToOci",
    :database_server_type => "databaseServerType",
    :display_name => "displayName",
    :maintenance_window => "maintenanceWindow",
    :shape => "shape",
    :storage_count => "storageCount",
    :storage_server_type => "storageServerType",
    :tags => "tags",
  }
end

Instance Method Details

#to_jsiiObject



135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
# File 'odb/cfn_cloud_exadata_infrastructure_props.rb', line 135

def to_jsii
  result = {}
  result.merge!({
    "availabilityZone" => @availability_zone,
    "availabilityZoneId" => @availability_zone_id,
    "computeCount" => @compute_count,
    "customerContactsToSendToOci" => @customer_contacts_to_send_to_oci,
    "databaseServerType" => @database_server_type,
    "displayName" => @display_name,
    "maintenanceWindow" => @maintenance_window,
    "shape" => @shape,
    "storageCount" => @storage_count,
    "storageServerType" => @storage_server_type,
    "tags" => @tags,
  })
  result.compact
end