Skip to content
v2.278.0

ForceEndpointErrorConfigurationProperty Struct ​

The failover settings for the endpoint.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_mediapackagev2 as mediapackagev2 } from 'aws-cdk-lib';
const forceEndpointErrorConfigurationProperty: mediapackagev2.CfnOriginEndpoint.ForceEndpointErrorConfigurationProperty = {
  endpointErrorConditions: ['endpointErrorConditions'],
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_mediapackagev2 as mediapackagev2

force_endpoint_error_configuration_property = mediapackagev2.CfnOriginEndpoint.ForceEndpointErrorConfigurationProperty(
    endpoint_error_conditions=["endpointErrorConditions"]
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.mediapackagev2.*;

ForceEndpointErrorConfigurationProperty forceEndpointErrorConfigurationProperty = ForceEndpointErrorConfigurationProperty.builder()
        .endpointErrorConditions(List.of("endpointErrorConditions"))
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.MediaPackageV2;

var forceEndpointErrorConfigurationProperty = new ForceEndpointErrorConfigurationProperty {
    EndpointErrorConditions = new [] { "endpointErrorConditions" }
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

forceEndpointErrorConfigurationProperty := &ForceEndpointErrorConfigurationProperty{
	EndpointErrorConditions: []*string{
		jsii.String("endpointErrorConditions"),
	},
}

Properties ​

endpointErrorConditionsoptionalstring[]endpoint_error_conditionsoptionaltyping.List[str]endpointErrorConditionsoptionalList<String>EndpointErrorConditionsoptionalstring[]EndpointErrorConditionsoptional*[]*string #
The failover conditions for the endpoint. The options are:.
notes
  • 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.