Menu
Amazon Relational Database Service
Command Line Interface Reference (API Version 2014-10-31)

rds-create-option-group

The Amazon RDS Command Line Interface (RDS CLI) has been deprecated. Instead, use the AWS CLI for RDS. To learn how to download and use the AWS CLI, see AWS Command Line Interface User Guide. For RDS commands available in the AWS CLI, see AWS CLI Reference for Amazon RDS.

The AWS CLI does not currently support the DownloadCompleteDBLogFile REST API action. To download an entire log file at once, rather than in parts using the download-db-log-file-portion command, use the last published RDS CLI and the rds-download-db-logfile command.

Description

Creates an option group.

Syntax

rds-create-option-group option-group-name

--engine-name value

--major-engine-version value

--description "value"

[-tk (--tag-key) value ]

[-tv (--tag-value) value ]

[General Options]

Options

Name Description Required

--option-group-name

value

Name of the option group to be created.

This parameter is the default parameter and can be passed as the first value in the command and without a parameter name, for example: rds-create-option-group my-option-group-name.

Yes

--engine-name

-e

The name of the DB engine that the option applies to, for example, oracle-ee.

Yes

--major-engine-version

-v

The major version of the DB engine.

Valid values: For a list of valid values, see the --engine-version parameter in the rds-create-db-instance

Yes

--description

-d

A brief description of the option group for display purposes.

Yes

--tag-key

-tk

The name of a tag to add for the new option group.

No

--tag-value

-tv

The value of the tag to add for the new option group.

No

Output

The command returns the following information:

Note

Output values list the possible values returned by CLI commands. Not all values are returned for every call to a command. If a value is null or empty, it will not be included in the command output. For example, CLI commands to create or restore a DB instance will not return the Endpoint Address value because that value is null until the DB instance has finished being created or restored.

  • Group name—The name of the option group.

  • Engine—The name of the DB engine that the option group is associated with.

  • Major engine version—The major version ID of the DB engine.

  • Description—The description of the option group.

Example

This example creates an option group named TestOptionGroup, which is associated with the Oracle Enterprise Edition DB engine.

Copy
PROMPT> rds-create-option-group TestOptionGroup --engine-name oracle-ee --major-engine-version 11.2 --description "Oracle Database Manager Database Control" OPTIONGROUP testoptiongroup oracle-ee 11.2 Oracle Database Manager Database Control