Class: AWSCDK::DataZone::CfnProjectProfile::EnvironmentConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::DataZone::CfnProjectProfile::EnvironmentConfigurationProperty
- Defined in:
- data_zone/cfn_project_profile.rb
Overview
The configuration of an environment.
Instance Attribute Summary collapse
-
#aws_account ⇒ AWSCDK::IResolvable, ...
readonly
The AWS account of the environment.
-
#aws_region ⇒ AWSCDK::IResolvable, AWSCDK::DataZone::CfnProjectProfile::RegionProperty
readonly
The AWS Region of the environment.
-
#configuration_parameters ⇒ AWSCDK::IResolvable, ...
readonly
The configuration parameters of the environment.
-
#deployment_mode ⇒ String?
readonly
The deployment mode of the environment.
-
#deployment_order ⇒ Numeric?
readonly
The deployment order of the environment.
-
#description ⇒ String?
readonly
The environment description.
-
#environment_blueprint_id ⇒ String
readonly
The environment blueprint ID.
- #environment_configuration_id ⇒ String? readonly
-
#name ⇒ String
readonly
The environment name.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(aws_region:, environment_blueprint_id:, name:, aws_account: nil, configuration_parameters: nil, deployment_mode: nil, deployment_order: nil, description: nil, environment_configuration_id: nil) ⇒ EnvironmentConfigurationProperty
constructor
A new instance of EnvironmentConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(aws_region:, environment_blueprint_id:, name:, aws_account: nil, configuration_parameters: nil, deployment_mode: nil, deployment_order: nil, description: nil, environment_configuration_id: nil) ⇒ EnvironmentConfigurationProperty
Returns a new instance of EnvironmentConfigurationProperty.
804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 |
# File 'data_zone/cfn_project_profile.rb', line 804 def initialize(aws_region:, environment_blueprint_id:, name:, aws_account: nil, configuration_parameters: nil, deployment_mode: nil, deployment_order: nil, description: nil, environment_configuration_id: nil) @aws_region = aws_region.is_a?(Hash) ? ::AWSCDK::DataZone::CfnProjectProfile::RegionProperty.new(**aws_region.transform_keys(&:to_sym)) : aws_region Jsii::Type.check_type(@aws_region, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19kYXRhem9uZS5DZm5Qcm9qZWN0UHJvZmlsZS5SZWdpb25Qcm9wZXJ0eSJ9XX19")), "awsRegion") @environment_blueprint_id = environment_blueprint_id Jsii::Type.check_type(@environment_blueprint_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "environmentBlueprintId") @name = name Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name") @aws_account = aws_account.is_a?(Hash) ? ::AWSCDK::DataZone::CfnProjectProfile::AWSAccountProperty.new(**aws_account.transform_keys(&:to_sym)) : aws_account Jsii::Type.check_type(@aws_account, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19kYXRhem9uZS5DZm5Qcm9qZWN0UHJvZmlsZS5Bd3NBY2NvdW50UHJvcGVydHkifV19fQ==")), "awsAccount") unless @aws_account.nil? @configuration_parameters = configuration_parameters.is_a?(Hash) ? ::AWSCDK::DataZone::CfnProjectProfile::EnvironmentConfigurationParametersDetailsProperty.new(**configuration_parameters.transform_keys(&:to_sym)) : configuration_parameters Jsii::Type.check_type(@configuration_parameters, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19kYXRhem9uZS5DZm5Qcm9qZWN0UHJvZmlsZS5FbnZpcm9ubWVudENvbmZpZ3VyYXRpb25QYXJhbWV0ZXJzRGV0YWlsc1Byb3BlcnR5In1dfX0=")), "configurationParameters") unless @configuration_parameters.nil? @deployment_mode = deployment_mode Jsii::Type.check_type(@deployment_mode, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "deploymentMode") unless @deployment_mode.nil? @deployment_order = deployment_order Jsii::Type.check_type(@deployment_order, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "deploymentOrder") unless @deployment_order.nil? @description = description Jsii::Type.check_type(@description, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "description") unless @description.nil? @environment_configuration_id = environment_configuration_id Jsii::Type.check_type(@environment_configuration_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "environmentConfigurationId") unless @environment_configuration_id.nil? end |
Instance Attribute Details
#aws_account ⇒ AWSCDK::IResolvable, ... (readonly)
The AWS account of the environment.
844 845 846 |
# File 'data_zone/cfn_project_profile.rb', line 844 def aws_account @aws_account end |
#aws_region ⇒ AWSCDK::IResolvable, AWSCDK::DataZone::CfnProjectProfile::RegionProperty (readonly)
The AWS Region of the environment.
829 830 831 |
# File 'data_zone/cfn_project_profile.rb', line 829 def aws_region @aws_region end |
#configuration_parameters ⇒ AWSCDK::IResolvable, ... (readonly)
The configuration parameters of the environment.
849 850 851 |
# File 'data_zone/cfn_project_profile.rb', line 849 def configuration_parameters @configuration_parameters end |
#deployment_mode ⇒ String? (readonly)
The deployment mode of the environment.
854 855 856 |
# File 'data_zone/cfn_project_profile.rb', line 854 def deployment_mode @deployment_mode end |
#deployment_order ⇒ Numeric? (readonly)
The deployment order of the environment.
859 860 861 |
# File 'data_zone/cfn_project_profile.rb', line 859 def deployment_order @deployment_order end |
#description ⇒ String? (readonly)
The environment description.
864 865 866 |
# File 'data_zone/cfn_project_profile.rb', line 864 def description @description end |
#environment_blueprint_id ⇒ String (readonly)
The environment blueprint ID.
834 835 836 |
# File 'data_zone/cfn_project_profile.rb', line 834 def environment_blueprint_id @environment_blueprint_id end |
#environment_configuration_id ⇒ String? (readonly)
867 868 869 |
# File 'data_zone/cfn_project_profile.rb', line 867 def environment_configuration_id @environment_configuration_id end |
#name ⇒ String (readonly)
The environment name.
839 840 841 |
# File 'data_zone/cfn_project_profile.rb', line 839 def name @name end |
Class Method Details
.jsii_properties ⇒ Object
869 870 871 872 873 874 875 876 877 878 879 880 881 |
# File 'data_zone/cfn_project_profile.rb', line 869 def self.jsii_properties { :aws_region => "awsRegion", :environment_blueprint_id => "environmentBlueprintId", :name => "name", :aws_account => "awsAccount", :configuration_parameters => "configurationParameters", :deployment_mode => "deploymentMode", :deployment_order => "deploymentOrder", :description => "description", :environment_configuration_id => "environmentConfigurationId", } end |
Instance Method Details
#to_jsii ⇒ Object
883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 |
# File 'data_zone/cfn_project_profile.rb', line 883 def to_jsii result = {} result.merge!({ "awsRegion" => @aws_region, "environmentBlueprintId" => @environment_blueprint_id, "name" => @name, "awsAccount" => @aws_account, "configurationParameters" => @configuration_parameters, "deploymentMode" => @deployment_mode, "deploymentOrder" => @deployment_order, "description" => @description, "environmentConfigurationId" => @environment_configuration_id, }) result.compact end |