Class: AWSCDK::Codepipeline::CfnPipeline::ActionTypeIdProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Codepipeline::CfnPipeline::ActionTypeIdProperty
- Defined in:
- codepipeline/cfn_pipeline.rb
Overview
Represents information about an action type.
Instance Attribute Summary collapse
-
#category ⇒ String
readonly
A category defines what kind of action can be taken in the stage, and constrains the provider type for the action.
-
#owner ⇒ String
readonly
The creator of the action being called.
-
#provider ⇒ String
readonly
The provider of the service being called by the action.
-
#version ⇒ String
readonly
A string that describes the action version.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(category:, owner:, provider:, version:) ⇒ ActionTypeIdProperty
constructor
A new instance of ActionTypeIdProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(category:, owner:, provider:, version:) ⇒ ActionTypeIdProperty
Returns a new instance of ActionTypeIdProperty.
860 861 862 863 864 865 866 867 868 869 |
# File 'codepipeline/cfn_pipeline.rb', line 860 def initialize(category:, owner:, provider:, version:) @category = category Jsii::Type.check_type(@category, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "category") @owner = owner Jsii::Type.check_type(@owner, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "owner") @provider = provider Jsii::Type.check_type(@provider, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "provider") @version = version Jsii::Type.check_type(@version, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "version") end |
Instance Attribute Details
#category ⇒ String (readonly)
A category defines what kind of action can be taken in the stage, and constrains the provider type for the action.
Valid categories are limited to one of the values below.
SourceBuildTestDeployInvokeApprovalCompute
885 886 887 |
# File 'codepipeline/cfn_pipeline.rb', line 885 def category @category end |
#owner ⇒ String (readonly)
The creator of the action being called.
There are three valid values for the Owner field in the action category section within your pipeline structure: AWS , ThirdParty , and Custom . For more information, see Valid Action Types and Providers in CodePipeline .
892 893 894 |
# File 'codepipeline/cfn_pipeline.rb', line 892 def owner @owner end |
#provider ⇒ String (readonly)
The provider of the service being called by the action.
Valid providers are determined by the action category. For example, an action in the Deploy category type might have a provider of CodeDeploy, which would be specified as CodeDeploy . For more information, see Valid Action Types and Providers in CodePipeline .
899 900 901 |
# File 'codepipeline/cfn_pipeline.rb', line 899 def provider @provider end |
#version ⇒ String (readonly)
A string that describes the action version.
904 905 906 |
# File 'codepipeline/cfn_pipeline.rb', line 904 def version @version end |
Class Method Details
.jsii_properties ⇒ Object
906 907 908 909 910 911 912 913 |
# File 'codepipeline/cfn_pipeline.rb', line 906 def self.jsii_properties { :category => "category", :owner => "owner", :provider => "provider", :version => "version", } end |
Instance Method Details
#to_jsii ⇒ Object
915 916 917 918 919 920 921 922 923 924 |
# File 'codepipeline/cfn_pipeline.rb', line 915 def to_jsii result = {} result.merge!({ "category" => @category, "owner" => @owner, "provider" => @provider, "version" => @version, }) result.compact end |