Module: AWSCDK::GlobalAccelerator::IEndpoint

Overview

An endpoint for the endpoint group.

Implementations of IEndpoint can be found in the aws-globalaccelerator-endpoints package.

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.jsii_overridable_methodsObject



25
26
27
28
29
30
# File 'global_accelerator/i_endpoint.rb', line 25

def self.jsii_overridable_methods
  {
    :region => { kind: :property, name: "region", is_optional: true },
    :render_endpoint_configuration => { kind: :method, name: "renderEndpointConfiguration", is_optional: false },
  }
end

Instance Method Details

#regionString?

The region where the endpoint is located.

If the region cannot be determined, undefined is returned

Returns:

  • (String, nil)


14
15
16
# File 'global_accelerator/i_endpoint.rb', line 14

def region()
  jsii_get_property("region")
end

#render_endpoint_configurationObject

Render the endpoint to an endpoint configuration.

Returns:

  • (Object)


21
22
23
# File 'global_accelerator/i_endpoint.rb', line 21

def render_endpoint_configuration()
  jsii_call_method("renderEndpointConfiguration", [])
end