create_option_group ( $option_group_name, $engine_name, $major_engine_version, $option_group_description, $opt )

Creates a new Option Group.

Access

public

Parameters

Parameter

Type

Required

Description

$option_group_name

string

Required

Specifies the name of the option group to be created. Constraints:

  • Must be 1 to 255 alphanumeric characters or hyphens
  • First character must be a letter
  • Cannot end with a hyphen or contain two consecutive hyphens

Example: myOptiongroup

$engine_name

string

Required

Specifies the name of the engine that this option group should be associated with.

$major_engine_version

string

Required

Specifies the major version of the engine that this option group should be associated with.

$option_group_description

string

Required

The description of the option group.

$opt

array

Optional

An associative array of parameters that can have the following keys:

  • curlopts - array - Optional - A set of values to pass directly into curl_setopt(), where the key is a pre-defined CURLOPT_* constant.
  • returnCurlHandle - boolean - Optional - A private toggle specifying that the cURL handle be returned rather than actually completing the request. This toggle is useful for manually managed batch requests.

Returns

Type

Description

CFResponse

A CFResponse object containing a parsed HTTP response.

Source

Method defined in services/rds.class.php | Toggle source view (10 lines) | View on GitHub

public function create_option_group($option_group_name, $engine_name, $major_engine_version, $option_group_description, $opt = null)
{
    if (!$opt) $opt = array();
    $opt['OptionGroupName'] = $option_group_name;
    $opt['EngineName'] = $engine_name;
    $opt['MajorEngineVersion'] = $major_engine_version;
    $opt['OptionGroupDescription'] = $option_group_description;
    
    return $this->authenticate('CreateOptionGroup', $opt);
}

Copyright © 2010–2013 Amazon Web Services, LLC


Feedback