@Generated(value="jsii-pacmak/1.72.0 (build 4b8828b)", date="2023-01-03T16:22:32.199Z") @Stability(value=Stable) public interface CustomActionRegistrationProps extends software.amazon.jsii.JsiiSerializable
Example:
// Make a custom CodePipeline Action
// Make a custom CodePipeline Action
CustomActionRegistration.Builder.create(this, "GenericGitSourceProviderResource")
.category(ActionCategory.SOURCE)
.artifactBounds(ActionArtifactBounds.builder().minInputs(0).maxInputs(0).minOutputs(1).maxOutputs(1).build())
.provider("GenericGitSource")
.version("1")
.entityUrl("https://docs.aws.amazon.com/codepipeline/latest/userguide/actions-create-custom-action.html")
.executionUrl("https://docs.aws.amazon.com/codepipeline/latest/userguide/actions-create-custom-action.html")
.actionProperties(List.of(CustomActionProperty.builder()
.name("Branch")
.required(true)
.key(false)
.secret(false)
.queryable(false)
.description("Git branch to pull")
.type("String")
.build(), CustomActionProperty.builder()
.name("GitUrl")
.required(true)
.key(false)
.secret(false)
.queryable(false)
.description("SSH git clone URL")
.type("String")
.build()))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CustomActionRegistrationProps.Builder
A builder for
CustomActionRegistrationProps |
static class |
CustomActionRegistrationProps.Jsii$Proxy
An implementation for
CustomActionRegistrationProps |
| Modifier and Type | Method and Description |
|---|---|
static CustomActionRegistrationProps.Builder |
builder() |
default List<CustomActionProperty> |
getActionProperties()
The properties used for customizing the instance of your Action.
|
ActionArtifactBounds |
getArtifactBounds()
The artifact bounds of the Action.
|
ActionCategory |
getCategory()
The category of the Action.
|
default String |
getEntityUrl()
The URL shown for the entire Action in the Pipeline UI.
|
default String |
getExecutionUrl()
The URL shown for a particular execution of an Action in the Pipeline UI.
|
String |
getProvider()
The provider of the Action.
|
default String |
getVersion()
The version of your Action.
|
@Stability(value=Stable) @NotNull ActionArtifactBounds getArtifactBounds()
@Stability(value=Stable) @NotNull ActionCategory getCategory()
@Stability(value=Stable) @NotNull String getProvider()
For example, 'MyCustomActionProvider'
@Stability(value=Stable) @Nullable default List<CustomActionProperty> getActionProperties()
Default: []
@Stability(value=Stable) @Nullable default String getEntityUrl()
Default: none
@Stability(value=Stable) @Nullable default String getExecutionUrl()
Default: none
@Stability(value=Stable) @Nullable default String getVersion()
Default: '1'
@Stability(value=Stable) static CustomActionRegistrationProps.Builder builder()
Copyright © 2023. All rights reserved.