Class: AWSCDK::DataZone::CfnFormTypeProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::DataZone::CfnFormTypeProps
- Defined in:
- data_zone/cfn_form_type_props.rb
Overview
Properties for defining a CfnFormType.
Instance Attribute Summary collapse
-
#description ⇒ String?
readonly
The description of the metadata form type.
-
#domain_identifier ⇒ String
readonly
The identifier of the Amazon DataZone domain in which the form type exists.
-
#model ⇒ AWSCDK::IResolvable, AWSCDK::DataZone::CfnFormType::ModelProperty
readonly
The model of the form type.
-
#name ⇒ String
readonly
The name of the form type.
-
#owning_project_identifier ⇒ String
readonly
The identifier of the project that owns the form type.
-
#status ⇒ String?
readonly
The status of the form type.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(domain_identifier:, model:, name:, owning_project_identifier:, description: nil, status: nil) ⇒ CfnFormTypeProps
constructor
A new instance of CfnFormTypeProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(domain_identifier:, model:, name:, owning_project_identifier:, description: nil, status: nil) ⇒ CfnFormTypeProps
Returns a new instance of CfnFormTypeProps.
15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
# File 'data_zone/cfn_form_type_props.rb', line 15 def initialize(domain_identifier:, model:, name:, owning_project_identifier:, description: nil, status: nil) @domain_identifier = domain_identifier Jsii::Type.check_type(@domain_identifier, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "domainIdentifier") @model = model.is_a?(Hash) ? ::AWSCDK::DataZone::CfnFormType::ModelProperty.new(**model.transform_keys(&:to_sym)) : model Jsii::Type.check_type(@model, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19kYXRhem9uZS5DZm5Gb3JtVHlwZS5Nb2RlbFByb3BlcnR5In1dfX0=")), "model") @name = name Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name") @owning_project_identifier = owning_project_identifier Jsii::Type.check_type(@owning_project_identifier, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "owningProjectIdentifier") @description = description Jsii::Type.check_type(@description, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "description") unless @description.nil? @status = status Jsii::Type.check_type(@status, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "status") unless @status.nil? end |
Instance Attribute Details
#description ⇒ String? (readonly)
The description of the metadata form type.
54 55 56 |
# File 'data_zone/cfn_form_type_props.rb', line 54 def description @description end |
#domain_identifier ⇒ String (readonly)
The identifier of the Amazon DataZone domain in which the form type exists.
34 35 36 |
# File 'data_zone/cfn_form_type_props.rb', line 34 def domain_identifier @domain_identifier end |
#model ⇒ AWSCDK::IResolvable, AWSCDK::DataZone::CfnFormType::ModelProperty (readonly)
The model of the form type.
39 40 41 |
# File 'data_zone/cfn_form_type_props.rb', line 39 def model @model end |
#name ⇒ String (readonly)
The name of the form type.
44 45 46 |
# File 'data_zone/cfn_form_type_props.rb', line 44 def name @name end |
#owning_project_identifier ⇒ String (readonly)
The identifier of the project that owns the form type.
49 50 51 |
# File 'data_zone/cfn_form_type_props.rb', line 49 def owning_project_identifier @owning_project_identifier end |
#status ⇒ String? (readonly)
The status of the form type.
59 60 61 |
# File 'data_zone/cfn_form_type_props.rb', line 59 def status @status end |
Class Method Details
.jsii_properties ⇒ Object
61 62 63 64 65 66 67 68 69 70 |
# File 'data_zone/cfn_form_type_props.rb', line 61 def self.jsii_properties { :domain_identifier => "domainIdentifier", :model => "model", :name => "name", :owning_project_identifier => "owningProjectIdentifier", :description => "description", :status => "status", } end |
Instance Method Details
#to_jsii ⇒ Object
72 73 74 75 76 77 78 79 80 81 82 83 |
# File 'data_zone/cfn_form_type_props.rb', line 72 def to_jsii result = {} result.merge!({ "domainIdentifier" => @domain_identifier, "model" => @model, "name" => @name, "owningProjectIdentifier" => @owning_project_identifier, "description" => @description, "status" => @status, }) result.compact end |