Interface ConfigurationOptions
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
ConfigurationProps,HostedConfigurationOptions,HostedConfigurationProps,SourcedConfigurationOptions,SourcedConfigurationProps
- All Known Implementing Classes:
ConfigurationOptions.Jsii$Proxy,ConfigurationProps.Jsii$Proxy,HostedConfigurationOptions.Jsii$Proxy,HostedConfigurationProps.Jsii$Proxy,SourcedConfigurationOptions.Jsii$Proxy,SourcedConfigurationProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.94.0 (build b380f01)",
date="2024-03-14T22:21:49.817Z")
@Stability(Stable)
public interface ConfigurationOptions
extends software.amazon.jsii.JsiiSerializable
Options for the Configuration construct.
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.appconfig.*;
import software.amazon.awscdk.services.kms.*;
DeploymentStrategy deploymentStrategy;
Environment environment;
Key key;
IValidator validator;
ConfigurationOptions configurationOptions = ConfigurationOptions.builder()
.deploymentKey(key)
.deploymentStrategy(deploymentStrategy)
.deployTo(List.of(environment))
.description("description")
.name("name")
.type(ConfigurationType.FREEFORM)
.validators(List.of(validator))
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forConfigurationOptionsstatic final classAn implementation forConfigurationOptions -
Method Summary
Modifier and TypeMethodDescriptionstatic ConfigurationOptions.Builderbuilder()default IKeyThe deployment key of the configuration.default IDeploymentStrategyThe deployment strategy for the configuration.default List<IEnvironment>The list of environments to deploy the configuration to.default StringThe description of the configuration.default StringgetName()The name of the configuration.default ConfigurationTypegetType()The type of configuration.default List<IValidator>The validators for the configuration.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDeploymentKey
The deployment key of the configuration.Default: - None.
-
getDeploymentStrategy
The deployment strategy for the configuration.Default: - A deployment strategy with the rollout strategy set to RolloutStrategy.CANARY_10_PERCENT_20_MINUTES
-
getDeployTo
The list of environments to deploy the configuration to.If this parameter is not specified, then there will be no deployment.
Default: - None.
-
getDescription
The description of the configuration.Default: - No description.
-
getName
The name of the configuration.Default: - A name is generated.
-
getType
The type of configuration.Default: ConfigurationType.FREEFORM
-
getValidators
The validators for the configuration.Default: - No validators.
-
builder
- Returns:
- a
ConfigurationOptions.BuilderofConfigurationOptions
-