@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:41.497Z") @Stability(value=Stable) public interface OptionConfiguration extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.ec2.*;
import software.amazon.awscdk.services.rds.*;
SecurityGroup securityGroup;
Vpc vpc;
OptionConfiguration optionConfiguration = OptionConfiguration.builder()
.name("name")
// the properties below are optional
.port(123)
.securityGroups(List.of(securityGroup))
.settings(Map.of(
"settingsKey", "settings"))
.version("version")
.vpc(vpc)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
OptionConfiguration.Builder
A builder for
OptionConfiguration |
static class |
OptionConfiguration.Jsii$Proxy
An implementation for
OptionConfiguration |
| Modifier and Type | Method and Description |
|---|---|
static OptionConfiguration.Builder |
builder() |
String |
getName()
The name of the option.
|
default Number |
getPort()
The port number that this option uses.
|
default List<ISecurityGroup> |
getSecurityGroups()
Optional list of security groups to use for this option, if `vpc` is specified.
|
default Map<String,String> |
getSettings()
The settings for the option.
|
default String |
getVersion()
The version for the option.
|
default IVpc |
getVpc()
The VPC where a security group should be created for this option.
|
@Stability(value=Stable) @NotNull String getName()
@Stability(value=Stable) @Nullable default Number getPort()
If port is specified then vpc
must also be specified.
Default: - no port
@Stability(value=Stable) @Nullable default List<ISecurityGroup> getSecurityGroups()
If no groups are provided, a default one will be created.
Default: - a default group will be created if `port` or `vpc` are specified.
@Stability(value=Stable) @Nullable default Map<String,String> getSettings()
Default: - no settings
@Stability(value=Stable) @Nullable default String getVersion()
Default: - no version
@Stability(value=Stable) @Nullable default IVpc getVpc()
If vpc
is specified then port must also be specified.
Default: - no VPC
@Stability(value=Stable) static OptionConfiguration.Builder builder()
OptionConfiguration.Builder of OptionConfigurationCopyright © 2022. All rights reserved.