Class: AWSCDK::CloudFront::Endpoint

Inherits:
Jsii::Object
  • Object
show all
Defined in:
cloud_front/endpoint.rb

Overview

Represents the endpoints available for targetting within a realtime log config resource.

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(*args) ⇒ Endpoint

Returns a new instance of Endpoint.

Raises:

  • (NoMethodError)


8
9
10
# File 'cloud_front/endpoint.rb', line 8

def initialize(*args)
  raise NoMethodError, "aws-cdk-lib.aws_cloudfront.Endpoint does not have a visible constructor; use the provided factory methods"
end

Class Method Details

.from_kinesis_stream(stream, role = nil) ⇒ AWSCDK::CloudFront::Endpoint

Note:

Default: - a role will be created and used across your endpoints

Configure a Kinesis Stream Endpoint for Realtime Log Config.

Parameters:

Returns:

  • (AWSCDK::CloudFront::Endpoint)


23
24
25
26
27
# File 'cloud_front/endpoint.rb', line 23

def self.from_kinesis_stream(stream, role = nil)
  Jsii::Type.check_type(stream, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfa2luZXNpcy5JU3RyZWFtIn0=")), "stream")
  Jsii::Type.check_type(role, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfaWFtLklSb2xlIn0=")), "role") unless role.nil?
  Jsii::Kernel.instance.call_static("aws-cdk-lib.aws_cloudfront.Endpoint", "fromKinesisStream", [stream, role])
end

.jsii_overridable_methodsObject



12
13
14
15
# File 'cloud_front/endpoint.rb', line 12

def self.jsii_overridable_methods
  {
  }
end