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_VERSIONPRE_START_DEPLOYMENTON_DEPLOYMENT_STARTON_DEPLOYMENT_STEPON_DEPLOYMENT_BAKINGON_DEPLOYMENT_COMPLETEON_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:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnExtension.ActionPropertystatic final classAn implementation forCfnExtension.ActionProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringInformation about the action.getName()The action name.default StringAn Amazon Resource Name (ARN) for an AWS Identity and Access Management assume role.getUri()The extension URI associated to the action point in the extension definition.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getName
The action name.- See Also:
-
getUri
The extension URI associated to the action point in the extension definition.The URI can be an Amazon Resource Name (ARN) for one of the following: an AWS Lambda function, an Amazon Simple Queue Service queue, an Amazon Simple Notification Service topic, or the Amazon EventBridge default event bus.
- See Also:
-
getDescription
Information about the action.- See Also:
-
getRoleArn
An Amazon Resource Name (ARN) for an AWS Identity and Access Management assume role.- See Also:
-
builder
-