Attributes for creating a new environment.

Hierarchy

  • CreateEnvironmentAttributes

Constructors

Properties

additionalProperties?: {
    [key: string]: any;
}

A container for additional, undeclared properties. This is a holder for any undeclared properties as specified with the 'additionalProperties' keyword in the OAS document.

Type declaration

  • [key: string]: any
isProduction?: boolean

Indicates whether this is a production environment.

name: string

The name of the environment. Required on every request and unique within the organization. Must contain 1 to 200 ASCII characters, start with a letter or digit, and contain only letters, digits, spaces, underscores, hyphens, and periods.

observeFullEvaluationData?: boolean

Controls whether feature flag evaluation events may include original targeting identifiers and full evaluation context. When true, SDKs may include this data. When false, SDKs hash targeting identifiers and omit evaluation context. If omitted, defaults to false.

queries: string[]

Required list of at least one exact DD_ENV value associated with this environment. Values cannot be used by another environment in the same organization. Wildcards and search expressions are not supported.

requireFeatureFlagApproval?: boolean

Indicates whether feature flag changes require approval in this environment.

subjectAuthorizationOidcProviderId?: string

The ID of a Custom OIDC provider, formatted as a nonzero UUID. Required when subject_authorization_state is enabled. If omitted or null, no provider is associated. A non-null ID must be registered in the current organization and site, even when subject authorization is disabled. An unregistered ID returns 400 Bad Request, and an unavailable registry returns 503 Service Unavailable. Saving does not verify provider eligibility or key publication.

subjectAuthorizationState?: EnvironmentSubjectAuthorizationState

Whether assignment requests for this environment require subject authorization. Allowed values are disabled and enabled. Enabling requires a provider ID formatted as a nonzero UUID. If omitted on create, defaults to disabled. If omitted on update, the stored state is preserved. null is not accepted. This setting applies only to the current Datadog site and is not copied to other sites. Before you enable it, configure an eligible Custom OIDC provider in the same organization and site, and verify that the provider's keys are published. Assignment requests fail when the required verification configuration is unavailable.

Generated using TypeDoc