Class: AWSCDK::SecurityHub::CfnProductSubscriptionProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::SecurityHub::CfnProductSubscriptionProps
- Defined in:
- security_hub/cfn_product_subscription_props.rb
Overview
Properties for defining a CfnProductSubscription.
Instance Attribute Summary collapse
-
#product_arn ⇒ String
readonly
The ARN of the product to enable the integration for.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(product_arn:) ⇒ CfnProductSubscriptionProps
constructor
A new instance of CfnProductSubscriptionProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(product_arn:) ⇒ CfnProductSubscriptionProps
Returns a new instance of CfnProductSubscriptionProps.
10 11 12 13 |
# File 'security_hub/cfn_product_subscription_props.rb', line 10 def initialize(product_arn:) @product_arn = product_arn Jsii::Type.check_type(@product_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "productArn") end |
Instance Attribute Details
#product_arn ⇒ String (readonly)
The ARN of the product to enable the integration for.
19 20 21 |
# File 'security_hub/cfn_product_subscription_props.rb', line 19 def product_arn @product_arn end |
Class Method Details
.jsii_properties ⇒ Object
21 22 23 24 25 |
# File 'security_hub/cfn_product_subscription_props.rb', line 21 def self.jsii_properties { :product_arn => "productArn", } end |
Instance Method Details
#to_jsii ⇒ Object
27 28 29 30 31 32 33 |
# File 'security_hub/cfn_product_subscription_props.rb', line 27 def to_jsii result = {} result.merge!({ "productArn" => @product_arn, }) result.compact end |