404

[ Avaa Bypassed ]




Upload:

Command:

botdev@13.58.146.48: ~ $
**To modify an Amazon DocumentDB cluster**

The following ``modify-db-cluster`` example modifies the Amazon DocumentDB cluster ``sample-cluster`` by making the retention period for automatic backups 7 days, and changing the preferred windows for both backups and maintenance. All changes are applied at the next maintenance window. ::

    aws docdb modify-db-cluster \
        --db-cluster-identifier sample-cluster \
        --no-apply-immediately \
        --backup-retention-period 7 \
        --preferred-backup-window 18:00-18:30 \
        --preferred-maintenance-window sun:20:00-sun:20:30

Output::

    {
        "DBCluster": {
            "Endpoint": "sample-cluster.cluster-corcjozrlsfc.us-west-2.docdb.amazonaws.com",
            "DBClusterMembers": [
                {
                    "DBClusterParameterGroupStatus": "in-sync",
                    "DBInstanceIdentifier": "sample-cluster",
                    "IsClusterWriter": true,
                    "PromotionTier": 1
                },
                {
                    "DBClusterParameterGroupStatus": "in-sync",
                    "DBInstanceIdentifier": "sample-cluster2",
                    "IsClusterWriter": false,
                    "PromotionTier": 2
                }
            ],
            "HostedZoneId": "ZNKXH85TT8WVW",
            "StorageEncrypted": false,
            "PreferredBackupWindow": "18:00-18:30",
            "MultiAZ": true,
            "EngineVersion": "3.6.0",
            "MasterUsername": "master-user",
            "ReaderEndpoint": "sample-cluster.cluster-ro-corcjozrlsfc.us-west-2.docdb.amazonaws.com",
            "DBSubnetGroup": "default",
            "LatestRestorableTime": "2019-03-18T22:08:13.408Z",
            "EarliestRestorableTime": "2019-03-15T20:30:47.020Z",
            "PreferredMaintenanceWindow": "sun:20:00-sun:20:30",
            "AssociatedRoles": [],
            "EnabledCloudwatchLogsExports": [
                "audit"
            ],
            "Engine": "docdb",
            "DBClusterParameterGroup": "default.docdb3.6",
            "DBClusterArn": "arn:aws:rds:us-west-2:123456789012:cluster:sample-cluster",
            "BackupRetentionPeriod": 7,
            "DBClusterIdentifier": "sample-cluster",
            "AvailabilityZones": [
                "us-west-2a",
                "us-west-2c",
                "us-west-2b"
            ],
            "Status": "available",
            "DbClusterResourceId": "cluster-UP4EF2PVDDFVHHDJQTYDAIGHLE",
            "ClusterCreateTime": "2019-03-15T20:29:58.836Z",
            "VpcSecurityGroups": [
                {
                    "VpcSecurityGroupId": "sg-77186e0d",
                    "Status": "active"
                }
            ],
            "Port": 27017
        }
    }

For more information, see `Modifying an Amazon DocumentDB Cluster <https://docs.aws.amazon.com/documentdb/latest/developerguide/db-cluster-modify.html>`__ in the *Amazon DocumentDB Developer Guide*.

Filemanager

Name Type Size Permission Actions
wait Folder 0755
add-tags-to-resource.rst File 612 B 0644
apply-pending-maintenance-action.rst File 709 B 0644
copy-db-cluster-parameter-group.rst File 1.17 KB 0644
copy-db-cluster-snapshot.rst File 768 B 0644
create-db-cluster-parameter-group.rst File 1.03 KB 0644
create-db-cluster-snapshot.rst File 1.5 KB 0644
create-db-cluster.rst File 2.09 KB 0644
create-db-instance.rst File 3.14 KB 0644
create-db-subnet-group.rst File 1.78 KB 0644
delete-db-cluster-parameter-group.rst File 579 B 0644
delete-db-cluster-snapshot.rst File 1.39 KB 0644
delete-db-cluster.rst File 2.15 KB 0644
delete-db-instance.rst File 3.25 KB 0644
delete-db-subnet-group.rst File 538 B 0644
describe-db-cluster-parameter-groups.rst File 989 B 0644
describe-db-cluster-parameters.rst File 1.87 KB 0644
describe-db-cluster-snapshot-attributes.rst File 916 B 0644
describe-db-cluster-snapshots.rst File 1.49 KB 0644
describe-db-clusters.rst File 2.93 KB 0644
describe-db-engine-versions.rst File 1008 B 0644
describe-db-instances.rst File 3.68 KB 0644
describe-db-subnet-groups.rst File 2.01 KB 0644
describe-engine-default-cluster-parameters.rst File 2.15 KB 0644
describe-event-categories.rst File 795 B 0644
describe-events.rst File 6.15 KB 0644
describe-orderable-db-instance-options.rst File 4.35 KB 0644
describe-pending-maintenance-actions.rst File 498 B 0644
failover-db-cluster.rst File 2.61 KB 0644
list-tags-for-resource.rst File 831 B 0644
modify-db-cluster-parameter-group.rst File 952 B 0644
modify-db-cluster-snapshot-attribute.rst File 1.95 KB 0644
modify-db-cluster.rst File 2.91 KB 0644
modify-db-instance.rst File 3.54 KB 0644
modify-db-subnet-group.rst File 1.8 KB 0644
reboot-db-instance.rst File 3.24 KB 0644
remove-tags-from-resource.rst File 602 B 0644
reset-db-cluster-parameter-group.rst File 1.35 KB 0644
restore-db-cluster-from-snapshot.rst File 2.24 KB 0644
restore-db-cluster-to-point-in-time.rst File 2.18 KB 0644
start-db-cluster.rst File 1.96 KB 0644
stop-db-cluster.rst File 1.96 KB 0644