@pulumi/datadog 4.57.0-alpha.1759297630 → 4.57.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/aws/getIntegrationExternalId.d.ts +68 -0
- package/aws/getIntegrationExternalId.js +52 -0
- package/aws/getIntegrationExternalId.js.map +1 -0
- package/aws/index.d.ts +3 -0
- package/aws/index.js +4 -1
- package/aws/index.js.map +1 -1
- package/awsCurConfig.d.ts +112 -0
- package/awsCurConfig.js +82 -0
- package/awsCurConfig.js.map +1 -0
- package/getAwsCurConfig.d.ts +85 -0
- package/getAwsCurConfig.js +30 -0
- package/getAwsCurConfig.js.map +1 -0
- package/getDashboardList.d.ts +3 -3
- package/getHosts.d.ts +3 -3
- package/getRumApplication.d.ts +4 -0
- package/getRumApplication.js.map +1 -1
- package/getSoftwareCatalog.d.ts +3 -3
- package/getSyntheticsGlobalVariable.d.ts +3 -3
- package/index.d.ts +9 -0
- package/index.js +18 -5
- package/index.js.map +1 -1
- package/orgConnection.d.ts +127 -0
- package/orgConnection.js +94 -0
- package/orgConnection.js.map +1 -0
- package/package.json +2 -2
- package/rumApplication.d.ts +8 -0
- package/rumApplication.js +2 -0
- package/rumApplication.js.map +1 -1
- package/types/input.d.ts +118 -22
- package/types/output.d.ts +104 -22
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Use this data source to retrieve the external ID from an existing AWS integration. This can be used to reference the external ID value from an existing AWS account integration.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as datadog from "@pulumi/datadog";
|
|
10
|
+
*
|
|
11
|
+
* // Get the external ID for the AWS account "123456789012"
|
|
12
|
+
* const example = datadog.aws.getIntegrationExternalId({
|
|
13
|
+
* awsAccountId: "123456789012",
|
|
14
|
+
* });
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
export declare function getIntegrationExternalId(args: GetIntegrationExternalIdArgs, opts?: pulumi.InvokeOptions): Promise<GetIntegrationExternalIdResult>;
|
|
18
|
+
/**
|
|
19
|
+
* A collection of arguments for invoking getIntegrationExternalId.
|
|
20
|
+
*/
|
|
21
|
+
export interface GetIntegrationExternalIdArgs {
|
|
22
|
+
/**
|
|
23
|
+
* The AWS account ID of the integration to retrieve the external ID from. Must be a valid 12 digits AWS account ID.
|
|
24
|
+
*/
|
|
25
|
+
awsAccountId: string;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* A collection of values returned by getIntegrationExternalId.
|
|
29
|
+
*/
|
|
30
|
+
export interface GetIntegrationExternalIdResult {
|
|
31
|
+
/**
|
|
32
|
+
* The AWS account ID of the integration to retrieve the external ID from. Must be a valid 12 digits AWS account ID.
|
|
33
|
+
*/
|
|
34
|
+
readonly awsAccountId: string;
|
|
35
|
+
/**
|
|
36
|
+
* The external ID associated with the AWS integration.
|
|
37
|
+
*/
|
|
38
|
+
readonly externalId: string;
|
|
39
|
+
/**
|
|
40
|
+
* The ID of this resource.
|
|
41
|
+
*/
|
|
42
|
+
readonly id: string;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Use this data source to retrieve the external ID from an existing AWS integration. This can be used to reference the external ID value from an existing AWS account integration.
|
|
46
|
+
*
|
|
47
|
+
* ## Example Usage
|
|
48
|
+
*
|
|
49
|
+
* ```typescript
|
|
50
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
51
|
+
* import * as datadog from "@pulumi/datadog";
|
|
52
|
+
*
|
|
53
|
+
* // Get the external ID for the AWS account "123456789012"
|
|
54
|
+
* const example = datadog.aws.getIntegrationExternalId({
|
|
55
|
+
* awsAccountId: "123456789012",
|
|
56
|
+
* });
|
|
57
|
+
* ```
|
|
58
|
+
*/
|
|
59
|
+
export declare function getIntegrationExternalIdOutput(args: GetIntegrationExternalIdOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetIntegrationExternalIdResult>;
|
|
60
|
+
/**
|
|
61
|
+
* A collection of arguments for invoking getIntegrationExternalId.
|
|
62
|
+
*/
|
|
63
|
+
export interface GetIntegrationExternalIdOutputArgs {
|
|
64
|
+
/**
|
|
65
|
+
* The AWS account ID of the integration to retrieve the external ID from. Must be a valid 12 digits AWS account ID.
|
|
66
|
+
*/
|
|
67
|
+
awsAccountId: pulumi.Input<string>;
|
|
68
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getIntegrationExternalIdOutput = exports.getIntegrationExternalId = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Use this data source to retrieve the external ID from an existing AWS integration. This can be used to reference the external ID value from an existing AWS account integration.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as datadog from "@pulumi/datadog";
|
|
16
|
+
*
|
|
17
|
+
* // Get the external ID for the AWS account "123456789012"
|
|
18
|
+
* const example = datadog.aws.getIntegrationExternalId({
|
|
19
|
+
* awsAccountId: "123456789012",
|
|
20
|
+
* });
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
function getIntegrationExternalId(args, opts) {
|
|
24
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
25
|
+
return pulumi.runtime.invoke("datadog:aws/getIntegrationExternalId:getIntegrationExternalId", {
|
|
26
|
+
"awsAccountId": args.awsAccountId,
|
|
27
|
+
}, opts);
|
|
28
|
+
}
|
|
29
|
+
exports.getIntegrationExternalId = getIntegrationExternalId;
|
|
30
|
+
/**
|
|
31
|
+
* Use this data source to retrieve the external ID from an existing AWS integration. This can be used to reference the external ID value from an existing AWS account integration.
|
|
32
|
+
*
|
|
33
|
+
* ## Example Usage
|
|
34
|
+
*
|
|
35
|
+
* ```typescript
|
|
36
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
37
|
+
* import * as datadog from "@pulumi/datadog";
|
|
38
|
+
*
|
|
39
|
+
* // Get the external ID for the AWS account "123456789012"
|
|
40
|
+
* const example = datadog.aws.getIntegrationExternalId({
|
|
41
|
+
* awsAccountId: "123456789012",
|
|
42
|
+
* });
|
|
43
|
+
* ```
|
|
44
|
+
*/
|
|
45
|
+
function getIntegrationExternalIdOutput(args, opts) {
|
|
46
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
47
|
+
return pulumi.runtime.invokeOutput("datadog:aws/getIntegrationExternalId:getIntegrationExternalId", {
|
|
48
|
+
"awsAccountId": args.awsAccountId,
|
|
49
|
+
}, opts);
|
|
50
|
+
}
|
|
51
|
+
exports.getIntegrationExternalIdOutput = getIntegrationExternalIdOutput;
|
|
52
|
+
//# sourceMappingURL=getIntegrationExternalId.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getIntegrationExternalId.js","sourceRoot":"","sources":["../../aws/getIntegrationExternalId.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;GAcG;AACH,SAAgB,wBAAwB,CAAC,IAAkC,EAAE,IAA2B;IACpG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,+DAA+D,EAAE;QAC1F,cAAc,EAAE,IAAI,CAAC,YAAY;KACpC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,4DAKC;AA6BD;;;;;;;;;;;;;;GAcG;AACH,SAAgB,8BAA8B,CAAC,IAAwC,EAAE,IAAiC;IACtH,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,+DAA+D,EAAE;QAChG,cAAc,EAAE,IAAI,CAAC,YAAY;KACpC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,wEAKC"}
|
package/aws/index.d.ts
CHANGED
|
@@ -4,6 +4,9 @@ export declare const getIntegrationAvailableLogsServicesOutput: typeof import(".
|
|
|
4
4
|
export { GetIntegrationAvailableNamespacesResult } from "./getIntegrationAvailableNamespaces";
|
|
5
5
|
export declare const getIntegrationAvailableNamespaces: typeof import("./getIntegrationAvailableNamespaces").getIntegrationAvailableNamespaces;
|
|
6
6
|
export declare const getIntegrationAvailableNamespacesOutput: typeof import("./getIntegrationAvailableNamespaces").getIntegrationAvailableNamespacesOutput;
|
|
7
|
+
export { GetIntegrationExternalIdArgs, GetIntegrationExternalIdResult, GetIntegrationExternalIdOutputArgs } from "./getIntegrationExternalId";
|
|
8
|
+
export declare const getIntegrationExternalId: typeof import("./getIntegrationExternalId").getIntegrationExternalId;
|
|
9
|
+
export declare const getIntegrationExternalIdOutput: typeof import("./getIntegrationExternalId").getIntegrationExternalIdOutput;
|
|
7
10
|
export { GetIntegrationIamPermissionsResult } from "./getIntegrationIamPermissions";
|
|
8
11
|
export declare const getIntegrationIamPermissions: typeof import("./getIntegrationIamPermissions").getIntegrationIamPermissions;
|
|
9
12
|
export declare const getIntegrationIamPermissionsOutput: typeof import("./getIntegrationIamPermissions").getIntegrationIamPermissionsOutput;
|
package/aws/index.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.IntegrationTagFilter = exports.IntegrationLogCollection = exports.IntegrationLambdaArn = exports.IntegrationExternalId = exports.IntegrationEventBridge = exports.IntegrationAccount = exports.Integration = exports.getIntegrationNamespaceRulesOutput = exports.getIntegrationNamespaceRules = exports.getIntegrationLogsServicesOutput = exports.getIntegrationLogsServices = exports.getIntegrationIamPermissionsOutput = exports.getIntegrationIamPermissions = exports.getIntegrationAvailableNamespacesOutput = exports.getIntegrationAvailableNamespaces = exports.getIntegrationAvailableLogsServicesOutput = exports.getIntegrationAvailableLogsServices = void 0;
|
|
5
|
+
exports.IntegrationTagFilter = exports.IntegrationLogCollection = exports.IntegrationLambdaArn = exports.IntegrationExternalId = exports.IntegrationEventBridge = exports.IntegrationAccount = exports.Integration = exports.getIntegrationNamespaceRulesOutput = exports.getIntegrationNamespaceRules = exports.getIntegrationLogsServicesOutput = exports.getIntegrationLogsServices = exports.getIntegrationIamPermissionsOutput = exports.getIntegrationIamPermissions = exports.getIntegrationExternalIdOutput = exports.getIntegrationExternalId = exports.getIntegrationAvailableNamespacesOutput = exports.getIntegrationAvailableNamespaces = exports.getIntegrationAvailableLogsServicesOutput = exports.getIntegrationAvailableLogsServices = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
exports.getIntegrationAvailableLogsServices = null;
|
|
@@ -11,6 +11,9 @@ utilities.lazyLoad(exports, ["getIntegrationAvailableLogsServices", "getIntegrat
|
|
|
11
11
|
exports.getIntegrationAvailableNamespaces = null;
|
|
12
12
|
exports.getIntegrationAvailableNamespacesOutput = null;
|
|
13
13
|
utilities.lazyLoad(exports, ["getIntegrationAvailableNamespaces", "getIntegrationAvailableNamespacesOutput"], () => require("./getIntegrationAvailableNamespaces"));
|
|
14
|
+
exports.getIntegrationExternalId = null;
|
|
15
|
+
exports.getIntegrationExternalIdOutput = null;
|
|
16
|
+
utilities.lazyLoad(exports, ["getIntegrationExternalId", "getIntegrationExternalIdOutput"], () => require("./getIntegrationExternalId"));
|
|
14
17
|
exports.getIntegrationIamPermissions = null;
|
|
15
18
|
exports.getIntegrationIamPermissionsOutput = null;
|
|
16
19
|
utilities.lazyLoad(exports, ["getIntegrationIamPermissions", "getIntegrationIamPermissionsOutput"], () => require("./getIntegrationIamPermissions"));
|
package/aws/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../aws/index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAI7B,QAAA,mCAAmC,GAA+F,IAAW,CAAC;AAC9I,QAAA,yCAAyC,GAAqG,IAAW,CAAC;AACvK,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,qCAAqC,EAAC,2CAA2C,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,uCAAuC,CAAC,CAAC,CAAC;AAG5J,QAAA,iCAAiC,GAA2F,IAAW,CAAC;AACxI,QAAA,uCAAuC,GAAiG,IAAW,CAAC;AACjK,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,mCAAmC,EAAC,yCAAyC,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,qCAAqC,CAAC,CAAC,CAAC;AAGtJ,QAAA,4BAA4B,GAAiF,IAAW,CAAC;AACzH,QAAA,kCAAkC,GAAuF,IAAW,CAAC;AAClJ,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,8BAA8B,EAAC,oCAAoC,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,gCAAgC,CAAC,CAAC,CAAC;AAGvI,QAAA,0BAA0B,GAA6E,IAAW,CAAC;AACnH,QAAA,gCAAgC,GAAmF,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,CAAC,sBAAsB,CAAC,SAAS,EAAE,0BAA0B,EAAE,OAAO,CAAC,CAAA"}
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Provides a Datadog AWS CUR (Cost and Usage Report) configuration resource. This enables Datadog Cloud Cost Management to access your AWS billing data by configuring the connection to your AWS Cost and Usage Report. **Prerequisites**: An active Datadog AWS integration, existing AWS Cost and Usage Report, and proper S3 bucket permissions.
|
|
6
|
+
*
|
|
7
|
+
* ## Import
|
|
8
|
+
*
|
|
9
|
+
* The `pulumi import` command can be used, for example:
|
|
10
|
+
*
|
|
11
|
+
* ```sh
|
|
12
|
+
* $ pulumi import datadog:index/awsCurConfig:AwsCurConfig aws_cur_report <cloud_account_id>
|
|
13
|
+
* ```
|
|
14
|
+
*/
|
|
15
|
+
export declare class AwsCurConfig extends pulumi.CustomResource {
|
|
16
|
+
/**
|
|
17
|
+
* Get an existing AwsCurConfig resource's state with the given name, ID, and optional extra
|
|
18
|
+
* properties used to qualify the lookup.
|
|
19
|
+
*
|
|
20
|
+
* @param name The _unique_ name of the resulting resource.
|
|
21
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
22
|
+
* @param state Any extra arguments used during the lookup.
|
|
23
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
24
|
+
*/
|
|
25
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AwsCurConfigState, opts?: pulumi.CustomResourceOptions): AwsCurConfig;
|
|
26
|
+
/**
|
|
27
|
+
* Returns true if the given object is an instance of AwsCurConfig. This is designed to work even
|
|
28
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
29
|
+
*/
|
|
30
|
+
static isInstance(obj: any): obj is AwsCurConfig;
|
|
31
|
+
readonly accountFilters: pulumi.Output<outputs.AwsCurConfigAccountFilters | undefined>;
|
|
32
|
+
/**
|
|
33
|
+
* The AWS account ID of your billing/payer account. For AWS Organizations, this is typically the management account ID.
|
|
34
|
+
*/
|
|
35
|
+
readonly accountId: pulumi.Output<string>;
|
|
36
|
+
/**
|
|
37
|
+
* The S3 bucket name where your AWS Cost and Usage Report files are stored. This bucket must have appropriate IAM permissions for Datadog access and should be in the same AWS account as the CUR report.
|
|
38
|
+
*/
|
|
39
|
+
readonly bucketName: pulumi.Output<string>;
|
|
40
|
+
/**
|
|
41
|
+
* The AWS region where the S3 bucket containing your Cost and Usage Report is located (e.g., us-east-1, eu-west-1).
|
|
42
|
+
*/
|
|
43
|
+
readonly bucketRegion: pulumi.Output<string | undefined>;
|
|
44
|
+
/**
|
|
45
|
+
* The exact name of your AWS Cost and Usage Report as configured in AWS Billing preferences. This must match the report name exactly as it appears in your AWS billing settings.
|
|
46
|
+
*/
|
|
47
|
+
readonly reportName: pulumi.Output<string>;
|
|
48
|
+
/**
|
|
49
|
+
* The S3 key prefix where your Cost and Usage Report files are stored within the bucket (e.g., 'cur-reports/', 'billing/cur/').
|
|
50
|
+
*/
|
|
51
|
+
readonly reportPrefix: pulumi.Output<string>;
|
|
52
|
+
/**
|
|
53
|
+
* Create a AwsCurConfig resource with the given unique name, arguments, and options.
|
|
54
|
+
*
|
|
55
|
+
* @param name The _unique_ name of the resource.
|
|
56
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
57
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
58
|
+
*/
|
|
59
|
+
constructor(name: string, args: AwsCurConfigArgs, opts?: pulumi.CustomResourceOptions);
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Input properties used for looking up and filtering AwsCurConfig resources.
|
|
63
|
+
*/
|
|
64
|
+
export interface AwsCurConfigState {
|
|
65
|
+
accountFilters?: pulumi.Input<inputs.AwsCurConfigAccountFilters>;
|
|
66
|
+
/**
|
|
67
|
+
* The AWS account ID of your billing/payer account. For AWS Organizations, this is typically the management account ID.
|
|
68
|
+
*/
|
|
69
|
+
accountId?: pulumi.Input<string>;
|
|
70
|
+
/**
|
|
71
|
+
* The S3 bucket name where your AWS Cost and Usage Report files are stored. This bucket must have appropriate IAM permissions for Datadog access and should be in the same AWS account as the CUR report.
|
|
72
|
+
*/
|
|
73
|
+
bucketName?: pulumi.Input<string>;
|
|
74
|
+
/**
|
|
75
|
+
* The AWS region where the S3 bucket containing your Cost and Usage Report is located (e.g., us-east-1, eu-west-1).
|
|
76
|
+
*/
|
|
77
|
+
bucketRegion?: pulumi.Input<string>;
|
|
78
|
+
/**
|
|
79
|
+
* The exact name of your AWS Cost and Usage Report as configured in AWS Billing preferences. This must match the report name exactly as it appears in your AWS billing settings.
|
|
80
|
+
*/
|
|
81
|
+
reportName?: pulumi.Input<string>;
|
|
82
|
+
/**
|
|
83
|
+
* The S3 key prefix where your Cost and Usage Report files are stored within the bucket (e.g., 'cur-reports/', 'billing/cur/').
|
|
84
|
+
*/
|
|
85
|
+
reportPrefix?: pulumi.Input<string>;
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* The set of arguments for constructing a AwsCurConfig resource.
|
|
89
|
+
*/
|
|
90
|
+
export interface AwsCurConfigArgs {
|
|
91
|
+
accountFilters?: pulumi.Input<inputs.AwsCurConfigAccountFilters>;
|
|
92
|
+
/**
|
|
93
|
+
* The AWS account ID of your billing/payer account. For AWS Organizations, this is typically the management account ID.
|
|
94
|
+
*/
|
|
95
|
+
accountId: pulumi.Input<string>;
|
|
96
|
+
/**
|
|
97
|
+
* The S3 bucket name where your AWS Cost and Usage Report files are stored. This bucket must have appropriate IAM permissions for Datadog access and should be in the same AWS account as the CUR report.
|
|
98
|
+
*/
|
|
99
|
+
bucketName: pulumi.Input<string>;
|
|
100
|
+
/**
|
|
101
|
+
* The AWS region where the S3 bucket containing your Cost and Usage Report is located (e.g., us-east-1, eu-west-1).
|
|
102
|
+
*/
|
|
103
|
+
bucketRegion?: pulumi.Input<string>;
|
|
104
|
+
/**
|
|
105
|
+
* The exact name of your AWS Cost and Usage Report as configured in AWS Billing preferences. This must match the report name exactly as it appears in your AWS billing settings.
|
|
106
|
+
*/
|
|
107
|
+
reportName: pulumi.Input<string>;
|
|
108
|
+
/**
|
|
109
|
+
* The S3 key prefix where your Cost and Usage Report files are stored within the bucket (e.g., 'cur-reports/', 'billing/cur/').
|
|
110
|
+
*/
|
|
111
|
+
reportPrefix: pulumi.Input<string>;
|
|
112
|
+
}
|
package/awsCurConfig.js
ADDED
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.AwsCurConfig = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Provides a Datadog AWS CUR (Cost and Usage Report) configuration resource. This enables Datadog Cloud Cost Management to access your AWS billing data by configuring the connection to your AWS Cost and Usage Report. **Prerequisites**: An active Datadog AWS integration, existing AWS Cost and Usage Report, and proper S3 bucket permissions.
|
|
10
|
+
*
|
|
11
|
+
* ## Import
|
|
12
|
+
*
|
|
13
|
+
* The `pulumi import` command can be used, for example:
|
|
14
|
+
*
|
|
15
|
+
* ```sh
|
|
16
|
+
* $ pulumi import datadog:index/awsCurConfig:AwsCurConfig aws_cur_report <cloud_account_id>
|
|
17
|
+
* ```
|
|
18
|
+
*/
|
|
19
|
+
class AwsCurConfig extends pulumi.CustomResource {
|
|
20
|
+
/**
|
|
21
|
+
* Get an existing AwsCurConfig resource's state with the given name, ID, and optional extra
|
|
22
|
+
* properties used to qualify the lookup.
|
|
23
|
+
*
|
|
24
|
+
* @param name The _unique_ name of the resulting resource.
|
|
25
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
26
|
+
* @param state Any extra arguments used during the lookup.
|
|
27
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
28
|
+
*/
|
|
29
|
+
static get(name, id, state, opts) {
|
|
30
|
+
return new AwsCurConfig(name, state, { ...opts, id: id });
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Returns true if the given object is an instance of AwsCurConfig. This is designed to work even
|
|
34
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
35
|
+
*/
|
|
36
|
+
static isInstance(obj) {
|
|
37
|
+
if (obj === undefined || obj === null) {
|
|
38
|
+
return false;
|
|
39
|
+
}
|
|
40
|
+
return obj['__pulumiType'] === AwsCurConfig.__pulumiType;
|
|
41
|
+
}
|
|
42
|
+
constructor(name, argsOrState, opts) {
|
|
43
|
+
let resourceInputs = {};
|
|
44
|
+
opts = opts || {};
|
|
45
|
+
if (opts.id) {
|
|
46
|
+
const state = argsOrState;
|
|
47
|
+
resourceInputs["accountFilters"] = state?.accountFilters;
|
|
48
|
+
resourceInputs["accountId"] = state?.accountId;
|
|
49
|
+
resourceInputs["bucketName"] = state?.bucketName;
|
|
50
|
+
resourceInputs["bucketRegion"] = state?.bucketRegion;
|
|
51
|
+
resourceInputs["reportName"] = state?.reportName;
|
|
52
|
+
resourceInputs["reportPrefix"] = state?.reportPrefix;
|
|
53
|
+
}
|
|
54
|
+
else {
|
|
55
|
+
const args = argsOrState;
|
|
56
|
+
if (args?.accountId === undefined && !opts.urn) {
|
|
57
|
+
throw new Error("Missing required property 'accountId'");
|
|
58
|
+
}
|
|
59
|
+
if (args?.bucketName === undefined && !opts.urn) {
|
|
60
|
+
throw new Error("Missing required property 'bucketName'");
|
|
61
|
+
}
|
|
62
|
+
if (args?.reportName === undefined && !opts.urn) {
|
|
63
|
+
throw new Error("Missing required property 'reportName'");
|
|
64
|
+
}
|
|
65
|
+
if (args?.reportPrefix === undefined && !opts.urn) {
|
|
66
|
+
throw new Error("Missing required property 'reportPrefix'");
|
|
67
|
+
}
|
|
68
|
+
resourceInputs["accountFilters"] = args?.accountFilters;
|
|
69
|
+
resourceInputs["accountId"] = args?.accountId;
|
|
70
|
+
resourceInputs["bucketName"] = args?.bucketName;
|
|
71
|
+
resourceInputs["bucketRegion"] = args?.bucketRegion;
|
|
72
|
+
resourceInputs["reportName"] = args?.reportName;
|
|
73
|
+
resourceInputs["reportPrefix"] = args?.reportPrefix;
|
|
74
|
+
}
|
|
75
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
76
|
+
super(AwsCurConfig.__pulumiType, name, resourceInputs, opts);
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
exports.AwsCurConfig = AwsCurConfig;
|
|
80
|
+
/** @internal */
|
|
81
|
+
AwsCurConfig.__pulumiType = 'datadog:index/awsCurConfig:AwsCurConfig';
|
|
82
|
+
//# sourceMappingURL=awsCurConfig.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"awsCurConfig.js","sourceRoot":"","sources":["../awsCurConfig.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;GAUG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyB,EAAE,IAAmC;QACvH,OAAO,IAAI,YAAY,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACnE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,YAAY,CAAC,YAAY,CAAC;IAC7D,CAAC;IAgCD,YAAY,IAAY,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C,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,EAAE,YAAY,CAAC;YACpD,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,EAAE,YAAY,CAAC;SACvD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,YAAY,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACjE,CAAC;;AA5FL,oCA6FC;AA/EG,gBAAgB;AACO,yBAAY,GAAG,yCAAyC,CAAC"}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Use this data source to retrieve information about a specific Datadog AWS CUR (Cost and Usage Report) configuration. This allows you to fetch details about an existing Cloud Cost Management configuration for AWS billing data access.
|
|
6
|
+
*/
|
|
7
|
+
export declare function getAwsCurConfig(args: GetAwsCurConfigArgs, opts?: pulumi.InvokeOptions): Promise<GetAwsCurConfigResult>;
|
|
8
|
+
/**
|
|
9
|
+
* A collection of arguments for invoking getAwsCurConfig.
|
|
10
|
+
*/
|
|
11
|
+
export interface GetAwsCurConfigArgs {
|
|
12
|
+
accountFilters?: inputs.GetAwsCurConfigAccountFilters;
|
|
13
|
+
/**
|
|
14
|
+
* The Datadog cloud account ID for the AWS CUR configuration you want to retrieve information about.
|
|
15
|
+
*/
|
|
16
|
+
cloudAccountId: number;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* A collection of values returned by getAwsCurConfig.
|
|
20
|
+
*/
|
|
21
|
+
export interface GetAwsCurConfigResult {
|
|
22
|
+
readonly accountFilters?: outputs.GetAwsCurConfigAccountFilters;
|
|
23
|
+
/**
|
|
24
|
+
* The AWS account ID associated with this CUR configuration.
|
|
25
|
+
*/
|
|
26
|
+
readonly accountId: string;
|
|
27
|
+
/**
|
|
28
|
+
* The S3 bucket name where Cost and Usage Report files are stored.
|
|
29
|
+
*/
|
|
30
|
+
readonly bucketName: string;
|
|
31
|
+
/**
|
|
32
|
+
* The AWS region where the S3 bucket is located.
|
|
33
|
+
*/
|
|
34
|
+
readonly bucketRegion: string;
|
|
35
|
+
/**
|
|
36
|
+
* The Datadog cloud account ID for the AWS CUR configuration you want to retrieve information about.
|
|
37
|
+
*/
|
|
38
|
+
readonly cloudAccountId: number;
|
|
39
|
+
/**
|
|
40
|
+
* The timestamp when the CUR configuration was created.
|
|
41
|
+
*/
|
|
42
|
+
readonly createdAt: string;
|
|
43
|
+
/**
|
|
44
|
+
* List of error messages if the CUR configuration encountered any issues.
|
|
45
|
+
*/
|
|
46
|
+
readonly errorMessages: string[];
|
|
47
|
+
/**
|
|
48
|
+
* The ID of this resource.
|
|
49
|
+
*/
|
|
50
|
+
readonly id: string;
|
|
51
|
+
/**
|
|
52
|
+
* The name of the AWS Cost and Usage Report.
|
|
53
|
+
*/
|
|
54
|
+
readonly reportName: string;
|
|
55
|
+
/**
|
|
56
|
+
* The S3 key prefix where CUR files are stored within the bucket.
|
|
57
|
+
*/
|
|
58
|
+
readonly reportPrefix: string;
|
|
59
|
+
/**
|
|
60
|
+
* The current status of the CUR configuration (e.g., active, archived).
|
|
61
|
+
*/
|
|
62
|
+
readonly status: string;
|
|
63
|
+
/**
|
|
64
|
+
* The timestamp when the CUR configuration status was last updated.
|
|
65
|
+
*/
|
|
66
|
+
readonly statusUpdatedAt: string;
|
|
67
|
+
/**
|
|
68
|
+
* The timestamp when the CUR configuration was last updated.
|
|
69
|
+
*/
|
|
70
|
+
readonly updatedAt: string;
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* Use this data source to retrieve information about a specific Datadog AWS CUR (Cost and Usage Report) configuration. This allows you to fetch details about an existing Cloud Cost Management configuration for AWS billing data access.
|
|
74
|
+
*/
|
|
75
|
+
export declare function getAwsCurConfigOutput(args: GetAwsCurConfigOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAwsCurConfigResult>;
|
|
76
|
+
/**
|
|
77
|
+
* A collection of arguments for invoking getAwsCurConfig.
|
|
78
|
+
*/
|
|
79
|
+
export interface GetAwsCurConfigOutputArgs {
|
|
80
|
+
accountFilters?: pulumi.Input<inputs.GetAwsCurConfigAccountFiltersArgs>;
|
|
81
|
+
/**
|
|
82
|
+
* The Datadog cloud account ID for the AWS CUR configuration you want to retrieve information about.
|
|
83
|
+
*/
|
|
84
|
+
cloudAccountId: pulumi.Input<number>;
|
|
85
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getAwsCurConfigOutput = exports.getAwsCurConfig = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Use this data source to retrieve information about a specific Datadog AWS CUR (Cost and Usage Report) configuration. This allows you to fetch details about an existing Cloud Cost Management configuration for AWS billing data access.
|
|
10
|
+
*/
|
|
11
|
+
function getAwsCurConfig(args, opts) {
|
|
12
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
|
+
return pulumi.runtime.invoke("datadog:index/getAwsCurConfig:getAwsCurConfig", {
|
|
14
|
+
"accountFilters": args.accountFilters,
|
|
15
|
+
"cloudAccountId": args.cloudAccountId,
|
|
16
|
+
}, opts);
|
|
17
|
+
}
|
|
18
|
+
exports.getAwsCurConfig = getAwsCurConfig;
|
|
19
|
+
/**
|
|
20
|
+
* Use this data source to retrieve information about a specific Datadog AWS CUR (Cost and Usage Report) configuration. This allows you to fetch details about an existing Cloud Cost Management configuration for AWS billing data access.
|
|
21
|
+
*/
|
|
22
|
+
function getAwsCurConfigOutput(args, opts) {
|
|
23
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
24
|
+
return pulumi.runtime.invokeOutput("datadog:index/getAwsCurConfig:getAwsCurConfig", {
|
|
25
|
+
"accountFilters": args.accountFilters,
|
|
26
|
+
"cloudAccountId": args.cloudAccountId,
|
|
27
|
+
}, opts);
|
|
28
|
+
}
|
|
29
|
+
exports.getAwsCurConfigOutput = getAwsCurConfigOutput;
|
|
30
|
+
//# sourceMappingURL=getAwsCurConfig.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getAwsCurConfig.js","sourceRoot":"","sources":["../getAwsCurConfig.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;GAEG;AACH,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAA2B;IAClF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,+CAA+C,EAAE;QAC1E,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,gBAAgB,EAAE,IAAI,CAAC,cAAc;KACxC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,0CAMC;AAmED;;GAEG;AACH,SAAgB,qBAAqB,CAAC,IAA+B,EAAE,IAAiC;IACpG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,+CAA+C,EAAE;QAChF,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,gBAAgB,EAAE,IAAI,CAAC,cAAc;KACxC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,sDAMC"}
|
package/getDashboardList.d.ts
CHANGED
|
@@ -35,7 +35,7 @@ export declare function getDashboardList(args: GetDashboardListArgs, opts?: pulu
|
|
|
35
35
|
*/
|
|
36
36
|
export interface GetDashboardListArgs {
|
|
37
37
|
/**
|
|
38
|
-
* A dashboard list name to limit the search.
|
|
38
|
+
* A dashboard list name to limit the search. String length must be at least 1.
|
|
39
39
|
*/
|
|
40
40
|
name: string;
|
|
41
41
|
}
|
|
@@ -48,7 +48,7 @@ export interface GetDashboardListResult {
|
|
|
48
48
|
*/
|
|
49
49
|
readonly id: string;
|
|
50
50
|
/**
|
|
51
|
-
* A dashboard list name to limit the search.
|
|
51
|
+
* A dashboard list name to limit the search. String length must be at least 1.
|
|
52
52
|
*/
|
|
53
53
|
readonly name: string;
|
|
54
54
|
}
|
|
@@ -88,7 +88,7 @@ export declare function getDashboardListOutput(args: GetDashboardListOutputArgs,
|
|
|
88
88
|
*/
|
|
89
89
|
export interface GetDashboardListOutputArgs {
|
|
90
90
|
/**
|
|
91
|
-
* A dashboard list name to limit the search.
|
|
91
|
+
* A dashboard list name to limit the search. String length must be at least 1.
|
|
92
92
|
*/
|
|
93
93
|
name: pulumi.Input<string>;
|
|
94
94
|
}
|
package/getHosts.d.ts
CHANGED
|
@@ -21,7 +21,7 @@ export interface GetHostsArgs {
|
|
|
21
21
|
*/
|
|
22
22
|
includeMutedHostsData?: boolean;
|
|
23
23
|
/**
|
|
24
|
-
* Direction of sort.
|
|
24
|
+
* Direction of sort. Valid values are `asc`, `desc`.
|
|
25
25
|
*/
|
|
26
26
|
sortDir?: string;
|
|
27
27
|
/**
|
|
@@ -54,7 +54,7 @@ export interface GetHostsResult {
|
|
|
54
54
|
*/
|
|
55
55
|
readonly includeMutedHostsData?: boolean;
|
|
56
56
|
/**
|
|
57
|
-
* Direction of sort.
|
|
57
|
+
* Direction of sort. Valid values are `asc`, `desc`.
|
|
58
58
|
*/
|
|
59
59
|
readonly sortDir?: string;
|
|
60
60
|
/**
|
|
@@ -91,7 +91,7 @@ export interface GetHostsOutputArgs {
|
|
|
91
91
|
*/
|
|
92
92
|
includeMutedHostsData?: pulumi.Input<boolean>;
|
|
93
93
|
/**
|
|
94
|
-
* Direction of sort.
|
|
94
|
+
* Direction of sort. Valid values are `asc`, `desc`.
|
|
95
95
|
*/
|
|
96
96
|
sortDir?: pulumi.Input<string>;
|
|
97
97
|
/**
|
package/getRumApplication.d.ts
CHANGED
|
@@ -24,6 +24,10 @@ export interface GetRumApplicationArgs {
|
|
|
24
24
|
* A collection of values returned by getRumApplication.
|
|
25
25
|
*/
|
|
26
26
|
export interface GetRumApplicationResult {
|
|
27
|
+
/**
|
|
28
|
+
* ID of the API key associated with the application.
|
|
29
|
+
*/
|
|
30
|
+
readonly apiKeyId: number;
|
|
27
31
|
/**
|
|
28
32
|
* The client token.
|
|
29
33
|
*/
|
package/getRumApplication.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getRumApplication.js","sourceRoot":"","sources":["../getRumApplication.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;GAEG;AACH,SAAgB,iBAAiB,CAAC,IAA4B,EAAE,IAA2B;IACvF,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,mDAAmD,EAAE;QAC9E,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,8CAQC;
|
|
1
|
+
{"version":3,"file":"getRumApplication.js","sourceRoot":"","sources":["../getRumApplication.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;GAEG;AACH,SAAgB,iBAAiB,CAAC,IAA4B,EAAE,IAA2B;IACvF,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,mDAAmD,EAAE;QAC9E,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,8CAQC;AAqDD;;GAEG;AACH,SAAgB,uBAAuB,CAAC,IAAkC,EAAE,IAAiC;IACzG,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,mDAAmD,EAAE;QACpF,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,0DAQC"}
|
package/getSoftwareCatalog.d.ts
CHANGED
|
@@ -42,7 +42,7 @@ export interface GetSoftwareCatalogArgs {
|
|
|
42
42
|
*/
|
|
43
43
|
filterRef?: string;
|
|
44
44
|
/**
|
|
45
|
-
* Filter entities by relation type.
|
|
45
|
+
* Filter entities by relation type. Valid values are `RelationTypeOwns`, `RelationTypeOwnedBy`, `RelationTypeDependsOn`, `RelationTypeDependencyOf`, `RelationTypePartsOf`, `RelationTypeHasPart`, `RelationTypeOtherOwns`, `RelationTypeOtherOwnedBy`, `RelationTypeImplementedBy`, `RelationTypeImplements`.
|
|
46
46
|
*/
|
|
47
47
|
filterRelationType?: string;
|
|
48
48
|
}
|
|
@@ -79,7 +79,7 @@ export interface GetSoftwareCatalogResult {
|
|
|
79
79
|
*/
|
|
80
80
|
readonly filterRef?: string;
|
|
81
81
|
/**
|
|
82
|
-
* Filter entities by relation type.
|
|
82
|
+
* Filter entities by relation type. Valid values are `RelationTypeOwns`, `RelationTypeOwnedBy`, `RelationTypeDependsOn`, `RelationTypeDependencyOf`, `RelationTypePartsOf`, `RelationTypeHasPart`, `RelationTypeOtherOwns`, `RelationTypeOtherOwnedBy`, `RelationTypeImplementedBy`, `RelationTypeImplements`.
|
|
83
83
|
*/
|
|
84
84
|
readonly filterRelationType?: string;
|
|
85
85
|
/**
|
|
@@ -129,7 +129,7 @@ export interface GetSoftwareCatalogOutputArgs {
|
|
|
129
129
|
*/
|
|
130
130
|
filterRef?: pulumi.Input<string>;
|
|
131
131
|
/**
|
|
132
|
-
* Filter entities by relation type.
|
|
132
|
+
* Filter entities by relation type. Valid values are `RelationTypeOwns`, `RelationTypeOwnedBy`, `RelationTypeDependsOn`, `RelationTypeDependencyOf`, `RelationTypePartsOf`, `RelationTypeHasPart`, `RelationTypeOtherOwns`, `RelationTypeOtherOwnedBy`, `RelationTypeImplementedBy`, `RelationTypeImplements`.
|
|
133
133
|
*/
|
|
134
134
|
filterRelationType?: pulumi.Input<string>;
|
|
135
135
|
}
|
|
@@ -8,7 +8,7 @@ export declare function getSyntheticsGlobalVariable(args: GetSyntheticsGlobalVar
|
|
|
8
8
|
*/
|
|
9
9
|
export interface GetSyntheticsGlobalVariableArgs {
|
|
10
10
|
/**
|
|
11
|
-
* The synthetics global variable name to search for. Must only match one global variable.
|
|
11
|
+
* The synthetics global variable name to search for. Must only match one global variable. Must be all uppercase with underscores.
|
|
12
12
|
*/
|
|
13
13
|
name: string;
|
|
14
14
|
}
|
|
@@ -21,7 +21,7 @@ export interface GetSyntheticsGlobalVariableResult {
|
|
|
21
21
|
*/
|
|
22
22
|
readonly id: string;
|
|
23
23
|
/**
|
|
24
|
-
* The synthetics global variable name to search for. Must only match one global variable.
|
|
24
|
+
* The synthetics global variable name to search for. Must only match one global variable. Must be all uppercase with underscores.
|
|
25
25
|
*/
|
|
26
26
|
readonly name: string;
|
|
27
27
|
/**
|
|
@@ -38,7 +38,7 @@ export declare function getSyntheticsGlobalVariableOutput(args: GetSyntheticsGlo
|
|
|
38
38
|
*/
|
|
39
39
|
export interface GetSyntheticsGlobalVariableOutputArgs {
|
|
40
40
|
/**
|
|
41
|
-
* The synthetics global variable name to search for. Must only match one global variable.
|
|
41
|
+
* The synthetics global variable name to search for. Must only match one global variable. Must be all uppercase with underscores.
|
|
42
42
|
*/
|
|
43
43
|
name: pulumi.Input<string>;
|
|
44
44
|
}
|