Class: AWSCDK::MediaPackagev2::CfnOriginEndpoint::ForceEndpointErrorConfigurationProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
media_packagev2/cfn_origin_endpoint.rb

Overview

The failover settings for the endpoint.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(endpoint_error_conditions: nil) ⇒ ForceEndpointErrorConfigurationProperty

Returns a new instance of ForceEndpointErrorConfigurationProperty.

Parameters:

  • endpoint_error_conditions (Array<String>, nil) (defaults to: nil)

    The failover conditions for the endpoint. The options are:.



1700
1701
1702
1703
# File 'media_packagev2/cfn_origin_endpoint.rb', line 1700

def initialize(endpoint_error_conditions: nil)
  @endpoint_error_conditions = endpoint_error_conditions
  Jsii::Type.check_type(@endpoint_error_conditions, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "endpointErrorConditions") unless @endpoint_error_conditions.nil?
end

Instance Attribute Details

#endpoint_error_conditionsArray<String>? (readonly)

The failover conditions for the endpoint. The options are:.

  • STALE_MANIFEST - The manifest stalled and there are no new segments or parts.
  • INCOMPLETE_MANIFEST - There is a gap in the manifest.
  • MISSING_DRM_KEY - Key rotation is enabled but we're unable to fetch the key for the current key period.
  • SLATE_INPUT - The segments which contain slate content are considered to be missing content.


1714
1715
1716
# File 'media_packagev2/cfn_origin_endpoint.rb', line 1714

def endpoint_error_conditions
  @endpoint_error_conditions
end

Class Method Details

.jsii_propertiesObject



1716
1717
1718
1719
1720
# File 'media_packagev2/cfn_origin_endpoint.rb', line 1716

def self.jsii_properties
  {
    :endpoint_error_conditions => "endpointErrorConditions",
  }
end

Instance Method Details

#to_jsiiObject



1722
1723
1724
1725
1726
1727
1728
# File 'media_packagev2/cfn_origin_endpoint.rb', line 1722

def to_jsii
  result = {}
  result.merge!({
    "endpointErrorConditions" => @endpoint_error_conditions,
  })
  result.compact
end