CfnCloudVmClusterPropsMixin
- class aws_cdk.mixins_preview.aws_odb.mixins.CfnCloudVmClusterPropsMixin(props, *, strategy=None)
Bases:
MixinThe
AWS::ODB::CloudVmClusterresource creates a VM cluster on the specified Exadata infrastructure in the Oracle Database.A VM cluster provides the compute resources for Oracle Database workloads.
- See:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-odb-cloudvmcluster.html
- CloudformationResource:
AWS::ODB::CloudVmCluster
- Mixin:
true
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview import mixins from aws_cdk.mixins_preview.aws_odb import mixins as odb_mixins cfn_cloud_vm_cluster_props_mixin = odb_mixins.CfnCloudVmClusterPropsMixin(odb_mixins.CfnCloudVmClusterMixinProps( cloud_exadata_infrastructure_id="cloudExadataInfrastructureId", cluster_name="clusterName", cpu_core_count=123, data_collection_options=odb_mixins.CfnCloudVmClusterPropsMixin.DataCollectionOptionsProperty( is_diagnostics_events_enabled=False, is_health_monitoring_enabled=False, is_incident_logs_enabled=False ), data_storage_size_in_tBs=123, db_nodes=[odb_mixins.CfnCloudVmClusterPropsMixin.DbNodeProperty( backup_ip_id="backupIpId", backup_vnic2_id="backupVnic2Id", cpu_core_count=123, db_node_arn="dbNodeArn", db_node_id="dbNodeId", db_node_storage_size_in_gBs=123, db_server_id="dbServerId", db_system_id="dbSystemId", host_ip_id="hostIpId", hostname="hostname", memory_size_in_gBs=123, ocid="ocid", status="status", tags=[CfnTag( key="key", value="value" )], vnic2_id="vnic2Id", vnic_id="vnicId" )], db_node_storage_size_in_gBs=123, db_servers=["dbServers"], display_name="displayName", gi_version="giVersion", hostname="hostname", is_local_backup_enabled=False, is_sparse_diskgroup_enabled=False, license_model="licenseModel", memory_size_in_gBs=123, odb_network_id="odbNetworkId", scan_listener_port_tcp=123, ssh_public_keys=["sshPublicKeys"], system_version="systemVersion", tags=[CfnTag( key="key", value="value" )], time_zone="timeZone" ), strategy=mixins.PropertyMergeStrategy.OVERRIDE )
Create a mixin to apply properties to
AWS::ODB::CloudVmCluster.- Parameters:
props (
Union[CfnCloudVmClusterMixinProps,Dict[str,Any]]) – L1 properties to apply.strategy (
Optional[PropertyMergeStrategy]) – (experimental) Strategy for merging nested properties. Default: - PropertyMergeStrategy.MERGE
Methods
- apply_to(construct)
Apply the mixin properties to the construct.
- Parameters:
construct (
IConstruct)- Return type:
- supports(construct)
Check if this mixin supports the given construct.
- Parameters:
construct (
IConstruct)- Return type:
bool
Attributes
- CFN_PROPERTY_KEYS = ['cloudExadataInfrastructureId', 'clusterName', 'cpuCoreCount', 'dataCollectionOptions', 'dataStorageSizeInTBs', 'dbNodes', 'dbNodeStorageSizeInGBs', 'dbServers', 'displayName', 'giVersion', 'hostname', 'isLocalBackupEnabled', 'isSparseDiskgroupEnabled', 'licenseModel', 'memorySizeInGBs', 'odbNetworkId', 'scanListenerPortTcp', 'sshPublicKeys', 'systemVersion', 'tags', 'timeZone']
Static Methods
- classmethod is_mixin(x)
(experimental) Checks if
xis a Mixin.- Parameters:
x (
Any) – Any object.- Return type:
bool- Returns:
true if
xis an object created from a class which extendsMixin.- Stability:
experimental
DataCollectionOptionsProperty
- class CfnCloudVmClusterPropsMixin.DataCollectionOptionsProperty(*, is_diagnostics_events_enabled=None, is_health_monitoring_enabled=None, is_incident_logs_enabled=None)
Bases:
objectInformation about the data collection options enabled for a VM cluster.
- Parameters:
is_diagnostics_events_enabled (
Union[bool,IResolvable,None]) – Specifies whether diagnostic collection is enabled for the VM cluster.is_health_monitoring_enabled (
Union[bool,IResolvable,None]) – Specifies whether health monitoring is enabled for the VM cluster.is_incident_logs_enabled (
Union[bool,IResolvable,None]) – Specifies whether incident logs are enabled for the VM cluster.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_odb import mixins as odb_mixins data_collection_options_property = odb_mixins.CfnCloudVmClusterPropsMixin.DataCollectionOptionsProperty( is_diagnostics_events_enabled=False, is_health_monitoring_enabled=False, is_incident_logs_enabled=False )
Attributes
- is_diagnostics_events_enabled
Specifies whether diagnostic collection is enabled for the VM cluster.
- is_health_monitoring_enabled
Specifies whether health monitoring is enabled for the VM cluster.
- is_incident_logs_enabled
Specifies whether incident logs are enabled for the VM cluster.
DbNodeProperty
- class CfnCloudVmClusterPropsMixin.DbNodeProperty(*, backup_ip_id=None, backup_vnic2_id=None, cpu_core_count=None, db_node_arn=None, db_node_id=None, db_node_storage_size_in_g_bs=None, db_server_id=None, db_system_id=None, host_ip_id=None, hostname=None, memory_size_in_g_bs=None, ocid=None, status=None, tags=None, vnic2_id=None, vnic_id=None)
Bases:
objectInformation about a DB node.
- Parameters:
backup_ip_id (
Optional[str]) – The Oracle Cloud ID (OCID) of the backup IP address that’s associated with the DB node.backup_vnic2_id (
Optional[str]) – The OCID of the second backup VNIC.cpu_core_count (
Union[int,float,None]) – Number of CPU cores enabled on the DB node.db_node_arn (
Optional[str]) – The Amazon Resource Name (ARN) of the DB node.db_node_id (
Optional[str]) – The unique identifier of the DB node.db_node_storage_size_in_g_bs (
Union[int,float,None]) – The amount of local node storage, in gigabytes (GBs), that’s allocated on the DB node.db_server_id (
Optional[str]) – The unique identifier of the Db server that is associated with the DB node.db_system_id (
Optional[str]) – The OCID of the DB system.host_ip_id (
Optional[str]) – The OCID of the host IP address that’s associated with the DB node.hostname (
Optional[str]) – The host name for the DB node.memory_size_in_g_bs (
Union[int,float,None]) – The allocated memory in GBs on the DB node.ocid (
Optional[str]) – The OCID of the DB node.status (
Optional[str]) – The current status of the DB node.tags (
Optional[Sequence[Union[CfnTag,Dict[str,Any]]]])vnic2_id (
Optional[str]) – The OCID of the second VNIC.vnic_id (
Optional[str]) – The OCID of the VNIC.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_odb import mixins as odb_mixins db_node_property = odb_mixins.CfnCloudVmClusterPropsMixin.DbNodeProperty( backup_ip_id="backupIpId", backup_vnic2_id="backupVnic2Id", cpu_core_count=123, db_node_arn="dbNodeArn", db_node_id="dbNodeId", db_node_storage_size_in_gBs=123, db_server_id="dbServerId", db_system_id="dbSystemId", host_ip_id="hostIpId", hostname="hostname", memory_size_in_gBs=123, ocid="ocid", status="status", tags=[CfnTag( key="key", value="value" )], vnic2_id="vnic2Id", vnic_id="vnicId" )
Attributes
- backup_ip_id
The Oracle Cloud ID (OCID) of the backup IP address that’s associated with the DB node.
- backup_vnic2_id
The OCID of the second backup VNIC.
- cpu_core_count
Number of CPU cores enabled on the DB node.
- db_node_arn
The Amazon Resource Name (ARN) of the DB node.
- db_node_id
The unique identifier of the DB node.
- db_node_storage_size_in_g_bs
The amount of local node storage, in gigabytes (GBs), that’s allocated on the DB node.
- db_server_id
The unique identifier of the Db server that is associated with the DB node.
- db_system_id
The OCID of the DB system.
- host_ip_id
The OCID of the host IP address that’s associated with the DB node.
- hostname
The host name for the DB node.
- memory_size_in_g_bs
The allocated memory in GBs on the DB node.
- ocid
The OCID of the DB node.
- status
The current status of the DB node.
- tags
-
- Type:
see
- vnic2_id
The OCID of the second VNIC.