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