Class: AWSCDK::Codepipeline::CfnPipeline::GitFilePathFilterCriteriaProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Codepipeline::CfnPipeline::GitFilePathFilterCriteriaProperty
- Defined in:
- codepipeline/cfn_pipeline.rb
Overview
The Git repository file paths specified as filter criteria to start the pipeline.
Instance Attribute Summary collapse
-
#excludes ⇒ Array<String>?
readonly
The list of patterns of Git repository file paths that, when a commit is pushed, are to be excluded from starting the pipeline.
-
#includes ⇒ Array<String>?
readonly
The list of patterns of Git repository file paths that, when a commit is pushed, are to be included as criteria that starts the pipeline.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(excludes: nil, includes: nil) ⇒ GitFilePathFilterCriteriaProperty
constructor
A new instance of GitFilePathFilterCriteriaProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(excludes: nil, includes: nil) ⇒ GitFilePathFilterCriteriaProperty
Returns a new instance of GitFilePathFilterCriteriaProperty.
1433 1434 1435 1436 1437 1438 |
# File 'codepipeline/cfn_pipeline.rb', line 1433 def initialize(excludes: nil, includes: nil) @excludes = excludes Jsii::Type.check_type(@excludes, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "excludes") unless @excludes.nil? @includes = includes Jsii::Type.check_type(@includes, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "includes") unless @includes.nil? end |
Instance Attribute Details
#excludes ⇒ Array<String>? (readonly)
The list of patterns of Git repository file paths that, when a commit is pushed, are to be excluded from starting the pipeline.
1444 1445 1446 |
# File 'codepipeline/cfn_pipeline.rb', line 1444 def excludes @excludes end |
#includes ⇒ Array<String>? (readonly)
The list of patterns of Git repository file paths that, when a commit is pushed, are to be included as criteria that starts the pipeline.
1449 1450 1451 |
# File 'codepipeline/cfn_pipeline.rb', line 1449 def includes @includes end |
Class Method Details
.jsii_properties ⇒ Object
1451 1452 1453 1454 1455 1456 |
# File 'codepipeline/cfn_pipeline.rb', line 1451 def self.jsii_properties { :excludes => "excludes", :includes => "includes", } end |
Instance Method Details
#to_jsii ⇒ Object
1458 1459 1460 1461 1462 1463 1464 1465 |
# File 'codepipeline/cfn_pipeline.rb', line 1458 def to_jsii result = {} result.merge!({ "excludes" => @excludes, "includes" => @includes, }) result.compact end |