Class: AWSCDK::DataZone::CfnProjectProfile::EnvironmentConfigurationProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
data_zone/cfn_project_profile.rb

Overview

The configuration of an environment.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

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.

Parameters:



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 = .is_a?(Hash) ? ::AWSCDK::DataZone::CfnProjectProfile::AWSAccountProperty.new(**.transform_keys(&:to_sym)) : 
  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_accountAWSCDK::IResolvable, ... (readonly)

The AWS account of the environment.



844
845
846
# File 'data_zone/cfn_project_profile.rb', line 844

def 
  @aws_account
end

#configuration_parametersAWSCDK::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_modeString? (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_orderNumeric? (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

#descriptionString? (readonly)

The environment description.



864
865
866
# File 'data_zone/cfn_project_profile.rb', line 864

def description
  @description
end

#environment_blueprint_idString (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_idString? (readonly)



867
868
869
# File 'data_zone/cfn_project_profile.rb', line 867

def environment_configuration_id
  @environment_configuration_id
end

#nameString (readonly)

The environment name.



839
840
841
# File 'data_zone/cfn_project_profile.rb', line 839

def name
  @name
end

Class Method Details

.jsii_propertiesObject



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_jsiiObject



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