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
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()
.deletionProtectionCheck(DeletionProtectionCheck.ACCOUNT_DEFAULT)
.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 DeletionProtectionCheckA parameter to configure deletion protection.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
-
getDeletionProtectionCheck
A parameter to configure deletion protection.Deletion protection prevents a user from deleting a configuration profile if your application has called either
GetLatestConfigurationorGetConfigurationfor the configuration profile during the specified interval.Default: DeletionProtectionCheck.ACCOUNT_DEFAULT
- See Also:
-
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.addDeploymentorIEnvironment.addDeploymentsmethods.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
-