Class: AWSCDK::DataZone::CfnEnvironmentProfileProps

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

Overview

Properties for defining a CfnEnvironmentProfile.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(aws_account_id:, aws_account_region:, domain_identifier:, environment_blueprint_identifier:, name:, project_identifier:, description: nil, user_parameters: nil) ⇒ CfnEnvironmentProfileProps

Returns a new instance of CfnEnvironmentProfileProps.

Parameters:

  • aws_account_id (String)

    The identifier of an AWS account in which an environment profile exists.

  • aws_account_region (String)

    The AWS Region in which an environment profile exists.

  • domain_identifier (String)

    The identifier of the Amazon DataZone domain in which the environment profile exists.

  • environment_blueprint_identifier (String)

    The identifier of a blueprint with which an environment profile is created.

  • name (String)

    The name of the environment profile.

  • project_identifier (String)

    The identifier of a project in which an environment profile exists.

  • description (String, nil) (defaults to: nil)

    The description of the environment profile.

  • user_parameters (AWSCDK::IResolvable, Array<AWSCDK::IResolvable, AWSCDK::DataZone::CfnEnvironmentProfile::EnvironmentParameterProperty>, nil) (defaults to: nil)

    The user parameters of this Amazon DataZone environment profile.



17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# File 'data_zone/cfn_environment_profile_props.rb', line 17

def initialize(aws_account_id:, aws_account_region:, domain_identifier:, environment_blueprint_identifier:, name:, project_identifier:, description: nil, user_parameters: nil)
  @aws_account_id = 
  Jsii::Type.check_type(@aws_account_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "awsAccountId")
  @aws_account_region = 
  Jsii::Type.check_type(@aws_account_region, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "awsAccountRegion")
  @domain_identifier = domain_identifier
  Jsii::Type.check_type(@domain_identifier, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "domainIdentifier")
  @environment_blueprint_identifier = environment_blueprint_identifier
  Jsii::Type.check_type(@environment_blueprint_identifier, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "environmentBlueprintIdentifier")
  @name = name
  Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name")
  @project_identifier = project_identifier
  Jsii::Type.check_type(@project_identifier, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "projectIdentifier")
  @description = description
  Jsii::Type.check_type(@description, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "description") unless @description.nil?
  @user_parameters = user_parameters
  Jsii::Type.check_type(@user_parameters, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfZGF0YXpvbmUuQ2ZuRW52aXJvbm1lbnRQcm9maWxlLkVudmlyb25tZW50UGFyYW1ldGVyUHJvcGVydHkifV19fSwia2luZCI6ImFycmF5In19XX19")), "userParameters") unless @user_parameters.nil?
end

Instance Attribute Details

#aws_account_idString (readonly)

The identifier of an AWS account in which an environment profile exists.



40
41
42
# File 'data_zone/cfn_environment_profile_props.rb', line 40

def 
  @aws_account_id
end

#aws_account_regionString (readonly)

The AWS Region in which an environment profile exists.



45
46
47
# File 'data_zone/cfn_environment_profile_props.rb', line 45

def 
  @aws_account_region
end

#descriptionString? (readonly)

The description of the environment profile.



70
71
72
# File 'data_zone/cfn_environment_profile_props.rb', line 70

def description
  @description
end

#domain_identifierString (readonly)

The identifier of the Amazon DataZone domain in which the environment profile exists.



50
51
52
# File 'data_zone/cfn_environment_profile_props.rb', line 50

def domain_identifier
  @domain_identifier
end

#environment_blueprint_identifierString (readonly)

The identifier of a blueprint with which an environment profile is created.



55
56
57
# File 'data_zone/cfn_environment_profile_props.rb', line 55

def environment_blueprint_identifier
  @environment_blueprint_identifier
end

#nameString (readonly)

The name of the environment profile.



60
61
62
# File 'data_zone/cfn_environment_profile_props.rb', line 60

def name
  @name
end

#project_identifierString (readonly)

The identifier of a project in which an environment profile exists.



65
66
67
# File 'data_zone/cfn_environment_profile_props.rb', line 65

def project_identifier
  @project_identifier
end

#user_parametersAWSCDK::IResolvable, ... (readonly)

The user parameters of this Amazon DataZone environment profile.



75
76
77
# File 'data_zone/cfn_environment_profile_props.rb', line 75

def user_parameters
  @user_parameters
end

Class Method Details

.jsii_propertiesObject



77
78
79
80
81
82
83
84
85
86
87
88
# File 'data_zone/cfn_environment_profile_props.rb', line 77

def self.jsii_properties
  {
    :aws_account_id => "awsAccountId",
    :aws_account_region => "awsAccountRegion",
    :domain_identifier => "domainIdentifier",
    :environment_blueprint_identifier => "environmentBlueprintIdentifier",
    :name => "name",
    :project_identifier => "projectIdentifier",
    :description => "description",
    :user_parameters => "userParameters",
  }
end

Instance Method Details

#to_jsiiObject



90
91
92
93
94
95
96
97
98
99
100
101
102
103
# File 'data_zone/cfn_environment_profile_props.rb', line 90

def to_jsii
  result = {}
  result.merge!({
    "awsAccountId" => @aws_account_id,
    "awsAccountRegion" => @aws_account_region,
    "domainIdentifier" => @domain_identifier,
    "environmentBlueprintIdentifier" => @environment_blueprint_identifier,
    "name" => @name,
    "projectIdentifier" => @project_identifier,
    "description" => @description,
    "userParameters" => @user_parameters,
  })
  result.compact
end