interface ConfigurationProps
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.AppConfig.Alpha.ConfigurationProps |
Go | github.com/aws/aws-cdk-go/awscdkappconfigalpha/v2#ConfigurationProps |
Java | software.amazon.awscdk.services.appconfig.alpha.ConfigurationProps |
Python | aws_cdk.aws_appconfig_alpha.ConfigurationProps |
TypeScript (source) | @aws-cdk/aws-appconfig-alpha » ConfigurationProps |
⚠️ Deprecated: undefined
Properties 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 * as appconfig_alpha from '@aws-cdk/aws-appconfig-alpha';
import { aws_kms as kms } from 'aws-cdk-lib';
declare const application: appconfig_alpha.Application;
declare const deploymentStrategy: appconfig_alpha.DeploymentStrategy;
declare const environment: appconfig_alpha.Environment;
declare const key: kms.Key;
declare const validator: appconfig_alpha.IValidator;
const configurationProps: appconfig_alpha.ConfigurationProps = {
application: application,
// the properties below are optional
deploymentKey: key,
deploymentStrategy: deploymentStrategy,
deployTo: [environment],
description: 'description',
name: 'name',
type: appconfig_alpha.ConfigurationType.FREEFORM,
validators: [validator],
};
Properties
Name | Type | Description |
---|---|---|
application | IApplication | The application associated with the configuration. |
deploy | IEnvironment [] | The list of environments to deploy the configuration to. |
deployment | IKey | The deployment key of the configuration. |
deployment | IDeployment | The deployment strategy for the configuration. |
description? | string | The description of the configuration. |
name? | string | The name of the configuration. |
type? | Configuration | The type of configuration. |
validators? | IValidator [] | The validators for the configuration. |
application
⚠️ Deprecated: undefined
Type:
IApplication
The application associated with the configuration.
deployTo?
⚠️ Deprecated: undefined
Type:
IEnvironment
[]
(optional, default: None.)
The list of environments to deploy the configuration to.
If this parameter is not specified, then there will be no deployment.
deploymentKey?
⚠️ Deprecated: undefined
Type:
IKey
(optional, default: None.)
The deployment key of the configuration.
deploymentStrategy?
⚠️ Deprecated: undefined
Type:
IDeployment
(optional, default: A deployment strategy with the rollout strategy set to
RolloutStrategy.CANARY_10_PERCENT_20_MINUTES)
The deployment strategy for the configuration.
description?
⚠️ Deprecated: undefined
Type:
string
(optional, default: No description.)
The description of the configuration.
name?
⚠️ Deprecated: undefined
Type:
string
(optional, default: A name is generated.)
The name of the configuration.
type?
⚠️ Deprecated: undefined
Type:
Configuration
(optional, default: ConfigurationType.FREEFORM)
The type of configuration.
validators?
⚠️ Deprecated: undefined
Type:
IValidator
[]
(optional, default: No validators.)
The validators for the configuration.