Interface ParameterGroupProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
ParameterGroupProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)", date="2026-04-02T09:31:47.574Z") @Stability(Stable) public interface ParameterGroupProps extends software.amazon.jsii.JsiiSerializable
Properties for a parameter group.

Example:

 IParameterGroup parameterGroup = ParameterGroup.forInstance(this, "InstanceParameterGroup", ParameterGroupProps.builder()
         .engine(DatabaseInstanceEngine.mysql(MySqlInstanceEngineProps.builder()
                 .version(MysqlEngineVersion.VER_8_0_35)
                 .build()))
         .description("Parameter group for MySQL")
         .parameters(Map.of(
                 "max_connections", "150",
                 "slow_query_log", "1"))
         .build());
 
  • Method Details

    • getEngine

      @Stability(Stable) @NotNull IEngine getEngine()
      The database engine for this parameter group.
    • getDescription

      @Stability(Stable) @Nullable default String getDescription()
      Description for this parameter group.

      Default: a CDK generated description

    • getName

      @Stability(Stable) @Nullable default String getName()
      The name of this parameter group.

      Default: - CloudFormation-generated name

    • getParameters

      @Stability(Stable) @Nullable default Map<String,String> getParameters()
      The parameters in this parameter group.

      Default: - None

    • getRemovalPolicy

      @Stability(Stable) @Nullable default RemovalPolicy getRemovalPolicy()
      The CloudFormation policy to apply when the instance is removed from the stack or replaced during an update.

      Default: - RemovalPolicy.DESTROY

    • builder

      @Stability(Stable) static ParameterGroupProps.Builder builder()
      Returns:
      a ParameterGroupProps.Builder of ParameterGroupProps