Skip to content
v2.276.0

CfnDeploymentProps Struct ​

Properties for defining a CfnDeployment.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_appconfig as appconfig } from 'aws-cdk-lib';
const cfnDeploymentProps: appconfig.CfnDeploymentProps = {
  applicationId: 'applicationId',
  configurationProfileId: 'configurationProfileId',
  configurationVersion: 'configurationVersion',
  deploymentStrategyId: 'deploymentStrategyId',
  environmentId: 'environmentId',

  // the properties below are optional
  description: 'description',
  dynamicExtensionParameters: [{
    extensionReference: 'extensionReference',
    parameterName: 'parameterName',
    parameterValue: 'parameterValue',
  }],
  kmsKeyIdentifier: 'kmsKeyIdentifier',
  tags: [{
    key: 'key',
    value: 'value',
  }],
};

Properties ​

applicationIdstringapplication_idstrapplicationIdStringApplicationIdstringApplicationId*stringrequired#
The application ID.
configurationProfileIdstringconfiguration_profile_idstrconfigurationProfileIdStringConfigurationProfileIdstringConfigurationProfileId*stringrequired#
The configuration profile ID.
configurationVersionstringconfiguration_versionstrconfigurationVersionStringConfigurationVersionstringConfigurationVersion*stringrequired#
The configuration version to deploy.

If deploying an AWS AppConfig hosted configuration version, you can specify either the version number or version label. For all other configurations, you must specify the version number.

deploymentStrategyIdstringdeployment_strategy_idstrdeploymentStrategyIdStringDeploymentStrategyIdstringDeploymentStrategyId*stringrequired#
The deployment strategy ID.
descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string#
A description of the deployment.
dynamicExtensionParametersoptionalIResolvable | IResolvable | CfnDeployment.DynamicExtensionParametersProperty[]dynamic_extension_parametersoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, DynamicExtensionParametersProperty]]]dynamicExtensionParametersoptionalIResolvableDynamicExtensionParametersoptionalIResolvableDynamicExtensionParametersoptionalinterface{}#
A map of dynamic extension parameter names to values to pass to associated extensions with `PRE_START_DEPLOYMENT` actions.
environmentIdstringenvironment_idstrenvironmentIdStringEnvironmentIdstringEnvironmentId*stringrequired#
The environment ID.
kmsKeyIdentifieroptionalstringkms_key_identifieroptionalstrkmsKeyIdentifieroptionalStringKmsKeyIdentifieroptionalstringKmsKeyIdentifieroptional*string#
The AWS Key Management Service key identifier (key ID, key alias, or key ARN) provided when the resource was created or updated.
tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag#
Metadata to assign to the deployment.

Tags help organize and categorize your AWS AppConfig resources. Each tag consists of a key and an optional value, both of which you define.