CfnCloudVmClusterPropsMixin

class aws_cdk.mixins_preview.aws_odb.mixins.CfnCloudVmClusterPropsMixin(props, *, strategy=None)

Bases: Mixin

The AWS::ODB::CloudVmCluster resource 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:

Methods

apply_to(construct)

Apply the mixin properties to the construct.

Parameters:

construct (IConstruct)

Return type:

IConstruct

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 x is a Mixin.

Parameters:

x (Any) – Any object.

Return type:

bool

Returns:

true if x is an object created from a class which extends Mixin.

Stability:

experimental

DataCollectionOptionsProperty

class CfnCloudVmClusterPropsMixin.DataCollectionOptionsProperty(*, is_diagnostics_events_enabled=None, is_health_monitoring_enabled=None, is_incident_logs_enabled=None)

Bases: object

Information 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:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-odb-cloudvmcluster-datacollectionoptions.html

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.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-odb-cloudvmcluster-datacollectionoptions.html#cfn-odb-cloudvmcluster-datacollectionoptions-isdiagnosticseventsenabled

is_health_monitoring_enabled

Specifies whether health monitoring is enabled for the VM cluster.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-odb-cloudvmcluster-datacollectionoptions.html#cfn-odb-cloudvmcluster-datacollectionoptions-ishealthmonitoringenabled

is_incident_logs_enabled

Specifies whether incident logs are enabled for the VM cluster.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-odb-cloudvmcluster-datacollectionoptions.html#cfn-odb-cloudvmcluster-datacollectionoptions-isincidentlogsenabled

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: object

Information 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:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-odb-cloudvmcluster-dbnode.html

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.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-odb-cloudvmcluster-dbnode.html#cfn-odb-cloudvmcluster-dbnode-backupipid

backup_vnic2_id

The OCID of the second backup VNIC.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-odb-cloudvmcluster-dbnode.html#cfn-odb-cloudvmcluster-dbnode-backupvnic2id

cpu_core_count

Number of CPU cores enabled on the DB node.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-odb-cloudvmcluster-dbnode.html#cfn-odb-cloudvmcluster-dbnode-cpucorecount

db_node_arn

The Amazon Resource Name (ARN) of the DB node.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-odb-cloudvmcluster-dbnode.html#cfn-odb-cloudvmcluster-dbnode-dbnodearn

db_node_id

The unique identifier of the DB node.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-odb-cloudvmcluster-dbnode.html#cfn-odb-cloudvmcluster-dbnode-dbnodeid

db_node_storage_size_in_g_bs

The amount of local node storage, in gigabytes (GBs), that’s allocated on the DB node.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-odb-cloudvmcluster-dbnode.html#cfn-odb-cloudvmcluster-dbnode-dbnodestoragesizeingbs

db_server_id

The unique identifier of the Db server that is associated with the DB node.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-odb-cloudvmcluster-dbnode.html#cfn-odb-cloudvmcluster-dbnode-dbserverid

db_system_id

The OCID of the DB system.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-odb-cloudvmcluster-dbnode.html#cfn-odb-cloudvmcluster-dbnode-dbsystemid

host_ip_id

The OCID of the host IP address that’s associated with the DB node.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-odb-cloudvmcluster-dbnode.html#cfn-odb-cloudvmcluster-dbnode-hostipid

hostname

The host name for the DB node.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-odb-cloudvmcluster-dbnode.html#cfn-odb-cloudvmcluster-dbnode-hostname

memory_size_in_g_bs

The allocated memory in GBs on the DB node.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-odb-cloudvmcluster-dbnode.html#cfn-odb-cloudvmcluster-dbnode-memorysizeingbs

ocid

The OCID of the DB node.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-odb-cloudvmcluster-dbnode.html#cfn-odb-cloudvmcluster-dbnode-ocid

status

The current status of the DB node.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-odb-cloudvmcluster-dbnode.html#cfn-odb-cloudvmcluster-dbnode-status

tags

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-odb-cloudvmcluster-dbnode.html#cfn-odb-cloudvmcluster-dbnode-tags

Type:

see

vnic2_id

The OCID of the second VNIC.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-odb-cloudvmcluster-dbnode.html#cfn-odb-cloudvmcluster-dbnode-vnic2id

vnic_id

The OCID of the VNIC.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-odb-cloudvmcluster-dbnode.html#cfn-odb-cloudvmcluster-dbnode-vnicid