Class: AWSCDK::ResourceExplorer2::CfnDefaultViewAssociationProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::ResourceExplorer2::CfnDefaultViewAssociationProps
- Defined in:
- resource_explorer2/cfn_default_view_association_props.rb
Overview
Properties for defining a CfnDefaultViewAssociation.
Instance Attribute Summary collapse
-
#view_arn ⇒ String
readonly
The ARN of the view to set as the default for the AWS Region and AWS account in which you call this operation.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(view_arn:) ⇒ CfnDefaultViewAssociationProps
constructor
A new instance of CfnDefaultViewAssociationProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(view_arn:) ⇒ CfnDefaultViewAssociationProps
Returns a new instance of CfnDefaultViewAssociationProps.
10 11 12 13 |
# File 'resource_explorer2/cfn_default_view_association_props.rb', line 10 def initialize(view_arn:) @view_arn = view_arn Jsii::Type.check_type(@view_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "viewArn") end |
Instance Attribute Details
#view_arn ⇒ String (readonly)
The ARN of the view to set as the default for the AWS Region and AWS account in which you call this operation.
The specified view must already exist in the specified Region.
21 22 23 |
# File 'resource_explorer2/cfn_default_view_association_props.rb', line 21 def view_arn @view_arn end |
Class Method Details
.jsii_properties ⇒ Object
23 24 25 26 27 |
# File 'resource_explorer2/cfn_default_view_association_props.rb', line 23 def self.jsii_properties { :view_arn => "viewArn", } end |
Instance Method Details
#to_jsii ⇒ Object
29 30 31 32 33 34 35 |
# File 'resource_explorer2/cfn_default_view_association_props.rb', line 29 def to_jsii result = {} result.merge!({ "viewArn" => @view_arn, }) result.compact end |