@pulumi/aws 6.69.0 → 6.70.0-alpha.1740437876
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/backup/selection.d.ts +6 -6
- package/bedrockmodel/invocationLoggingConfiguration.d.ts +3 -3
- package/cloudfront/vpcOrigin.d.ts +1 -1
- package/cloudfront/vpcOrigin.js +1 -1
- package/cloudwatch/contributorInsightRule.d.ts +133 -0
- package/cloudwatch/contributorInsightRule.js +91 -0
- package/cloudwatch/contributorInsightRule.js.map +1 -0
- package/cloudwatch/contributorManagedInsightRule.d.ts +113 -0
- package/cloudwatch/contributorManagedInsightRule.js +80 -0
- package/cloudwatch/contributorManagedInsightRule.js.map +1 -0
- package/cloudwatch/getContributorManagedInsightRules.d.ts +79 -0
- package/cloudwatch/getContributorManagedInsightRules.js +54 -0
- package/cloudwatch/getContributorManagedInsightRules.js.map +1 -0
- package/cloudwatch/index.d.ts +9 -0
- package/cloudwatch/index.js +14 -1
- package/cloudwatch/index.js.map +1 -1
- package/connect/instanceStorageConfig.d.ts +3 -3
- package/detective/invitationAccepter.d.ts +1 -1
- package/detective/invitationAccepter.js +1 -1
- package/detective/member.d.ts +1 -1
- package/detective/member.js +1 -1
- package/dms/replicationInstance.d.ts +1 -1
- package/dms/replicationInstance.js +1 -1
- package/docdb/cluster.d.ts +3 -3
- package/dynamodb/getTable.d.ts +1 -0
- package/dynamodb/getTable.js.map +1 -1
- package/dynamodb/tableExport.d.ts +40 -3
- package/dynamodb/tableExport.js +21 -0
- package/dynamodb/tableExport.js.map +1 -1
- package/eks/cluster.d.ts +61 -6
- package/eks/cluster.js +55 -0
- package/eks/cluster.js.map +1 -1
- package/index.d.ts +2 -1
- package/index.js +4 -2
- package/index.js.map +1 -1
- package/package.json +2 -2
- package/qbusiness/application.d.ts +187 -0
- package/qbusiness/application.js +105 -0
- package/qbusiness/application.js.map +1 -0
- package/qbusiness/index.d.ts +3 -0
- package/qbusiness/index.js +22 -0
- package/qbusiness/index.js.map +1 -0
- package/quicksight/dataSource.d.ts +84 -0
- package/quicksight/dataSource.js +84 -0
- package/quicksight/dataSource.js.map +1 -1
- package/rds/instance.d.ts +6 -12
- package/rds/instance.js.map +1 -1
- package/redshift/cluster.d.ts +9 -9
- package/redshiftserverless/namespace.d.ts +12 -6
- package/redshiftserverless/namespace.js.map +1 -1
- package/rekognition/streamProcessor.d.ts +16 -2
- package/rekognition/streamProcessor.js +2 -0
- package/rekognition/streamProcessor.js.map +1 -1
- package/route53/resolverEndpoint.d.ts +12 -6
- package/route53/resolverEndpoint.js.map +1 -1
- package/s3tables/table.d.ts +6 -3
- package/s3tables/table.js.map +1 -1
- package/s3tables/tableBucket.d.ts +6 -6
- package/secretsmanager/secretVersion.d.ts +6 -6
- package/ses/domainIdentityVerification.d.ts +2 -2
- package/ses/domainIdentityVerification.js +2 -2
- package/ssm/parameter.d.ts +3 -9
- package/ssm/parameter.js.map +1 -1
- package/types/input.d.ts +140 -53
- package/types/input.js.map +1 -1
- package/types/output.d.ts +174 -50
- package/types/output.js.map +1 -1
- package/vpclattice/accessLogSubscription.d.ts +18 -0
- package/vpclattice/accessLogSubscription.js +2 -0
- package/vpclattice/accessLogSubscription.js.map +1 -1
- package/vpclattice/resourceConfiguration.d.ts +1 -0
- package/vpclattice/resourceConfiguration.js +1 -0
- package/vpclattice/resourceConfiguration.js.map +1 -1
package/backup/selection.d.ts
CHANGED
|
@@ -148,7 +148,7 @@ export declare class Selection extends pulumi.CustomResource {
|
|
|
148
148
|
*/
|
|
149
149
|
static isInstance(obj: any): obj is Selection;
|
|
150
150
|
/**
|
|
151
|
-
*
|
|
151
|
+
* Condition-based filters used to specify sets of resources for a backup plan. See below for details.
|
|
152
152
|
*/
|
|
153
153
|
readonly conditions: pulumi.Output<outputs.backup.SelectionCondition[]>;
|
|
154
154
|
/**
|
|
@@ -172,7 +172,7 @@ export declare class Selection extends pulumi.CustomResource {
|
|
|
172
172
|
*/
|
|
173
173
|
readonly resources: pulumi.Output<string[] | undefined>;
|
|
174
174
|
/**
|
|
175
|
-
* Tag-based conditions used to specify a set of resources to assign to a backup plan.
|
|
175
|
+
* Tag-based conditions used to specify a set of resources to assign to a backup plan. See below for details.
|
|
176
176
|
*/
|
|
177
177
|
readonly selectionTags: pulumi.Output<outputs.backup.SelectionSelectionTag[] | undefined>;
|
|
178
178
|
/**
|
|
@@ -189,7 +189,7 @@ export declare class Selection extends pulumi.CustomResource {
|
|
|
189
189
|
*/
|
|
190
190
|
export interface SelectionState {
|
|
191
191
|
/**
|
|
192
|
-
*
|
|
192
|
+
* Condition-based filters used to specify sets of resources for a backup plan. See below for details.
|
|
193
193
|
*/
|
|
194
194
|
conditions?: pulumi.Input<pulumi.Input<inputs.backup.SelectionCondition>[]>;
|
|
195
195
|
/**
|
|
@@ -213,7 +213,7 @@ export interface SelectionState {
|
|
|
213
213
|
*/
|
|
214
214
|
resources?: pulumi.Input<pulumi.Input<string>[]>;
|
|
215
215
|
/**
|
|
216
|
-
* Tag-based conditions used to specify a set of resources to assign to a backup plan.
|
|
216
|
+
* Tag-based conditions used to specify a set of resources to assign to a backup plan. See below for details.
|
|
217
217
|
*/
|
|
218
218
|
selectionTags?: pulumi.Input<pulumi.Input<inputs.backup.SelectionSelectionTag>[]>;
|
|
219
219
|
}
|
|
@@ -222,7 +222,7 @@ export interface SelectionState {
|
|
|
222
222
|
*/
|
|
223
223
|
export interface SelectionArgs {
|
|
224
224
|
/**
|
|
225
|
-
*
|
|
225
|
+
* Condition-based filters used to specify sets of resources for a backup plan. See below for details.
|
|
226
226
|
*/
|
|
227
227
|
conditions?: pulumi.Input<pulumi.Input<inputs.backup.SelectionCondition>[]>;
|
|
228
228
|
/**
|
|
@@ -246,7 +246,7 @@ export interface SelectionArgs {
|
|
|
246
246
|
*/
|
|
247
247
|
resources?: pulumi.Input<pulumi.Input<string>[]>;
|
|
248
248
|
/**
|
|
249
|
-
* Tag-based conditions used to specify a set of resources to assign to a backup plan.
|
|
249
|
+
* Tag-based conditions used to specify a set of resources to assign to a backup plan. See below for details.
|
|
250
250
|
*/
|
|
251
251
|
selectionTags?: pulumi.Input<pulumi.Input<inputs.backup.SelectionSelectionTag>[]>;
|
|
252
252
|
}
|
|
@@ -33,7 +33,7 @@ export declare class InvocationLoggingConfiguration extends pulumi.CustomResourc
|
|
|
33
33
|
*/
|
|
34
34
|
static isInstance(obj: any): obj is InvocationLoggingConfiguration;
|
|
35
35
|
/**
|
|
36
|
-
* The logging configuration values to set.
|
|
36
|
+
* The logging configuration values to set. See `loggingConfig` Block for details.
|
|
37
37
|
*/
|
|
38
38
|
readonly loggingConfig: pulumi.Output<outputs.bedrockmodel.InvocationLoggingConfigurationLoggingConfig | undefined>;
|
|
39
39
|
/**
|
|
@@ -50,7 +50,7 @@ export declare class InvocationLoggingConfiguration extends pulumi.CustomResourc
|
|
|
50
50
|
*/
|
|
51
51
|
export interface InvocationLoggingConfigurationState {
|
|
52
52
|
/**
|
|
53
|
-
* The logging configuration values to set.
|
|
53
|
+
* The logging configuration values to set. See `loggingConfig` Block for details.
|
|
54
54
|
*/
|
|
55
55
|
loggingConfig?: pulumi.Input<inputs.bedrockmodel.InvocationLoggingConfigurationLoggingConfig>;
|
|
56
56
|
}
|
|
@@ -59,7 +59,7 @@ export interface InvocationLoggingConfigurationState {
|
|
|
59
59
|
*/
|
|
60
60
|
export interface InvocationLoggingConfigurationArgs {
|
|
61
61
|
/**
|
|
62
|
-
* The logging configuration values to set.
|
|
62
|
+
* The logging configuration values to set. See `loggingConfig` Block for details.
|
|
63
63
|
*/
|
|
64
64
|
loggingConfig?: pulumi.Input<inputs.bedrockmodel.InvocationLoggingConfigurationLoggingConfig>;
|
|
65
65
|
}
|
|
@@ -18,7 +18,7 @@ import * as outputs from "../types/output";
|
|
|
18
18
|
* import * as aws from "@pulumi/aws";
|
|
19
19
|
*
|
|
20
20
|
* const alb = new aws.cloudfront.VpcOrigin("alb", {vpcOriginEndpointConfig: {
|
|
21
|
-
* name: "
|
|
21
|
+
* name: "example-vpc-origin",
|
|
22
22
|
* arn: _this.arn,
|
|
23
23
|
* httpPort: 8080,
|
|
24
24
|
* httpsPort: 8443,
|
package/cloudfront/vpcOrigin.js
CHANGED
|
@@ -22,7 +22,7 @@ const utilities = require("../utilities");
|
|
|
22
22
|
* import * as aws from "@pulumi/aws";
|
|
23
23
|
*
|
|
24
24
|
* const alb = new aws.cloudfront.VpcOrigin("alb", {vpcOriginEndpointConfig: {
|
|
25
|
-
* name: "
|
|
25
|
+
* name: "example-vpc-origin",
|
|
26
26
|
* arn: _this.arn,
|
|
27
27
|
* httpPort: 8080,
|
|
28
28
|
* httpsPort: 8443,
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Resource for managing an AWS CloudWatch Contributor Insight Rule.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ### Basic Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as aws from "@pulumi/aws";
|
|
12
|
+
*
|
|
13
|
+
* const test = new aws.cloudwatch.ContributorInsightRule("test", {
|
|
14
|
+
* ruleName: "testing",
|
|
15
|
+
* ruleState: "ENABLED",
|
|
16
|
+
* ruleDefinition: "{\"Schema\":{\"Name\":\"CloudWatchLogRule\",\"Version\":1},\"AggregateOn\":\"Count\",\"Contribution\":{\"Filters\":[{\"In\":[\"some-keyword\"],\"Match\":\"$.message\"}],\"Keys\":[\"$.country\"]},\"LogFormat\":\"JSON\",\"LogGroupNames\":[\"/aws/lambda/api-prod\"]}",
|
|
17
|
+
* });
|
|
18
|
+
* ```
|
|
19
|
+
*
|
|
20
|
+
* ## Import
|
|
21
|
+
*
|
|
22
|
+
* Using `pulumi import`, import CloudWatch Contributor Insight Rule using the `rule_name`. For example:
|
|
23
|
+
*
|
|
24
|
+
* ```sh
|
|
25
|
+
* $ pulumi import aws:cloudwatch/contributorInsightRule:ContributorInsightRule example contributor_insight_rule-name
|
|
26
|
+
* ```
|
|
27
|
+
*/
|
|
28
|
+
export declare class ContributorInsightRule extends pulumi.CustomResource {
|
|
29
|
+
/**
|
|
30
|
+
* Get an existing ContributorInsightRule resource's state with the given name, ID, and optional extra
|
|
31
|
+
* properties used to qualify the lookup.
|
|
32
|
+
*
|
|
33
|
+
* @param name The _unique_ name of the resulting resource.
|
|
34
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
35
|
+
* @param state Any extra arguments used during the lookup.
|
|
36
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
37
|
+
*/
|
|
38
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ContributorInsightRuleState, opts?: pulumi.CustomResourceOptions): ContributorInsightRule;
|
|
39
|
+
/**
|
|
40
|
+
* Returns true if the given object is an instance of ContributorInsightRule. This is designed to work even
|
|
41
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
42
|
+
*/
|
|
43
|
+
static isInstance(obj: any): obj is ContributorInsightRule;
|
|
44
|
+
/**
|
|
45
|
+
* ARN of the Contributor Insight Rule.
|
|
46
|
+
*/
|
|
47
|
+
readonly resourceArn: pulumi.Output<string>;
|
|
48
|
+
/**
|
|
49
|
+
* Definition of the rule, as a JSON object. For details on the valid syntax, see [Contributor Insights Rule Syntax](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/ContributorInsights-RuleSyntax.html).
|
|
50
|
+
*/
|
|
51
|
+
readonly ruleDefinition: pulumi.Output<string>;
|
|
52
|
+
/**
|
|
53
|
+
* Unique name of the rule.
|
|
54
|
+
*
|
|
55
|
+
* The following arguments are optional:
|
|
56
|
+
*/
|
|
57
|
+
readonly ruleName: pulumi.Output<string>;
|
|
58
|
+
/**
|
|
59
|
+
* State of the rule. Valid values are `ENABLED` and `DISABLED`.
|
|
60
|
+
*/
|
|
61
|
+
readonly ruleState: pulumi.Output<string | undefined>;
|
|
62
|
+
readonly tags: pulumi.Output<{
|
|
63
|
+
[key: string]: string;
|
|
64
|
+
} | undefined>;
|
|
65
|
+
/**
|
|
66
|
+
* @deprecated Please use `tags` instead.
|
|
67
|
+
*/
|
|
68
|
+
readonly tagsAll: pulumi.Output<{
|
|
69
|
+
[key: string]: string;
|
|
70
|
+
}>;
|
|
71
|
+
/**
|
|
72
|
+
* Create a ContributorInsightRule resource with the given unique name, arguments, and options.
|
|
73
|
+
*
|
|
74
|
+
* @param name The _unique_ name of the resource.
|
|
75
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
76
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
77
|
+
*/
|
|
78
|
+
constructor(name: string, args: ContributorInsightRuleArgs, opts?: pulumi.CustomResourceOptions);
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* Input properties used for looking up and filtering ContributorInsightRule resources.
|
|
82
|
+
*/
|
|
83
|
+
export interface ContributorInsightRuleState {
|
|
84
|
+
/**
|
|
85
|
+
* ARN of the Contributor Insight Rule.
|
|
86
|
+
*/
|
|
87
|
+
resourceArn?: pulumi.Input<string>;
|
|
88
|
+
/**
|
|
89
|
+
* Definition of the rule, as a JSON object. For details on the valid syntax, see [Contributor Insights Rule Syntax](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/ContributorInsights-RuleSyntax.html).
|
|
90
|
+
*/
|
|
91
|
+
ruleDefinition?: pulumi.Input<string>;
|
|
92
|
+
/**
|
|
93
|
+
* Unique name of the rule.
|
|
94
|
+
*
|
|
95
|
+
* The following arguments are optional:
|
|
96
|
+
*/
|
|
97
|
+
ruleName?: pulumi.Input<string>;
|
|
98
|
+
/**
|
|
99
|
+
* State of the rule. Valid values are `ENABLED` and `DISABLED`.
|
|
100
|
+
*/
|
|
101
|
+
ruleState?: pulumi.Input<string>;
|
|
102
|
+
tags?: pulumi.Input<{
|
|
103
|
+
[key: string]: pulumi.Input<string>;
|
|
104
|
+
}>;
|
|
105
|
+
/**
|
|
106
|
+
* @deprecated Please use `tags` instead.
|
|
107
|
+
*/
|
|
108
|
+
tagsAll?: pulumi.Input<{
|
|
109
|
+
[key: string]: pulumi.Input<string>;
|
|
110
|
+
}>;
|
|
111
|
+
}
|
|
112
|
+
/**
|
|
113
|
+
* The set of arguments for constructing a ContributorInsightRule resource.
|
|
114
|
+
*/
|
|
115
|
+
export interface ContributorInsightRuleArgs {
|
|
116
|
+
/**
|
|
117
|
+
* Definition of the rule, as a JSON object. For details on the valid syntax, see [Contributor Insights Rule Syntax](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/ContributorInsights-RuleSyntax.html).
|
|
118
|
+
*/
|
|
119
|
+
ruleDefinition: pulumi.Input<string>;
|
|
120
|
+
/**
|
|
121
|
+
* Unique name of the rule.
|
|
122
|
+
*
|
|
123
|
+
* The following arguments are optional:
|
|
124
|
+
*/
|
|
125
|
+
ruleName: pulumi.Input<string>;
|
|
126
|
+
/**
|
|
127
|
+
* State of the rule. Valid values are `ENABLED` and `DISABLED`.
|
|
128
|
+
*/
|
|
129
|
+
ruleState?: pulumi.Input<string>;
|
|
130
|
+
tags?: pulumi.Input<{
|
|
131
|
+
[key: string]: pulumi.Input<string>;
|
|
132
|
+
}>;
|
|
133
|
+
}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
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.ContributorInsightRule = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Resource for managing an AWS CloudWatch Contributor Insight Rule.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ### Basic Usage
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as aws from "@pulumi/aws";
|
|
18
|
+
*
|
|
19
|
+
* const test = new aws.cloudwatch.ContributorInsightRule("test", {
|
|
20
|
+
* ruleName: "testing",
|
|
21
|
+
* ruleState: "ENABLED",
|
|
22
|
+
* ruleDefinition: "{\"Schema\":{\"Name\":\"CloudWatchLogRule\",\"Version\":1},\"AggregateOn\":\"Count\",\"Contribution\":{\"Filters\":[{\"In\":[\"some-keyword\"],\"Match\":\"$.message\"}],\"Keys\":[\"$.country\"]},\"LogFormat\":\"JSON\",\"LogGroupNames\":[\"/aws/lambda/api-prod\"]}",
|
|
23
|
+
* });
|
|
24
|
+
* ```
|
|
25
|
+
*
|
|
26
|
+
* ## Import
|
|
27
|
+
*
|
|
28
|
+
* Using `pulumi import`, import CloudWatch Contributor Insight Rule using the `rule_name`. For example:
|
|
29
|
+
*
|
|
30
|
+
* ```sh
|
|
31
|
+
* $ pulumi import aws:cloudwatch/contributorInsightRule:ContributorInsightRule example contributor_insight_rule-name
|
|
32
|
+
* ```
|
|
33
|
+
*/
|
|
34
|
+
class ContributorInsightRule extends pulumi.CustomResource {
|
|
35
|
+
/**
|
|
36
|
+
* Get an existing ContributorInsightRule resource's state with the given name, ID, and optional extra
|
|
37
|
+
* properties used to qualify the lookup.
|
|
38
|
+
*
|
|
39
|
+
* @param name The _unique_ name of the resulting resource.
|
|
40
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
41
|
+
* @param state Any extra arguments used during the lookup.
|
|
42
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
43
|
+
*/
|
|
44
|
+
static get(name, id, state, opts) {
|
|
45
|
+
return new ContributorInsightRule(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Returns true if the given object is an instance of ContributorInsightRule. This is designed to work even
|
|
49
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
50
|
+
*/
|
|
51
|
+
static isInstance(obj) {
|
|
52
|
+
if (obj === undefined || obj === null) {
|
|
53
|
+
return false;
|
|
54
|
+
}
|
|
55
|
+
return obj['__pulumiType'] === ContributorInsightRule.__pulumiType;
|
|
56
|
+
}
|
|
57
|
+
constructor(name, argsOrState, opts) {
|
|
58
|
+
let resourceInputs = {};
|
|
59
|
+
opts = opts || {};
|
|
60
|
+
if (opts.id) {
|
|
61
|
+
const state = argsOrState;
|
|
62
|
+
resourceInputs["resourceArn"] = state ? state.resourceArn : undefined;
|
|
63
|
+
resourceInputs["ruleDefinition"] = state ? state.ruleDefinition : undefined;
|
|
64
|
+
resourceInputs["ruleName"] = state ? state.ruleName : undefined;
|
|
65
|
+
resourceInputs["ruleState"] = state ? state.ruleState : undefined;
|
|
66
|
+
resourceInputs["tags"] = state ? state.tags : undefined;
|
|
67
|
+
resourceInputs["tagsAll"] = state ? state.tagsAll : undefined;
|
|
68
|
+
}
|
|
69
|
+
else {
|
|
70
|
+
const args = argsOrState;
|
|
71
|
+
if ((!args || args.ruleDefinition === undefined) && !opts.urn) {
|
|
72
|
+
throw new Error("Missing required property 'ruleDefinition'");
|
|
73
|
+
}
|
|
74
|
+
if ((!args || args.ruleName === undefined) && !opts.urn) {
|
|
75
|
+
throw new Error("Missing required property 'ruleName'");
|
|
76
|
+
}
|
|
77
|
+
resourceInputs["ruleDefinition"] = args ? args.ruleDefinition : undefined;
|
|
78
|
+
resourceInputs["ruleName"] = args ? args.ruleName : undefined;
|
|
79
|
+
resourceInputs["ruleState"] = args ? args.ruleState : undefined;
|
|
80
|
+
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
81
|
+
resourceInputs["resourceArn"] = undefined /*out*/;
|
|
82
|
+
resourceInputs["tagsAll"] = undefined /*out*/;
|
|
83
|
+
}
|
|
84
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
85
|
+
super(ContributorInsightRule.__pulumiType, name, resourceInputs, opts);
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
exports.ContributorInsightRule = ContributorInsightRule;
|
|
89
|
+
/** @internal */
|
|
90
|
+
ContributorInsightRule.__pulumiType = 'aws:cloudwatch/contributorInsightRule:ContributorInsightRule';
|
|
91
|
+
//# sourceMappingURL=contributorInsightRule.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"contributorInsightRule.js","sourceRoot":"","sources":["../../cloudwatch/contributorInsightRule.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Resource for managing an AWS CloudWatch Contributor Managed Insight Rule.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ## Import
|
|
8
|
+
*
|
|
9
|
+
* Using `pulumi import`, import CloudWatch Contributor Managed Insight Rule using the `resource_arn`. For example:
|
|
10
|
+
*
|
|
11
|
+
* ```sh
|
|
12
|
+
* $ pulumi import aws:cloudwatch/contributorManagedInsightRule:ContributorManagedInsightRule example contributor_managed_insight_rule-id-12345678
|
|
13
|
+
* ```
|
|
14
|
+
*/
|
|
15
|
+
export declare class ContributorManagedInsightRule extends pulumi.CustomResource {
|
|
16
|
+
/**
|
|
17
|
+
* Get an existing ContributorManagedInsightRule 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?: ContributorManagedInsightRuleState, opts?: pulumi.CustomResourceOptions): ContributorManagedInsightRule;
|
|
26
|
+
/**
|
|
27
|
+
* Returns true if the given object is an instance of ContributorManagedInsightRule. 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 ContributorManagedInsightRule;
|
|
31
|
+
/**
|
|
32
|
+
* ARN of the Contributor Managed Insight Rule.
|
|
33
|
+
*/
|
|
34
|
+
readonly arn: pulumi.Output<string>;
|
|
35
|
+
/**
|
|
36
|
+
* ARN of an Amazon Web Services resource that has managed Contributor Insights rules.
|
|
37
|
+
*/
|
|
38
|
+
readonly resourceArn: pulumi.Output<string>;
|
|
39
|
+
readonly ruleName: pulumi.Output<string>;
|
|
40
|
+
readonly state: pulumi.Output<string>;
|
|
41
|
+
readonly tags: pulumi.Output<{
|
|
42
|
+
[key: string]: string;
|
|
43
|
+
} | undefined>;
|
|
44
|
+
/**
|
|
45
|
+
* @deprecated Please use `tags` instead.
|
|
46
|
+
*/
|
|
47
|
+
readonly tagsAll: pulumi.Output<{
|
|
48
|
+
[key: string]: string;
|
|
49
|
+
}>;
|
|
50
|
+
/**
|
|
51
|
+
* Template name for the managed Contributor Insights rule, as returned by ListManagedInsightRules.
|
|
52
|
+
*
|
|
53
|
+
* The following arguments are optional:
|
|
54
|
+
*/
|
|
55
|
+
readonly templateName: pulumi.Output<string>;
|
|
56
|
+
/**
|
|
57
|
+
* Create a ContributorManagedInsightRule resource with the given unique name, arguments, and options.
|
|
58
|
+
*
|
|
59
|
+
* @param name The _unique_ name of the resource.
|
|
60
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
61
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
62
|
+
*/
|
|
63
|
+
constructor(name: string, args: ContributorManagedInsightRuleArgs, opts?: pulumi.CustomResourceOptions);
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* Input properties used for looking up and filtering ContributorManagedInsightRule resources.
|
|
67
|
+
*/
|
|
68
|
+
export interface ContributorManagedInsightRuleState {
|
|
69
|
+
/**
|
|
70
|
+
* ARN of the Contributor Managed Insight Rule.
|
|
71
|
+
*/
|
|
72
|
+
arn?: pulumi.Input<string>;
|
|
73
|
+
/**
|
|
74
|
+
* ARN of an Amazon Web Services resource that has managed Contributor Insights rules.
|
|
75
|
+
*/
|
|
76
|
+
resourceArn?: pulumi.Input<string>;
|
|
77
|
+
ruleName?: pulumi.Input<string>;
|
|
78
|
+
state?: pulumi.Input<string>;
|
|
79
|
+
tags?: pulumi.Input<{
|
|
80
|
+
[key: string]: pulumi.Input<string>;
|
|
81
|
+
}>;
|
|
82
|
+
/**
|
|
83
|
+
* @deprecated Please use `tags` instead.
|
|
84
|
+
*/
|
|
85
|
+
tagsAll?: pulumi.Input<{
|
|
86
|
+
[key: string]: pulumi.Input<string>;
|
|
87
|
+
}>;
|
|
88
|
+
/**
|
|
89
|
+
* Template name for the managed Contributor Insights rule, as returned by ListManagedInsightRules.
|
|
90
|
+
*
|
|
91
|
+
* The following arguments are optional:
|
|
92
|
+
*/
|
|
93
|
+
templateName?: pulumi.Input<string>;
|
|
94
|
+
}
|
|
95
|
+
/**
|
|
96
|
+
* The set of arguments for constructing a ContributorManagedInsightRule resource.
|
|
97
|
+
*/
|
|
98
|
+
export interface ContributorManagedInsightRuleArgs {
|
|
99
|
+
/**
|
|
100
|
+
* ARN of an Amazon Web Services resource that has managed Contributor Insights rules.
|
|
101
|
+
*/
|
|
102
|
+
resourceArn: pulumi.Input<string>;
|
|
103
|
+
state?: pulumi.Input<string>;
|
|
104
|
+
tags?: pulumi.Input<{
|
|
105
|
+
[key: string]: pulumi.Input<string>;
|
|
106
|
+
}>;
|
|
107
|
+
/**
|
|
108
|
+
* Template name for the managed Contributor Insights rule, as returned by ListManagedInsightRules.
|
|
109
|
+
*
|
|
110
|
+
* The following arguments are optional:
|
|
111
|
+
*/
|
|
112
|
+
templateName: pulumi.Input<string>;
|
|
113
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
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.ContributorManagedInsightRule = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Resource for managing an AWS CloudWatch Contributor Managed Insight Rule.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ## Import
|
|
14
|
+
*
|
|
15
|
+
* Using `pulumi import`, import CloudWatch Contributor Managed Insight Rule using the `resource_arn`. For example:
|
|
16
|
+
*
|
|
17
|
+
* ```sh
|
|
18
|
+
* $ pulumi import aws:cloudwatch/contributorManagedInsightRule:ContributorManagedInsightRule example contributor_managed_insight_rule-id-12345678
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
class ContributorManagedInsightRule extends pulumi.CustomResource {
|
|
22
|
+
/**
|
|
23
|
+
* Get an existing ContributorManagedInsightRule resource's state with the given name, ID, and optional extra
|
|
24
|
+
* properties used to qualify the lookup.
|
|
25
|
+
*
|
|
26
|
+
* @param name The _unique_ name of the resulting resource.
|
|
27
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
28
|
+
* @param state Any extra arguments used during the lookup.
|
|
29
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
30
|
+
*/
|
|
31
|
+
static get(name, id, state, opts) {
|
|
32
|
+
return new ContributorManagedInsightRule(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Returns true if the given object is an instance of ContributorManagedInsightRule. This is designed to work even
|
|
36
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
37
|
+
*/
|
|
38
|
+
static isInstance(obj) {
|
|
39
|
+
if (obj === undefined || obj === null) {
|
|
40
|
+
return false;
|
|
41
|
+
}
|
|
42
|
+
return obj['__pulumiType'] === ContributorManagedInsightRule.__pulumiType;
|
|
43
|
+
}
|
|
44
|
+
constructor(name, argsOrState, opts) {
|
|
45
|
+
let resourceInputs = {};
|
|
46
|
+
opts = opts || {};
|
|
47
|
+
if (opts.id) {
|
|
48
|
+
const state = argsOrState;
|
|
49
|
+
resourceInputs["arn"] = state ? state.arn : undefined;
|
|
50
|
+
resourceInputs["resourceArn"] = state ? state.resourceArn : undefined;
|
|
51
|
+
resourceInputs["ruleName"] = state ? state.ruleName : undefined;
|
|
52
|
+
resourceInputs["state"] = state ? state.state : undefined;
|
|
53
|
+
resourceInputs["tags"] = state ? state.tags : undefined;
|
|
54
|
+
resourceInputs["tagsAll"] = state ? state.tagsAll : undefined;
|
|
55
|
+
resourceInputs["templateName"] = state ? state.templateName : undefined;
|
|
56
|
+
}
|
|
57
|
+
else {
|
|
58
|
+
const args = argsOrState;
|
|
59
|
+
if ((!args || args.resourceArn === undefined) && !opts.urn) {
|
|
60
|
+
throw new Error("Missing required property 'resourceArn'");
|
|
61
|
+
}
|
|
62
|
+
if ((!args || args.templateName === undefined) && !opts.urn) {
|
|
63
|
+
throw new Error("Missing required property 'templateName'");
|
|
64
|
+
}
|
|
65
|
+
resourceInputs["resourceArn"] = args ? args.resourceArn : undefined;
|
|
66
|
+
resourceInputs["state"] = args ? args.state : undefined;
|
|
67
|
+
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
68
|
+
resourceInputs["templateName"] = args ? args.templateName : undefined;
|
|
69
|
+
resourceInputs["arn"] = undefined /*out*/;
|
|
70
|
+
resourceInputs["ruleName"] = undefined /*out*/;
|
|
71
|
+
resourceInputs["tagsAll"] = undefined /*out*/;
|
|
72
|
+
}
|
|
73
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
74
|
+
super(ContributorManagedInsightRule.__pulumiType, name, resourceInputs, opts);
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
exports.ContributorManagedInsightRule = ContributorManagedInsightRule;
|
|
78
|
+
/** @internal */
|
|
79
|
+
ContributorManagedInsightRule.__pulumiType = 'aws:cloudwatch/contributorManagedInsightRule:ContributorManagedInsightRule';
|
|
80
|
+
//# sourceMappingURL=contributorManagedInsightRule.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"contributorManagedInsightRule.js","sourceRoot":"","sources":["../../cloudwatch/contributorManagedInsightRule.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Data source for managing an AWS CloudWatch Contributor Managed Insight Rules.
|
|
5
|
+
*
|
|
6
|
+
* ## Example Usage
|
|
7
|
+
*
|
|
8
|
+
* ### Basic Usage
|
|
9
|
+
*
|
|
10
|
+
* ```typescript
|
|
11
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
12
|
+
* import * as aws from "@pulumi/aws";
|
|
13
|
+
*
|
|
14
|
+
* const example = aws.cloudwatch.getContributorManagedInsightRules({
|
|
15
|
+
* resourceArn: "arn:aws:ec2:us-west-2:123456789012:resource-name/resourceid",
|
|
16
|
+
* });
|
|
17
|
+
* ```
|
|
18
|
+
*/
|
|
19
|
+
export declare function getContributorManagedInsightRules(args: GetContributorManagedInsightRulesArgs, opts?: pulumi.InvokeOptions): Promise<GetContributorManagedInsightRulesResult>;
|
|
20
|
+
/**
|
|
21
|
+
* A collection of arguments for invoking getContributorManagedInsightRules.
|
|
22
|
+
*/
|
|
23
|
+
export interface GetContributorManagedInsightRulesArgs {
|
|
24
|
+
/**
|
|
25
|
+
* ARN of an Amazon Web Services resource that has managed Contributor Insights rules.
|
|
26
|
+
*
|
|
27
|
+
* The following arguments are optional:
|
|
28
|
+
*
|
|
29
|
+
* There are no optional arguments.
|
|
30
|
+
*/
|
|
31
|
+
resourceArn: string;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* A collection of values returned by getContributorManagedInsightRules.
|
|
35
|
+
*/
|
|
36
|
+
export interface GetContributorManagedInsightRulesResult {
|
|
37
|
+
/**
|
|
38
|
+
* The provider-assigned unique ID for this managed resource.
|
|
39
|
+
*/
|
|
40
|
+
readonly id: string;
|
|
41
|
+
/**
|
|
42
|
+
* Managed rules that are available for the specified Amazon Web Services resource. See `managedRules reference` below for details.
|
|
43
|
+
*/
|
|
44
|
+
readonly managedRules: outputs.cloudwatch.GetContributorManagedInsightRulesManagedRule[];
|
|
45
|
+
/**
|
|
46
|
+
* If a managed rule is enabled, this is the ARN for the related Amazon Web Services resource.
|
|
47
|
+
*/
|
|
48
|
+
readonly resourceArn: string;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Data source for managing an AWS CloudWatch Contributor Managed Insight Rules.
|
|
52
|
+
*
|
|
53
|
+
* ## Example Usage
|
|
54
|
+
*
|
|
55
|
+
* ### Basic Usage
|
|
56
|
+
*
|
|
57
|
+
* ```typescript
|
|
58
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
59
|
+
* import * as aws from "@pulumi/aws";
|
|
60
|
+
*
|
|
61
|
+
* const example = aws.cloudwatch.getContributorManagedInsightRules({
|
|
62
|
+
* resourceArn: "arn:aws:ec2:us-west-2:123456789012:resource-name/resourceid",
|
|
63
|
+
* });
|
|
64
|
+
* ```
|
|
65
|
+
*/
|
|
66
|
+
export declare function getContributorManagedInsightRulesOutput(args: GetContributorManagedInsightRulesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetContributorManagedInsightRulesResult>;
|
|
67
|
+
/**
|
|
68
|
+
* A collection of arguments for invoking getContributorManagedInsightRules.
|
|
69
|
+
*/
|
|
70
|
+
export interface GetContributorManagedInsightRulesOutputArgs {
|
|
71
|
+
/**
|
|
72
|
+
* ARN of an Amazon Web Services resource that has managed Contributor Insights rules.
|
|
73
|
+
*
|
|
74
|
+
* The following arguments are optional:
|
|
75
|
+
*
|
|
76
|
+
* There are no optional arguments.
|
|
77
|
+
*/
|
|
78
|
+
resourceArn: pulumi.Input<string>;
|
|
79
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
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.getContributorManagedInsightRulesOutput = exports.getContributorManagedInsightRules = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Data source for managing an AWS CloudWatch Contributor Managed Insight Rules.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ### Basic Usage
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as aws from "@pulumi/aws";
|
|
18
|
+
*
|
|
19
|
+
* const example = aws.cloudwatch.getContributorManagedInsightRules({
|
|
20
|
+
* resourceArn: "arn:aws:ec2:us-west-2:123456789012:resource-name/resourceid",
|
|
21
|
+
* });
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
function getContributorManagedInsightRules(args, opts) {
|
|
25
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
26
|
+
return pulumi.runtime.invoke("aws:cloudwatch/getContributorManagedInsightRules:getContributorManagedInsightRules", {
|
|
27
|
+
"resourceArn": args.resourceArn,
|
|
28
|
+
}, opts);
|
|
29
|
+
}
|
|
30
|
+
exports.getContributorManagedInsightRules = getContributorManagedInsightRules;
|
|
31
|
+
/**
|
|
32
|
+
* Data source for managing an AWS CloudWatch Contributor Managed Insight Rules.
|
|
33
|
+
*
|
|
34
|
+
* ## Example Usage
|
|
35
|
+
*
|
|
36
|
+
* ### Basic Usage
|
|
37
|
+
*
|
|
38
|
+
* ```typescript
|
|
39
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
40
|
+
* import * as aws from "@pulumi/aws";
|
|
41
|
+
*
|
|
42
|
+
* const example = aws.cloudwatch.getContributorManagedInsightRules({
|
|
43
|
+
* resourceArn: "arn:aws:ec2:us-west-2:123456789012:resource-name/resourceid",
|
|
44
|
+
* });
|
|
45
|
+
* ```
|
|
46
|
+
*/
|
|
47
|
+
function getContributorManagedInsightRulesOutput(args, opts) {
|
|
48
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
49
|
+
return pulumi.runtime.invokeOutput("aws:cloudwatch/getContributorManagedInsightRules:getContributorManagedInsightRules", {
|
|
50
|
+
"resourceArn": args.resourceArn,
|
|
51
|
+
}, opts);
|
|
52
|
+
}
|
|
53
|
+
exports.getContributorManagedInsightRulesOutput = getContributorManagedInsightRulesOutput;
|
|
54
|
+
//# sourceMappingURL=getContributorManagedInsightRules.js.map
|