@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:37.454Z") @Stability(value=Stable) public class CfnCustomActionType extends CfnResource implements IInspectable
The AWS::CodePipeline::CustomActionType resource creates a custom action for activities that aren't included in the CodePipeline default actions, such as running an internally developed build process or a test suite. You can use these custom actions in the stage of a pipeline. For more information, see Create and Add a Custom Action in AWS CodePipeline in the AWS CodePipeline User Guide .
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.codepipeline.*;
CfnCustomActionType cfnCustomActionType = CfnCustomActionType.Builder.create(this, "MyCfnCustomActionType")
.category("category")
.inputArtifactDetails(ArtifactDetailsProperty.builder()
.maximumCount(123)
.minimumCount(123)
.build())
.outputArtifactDetails(ArtifactDetailsProperty.builder()
.maximumCount(123)
.minimumCount(123)
.build())
.provider("provider")
.version("version")
// the properties below are optional
.configurationProperties(List.of(ConfigurationPropertiesProperty.builder()
.key(false)
.name("name")
.required(false)
.secret(false)
// the properties below are optional
.description("description")
.queryable(false)
.type("type")
.build()))
.settings(SettingsProperty.builder()
.entityUrlTemplate("entityUrlTemplate")
.executionUrlTemplate("executionUrlTemplate")
.revisionUrlTemplate("revisionUrlTemplate")
.thirdPartyConfigurationUrl("thirdPartyConfigurationUrl")
.build())
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
| Modifier and Type | Class and Description |
|---|---|
static interface |
CfnCustomActionType.ArtifactDetailsProperty
Returns information about the details of an artifact.
|
static class |
CfnCustomActionType.Builder
A fluent builder for
CfnCustomActionType. |
static interface |
CfnCustomActionType.ConfigurationPropertiesProperty
The configuration properties for the custom action.
|
static interface |
CfnCustomActionType.SettingsProperty
`Settings` is a property of the `AWS::CodePipeline::CustomActionType` resource that provides URLs that users can access to view information about the CodePipeline custom action.
|
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnCustomActionType(software.constructs.Construct scope,
String id,
CfnCustomActionTypeProps props)
Create a new `AWS::CodePipeline::CustomActionType`.
|
protected |
CfnCustomActionType(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnCustomActionType(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getCategory()
The category of the custom action, such as a build action or a test action.
|
protected Map<String,Object> |
getCfnProperties() |
Object |
getConfigurationProperties()
The configuration properties for the custom action.
|
Object |
getInputArtifactDetails()
The details of the input artifact for the action, such as its commit ID.
|
Object |
getOutputArtifactDetails()
The details of the output artifact of the action, such as its commit ID.
|
String |
getProvider()
The provider of the service used in the custom action, such as CodeDeploy.
|
Object |
getSettings()
URLs that provide users information about this custom action.
|
TagManager |
getTags()
The tags for the custom action.
|
String |
getVersion()
The version identifier of the custom action.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setCategory(String value)
The category of the custom action, such as a build action or a test action.
|
void |
setConfigurationProperties(IResolvable value)
The configuration properties for the custom action.
|
void |
setConfigurationProperties(List<Object> value)
The configuration properties for the custom action.
|
void |
setInputArtifactDetails(CfnCustomActionType.ArtifactDetailsProperty value)
The details of the input artifact for the action, such as its commit ID.
|
void |
setInputArtifactDetails(IResolvable value)
The details of the input artifact for the action, such as its commit ID.
|
void |
setOutputArtifactDetails(CfnCustomActionType.ArtifactDetailsProperty value)
The details of the output artifact of the action, such as its commit ID.
|
void |
setOutputArtifactDetails(IResolvable value)
The details of the output artifact of the action, such as its commit ID.
|
void |
setProvider(String value)
The provider of the service used in the custom action, such as CodeDeploy.
|
void |
setSettings(CfnCustomActionType.SettingsProperty value)
URLs that provide users information about this custom action.
|
void |
setSettings(IResolvable value)
URLs that provide users information about this custom action.
|
void |
setVersion(String value)
The version identifier of the custom action.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnCustomActionType(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnCustomActionType(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnCustomActionType(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
CfnCustomActionTypeProps props)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.props - - resource properties. This parameter is required.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public TagManager getTags()
@Stability(value=Stable) @NotNull public String getCategory()
@Stability(value=Stable)
public void setCategory(@NotNull
String value)
@Stability(value=Stable) @NotNull public Object getInputArtifactDetails()
@Stability(value=Stable)
public void setInputArtifactDetails(@NotNull
CfnCustomActionType.ArtifactDetailsProperty value)
@Stability(value=Stable)
public void setInputArtifactDetails(@NotNull
IResolvable value)
@Stability(value=Stable) @NotNull public Object getOutputArtifactDetails()
@Stability(value=Stable)
public void setOutputArtifactDetails(@NotNull
CfnCustomActionType.ArtifactDetailsProperty value)
@Stability(value=Stable)
public void setOutputArtifactDetails(@NotNull
IResolvable value)
@Stability(value=Stable) @NotNull public String getProvider()
@Stability(value=Stable)
public void setProvider(@NotNull
String value)
@Stability(value=Stable) @NotNull public String getVersion()
@Stability(value=Stable)
public void setVersion(@NotNull
String value)
@Stability(value=Stable) @Nullable public Object getConfigurationProperties()
You can refer to a name in the configuration properties of the custom action within the URL templates by following the format of {Config:name}, as long as the configuration property is both required and not secret. For more information, see Create a Custom Action for a Pipeline .
@Stability(value=Stable)
public void setConfigurationProperties(@Nullable
IResolvable value)
You can refer to a name in the configuration properties of the custom action within the URL templates by following the format of {Config:name}, as long as the configuration property is both required and not secret. For more information, see Create a Custom Action for a Pipeline .
@Stability(value=Stable)
public void setConfigurationProperties(@Nullable
List<Object> value)
You can refer to a name in the configuration properties of the custom action within the URL templates by following the format of {Config:name}, as long as the configuration property is both required and not secret. For more information, see Create a Custom Action for a Pipeline .
@Stability(value=Stable) @Nullable public Object getSettings()
@Stability(value=Stable)
public void setSettings(@Nullable
CfnCustomActionType.SettingsProperty value)
@Stability(value=Stable)
public void setSettings(@Nullable
IResolvable value)
Copyright © 2022. All rights reserved.