Show / Hide Table of Contents

Class CustomActionRegistrationProps

Properties of registering a custom Action.

Inheritance
object
CustomActionRegistrationProps
Implements
ICustomActionRegistrationProps
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.CodePipeline
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CustomActionRegistrationProps : ICustomActionRegistrationProps
Syntax (vb)
Public Class CustomActionRegistrationProps Implements ICustomActionRegistrationProps
Remarks

ExampleMetadata: infused

Examples
// Make a custom CodePipeline Action
            // Make a custom CodePipeline Action
            new CustomActionRegistration(this, "GenericGitSourceProviderResource", new CustomActionRegistrationProps {
                Category = ActionCategory.SOURCE,
                ArtifactBounds = new ActionArtifactBounds { MinInputs = 0, MaxInputs = 0, MinOutputs = 1, MaxOutputs = 1 },
                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 = new [] { new CustomActionProperty {
                    Name = "Branch",
                    Required = true,
                    Key = false,
                    Secret = false,
                    Queryable = false,
                    Description = "Git branch to pull",
                    Type = "String"
                }, new CustomActionProperty {
                    Name = "GitUrl",
                    Required = true,
                    Key = false,
                    Secret = false,
                    Queryable = false,
                    Description = "SSH git clone URL",
                    Type = "String"
                } }
            });

Synopsis

Constructors

CustomActionRegistrationProps()

Properties of registering a custom Action.

Properties

ActionProperties

The properties used for customizing the instance of your Action.

ArtifactBounds

The artifact bounds of the Action.

Category

The category of the Action.

EntityUrl

The URL shown for the entire Action in the Pipeline UI.

ExecutionUrl

The URL shown for a particular execution of an Action in the Pipeline UI.

Provider

The provider of the Action.

Version

The version of your Action.

Constructors

CustomActionRegistrationProps()

Properties of registering a custom Action.

public CustomActionRegistrationProps()
Remarks

ExampleMetadata: infused

Examples
// Make a custom CodePipeline Action
            // Make a custom CodePipeline Action
            new CustomActionRegistration(this, "GenericGitSourceProviderResource", new CustomActionRegistrationProps {
                Category = ActionCategory.SOURCE,
                ArtifactBounds = new ActionArtifactBounds { MinInputs = 0, MaxInputs = 0, MinOutputs = 1, MaxOutputs = 1 },
                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 = new [] { new CustomActionProperty {
                    Name = "Branch",
                    Required = true,
                    Key = false,
                    Secret = false,
                    Queryable = false,
                    Description = "Git branch to pull",
                    Type = "String"
                }, new CustomActionProperty {
                    Name = "GitUrl",
                    Required = true,
                    Key = false,
                    Secret = false,
                    Queryable = false,
                    Description = "SSH git clone URL",
                    Type = "String"
                } }
            });

Properties

ActionProperties

The properties used for customizing the instance of your Action.

public ICustomActionProperty[]? ActionProperties { get; set; }
Property Value

ICustomActionProperty[]

Remarks

Default: []

ArtifactBounds

The artifact bounds of the Action.

public IActionArtifactBounds ArtifactBounds { get; set; }
Property Value

IActionArtifactBounds

Remarks

ExampleMetadata: infused

Category

The category of the Action.

public ActionCategory Category { get; set; }
Property Value

ActionCategory

Remarks

ExampleMetadata: infused

EntityUrl

The URL shown for the entire Action in the Pipeline UI.

public string? EntityUrl { get; set; }
Property Value

string

Remarks

Default: none

ExecutionUrl

The URL shown for a particular execution of an Action in the Pipeline UI.

public string? ExecutionUrl { get; set; }
Property Value

string

Remarks

Default: none

Provider

The provider of the Action.

public string Provider { get; set; }
Property Value

string

Remarks

For example, 'MyCustomActionProvider'

Version

The version of your Action.

public string? Version { get; set; }
Property Value

string

Remarks

Default: '1'

Implements

ICustomActionRegistrationProps
Back to top Generated by DocFX