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.104.0 (build e79254c)",
date="2024-12-17T21:37:25.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
Modifier and TypeInterfaceDescriptionstatic final class
A builder forConfigurationOptions
static final class
An implementation forConfigurationOptions
-
Method Summary
Modifier and TypeMethodDescriptionstatic ConfigurationOptions.Builder
builder()
default IKey
The deployment key of the configuration.default IDeploymentStrategy
The deployment strategy for the configuration.default List<IEnvironment>
The list of environments to deploy the configuration to.default String
The description of the configuration.default String
getName()
The name of the configuration.default ConfigurationType
getType()
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 created alongside this configuration.
Deployments can be added later using the
IEnvironment.addDeployment
orIEnvironment.addDeployments
methods.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.Builder
ofConfigurationOptions
-