Class: AWSCDK::DevOpsGuru::CfnResourceCollection::CloudFormationCollectionFilterProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::DevOpsGuru::CfnResourceCollection::CloudFormationCollectionFilterProperty
- Defined in:
- dev_ops_guru/cfn_resource_collection.rb
Overview
Information about AWS CloudFormation stacks.
You can use up to 1000 stacks to specify which AWS resources in your account to analyze. For more information, see Stacks in the AWS CloudFormation User Guide .
Instance Attribute Summary collapse
-
#stack_names ⇒ Array<String>?
readonly
An array of CloudFormation stack names.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(stack_names: nil) ⇒ CloudFormationCollectionFilterProperty
constructor
A new instance of CloudFormationCollectionFilterProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(stack_names: nil) ⇒ CloudFormationCollectionFilterProperty
Returns a new instance of CloudFormationCollectionFilterProperty.
507 508 509 510 |
# File 'dev_ops_guru/cfn_resource_collection.rb', line 507 def initialize(stack_names: nil) @stack_names = stack_names Jsii::Type.check_type(@stack_names, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "stackNames") unless @stack_names.nil? end |
Instance Attribute Details
#stack_names ⇒ Array<String>? (readonly)
An array of CloudFormation stack names.
516 517 518 |
# File 'dev_ops_guru/cfn_resource_collection.rb', line 516 def stack_names @stack_names end |
Class Method Details
.jsii_properties ⇒ Object
518 519 520 521 522 |
# File 'dev_ops_guru/cfn_resource_collection.rb', line 518 def self.jsii_properties { :stack_names => "stackNames", } end |
Instance Method Details
#to_jsii ⇒ Object
524 525 526 527 528 529 530 |
# File 'dev_ops_guru/cfn_resource_collection.rb', line 524 def to_jsii result = {} result.merge!({ "stackNames" => @stack_names, }) result.compact end |