Interface CfnExtension.ActionProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnExtension.ActionProperty.Jsii$Proxy
Enclosing class:
CfnExtension

@Stability(Stable) public static interface CfnExtension.ActionProperty extends software.amazon.jsii.JsiiSerializable
An action defines the tasks that the extension performs during the AWS AppConfig workflow.

Each action includes an action point such as ON_CREATE_HOSTED_CONFIGURATION , PRE_DEPLOYMENT , or ON_DEPLOYMENT . Each action also includes a name, a URI to an AWS Lambda function, and an Amazon Resource Name (ARN) for an AWS Identity and Access Management assume role. You specify the name, URI, and ARN for each action point defined in the extension. You can specify the following actions for an extension:

  • PRE_CREATE_HOSTED_CONFIGURATION_VERSION
  • PRE_START_DEPLOYMENT
  • ON_DEPLOYMENT_START
  • ON_DEPLOYMENT_STEP
  • ON_DEPLOYMENT_BAKING
  • ON_DEPLOYMENT_COMPLETE
  • ON_DEPLOYMENT_ROLLED_BACK

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.*;
 ActionProperty actionProperty = ActionProperty.builder()
         .name("name")
         .uri("uri")
         // the properties below are optional
         .description("description")
         .roleArn("roleArn")
         .build();
 

See Also: