Skip to content

Create Custom Action Type

codepipeline_create_custom_action_type R Documentation

Creates a new custom action that can be used in all pipelines associated with the Amazon Web Services account

Description

Creates a new custom action that can be used in all pipelines associated with the Amazon Web Services account. Only used for custom actions.

Usage

codepipeline_create_custom_action_type(category, provider, version,
  settings, configurationProperties, inputArtifactDetails,
  outputArtifactDetails, tags)

Arguments

category

[required] The category of the custom action, such as a build action or a test action.

provider

[required] The provider of the service used in the custom action, such as CodeDeploy.

version

[required] The version identifier of the custom action.

settings

URLs that provide users information about this custom action.

configurationProperties

The configuration properties for the custom action.

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.

inputArtifactDetails

[required] The details of the input artifact for the action, such as its commit ID.

outputArtifactDetails

[required] The details of the output artifact of the action, such as its commit ID.

tags

The tags for the custom action.

Value

A list with the following syntax:

list(
  actionType = list(
    id = list(
      category = "Source"|"Build"|"Deploy"|"Test"|"Invoke"|"Approval",
      owner = "AWS"|"ThirdParty"|"Custom",
      provider = "string",
      version = "string"
    ),
    settings = list(
      thirdPartyConfigurationUrl = "string",
      entityUrlTemplate = "string",
      executionUrlTemplate = "string",
      revisionUrlTemplate = "string"
    ),
    actionConfigurationProperties = list(
      list(
        name = "string",
        required = TRUE|FALSE,
        key = TRUE|FALSE,
        secret = TRUE|FALSE,
        queryable = TRUE|FALSE,
        description = "string",
        type = "String"|"Number"|"Boolean"
      )
    ),
    inputArtifactDetails = list(
      minimumCount = 123,
      maximumCount = 123
    ),
    outputArtifactDetails = list(
      minimumCount = 123,
      maximumCount = 123
    )
  ),
  tags = list(
    list(
      key = "string",
      value = "string"
    )
  )
)

Request syntax

svc$create_custom_action_type(
  category = "Source"|"Build"|"Deploy"|"Test"|"Invoke"|"Approval",
  provider = "string",
  version = "string",
  settings = list(
    thirdPartyConfigurationUrl = "string",
    entityUrlTemplate = "string",
    executionUrlTemplate = "string",
    revisionUrlTemplate = "string"
  ),
  configurationProperties = list(
    list(
      name = "string",
      required = TRUE|FALSE,
      key = TRUE|FALSE,
      secret = TRUE|FALSE,
      queryable = TRUE|FALSE,
      description = "string",
      type = "String"|"Number"|"Boolean"
    )
  ),
  inputArtifactDetails = list(
    minimumCount = 123,
    maximumCount = 123
  ),
  outputArtifactDetails = list(
    minimumCount = 123,
    maximumCount = 123
  ),
  tags = list(
    list(
      key = "string",
      value = "string"
    )
  )
)