Class: AWSCDK::Detective::CfnGraphProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Detective::CfnGraphProps
- Defined in:
- detective/cfn_graph_props.rb
Overview
Properties for defining a CfnGraph.
Instance Attribute Summary collapse
-
#auto_enable_members ⇒ Boolean, ...
readonly
Indicates whether to automatically enable new organization accounts as member accounts in the organization behavior graph.
-
#tags ⇒ Array<AWSCDK::CfnTag>?
readonly
The tag values to assign to the new behavior graph.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(auto_enable_members: nil, tags: nil) ⇒ CfnGraphProps
constructor
A new instance of CfnGraphProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(auto_enable_members: nil, tags: nil) ⇒ CfnGraphProps
Returns a new instance of CfnGraphProps.
11 12 13 14 15 16 |
# File 'detective/cfn_graph_props.rb', line 11 def initialize(auto_enable_members: nil, tags: nil) @auto_enable_members = auto_enable_members Jsii::Type.check_type(@auto_enable_members, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "autoEnableMembers") unless @auto_enable_members.nil? @tags = .is_a?(Array) ? .map { |jsii_v0| jsii_v0.is_a?(Hash) ? ::AWSCDK::CfnTag.new(**jsii_v0.transform_keys(&:to_sym)) : jsii_v0 } : Jsii::Type.check_type(@tags, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7ImZxbiI6ImF3cy1jZGstbGliLkNmblRhZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "tags") unless @tags.nil? end |
Instance Attribute Details
#auto_enable_members ⇒ Boolean, ... (readonly)
Note:
Default: - false
Indicates whether to automatically enable new organization accounts as member accounts in the organization behavior graph.
By default, this property is set to false . If you want to change the value of this property, you must be the Detective administrator for the organization. For more information on setting a Detective administrator account, see AWS::Detective::OrganizationAdmin .
25 26 27 |
# File 'detective/cfn_graph_props.rb', line 25 def auto_enable_members @auto_enable_members end |
#tags ⇒ Array<AWSCDK::CfnTag>? (readonly)
The tag values to assign to the new behavior graph.
30 31 32 |
# File 'detective/cfn_graph_props.rb', line 30 def @tags end |
Class Method Details
.jsii_properties ⇒ Object
32 33 34 35 36 37 |
# File 'detective/cfn_graph_props.rb', line 32 def self.jsii_properties { :auto_enable_members => "autoEnableMembers", :tags => "tags", } end |
Instance Method Details
#to_jsii ⇒ Object
39 40 41 42 43 44 45 46 |
# File 'detective/cfn_graph_props.rb', line 39 def to_jsii result = {} result.merge!({ "autoEnableMembers" => @auto_enable_members, "tags" => @tags, }) result.compact end |