Class: AWSCDK::ResourceExplorer2::CfnDefaultViewAssociationProps

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
resource_explorer2/cfn_default_view_association_props.rb

Overview

Properties for defining a CfnDefaultViewAssociation.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(view_arn:) ⇒ CfnDefaultViewAssociationProps

Returns a new instance of CfnDefaultViewAssociationProps.

Parameters:

  • view_arn (String)

    The ARN of the view to set as the default for the AWS Region and AWS account in which you call this operation.



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_arnString (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_propertiesObject



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_jsiiObject



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