# ForceEndpointErrorConfigurationProperty

The failover settings for the endpoint.

- Source: Generated at build time
- Type last changed: v2.154.0 · 22 Aug 2024

## Example

TypeScript:

```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:

```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:

```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();
```

C# / .NET:

```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" }
};
```

Golang:

```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

- `endpointErrorConditions`: string[] — 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.
