OptionGroup

class OptionGroup : KotlinCustomResource

Provides an RDS DB option group resource. Documentation of the available options for various RDS engines can be found at:

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.rds.OptionGroup;
import com.pulumi.aws.rds.OptionGroupArgs;
import com.pulumi.aws.rds.inputs.OptionGroupOptionArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new OptionGroup("example", OptionGroupArgs.builder()
.optionGroupDescription("Option Group")
.engineName("sqlserver-ee")
.majorEngineVersion("11.00")
.options(
OptionGroupOptionArgs.builder()
.optionName("Timezone")
.optionSettings(OptionGroupOptionOptionSettingArgs.builder()
.name("TIME_ZONE")
.value("UTC")
.build())
.build(),
OptionGroupOptionArgs.builder()
.optionName("SQLSERVER_BACKUP_RESTORE")
.optionSettings(OptionGroupOptionOptionSettingArgs.builder()
.name("IAM_ROLE_ARN")
.value(aws_iam_role.example().arn())
.build())
.build(),
OptionGroupOptionArgs.builder()
.optionName("TDE")
.build())
.build());
}
}

Import

Using pulumi import, import DB option groups using the name. For example:

$ pulumi import aws:rds/optionGroup:OptionGroup example mysql-option-group

Properties

Link copied to clipboard
val arn: Output<String>

ARN of the DB option group.

Link copied to clipboard
val engineName: Output<String>

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

Link copied to clipboard
val id: Output<String>
Link copied to clipboard

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

Link copied to clipboard
val name: Output<String>

Name of the option group. If omitted, the provider will assign a random, unique name. Must be lowercase, to match as it is stored in AWS.

Link copied to clipboard
val namePrefix: Output<String>

Creates a unique name beginning with the specified prefix. Conflicts with name. Must be lowercase, to match as it is stored in AWS.

Link copied to clipboard

Description of the option group.

Link copied to clipboard

List of options to apply.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val tags: Output<Map<String, String>>?

Map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

Link copied to clipboard
val tagsAll: Output<Map<String, String>>

Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Link copied to clipboard
val urn: Output<String>