@pulumi/aws 7.0.0-alpha.3 → 7.0.0-rc.2
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/amp/index.d.ts +3 -0
- package/amp/index.js +6 -1
- package/amp/index.js.map +1 -1
- package/amp/queryLoggingConfiguration.d.ts +107 -0
- package/amp/queryLoggingConfiguration.js +82 -0
- package/amp/queryLoggingConfiguration.js.map +1 -0
- package/amplify/branch.d.ts +12 -0
- package/amplify/branch.js +2 -0
- package/amplify/branch.js.map +1 -1
- package/cloudfront/distribution.d.ts +12 -0
- package/cloudfront/distribution.js +2 -0
- package/cloudfront/distribution.js.map +1 -1
- package/cloudfront/getDistribution.d.ts +4 -0
- package/cloudfront/getDistribution.js.map +1 -1
- package/dynamodb/table.d.ts +35 -0
- package/dynamodb/table.js +35 -0
- package/dynamodb/table.js.map +1 -1
- package/eks/cluster.d.ts +2 -4
- package/eks/cluster.js +0 -2
- package/eks/cluster.js.map +1 -1
- package/iam/rolePolicy.d.ts +21 -15
- package/iam/rolePolicy.js.map +1 -1
- package/kinesis/getStreamConsumer.d.ts +9 -0
- package/kinesis/getStreamConsumer.js +2 -0
- package/kinesis/getStreamConsumer.js.map +1 -1
- package/kinesis/streamConsumer.d.ts +15 -0
- package/kinesis/streamConsumer.js +4 -0
- package/kinesis/streamConsumer.js.map +1 -1
- package/package.json +2 -2
- package/rbin/rule.d.ts +52 -17
- package/rbin/rule.js +26 -1
- package/rbin/rule.js.map +1 -1
- package/route53/profilesResourceAssociation.d.ts +1 -1
- package/s3/directoryBucket.d.ts +30 -0
- package/s3/directoryBucket.js +4 -0
- package/s3/directoryBucket.js.map +1 -1
- package/ssoadmin/applicationAccessScope.d.ts +1 -1
- package/ssoadmin/applicationAccessScope.js +1 -1
- package/ssoadmin/applicationAssignment.d.ts +2 -2
- package/ssoadmin/applicationAssignment.js +2 -2
- package/ssoadmin/applicationAssignmentConfiguration.d.ts +1 -1
- package/ssoadmin/applicationAssignmentConfiguration.js +1 -1
- package/ssoadmin/getApplicationAssignments.d.ts +2 -2
- package/ssoadmin/getApplicationAssignments.js +2 -2
- package/types/input.d.ts +80 -6
- package/types/input.js.map +1 -1
- package/types/output.d.ts +72 -6
- package/types/output.js.map +1 -1
package/amp/index.d.ts
CHANGED
|
@@ -10,6 +10,9 @@ export declare const getWorkspaceOutput: typeof import("./getWorkspace").getWork
|
|
|
10
10
|
export { GetWorkspacesArgs, GetWorkspacesResult, GetWorkspacesOutputArgs } from "./getWorkspaces";
|
|
11
11
|
export declare const getWorkspaces: typeof import("./getWorkspaces").getWorkspaces;
|
|
12
12
|
export declare const getWorkspacesOutput: typeof import("./getWorkspaces").getWorkspacesOutput;
|
|
13
|
+
export { QueryLoggingConfigurationArgs, QueryLoggingConfigurationState } from "./queryLoggingConfiguration";
|
|
14
|
+
export type QueryLoggingConfiguration = import("./queryLoggingConfiguration").QueryLoggingConfiguration;
|
|
15
|
+
export declare const QueryLoggingConfiguration: typeof import("./queryLoggingConfiguration").QueryLoggingConfiguration;
|
|
13
16
|
export { RuleGroupNamespaceArgs, RuleGroupNamespaceState } from "./ruleGroupNamespace";
|
|
14
17
|
export type RuleGroupNamespace = import("./ruleGroupNamespace").RuleGroupNamespace;
|
|
15
18
|
export declare const RuleGroupNamespace: typeof import("./ruleGroupNamespace").RuleGroupNamespace;
|
package/amp/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.WorkspaceConfiguration = exports.Workspace = exports.Scraper = exports.RuleGroupNamespace = exports.getWorkspacesOutput = exports.getWorkspaces = exports.getWorkspaceOutput = exports.getWorkspace = exports.getDefaultScraperConfigurationOutput = exports.getDefaultScraperConfiguration = exports.AlertManagerDefinition = void 0;
|
|
5
|
+
exports.WorkspaceConfiguration = exports.Workspace = exports.Scraper = exports.RuleGroupNamespace = exports.QueryLoggingConfiguration = exports.getWorkspacesOutput = exports.getWorkspaces = exports.getWorkspaceOutput = exports.getWorkspace = exports.getDefaultScraperConfigurationOutput = exports.getDefaultScraperConfiguration = exports.AlertManagerDefinition = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
exports.AlertManagerDefinition = null;
|
|
@@ -16,6 +16,8 @@ utilities.lazyLoad(exports, ["getWorkspace", "getWorkspaceOutput"], () => requir
|
|
|
16
16
|
exports.getWorkspaces = null;
|
|
17
17
|
exports.getWorkspacesOutput = null;
|
|
18
18
|
utilities.lazyLoad(exports, ["getWorkspaces", "getWorkspacesOutput"], () => require("./getWorkspaces"));
|
|
19
|
+
exports.QueryLoggingConfiguration = null;
|
|
20
|
+
utilities.lazyLoad(exports, ["QueryLoggingConfiguration"], () => require("./queryLoggingConfiguration"));
|
|
19
21
|
exports.RuleGroupNamespace = null;
|
|
20
22
|
utilities.lazyLoad(exports, ["RuleGroupNamespace"], () => require("./ruleGroupNamespace"));
|
|
21
23
|
exports.Scraper = null;
|
|
@@ -30,6 +32,8 @@ const _module = {
|
|
|
30
32
|
switch (type) {
|
|
31
33
|
case "aws:amp/alertManagerDefinition:AlertManagerDefinition":
|
|
32
34
|
return new exports.AlertManagerDefinition(name, undefined, { urn });
|
|
35
|
+
case "aws:amp/queryLoggingConfiguration:QueryLoggingConfiguration":
|
|
36
|
+
return new exports.QueryLoggingConfiguration(name, undefined, { urn });
|
|
33
37
|
case "aws:amp/ruleGroupNamespace:RuleGroupNamespace":
|
|
34
38
|
return new exports.RuleGroupNamespace(name, undefined, { urn });
|
|
35
39
|
case "aws:amp/scraper:Scraper":
|
|
@@ -44,6 +48,7 @@ const _module = {
|
|
|
44
48
|
},
|
|
45
49
|
};
|
|
46
50
|
pulumi.runtime.registerResourceModule("aws", "amp/alertManagerDefinition", _module);
|
|
51
|
+
pulumi.runtime.registerResourceModule("aws", "amp/queryLoggingConfiguration", _module);
|
|
47
52
|
pulumi.runtime.registerResourceModule("aws", "amp/ruleGroupNamespace", _module);
|
|
48
53
|
pulumi.runtime.registerResourceModule("aws", "amp/scraper", _module);
|
|
49
54
|
pulumi.runtime.registerResourceModule("aws", "amp/workspace", _module);
|
package/amp/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../amp/index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAK7B,QAAA,sBAAsB,GAAqE,IAAW,CAAC;AACpH,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,wBAAwB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,0BAA0B,CAAC,CAAC,CAAC;AAGtF,QAAA,8BAA8B,GAAqF,IAAW,CAAC;AAC/H,QAAA,oCAAoC,GAA2F,IAAW,CAAC;AACxJ,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,gCAAgC,EAAC,sCAAsC,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,kCAAkC,CAAC,CAAC,CAAC;AAG7I,QAAA,YAAY,GAAiD,IAAW,CAAC;AACzE,QAAA,kBAAkB,GAAuD,IAAW,CAAC;AAClG,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,cAAc,EAAC,oBAAoB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,gBAAgB,CAAC,CAAC,CAAC;AAGvF,QAAA,aAAa,GAAmD,IAAW,CAAC;AAC5E,QAAA,mBAAmB,GAAyD,IAAW,CAAC;AACrG,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,eAAe,EAAC,qBAAqB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,iBAAiB,CAAC,CAAC,CAAC;AAI1F,QAAA,kBAA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AAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,eAAe,EAAE,OAAO,CAAC,CAAA;AACtE,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,4BAA4B,EAAE,OAAO,CAAC,CAAA"}
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Manages an Amazon Managed Service for Prometheus (AMP) Query Logging Configuration.
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as aws from "@pulumi/aws";
|
|
12
|
+
*
|
|
13
|
+
* const example = new aws.amp.Workspace("example", {alias: "example"});
|
|
14
|
+
* const exampleLogGroup = new aws.cloudwatch.LogGroup("example", {name: "/aws/prometheus/query-logs/example"});
|
|
15
|
+
* const exampleQueryLoggingConfiguration = new aws.amp.QueryLoggingConfiguration("example", {
|
|
16
|
+
* workspaceId: example.id,
|
|
17
|
+
* destinations: [{
|
|
18
|
+
* cloudwatchLogs: {
|
|
19
|
+
* logGroupArn: pulumi.interpolate`${exampleLogGroup.arn}:*`,
|
|
20
|
+
* },
|
|
21
|
+
* filters: {
|
|
22
|
+
* qspThreshold: 1000,
|
|
23
|
+
* },
|
|
24
|
+
* }],
|
|
25
|
+
* });
|
|
26
|
+
* ```
|
|
27
|
+
*/
|
|
28
|
+
export declare class QueryLoggingConfiguration extends pulumi.CustomResource {
|
|
29
|
+
/**
|
|
30
|
+
* Get an existing QueryLoggingConfiguration 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?: QueryLoggingConfigurationState, opts?: pulumi.CustomResourceOptions): QueryLoggingConfiguration;
|
|
39
|
+
/**
|
|
40
|
+
* Returns true if the given object is an instance of QueryLoggingConfiguration. 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 QueryLoggingConfiguration;
|
|
44
|
+
/**
|
|
45
|
+
* Configuration block for the logging destinations. See `destinations`.
|
|
46
|
+
*/
|
|
47
|
+
readonly destinations: pulumi.Output<outputs.amp.QueryLoggingConfigurationDestination[] | undefined>;
|
|
48
|
+
/**
|
|
49
|
+
* Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
|
|
50
|
+
*/
|
|
51
|
+
readonly region: pulumi.Output<string>;
|
|
52
|
+
readonly timeouts: pulumi.Output<outputs.amp.QueryLoggingConfigurationTimeouts | undefined>;
|
|
53
|
+
/**
|
|
54
|
+
* The ID of the AMP workspace for which to configure query logging.
|
|
55
|
+
*
|
|
56
|
+
* The following arguments are optional:
|
|
57
|
+
*/
|
|
58
|
+
readonly workspaceId: pulumi.Output<string>;
|
|
59
|
+
/**
|
|
60
|
+
* Create a QueryLoggingConfiguration resource with the given unique name, arguments, and options.
|
|
61
|
+
*
|
|
62
|
+
* @param name The _unique_ name of the resource.
|
|
63
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
64
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
65
|
+
*/
|
|
66
|
+
constructor(name: string, args: QueryLoggingConfigurationArgs, opts?: pulumi.CustomResourceOptions);
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* Input properties used for looking up and filtering QueryLoggingConfiguration resources.
|
|
70
|
+
*/
|
|
71
|
+
export interface QueryLoggingConfigurationState {
|
|
72
|
+
/**
|
|
73
|
+
* Configuration block for the logging destinations. See `destinations`.
|
|
74
|
+
*/
|
|
75
|
+
destinations?: pulumi.Input<pulumi.Input<inputs.amp.QueryLoggingConfigurationDestination>[]>;
|
|
76
|
+
/**
|
|
77
|
+
* Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
|
|
78
|
+
*/
|
|
79
|
+
region?: pulumi.Input<string>;
|
|
80
|
+
timeouts?: pulumi.Input<inputs.amp.QueryLoggingConfigurationTimeouts>;
|
|
81
|
+
/**
|
|
82
|
+
* The ID of the AMP workspace for which to configure query logging.
|
|
83
|
+
*
|
|
84
|
+
* The following arguments are optional:
|
|
85
|
+
*/
|
|
86
|
+
workspaceId?: pulumi.Input<string>;
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* The set of arguments for constructing a QueryLoggingConfiguration resource.
|
|
90
|
+
*/
|
|
91
|
+
export interface QueryLoggingConfigurationArgs {
|
|
92
|
+
/**
|
|
93
|
+
* Configuration block for the logging destinations. See `destinations`.
|
|
94
|
+
*/
|
|
95
|
+
destinations?: pulumi.Input<pulumi.Input<inputs.amp.QueryLoggingConfigurationDestination>[]>;
|
|
96
|
+
/**
|
|
97
|
+
* Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
|
|
98
|
+
*/
|
|
99
|
+
region?: pulumi.Input<string>;
|
|
100
|
+
timeouts?: pulumi.Input<inputs.amp.QueryLoggingConfigurationTimeouts>;
|
|
101
|
+
/**
|
|
102
|
+
* The ID of the AMP workspace for which to configure query logging.
|
|
103
|
+
*
|
|
104
|
+
* The following arguments are optional:
|
|
105
|
+
*/
|
|
106
|
+
workspaceId: pulumi.Input<string>;
|
|
107
|
+
}
|
|
@@ -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.QueryLoggingConfiguration = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Manages an Amazon Managed Service for Prometheus (AMP) Query Logging Configuration.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as aws from "@pulumi/aws";
|
|
16
|
+
*
|
|
17
|
+
* const example = new aws.amp.Workspace("example", {alias: "example"});
|
|
18
|
+
* const exampleLogGroup = new aws.cloudwatch.LogGroup("example", {name: "/aws/prometheus/query-logs/example"});
|
|
19
|
+
* const exampleQueryLoggingConfiguration = new aws.amp.QueryLoggingConfiguration("example", {
|
|
20
|
+
* workspaceId: example.id,
|
|
21
|
+
* destinations: [{
|
|
22
|
+
* cloudwatchLogs: {
|
|
23
|
+
* logGroupArn: pulumi.interpolate`${exampleLogGroup.arn}:*`,
|
|
24
|
+
* },
|
|
25
|
+
* filters: {
|
|
26
|
+
* qspThreshold: 1000,
|
|
27
|
+
* },
|
|
28
|
+
* }],
|
|
29
|
+
* });
|
|
30
|
+
* ```
|
|
31
|
+
*/
|
|
32
|
+
class QueryLoggingConfiguration extends pulumi.CustomResource {
|
|
33
|
+
/**
|
|
34
|
+
* Get an existing QueryLoggingConfiguration resource's state with the given name, ID, and optional extra
|
|
35
|
+
* properties used to qualify the lookup.
|
|
36
|
+
*
|
|
37
|
+
* @param name The _unique_ name of the resulting resource.
|
|
38
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
39
|
+
* @param state Any extra arguments used during the lookup.
|
|
40
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
41
|
+
*/
|
|
42
|
+
static get(name, id, state, opts) {
|
|
43
|
+
return new QueryLoggingConfiguration(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Returns true if the given object is an instance of QueryLoggingConfiguration. This is designed to work even
|
|
47
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
48
|
+
*/
|
|
49
|
+
static isInstance(obj) {
|
|
50
|
+
if (obj === undefined || obj === null) {
|
|
51
|
+
return false;
|
|
52
|
+
}
|
|
53
|
+
return obj['__pulumiType'] === QueryLoggingConfiguration.__pulumiType;
|
|
54
|
+
}
|
|
55
|
+
constructor(name, argsOrState, opts) {
|
|
56
|
+
let resourceInputs = {};
|
|
57
|
+
opts = opts || {};
|
|
58
|
+
if (opts.id) {
|
|
59
|
+
const state = argsOrState;
|
|
60
|
+
resourceInputs["destinations"] = state ? state.destinations : undefined;
|
|
61
|
+
resourceInputs["region"] = state ? state.region : undefined;
|
|
62
|
+
resourceInputs["timeouts"] = state ? state.timeouts : undefined;
|
|
63
|
+
resourceInputs["workspaceId"] = state ? state.workspaceId : undefined;
|
|
64
|
+
}
|
|
65
|
+
else {
|
|
66
|
+
const args = argsOrState;
|
|
67
|
+
if ((!args || args.workspaceId === undefined) && !opts.urn) {
|
|
68
|
+
throw new Error("Missing required property 'workspaceId'");
|
|
69
|
+
}
|
|
70
|
+
resourceInputs["destinations"] = args ? args.destinations : undefined;
|
|
71
|
+
resourceInputs["region"] = args ? args.region : undefined;
|
|
72
|
+
resourceInputs["timeouts"] = args ? args.timeouts : undefined;
|
|
73
|
+
resourceInputs["workspaceId"] = args ? args.workspaceId : undefined;
|
|
74
|
+
}
|
|
75
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
76
|
+
super(QueryLoggingConfiguration.__pulumiType, name, resourceInputs, opts);
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
exports.QueryLoggingConfiguration = QueryLoggingConfiguration;
|
|
80
|
+
/** @internal */
|
|
81
|
+
QueryLoggingConfiguration.__pulumiType = 'aws:amp/queryLoggingConfiguration:QueryLoggingConfiguration';
|
|
82
|
+
//# sourceMappingURL=queryLoggingConfiguration.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"queryLoggingConfiguration.js","sourceRoot":"","sources":["../../amp/queryLoggingConfiguration.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,MAAa,yBAA0B,SAAQ,MAAM,CAAC,cAAc;IAChE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAsC,EAAE,IAAmC;QACpI,OAAO,IAAI,yBAAyB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAChF,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,yBAAyB,CAAC,YAAY,CAAC;IAC1E,CAAC;IA0BD,YAAY,IAAY,EAAE,WAA4E,EAAE,IAAmC;QACvI,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAyD,CAAC;YACxE,cAAc,CAAC,cAAc,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAA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ource {
|
|
|
194
194
|
* Enables pull request previews for this branch.
|
|
195
195
|
*/
|
|
196
196
|
readonly enablePullRequestPreview: pulumi.Output<boolean | undefined>;
|
|
197
|
+
/**
|
|
198
|
+
* Enables skew protection for the branch.
|
|
199
|
+
*/
|
|
200
|
+
readonly enableSkewProtection: pulumi.Output<boolean | undefined>;
|
|
197
201
|
/**
|
|
198
202
|
* Environment variables for the branch.
|
|
199
203
|
*/
|
|
@@ -309,6 +313,10 @@ export interface BranchState {
|
|
|
309
313
|
* Enables pull request previews for this branch.
|
|
310
314
|
*/
|
|
311
315
|
enablePullRequestPreview?: pulumi.Input<boolean>;
|
|
316
|
+
/**
|
|
317
|
+
* Enables skew protection for the branch.
|
|
318
|
+
*/
|
|
319
|
+
enableSkewProtection?: pulumi.Input<boolean>;
|
|
312
320
|
/**
|
|
313
321
|
* Environment variables for the branch.
|
|
314
322
|
*/
|
|
@@ -400,6 +408,10 @@ export interface BranchArgs {
|
|
|
400
408
|
* Enables pull request previews for this branch.
|
|
401
409
|
*/
|
|
402
410
|
enablePullRequestPreview?: pulumi.Input<boolean>;
|
|
411
|
+
/**
|
|
412
|
+
* Enables skew protection for the branch.
|
|
413
|
+
*/
|
|
414
|
+
enableSkewProtection?: pulumi.Input<boolean>;
|
|
403
415
|
/**
|
|
404
416
|
* Environment variables for the branch.
|
|
405
417
|
*/
|
package/amplify/branch.js
CHANGED
|
@@ -167,6 +167,7 @@ class Branch extends pulumi.CustomResource {
|
|
|
167
167
|
resourceInputs["enableNotification"] = state ? state.enableNotification : undefined;
|
|
168
168
|
resourceInputs["enablePerformanceMode"] = state ? state.enablePerformanceMode : undefined;
|
|
169
169
|
resourceInputs["enablePullRequestPreview"] = state ? state.enablePullRequestPreview : undefined;
|
|
170
|
+
resourceInputs["enableSkewProtection"] = state ? state.enableSkewProtection : undefined;
|
|
170
171
|
resourceInputs["environmentVariables"] = state ? state.environmentVariables : undefined;
|
|
171
172
|
resourceInputs["framework"] = state ? state.framework : undefined;
|
|
172
173
|
resourceInputs["pullRequestEnvironmentName"] = state ? state.pullRequestEnvironmentName : undefined;
|
|
@@ -196,6 +197,7 @@ class Branch extends pulumi.CustomResource {
|
|
|
196
197
|
resourceInputs["enableNotification"] = args ? args.enableNotification : undefined;
|
|
197
198
|
resourceInputs["enablePerformanceMode"] = args ? args.enablePerformanceMode : undefined;
|
|
198
199
|
resourceInputs["enablePullRequestPreview"] = args ? args.enablePullRequestPreview : undefined;
|
|
200
|
+
resourceInputs["enableSkewProtection"] = args ? args.enableSkewProtection : undefined;
|
|
199
201
|
resourceInputs["environmentVariables"] = args ? args.environmentVariables : undefined;
|
|
200
202
|
resourceInputs["framework"] = args ? args.framework : undefined;
|
|
201
203
|
resourceInputs["pullRequestEnvironmentName"] = args ? args.pullRequestEnvironmentName : undefined;
|
package/amplify/branch.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"branch.js","sourceRoot":"","sources":["../../amplify/branch.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsHG;AACH,MAAa,MAAO,SAAQ,MAAM,CAAC,cAAc;IAC7C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmB,EAAE,IAAmC;QACjH,OAAO,IAAI,MAAM,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC7D,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,OA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CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC;YACpD,cAAc,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC1C,cAAc,CAAC,qBAAqB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC1D,cAAc,CAAC,eAAe,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACpD,cAAc,CAAC,mBAAmB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACxD,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACnD,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACjD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,sBAAsB,CAAC,EAAE,CAAC;QACzE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,MAAM,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3D,CAAC;;AA7ML,wBA8MC;AAhMG,gBAAgB;AACO,mBAAY,GAAG,2BAA2B,CAAC"}
|
|
@@ -306,6 +306,10 @@ export declare class Distribution extends pulumi.CustomResource {
|
|
|
306
306
|
* Extra CNAMEs (alternate domain names), if any, for this distribution.
|
|
307
307
|
*/
|
|
308
308
|
readonly aliases: pulumi.Output<string[] | undefined>;
|
|
309
|
+
/**
|
|
310
|
+
* ID of the Anycast static IP list that is associated with the distribution.
|
|
311
|
+
*/
|
|
312
|
+
readonly anycastIpListId: pulumi.Output<string | undefined>;
|
|
309
313
|
/**
|
|
310
314
|
* ARN for the distribution. For example: `arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5`, where `123456789012` is your AWS account ID.
|
|
311
315
|
*/
|
|
@@ -451,6 +455,10 @@ export interface DistributionState {
|
|
|
451
455
|
* Extra CNAMEs (alternate domain names), if any, for this distribution.
|
|
452
456
|
*/
|
|
453
457
|
aliases?: pulumi.Input<pulumi.Input<string>[]>;
|
|
458
|
+
/**
|
|
459
|
+
* ID of the Anycast static IP list that is associated with the distribution.
|
|
460
|
+
*/
|
|
461
|
+
anycastIpListId?: pulumi.Input<string>;
|
|
454
462
|
/**
|
|
455
463
|
* ARN for the distribution. For example: `arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5`, where `123456789012` is your AWS account ID.
|
|
456
464
|
*/
|
|
@@ -588,6 +596,10 @@ export interface DistributionArgs {
|
|
|
588
596
|
* Extra CNAMEs (alternate domain names), if any, for this distribution.
|
|
589
597
|
*/
|
|
590
598
|
aliases?: pulumi.Input<pulumi.Input<string>[]>;
|
|
599
|
+
/**
|
|
600
|
+
* ID of the Anycast static IP list that is associated with the distribution.
|
|
601
|
+
*/
|
|
602
|
+
anycastIpListId?: pulumi.Input<string>;
|
|
591
603
|
/**
|
|
592
604
|
* Any comments you want to include about the distribution.
|
|
593
605
|
*/
|
|
@@ -319,6 +319,7 @@ class Distribution extends pulumi.CustomResource {
|
|
|
319
319
|
if (opts.id) {
|
|
320
320
|
const state = argsOrState;
|
|
321
321
|
resourceInputs["aliases"] = state ? state.aliases : undefined;
|
|
322
|
+
resourceInputs["anycastIpListId"] = state ? state.anycastIpListId : undefined;
|
|
322
323
|
resourceInputs["arn"] = state ? state.arn : undefined;
|
|
323
324
|
resourceInputs["callerReference"] = state ? state.callerReference : undefined;
|
|
324
325
|
resourceInputs["comment"] = state ? state.comment : undefined;
|
|
@@ -369,6 +370,7 @@ class Distribution extends pulumi.CustomResource {
|
|
|
369
370
|
throw new Error("Missing required property 'viewerCertificate'");
|
|
370
371
|
}
|
|
371
372
|
resourceInputs["aliases"] = args ? args.aliases : undefined;
|
|
373
|
+
resourceInputs["anycastIpListId"] = args ? args.anycastIpListId : undefined;
|
|
372
374
|
resourceInputs["comment"] = args ? args.comment : undefined;
|
|
373
375
|
resourceInputs["continuousDeploymentPolicyId"] = args ? args.continuousDeploymentPolicyId : undefined;
|
|
374
376
|
resourceInputs["customErrorResponses"] = args ? args.customErrorResponses : undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"distribution.js","sourceRoot":"","sources":["../../cloudfront/distribution.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4RG;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,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,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,GAA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ACvD,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,cAAc,CAAC,kBAAkB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACvD,cAAc,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACxD;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;;AApQL,oCAqQC;AAvPG,gBAAgB;AACO,yBAAY,GAAG,0CAA0C,CAAC"}
|
|
@@ -34,6 +34,10 @@ export interface GetDistributionResult {
|
|
|
34
34
|
* List that contains information about CNAMEs (alternate domain names), if any, for this distribution.
|
|
35
35
|
*/
|
|
36
36
|
readonly aliases: string[];
|
|
37
|
+
/**
|
|
38
|
+
* ID of the Anycast static IP list that is associated with the distribution, if any.
|
|
39
|
+
*/
|
|
40
|
+
readonly anycastIpListId: string;
|
|
37
41
|
/**
|
|
38
42
|
* ARN (Amazon Resource Name) for the distribution. For example: arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5, where 123456789012 is your AWS account ID.
|
|
39
43
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getDistribution.js","sourceRoot":"","sources":["../../cloudfront/getDistribution.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;GAaG;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,gDAAgD,EAAE;QAC3E,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,0CAMC;
|
|
1
|
+
{"version":3,"file":"getDistribution.js","sourceRoot":"","sources":["../../cloudfront/getDistribution.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;GAaG;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,gDAAgD,EAAE;QAC3E,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,0CAMC;AAuED;;;;;;;;;;;;;GAaG;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,gDAAgD,EAAE;QACjF,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,sDAMC"}
|
package/dynamodb/table.d.ts
CHANGED
|
@@ -99,6 +99,41 @@ import * as outputs from "../types/output";
|
|
|
99
99
|
* });
|
|
100
100
|
* ```
|
|
101
101
|
*
|
|
102
|
+
* ### Global Tables with Multi-Region Strong Consistency
|
|
103
|
+
*
|
|
104
|
+
* A global table configured for Multi-Region strong consistency (MRSC) provides the ability to perform a strongly consistent read with multi-Region scope. Performing a strongly consistent read on an MRSC table ensures you're always reading the latest version of an item, irrespective of the Region in which you're performing the read.
|
|
105
|
+
*
|
|
106
|
+
* **Note** Please see detailed information, restrictions, caveats etc on the [AWS Support Page](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/multi-region-strong-consistency-gt.html).
|
|
107
|
+
*
|
|
108
|
+
* Consistency Mode (`consistencyMode`) is a new argument on the embedded `replica` that allows you to configure consistency mode for Global Tables.
|
|
109
|
+
*
|
|
110
|
+
* ```typescript
|
|
111
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
112
|
+
* import * as aws from "@pulumi/aws";
|
|
113
|
+
*
|
|
114
|
+
* const example = new aws.dynamodb.Table("example", {
|
|
115
|
+
* name: "example",
|
|
116
|
+
* hashKey: "TestTableHashKey",
|
|
117
|
+
* billingMode: "PAY_PER_REQUEST",
|
|
118
|
+
* streamEnabled: true,
|
|
119
|
+
* streamViewType: "NEW_AND_OLD_IMAGES",
|
|
120
|
+
* attributes: [{
|
|
121
|
+
* name: "TestTableHashKey",
|
|
122
|
+
* type: "S",
|
|
123
|
+
* }],
|
|
124
|
+
* replicas: [
|
|
125
|
+
* {
|
|
126
|
+
* regionName: "us-east-2",
|
|
127
|
+
* consistencyMode: "STRONG",
|
|
128
|
+
* },
|
|
129
|
+
* {
|
|
130
|
+
* regionName: "us-west-2",
|
|
131
|
+
* consistencyMode: "STRONG",
|
|
132
|
+
* },
|
|
133
|
+
* ],
|
|
134
|
+
* });
|
|
135
|
+
* ```
|
|
136
|
+
*
|
|
102
137
|
* ### Replica Tagging
|
|
103
138
|
*
|
|
104
139
|
* You can manage global table replicas' tags in various ways. This example shows using `replica.*.propagate_tags` for the first replica and the `aws.dynamodb.Tag` resource for the other.
|
package/dynamodb/table.js
CHANGED
|
@@ -103,6 +103,41 @@ const utilities = require("../utilities");
|
|
|
103
103
|
* });
|
|
104
104
|
* ```
|
|
105
105
|
*
|
|
106
|
+
* ### Global Tables with Multi-Region Strong Consistency
|
|
107
|
+
*
|
|
108
|
+
* A global table configured for Multi-Region strong consistency (MRSC) provides the ability to perform a strongly consistent read with multi-Region scope. Performing a strongly consistent read on an MRSC table ensures you're always reading the latest version of an item, irrespective of the Region in which you're performing the read.
|
|
109
|
+
*
|
|
110
|
+
* **Note** Please see detailed information, restrictions, caveats etc on the [AWS Support Page](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/multi-region-strong-consistency-gt.html).
|
|
111
|
+
*
|
|
112
|
+
* Consistency Mode (`consistencyMode`) is a new argument on the embedded `replica` that allows you to configure consistency mode for Global Tables.
|
|
113
|
+
*
|
|
114
|
+
* ```typescript
|
|
115
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
116
|
+
* import * as aws from "@pulumi/aws";
|
|
117
|
+
*
|
|
118
|
+
* const example = new aws.dynamodb.Table("example", {
|
|
119
|
+
* name: "example",
|
|
120
|
+
* hashKey: "TestTableHashKey",
|
|
121
|
+
* billingMode: "PAY_PER_REQUEST",
|
|
122
|
+
* streamEnabled: true,
|
|
123
|
+
* streamViewType: "NEW_AND_OLD_IMAGES",
|
|
124
|
+
* attributes: [{
|
|
125
|
+
* name: "TestTableHashKey",
|
|
126
|
+
* type: "S",
|
|
127
|
+
* }],
|
|
128
|
+
* replicas: [
|
|
129
|
+
* {
|
|
130
|
+
* regionName: "us-east-2",
|
|
131
|
+
* consistencyMode: "STRONG",
|
|
132
|
+
* },
|
|
133
|
+
* {
|
|
134
|
+
* regionName: "us-west-2",
|
|
135
|
+
* consistencyMode: "STRONG",
|
|
136
|
+
* },
|
|
137
|
+
* ],
|
|
138
|
+
* });
|
|
139
|
+
* ```
|
|
140
|
+
*
|
|
106
141
|
* ### Replica Tagging
|
|
107
142
|
*
|
|
108
143
|
* You can manage global table replicas' tags in various ways. This example shows using `replica.*.propagate_tags` for the first replica and the `aws.dynamodb.Tag` resource for the other.
|
package/dynamodb/table.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table.js","sourceRoot":"","sources":["../../dynamodb/table.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"table.js","sourceRoot":"","sources":["../../dynamodb/table.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2LG;AACH,MAAa,KAAM,SAAQ,MAAM,CAAC,cAAc;IAC5C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAkB,EAAE,IAAmC;QAChH,OAAO,IAAI,KAAK,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC5D,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,KAAK,CAAC,YAAY,CAAC;IACtD,CAAC;IAmID,YAAY,IAAY,EAAE,WAAoC,EAAE,IAAmC;QAC/F,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAqC,CAAC;YACpD,cAAc,CAAC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SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACjD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,KAAK,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC1D,CAAC;;AAjOL,sBAkOC;AApNG,gBAAgB;AACO,kBAAY,GAAG,0BAA0B,CAAC"}
|
package/eks/cluster.d.ts
CHANGED
|
@@ -309,11 +309,10 @@ export declare class Cluster extends pulumi.CustomResource {
|
|
|
309
309
|
* Install default unmanaged add-ons, such as `aws-cni`, `kube-proxy`, and CoreDNS during cluster creation. If `false`, you must manually install desired add-ons. Changing this value will force a new cluster to be created. Defaults to `true`.
|
|
310
310
|
*/
|
|
311
311
|
readonly bootstrapSelfManagedAddons: pulumi.Output<boolean | undefined>;
|
|
312
|
-
readonly certificateAuthorities: pulumi.Output<outputs.eks.ClusterCertificateAuthority[]>;
|
|
313
312
|
/**
|
|
314
313
|
* Attribute block containing `certificate-authority-data` for your cluster. Detailed below.
|
|
315
314
|
*/
|
|
316
|
-
readonly certificateAuthority: pulumi.Output<outputs.eks.ClusterCertificateAuthority
|
|
315
|
+
readonly certificateAuthority: pulumi.Output<outputs.eks.ClusterCertificateAuthority>;
|
|
317
316
|
/**
|
|
318
317
|
* The ID of your local Amazon EKS cluster on the AWS Outpost. This attribute isn't available for an AWS EKS cluster on AWS cloud.
|
|
319
318
|
*/
|
|
@@ -437,11 +436,10 @@ export interface ClusterState {
|
|
|
437
436
|
* Install default unmanaged add-ons, such as `aws-cni`, `kube-proxy`, and CoreDNS during cluster creation. If `false`, you must manually install desired add-ons. Changing this value will force a new cluster to be created. Defaults to `true`.
|
|
438
437
|
*/
|
|
439
438
|
bootstrapSelfManagedAddons?: pulumi.Input<boolean>;
|
|
440
|
-
certificateAuthorities?: pulumi.Input<pulumi.Input<inputs.eks.ClusterCertificateAuthority>[]>;
|
|
441
439
|
/**
|
|
442
440
|
* Attribute block containing `certificate-authority-data` for your cluster. Detailed below.
|
|
443
441
|
*/
|
|
444
|
-
certificateAuthority?: pulumi.Input<
|
|
442
|
+
certificateAuthority?: pulumi.Input<inputs.eks.ClusterCertificateAuthority>;
|
|
445
443
|
/**
|
|
446
444
|
* The ID of your local Amazon EKS cluster on the AWS Outpost. This attribute isn't available for an AWS EKS cluster on AWS cloud.
|
|
447
445
|
*/
|
package/eks/cluster.js
CHANGED
|
@@ -316,7 +316,6 @@ class Cluster extends pulumi.CustomResource {
|
|
|
316
316
|
resourceInputs["accessConfig"] = state ? state.accessConfig : undefined;
|
|
317
317
|
resourceInputs["arn"] = state ? state.arn : undefined;
|
|
318
318
|
resourceInputs["bootstrapSelfManagedAddons"] = state ? state.bootstrapSelfManagedAddons : undefined;
|
|
319
|
-
resourceInputs["certificateAuthorities"] = state ? state.certificateAuthorities : undefined;
|
|
320
319
|
resourceInputs["certificateAuthority"] = state ? state.certificateAuthority : undefined;
|
|
321
320
|
resourceInputs["clusterId"] = state ? state.clusterId : undefined;
|
|
322
321
|
resourceInputs["computeConfig"] = state ? state.computeConfig : undefined;
|
|
@@ -369,7 +368,6 @@ class Cluster extends pulumi.CustomResource {
|
|
|
369
368
|
resourceInputs["vpcConfig"] = args ? args.vpcConfig : undefined;
|
|
370
369
|
resourceInputs["zonalShiftConfig"] = args ? args.zonalShiftConfig : undefined;
|
|
371
370
|
resourceInputs["arn"] = undefined /*out*/;
|
|
372
|
-
resourceInputs["certificateAuthorities"] = undefined /*out*/;
|
|
373
371
|
resourceInputs["certificateAuthority"] = undefined /*out*/;
|
|
374
372
|
resourceInputs["clusterId"] = undefined /*out*/;
|
|
375
373
|
resourceInputs["createdAt"] = undefined /*out*/;
|