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

DB Option groups can be imported using the name, e.g.,

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

Properties

Link copied to clipboard
val arn: Output<String>

The 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>

The Name of the setting.

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

The description of the option group. Defaults to "Managed by Pulumi".

Link copied to clipboard

A 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>>?

A 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>>

A 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>