Class: AWSCDK::Interfaces::AWSAppconfig::DeploymentReference
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Interfaces::AWSAppconfig::DeploymentReference
- Defined in:
- interfaces/aws_appconfig/deployment_reference.rb
Overview
A reference to a Deployment resource.
Instance Attribute Summary collapse
-
#application_id ⇒ String
readonly
The ApplicationId of the Deployment resource.
-
#deployment_number ⇒ String
readonly
The DeploymentNumber of the Deployment resource.
-
#environment_id ⇒ String
readonly
The EnvironmentId of the Deployment resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(application_id:, deployment_number:, environment_id:) ⇒ DeploymentReference
constructor
A new instance of DeploymentReference.
- #to_jsii ⇒ Object
Constructor Details
#initialize(application_id:, deployment_number:, environment_id:) ⇒ DeploymentReference
Returns a new instance of DeploymentReference.
10 11 12 13 14 15 16 17 |
# File 'interfaces/aws_appconfig/deployment_reference.rb', line 10 def initialize(application_id:, deployment_number:, environment_id:) @application_id = application_id Jsii::Type.check_type(@application_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "applicationId") @deployment_number = deployment_number Jsii::Type.check_type(@deployment_number, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "deploymentNumber") @environment_id = environment_id Jsii::Type.check_type(@environment_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "environmentId") end |
Instance Attribute Details
#application_id ⇒ String (readonly)
The ApplicationId of the Deployment resource.
22 23 24 |
# File 'interfaces/aws_appconfig/deployment_reference.rb', line 22 def application_id @application_id end |
#deployment_number ⇒ String (readonly)
The DeploymentNumber of the Deployment resource.
26 27 28 |
# File 'interfaces/aws_appconfig/deployment_reference.rb', line 26 def deployment_number @deployment_number end |
#environment_id ⇒ String (readonly)
The EnvironmentId of the Deployment resource.
30 31 32 |
# File 'interfaces/aws_appconfig/deployment_reference.rb', line 30 def environment_id @environment_id end |
Class Method Details
.jsii_properties ⇒ Object
32 33 34 35 36 37 38 |
# File 'interfaces/aws_appconfig/deployment_reference.rb', line 32 def self.jsii_properties { :application_id => "applicationId", :deployment_number => "deploymentNumber", :environment_id => "environmentId", } end |
Instance Method Details
#to_jsii ⇒ Object
40 41 42 43 44 45 46 47 48 |
# File 'interfaces/aws_appconfig/deployment_reference.rb', line 40 def to_jsii result = {} result.merge!({ "applicationId" => @application_id, "deploymentNumber" => @deployment_number, "environmentId" => @environment_id, }) result.compact end |