Interface SourcedConfigurationOptions
- All Superinterfaces:
ConfigurationOptions
,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
SourcedConfigurationOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-12-17T21:37:25.872Z")
@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.iam.*; import software.amazon.awscdk.services.kms.*; ConfigurationSource configurationSource; DeploymentStrategy deploymentStrategy; Environment environment; Key key; Role role; IValidator validator; SourcedConfigurationOptions sourcedConfigurationOptions = SourcedConfigurationOptions.builder() .location(configurationSource) // the properties below are optional .deploymentKey(key) .deploymentStrategy(deploymentStrategy) .deployTo(List.of(environment)) .description("description") .name("name") .retrievalRole(role) .type(ConfigurationType.FREEFORM) .validators(List.of(validator)) .versionNumber("versionNumber") .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forSourcedConfigurationOptions
static final class
An implementation forSourcedConfigurationOptions
-
Method Summary
Methods inherited from interface software.amazon.awscdk.services.appconfig.ConfigurationOptions
getDeploymentKey, getDeploymentStrategy, getDeployTo, getDescription, getName, getType, getValidators
Methods 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
-