CfnCloudAutonomousVmClusterPropsMixin

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

Bases: Mixin

The AWS::ODB::CloudAutonomousVmCluster resource creates an Autonomous VM cluster.

An Autonomous VM cluster provides the infrastructure for running Autonomous Databases.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-odb-cloudautonomousvmcluster.html

CloudformationResource:

AWS::ODB::CloudAutonomousVmCluster

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_autonomous_vm_cluster_props_mixin = odb_mixins.CfnCloudAutonomousVmClusterPropsMixin(odb_mixins.CfnCloudAutonomousVmClusterMixinProps(
    autonomous_data_storage_size_in_tBs=123,
    cloud_exadata_infrastructure_id="cloudExadataInfrastructureId",
    cpu_core_count_per_node=123,
    db_servers=["dbServers"],
    description="description",
    display_name="displayName",
    is_mtls_enabled_vm_cluster=False,
    license_model="licenseModel",
    maintenance_window=odb_mixins.CfnCloudAutonomousVmClusterPropsMixin.MaintenanceWindowProperty(
        days_of_week=["daysOfWeek"],
        hours_of_day=[123],
        lead_time_in_weeks=123,
        months=["months"],
        preference="preference",
        weeks_of_month=[123]
    ),
    memory_per_oracle_compute_unit_in_gBs=123,
    odb_network_id="odbNetworkId",
    scan_listener_port_non_tls=123,
    scan_listener_port_tls=123,
    tags=[CfnTag(
        key="key",
        value="value"
    )],
    time_zone="timeZone",
    total_container_databases=123
),
    strategy=mixins.PropertyMergeStrategy.OVERRIDE
)

Create a mixin to apply properties to AWS::ODB::CloudAutonomousVmCluster.

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 = ['autonomousDataStorageSizeInTBs', 'cloudExadataInfrastructureId', 'cpuCoreCountPerNode', 'dbServers', 'description', 'displayName', 'isMtlsEnabledVmCluster', 'licenseModel', 'maintenanceWindow', 'memoryPerOracleComputeUnitInGBs', 'odbNetworkId', 'scanListenerPortNonTls', 'scanListenerPortTls', 'tags', 'timeZone', 'totalContainerDatabases']

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

MaintenanceWindowProperty

class CfnCloudAutonomousVmClusterPropsMixin.MaintenanceWindowProperty(*, days_of_week=None, hours_of_day=None, lead_time_in_weeks=None, months=None, preference=None, weeks_of_month=None)

Bases: object

The scheduling details for the maintenance window.

Patching and system updates take place during the maintenance window.

Parameters:
  • days_of_week (Optional[Sequence[str]]) – The days of the week when maintenance can be performed.

  • hours_of_day (Union[Sequence[Union[int, float]], IResolvable, None]) – The hours of the day when maintenance can be performed.

  • lead_time_in_weeks (Union[int, float, None]) – The lead time in weeks before the maintenance window.

  • months (Optional[Sequence[str]]) – The months when maintenance can be performed.

  • preference (Optional[str]) – The preference for the maintenance window scheduling.

  • weeks_of_month (Union[Sequence[Union[int, float]], IResolvable, None]) – The weeks of the month when maintenance can be performed.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-odb-cloudautonomousvmcluster-maintenancewindow.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

maintenance_window_property = odb_mixins.CfnCloudAutonomousVmClusterPropsMixin.MaintenanceWindowProperty(
    days_of_week=["daysOfWeek"],
    hours_of_day=[123],
    lead_time_in_weeks=123,
    months=["months"],
    preference="preference",
    weeks_of_month=[123]
)

Attributes

days_of_week

The days of the week when maintenance can be performed.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-odb-cloudautonomousvmcluster-maintenancewindow.html#cfn-odb-cloudautonomousvmcluster-maintenancewindow-daysofweek

hours_of_day

The hours of the day when maintenance can be performed.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-odb-cloudautonomousvmcluster-maintenancewindow.html#cfn-odb-cloudautonomousvmcluster-maintenancewindow-hoursofday

lead_time_in_weeks

The lead time in weeks before the maintenance window.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-odb-cloudautonomousvmcluster-maintenancewindow.html#cfn-odb-cloudautonomousvmcluster-maintenancewindow-leadtimeinweeks

months

The months when maintenance can be performed.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-odb-cloudautonomousvmcluster-maintenancewindow.html#cfn-odb-cloudautonomousvmcluster-maintenancewindow-months

preference

The preference for the maintenance window scheduling.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-odb-cloudautonomousvmcluster-maintenancewindow.html#cfn-odb-cloudautonomousvmcluster-maintenancewindow-preference

weeks_of_month

The weeks of the month when maintenance can be performed.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-odb-cloudautonomousvmcluster-maintenancewindow.html#cfn-odb-cloudautonomousvmcluster-maintenancewindow-weeksofmonth