Class: AWSCDK::Evidently::CfnProject::AppConfigResourceObjectProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
evidently/cfn_project.rb

Overview

This is a structure that defines the configuration of how your application integrates with AWS AppConfig to run client-side evaluation.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(application_id:, environment_id:) ⇒ AppConfigResourceObjectProperty

Returns a new instance of AppConfigResourceObjectProperty.

Parameters:

  • application_id (String)

    The ID of the AWS AppConfig application to use for client-side evaluation.

  • environment_id (String)

    The ID of the AWS AppConfig environment to use for client-side evaluation.



576
577
578
579
580
581
# File 'evidently/cfn_project.rb', line 576

def initialize(application_id:, environment_id:)
  @application_id = application_id
  Jsii::Type.check_type(@application_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "applicationId")
  @environment_id = environment_id
  Jsii::Type.check_type(@environment_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "environmentId")
end

Instance Attribute Details

#application_idString (readonly)

The ID of the AWS AppConfig application to use for client-side evaluation.



587
588
589
# File 'evidently/cfn_project.rb', line 587

def application_id
  @application_id
end

#environment_idString (readonly)

The ID of the AWS AppConfig environment to use for client-side evaluation.



592
593
594
# File 'evidently/cfn_project.rb', line 592

def environment_id
  @environment_id
end

Class Method Details

.jsii_propertiesObject



594
595
596
597
598
599
# File 'evidently/cfn_project.rb', line 594

def self.jsii_properties
  {
    :application_id => "applicationId",
    :environment_id => "environmentId",
  }
end

Instance Method Details

#to_jsiiObject



601
602
603
604
605
606
607
608
# File 'evidently/cfn_project.rb', line 601

def to_jsii
  result = {}
  result.merge!({
    "applicationId" => @application_id,
    "environmentId" => @environment_id,
  })
  result.compact
end