Class: AWSCDK::DevOpsGuru::CfnResourceCollection::CloudFormationCollectionFilterProperty

Inherits:
Jsii::Struct
  • Object
show all
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

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(stack_names: nil) ⇒ CloudFormationCollectionFilterProperty

Returns a new instance of CloudFormationCollectionFilterProperty.

Parameters:

  • stack_names (Array<String>, nil) (defaults to: nil)

    An array of CloudFormation stack names.



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_namesArray<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_propertiesObject



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_jsiiObject



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