Class: Aws::CodePipeline::Types::CreateCustomActionTypeInput

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-codepipeline/types.rb

Overview

Note:

When making an API call, you may pass CreateCustomActionTypeInput data as a hash:

{
  category: "Source", # required, accepts Source, Build, Deploy, Test, Invoke, Approval
  provider: "ActionProvider", # required
  version: "Version", # required
  settings: {
    third_party_configuration_url: "Url",
    entity_url_template: "UrlTemplate",
    execution_url_template: "UrlTemplate",
    revision_url_template: "UrlTemplate",
  },
  configuration_properties: [
    {
      name: "ActionConfigurationKey", # required
      required: false, # required
      key: false, # required
      secret: false, # required
      queryable: false,
      description: "Description",
      type: "String", # accepts String, Number, Boolean
    },
  ],
  input_artifact_details: { # required
    minimum_count: 1, # required
    maximum_count: 1, # required
  },
  output_artifact_details: { # required
    minimum_count: 1, # required
    maximum_count: 1, # required
  },
}

Represents the input of a CreateCustomActionType operation.

Instance Attribute Summary collapse

Instance Attribute Details

#categoryString

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

<note markdown=“1”> Although Source and Approval are listed as valid values, they are not currently functional. These values are reserved for future use.

</note>

Returns:

  • (String)


864
865
866
867
868
869
870
871
872
873
# File 'lib/aws-sdk-codepipeline/types.rb', line 864

class CreateCustomActionTypeInput < Struct.new(
  :category,
  :provider,
  :version,
  :settings,
  :configuration_properties,
  :input_artifact_details,
  :output_artifact_details)
  include Aws::Structure
end

#configuration_propertiesArray<Types::ActionConfigurationProperty>

The configuration properties for the custom action.

<note markdown=“1”> 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].

</note>

[1]: docs.aws.amazon.com/codepipeline/latest/userguide/how-to-create-custom-action.html



864
865
866
867
868
869
870
871
872
873
# File 'lib/aws-sdk-codepipeline/types.rb', line 864

class CreateCustomActionTypeInput < Struct.new(
  :category,
  :provider,
  :version,
  :settings,
  :configuration_properties,
  :input_artifact_details,
  :output_artifact_details)
  include Aws::Structure
end

#input_artifact_detailsTypes::ArtifactDetails

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



864
865
866
867
868
869
870
871
872
873
# File 'lib/aws-sdk-codepipeline/types.rb', line 864

class CreateCustomActionTypeInput < Struct.new(
  :category,
  :provider,
  :version,
  :settings,
  :configuration_properties,
  :input_artifact_details,
  :output_artifact_details)
  include Aws::Structure
end

#output_artifact_detailsTypes::ArtifactDetails

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



864
865
866
867
868
869
870
871
872
873
# File 'lib/aws-sdk-codepipeline/types.rb', line 864

class CreateCustomActionTypeInput < Struct.new(
  :category,
  :provider,
  :version,
  :settings,
  :configuration_properties,
  :input_artifact_details,
  :output_artifact_details)
  include Aws::Structure
end

#providerString

The provider of the service used in the custom action, such as AWS CodeDeploy.

Returns:

  • (String)


864
865
866
867
868
869
870
871
872
873
# File 'lib/aws-sdk-codepipeline/types.rb', line 864

class CreateCustomActionTypeInput < Struct.new(
  :category,
  :provider,
  :version,
  :settings,
  :configuration_properties,
  :input_artifact_details,
  :output_artifact_details)
  include Aws::Structure
end

#settingsTypes::ActionTypeSettings

Returns information about the settings for an action type.



864
865
866
867
868
869
870
871
872
873
# File 'lib/aws-sdk-codepipeline/types.rb', line 864

class CreateCustomActionTypeInput < Struct.new(
  :category,
  :provider,
  :version,
  :settings,
  :configuration_properties,
  :input_artifact_details,
  :output_artifact_details)
  include Aws::Structure
end

#versionString

The version identifier of the custom action.

Returns:

  • (String)


864
865
866
867
868
869
870
871
872
873
# File 'lib/aws-sdk-codepipeline/types.rb', line 864

class CreateCustomActionTypeInput < Struct.new(
  :category,
  :provider,
  :version,
  :settings,
  :configuration_properties,
  :input_artifact_details,
  :output_artifact_details)
  include Aws::Structure
end