import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * Provides a GitHub Actions OIDC intake mapping for Datadog workload identity federation. The mapping allows GitHub Actions workloads whose OIDC tokens match the `claimMatchers` patterns to send telemetry to Datadog intake endpoints. Mappings cannot be updated; changing any attribute replaces the mapping. This resource uses a public beta API and is subject to change. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as datadog from "@pulumi/datadog"; * * const terraform = new datadog.GithubOidcIntakeMapping("terraform", {claimMatchers: [{ * sub: "repo:my-org/terraform:ref:refs/heads/main", * repository: "^my-org/terraform$", * }]}); * ``` * * ## Import * * The `pulumi import` command can be used, for example: * * ```sh * $ pulumi import datadog:index/githubOidcIntakeMapping:GithubOidcIntakeMapping terraform "00000000-0000-0000-0000-000000000000" * ``` */ export declare class GithubOidcIntakeMapping extends pulumi.CustomResource { /** * Get an existing GithubOidcIntakeMapping resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: GithubOidcIntakeMappingState, opts?: pulumi.CustomResourceOptions): GithubOidcIntakeMapping; /** * Check whether an existing GithubOidcIntakeMapping resource with the given ID exists. * * @param id The _unique_ provider ID of the resource to check. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static exists(id: pulumi.Input, state?: GithubOidcIntakeMappingState, opts?: pulumi.CustomResourceOptions): pulumi.Output; /** * Returns true if the given object is an instance of GithubOidcIntakeMapping. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is GithubOidcIntakeMapping; /** * GitHub Actions OIDC claims to match against. Each argument is a regular expression; `sub` is required and all other claims are optional. A token matches only when all provided patterns match simultaneously (AND semantics). */ readonly claimMatchers: pulumi.Output; /** * Create a GithubOidcIntakeMapping resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: GithubOidcIntakeMappingArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering GithubOidcIntakeMapping resources. */ export interface GithubOidcIntakeMappingState { /** * GitHub Actions OIDC claims to match against. Each argument is a regular expression; `sub` is required and all other claims are optional. A token matches only when all provided patterns match simultaneously (AND semantics). */ claimMatchers?: pulumi.Input; } /** * The set of arguments for constructing a GithubOidcIntakeMapping resource. */ export interface GithubOidcIntakeMappingArgs { /** * GitHub Actions OIDC claims to match against. Each argument is a regular expression; `sub` is required and all other claims are optional. A token matches only when all provided patterns match simultaneously (AND semantics). */ claimMatchers: pulumi.Input; } //# sourceMappingURL=githubOidcIntakeMapping.d.ts.map