Module: AWSCDK::CXAPI::IEnvironmentPlaceholderProvider Deprecated

Defined in:
cxapi/i_environment_placeholder_provider.rb

Overview

Deprecated.

The definition of this type has moved to @aws-cdk/cloud-assembly-api.

Return the appropriate values for the environment placeholders.

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.jsii_overridable_methodsObject



30
31
32
33
34
35
36
# File 'cxapi/i_environment_placeholder_provider.rb', line 30

def self.jsii_overridable_methods
  {
    :account_id => { kind: :method, name: "accountId", is_optional: false },
    :partition => { kind: :method, name: "partition", is_optional: false },
    :region => { kind: :method, name: "region", is_optional: false },
  }
end

Instance Method Details

#account_idString

Return the account.

Returns:

  • (String)


12
13
14
# File 'cxapi/i_environment_placeholder_provider.rb', line 12

def ()
  jsii_async_call_method("accountId", [])
end

#partitionString

Return the partition.

Returns:

  • (String)


19
20
21
# File 'cxapi/i_environment_placeholder_provider.rb', line 19

def partition()
  jsii_async_call_method("partition", [])
end

#regionString

Return the region.

Returns:

  • (String)


26
27
28
# File 'cxapi/i_environment_placeholder_provider.rb', line 26

def region()
  jsii_async_call_method("region", [])
end