Class: AWSCDK::ServiceCatalog::TagUpdateConstraintOptions
- Inherits:
-
CommonConstraintOptions
- Object
- CommonConstraintOptions
- AWSCDK::ServiceCatalog::TagUpdateConstraintOptions
- Defined in:
- service_catalog/tag_update_constraint_options.rb
Overview
Properties for ResourceUpdateConstraint.
Instance Attribute Summary collapse
-
#allow ⇒ Boolean?
readonly
Toggle for if users should be allowed to change/update tags on provisioned products.
-
#description ⇒ String?
readonly
The description of the constraint.
-
#message_language ⇒ AWSCDK::ServiceCatalog::MessageLanguage?
readonly
The language code.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(description: nil, message_language: nil, allow: nil) ⇒ TagUpdateConstraintOptions
constructor
A new instance of TagUpdateConstraintOptions.
- #to_jsii ⇒ Object
Constructor Details
#initialize(description: nil, message_language: nil, allow: nil) ⇒ TagUpdateConstraintOptions
Returns a new instance of TagUpdateConstraintOptions.
10 11 12 13 14 15 16 17 |
# File 'service_catalog/tag_update_constraint_options.rb', line 10 def initialize(description: nil, message_language: nil, allow: nil) @description = description Jsii::Type.check_type(@description, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "description") unless @description.nil? @message_language = Jsii::Type.check_type(@message_language, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfc2VydmljZWNhdGFsb2cuTWVzc2FnZUxhbmd1YWdlIn0=")), "messageLanguage") unless @message_language.nil? @allow = allow Jsii::Type.check_type(@allow, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJib29sZWFuIn0=")), "allow") unless @allow.nil? end |
Instance Attribute Details
#allow ⇒ Boolean? (readonly)
Note:
Default: true
Toggle for if users should be allowed to change/update tags on provisioned products.
35 36 37 |
# File 'service_catalog/tag_update_constraint_options.rb', line 35 def allow @allow end |
#description ⇒ String? (readonly)
Note:
Default: - No description provided
The description of the constraint.
23 24 25 |
# File 'service_catalog/tag_update_constraint_options.rb', line 23 def description @description end |
#message_language ⇒ AWSCDK::ServiceCatalog::MessageLanguage? (readonly)
Note:
Default: - English
The language code.
Configures the language for error messages from service catalog.
30 31 32 |
# File 'service_catalog/tag_update_constraint_options.rb', line 30 def @message_language end |
Class Method Details
.jsii_properties ⇒ Object
37 38 39 40 41 42 43 |
# File 'service_catalog/tag_update_constraint_options.rb', line 37 def self.jsii_properties { :description => "description", :message_language => "messageLanguage", :allow => "allow", } end |
Instance Method Details
#to_jsii ⇒ Object
45 46 47 48 49 50 51 52 53 54 |
# File 'service_catalog/tag_update_constraint_options.rb', line 45 def to_jsii result = {} result.merge!(super) result.merge!({ "description" => @description, "messageLanguage" => @message_language, "allow" => @allow, }) result.compact end |