Interface SourcedConfigurationOptions
- All Superinterfaces:
ConfigurationOptions,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
SourcedConfigurationOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.121.0 (build d7af9b9)",
date="2025-12-18T18:20:04.552Z")
@Stability(Stable)
public interface SourcedConfigurationOptions
extends software.amazon.jsii.JsiiSerializable, ConfigurationOptions
Options for SourcedConfiguration.
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.*;
import software.amazon.awscdk.interfaces.appconfig.*;
import software.amazon.awscdk.interfaces.iam.*;
ConfigurationSource configurationSource;
IDeploymentStrategyRef deploymentStrategyRef;
Environment environment;
Key key;
IRoleRef roleRef;
IValidator validator;
SourcedConfigurationOptions sourcedConfigurationOptions = SourcedConfigurationOptions.builder()
.location(configurationSource)
// the properties below are optional
.deletionProtectionCheck(DeletionProtectionCheck.ACCOUNT_DEFAULT)
.deploymentKey(key)
.deploymentStrategy(deploymentStrategyRef)
.deployTo(List.of(environment))
.description("description")
.name("name")
.retrievalRole(roleRef)
.type(ConfigurationType.FREEFORM)
.validators(List.of(validator))
.versionNumber("versionNumber")
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forSourcedConfigurationOptionsstatic final classAn implementation forSourcedConfigurationOptions -
Method Summary
Methods inherited from interface software.amazon.awscdk.services.appconfig.ConfigurationOptions
getDeletionProtectionCheck, getDeploymentKey, getDeploymentStrategy, getDeployTo, getDescription, getName, getType, getValidatorsMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getLocation
The location where the configuration is stored. -
getRetrievalRole
The IAM role to retrieve the configuration.Default: - A role is generated.
-
getVersionNumber
The version number of the sourced configuration to deploy.If this is not specified, then there will be no deployment.
Default: - None.
-
builder
-