@Stability(value=Stable)
public static interface CfnConfigurationProfile.ValidatorsProperty
extends software.amazon.jsii.JsiiSerializable
To validate your application configuration data, you provide a schema or an AWS Lambda function that runs against the configuration. The configuration deployment or update can only proceed when the configuration data is valid.
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.*;
ValidatorsProperty validatorsProperty = ValidatorsProperty.builder()
.content("content")
.type("type")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnConfigurationProfile.ValidatorsProperty.Builder
A builder for
CfnConfigurationProfile.ValidatorsProperty |
static class |
CfnConfigurationProfile.ValidatorsProperty.Jsii$Proxy
An implementation for
CfnConfigurationProfile.ValidatorsProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnConfigurationProfile.ValidatorsProperty.Builder |
builder() |
default String |
getContent()
Either the JSON Schema content or the Amazon Resource Name (ARN) of an Lambda function.
|
default String |
getType()
AWS AppConfig supports validators of type `JSON_SCHEMA` and `LAMBDA`.
|
@Stability(value=Stable) @Nullable default String getContent()
@Stability(value=Stable) @Nullable default String getType()
@Stability(value=Stable) static CfnConfigurationProfile.ValidatorsProperty.Builder builder()
Copyright © 2022. All rights reserved.