Class: AWSCDK::ServiceCatalog::CfnLaunchNotificationConstraintProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::ServiceCatalog::CfnLaunchNotificationConstraintProps
- Defined in:
- service_catalog/cfn_launch_notification_constraint_props.rb
Overview
Properties for defining a CfnLaunchNotificationConstraint.
Instance Attribute Summary collapse
-
#accept_language ⇒ String?
readonly
The language code.
-
#description ⇒ String?
readonly
The description of the constraint.
-
#notification_arns ⇒ Array<String>
readonly
The notification ARNs.
-
#portfolio_id ⇒ String
readonly
The portfolio identifier.
-
#product_id ⇒ String
readonly
The product identifier.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(notification_arns:, portfolio_id:, product_id:, accept_language: nil, description: nil) ⇒ CfnLaunchNotificationConstraintProps
constructor
A new instance of CfnLaunchNotificationConstraintProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(notification_arns:, portfolio_id:, product_id:, accept_language: nil, description: nil) ⇒ CfnLaunchNotificationConstraintProps
Returns a new instance of CfnLaunchNotificationConstraintProps.
14 15 16 17 18 19 20 21 22 23 24 25 |
# File 'service_catalog/cfn_launch_notification_constraint_props.rb', line 14 def initialize(notification_arns:, portfolio_id:, product_id:, accept_language: nil, description: nil) @notification_arns = notification_arns Jsii::Type.check_type(@notification_arns, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "notificationArns") @portfolio_id = portfolio_id Jsii::Type.check_type(@portfolio_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "portfolioId") @product_id = product_id Jsii::Type.check_type(@product_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "productId") @accept_language = accept_language Jsii::Type.check_type(@accept_language, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "acceptLanguage") unless @accept_language.nil? @description = description Jsii::Type.check_type(@description, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "description") unless @description.nil? end |
Instance Attribute Details
#accept_language ⇒ String? (readonly)
The language code.
jp- Japanesezh- Chinese
49 50 51 |
# File 'service_catalog/cfn_launch_notification_constraint_props.rb', line 49 def accept_language @accept_language end |
#description ⇒ String? (readonly)
The description of the constraint.
54 55 56 |
# File 'service_catalog/cfn_launch_notification_constraint_props.rb', line 54 def description @description end |
#notification_arns ⇒ Array<String> (readonly)
The notification ARNs.
31 32 33 |
# File 'service_catalog/cfn_launch_notification_constraint_props.rb', line 31 def notification_arns @notification_arns end |
#portfolio_id ⇒ String (readonly)
The portfolio identifier.
36 37 38 |
# File 'service_catalog/cfn_launch_notification_constraint_props.rb', line 36 def portfolio_id @portfolio_id end |
#product_id ⇒ String (readonly)
The product identifier.
41 42 43 |
# File 'service_catalog/cfn_launch_notification_constraint_props.rb', line 41 def product_id @product_id end |
Class Method Details
.jsii_properties ⇒ Object
56 57 58 59 60 61 62 63 64 |
# File 'service_catalog/cfn_launch_notification_constraint_props.rb', line 56 def self.jsii_properties { :notification_arns => "notificationArns", :portfolio_id => "portfolioId", :product_id => "productId", :accept_language => "acceptLanguage", :description => "description", } end |
Instance Method Details
#to_jsii ⇒ Object
66 67 68 69 70 71 72 73 74 75 76 |
# File 'service_catalog/cfn_launch_notification_constraint_props.rb', line 66 def to_jsii result = {} result.merge!({ "notificationArns" => @notification_arns, "portfolioId" => @portfolio_id, "productId" => @product_id, "acceptLanguage" => @accept_language, "description" => @description, }) result.compact end |