@pulumi/awsx 0.40.0 → 0.40.1
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.
|
@@ -28,7 +28,7 @@ export declare class AutoScalingGroup extends pulumi.ComponentResource {
|
|
|
28
28
|
*/
|
|
29
29
|
readonly targetGroups: x.lb.TargetGroup[];
|
|
30
30
|
constructor(name: string, args: AutoScalingGroupArgs, opts?: pulumi.ComponentResourceOptions);
|
|
31
|
-
scaleOnSchedule(name: string, args: ScheduleArgs, opts?: pulumi.CustomResourceOptions): aws
|
|
31
|
+
scaleOnSchedule(name: string, args: ScheduleArgs, opts?: pulumi.CustomResourceOptions): import("@pulumi/aws/autoscaling/schedule").Schedule;
|
|
32
32
|
/**
|
|
33
33
|
* With target tracking scaling policies, you select a scaling metric and set a target value.
|
|
34
34
|
* Amazon EC2 Auto Scaling creates and manages the CloudWatch alarms that trigger the scaling
|
|
@@ -77,7 +77,7 @@ export declare class AutoScalingGroup extends pulumi.ComponentResource {
|
|
|
77
77
|
* [AutoScalingGroup]. These [TargetGroup]s must have been provided to the [AutoScalingGroup]
|
|
78
78
|
* when constructed using [AutoScalingGroupArgs.targetGroups].
|
|
79
79
|
*/
|
|
80
|
-
scaleToTrackRequestCountPerTarget(name: string, args: targetTracking.ApplicationTargetGroupTrackingPolicyArgs, opts?: pulumi.ComponentResourceOptions): aws
|
|
80
|
+
scaleToTrackRequestCountPerTarget(name: string, args: targetTracking.ApplicationTargetGroupTrackingPolicyArgs, opts?: pulumi.ComponentResourceOptions): import("@pulumi/aws/autoscaling/policy").Policy;
|
|
81
81
|
/**
|
|
82
82
|
* Creates a [StepScalingPolicy] that increases or decreases the current capacity of this
|
|
83
83
|
* AutoScalingGroup based on a set of scaling adjustments, known as step adjustments. The
|
|
@@ -20,7 +20,7 @@ export declare class AutoScalingLaunchConfiguration extends pulumi.ComponentReso
|
|
|
20
20
|
* they will be used to create [RolePolicyAttachment]s for the Role. Otherwise,
|
|
21
21
|
* [defaultInstanceProfilePolicyARNs] will be used.
|
|
22
22
|
*/
|
|
23
|
-
static createInstanceProfile(name: string, assumeRolePolicy?: string | aws.iam.PolicyDocument, policyArns?: string[], opts?: pulumi.ComponentResourceOptions): aws
|
|
23
|
+
static createInstanceProfile(name: string, assumeRolePolicy?: string | aws.iam.PolicyDocument, policyArns?: string[], opts?: pulumi.ComponentResourceOptions): import("@pulumi/aws/iam/instanceProfile").InstanceProfile;
|
|
24
24
|
}
|
|
25
25
|
/**
|
|
26
26
|
* The set of arguments when creating the launch configuration for a cluster's autoscaling group.
|
package/cloudwatch/metric.d.ts
CHANGED
|
@@ -127,7 +127,7 @@ export declare class Metric {
|
|
|
127
127
|
withYAxis(yAxis: pulumi.Input<"left" | "right"> | undefined): Metric;
|
|
128
128
|
withStatistic(statistic: pulumi.Input<MetricStatistic> | undefined): Metric;
|
|
129
129
|
withExtendedStatistic(extendedStatistic: pulumi.Input<number> | undefined): Metric;
|
|
130
|
-
createAlarm(name: string, args: AlarmArgs, opts?: pulumi.CustomResourceOptions): aws
|
|
130
|
+
createAlarm(name: string, args: AlarmArgs, opts?: pulumi.CustomResourceOptions): import("@pulumi/aws/cloudwatch/metricAlarm").MetricAlarm;
|
|
131
131
|
/** For internal use only. */
|
|
132
132
|
addWidgetJson(metrics: wjson.MetricJson[]): void;
|
|
133
133
|
}
|
package/ecr/repository.d.ts
CHANGED
|
@@ -44,4 +44,9 @@ export interface RepositoryArgs {
|
|
|
44
44
|
* created using `LifecyclePolicy.getDefaultLifecyclePolicyArgs`.
|
|
45
45
|
*/
|
|
46
46
|
lifeCyclePolicyArgs?: LifecyclePolicyArgs;
|
|
47
|
+
/**
|
|
48
|
+
* If `true`, will delete the repository even if it contains images.
|
|
49
|
+
* Defaults to `true`.
|
|
50
|
+
*/
|
|
51
|
+
forceDelete?: pulumi.Input<boolean>;
|
|
47
52
|
}
|
package/ecr/repository.js
CHANGED
|
@@ -28,9 +28,10 @@ const repositoryImage_1 = require("./repositoryImage");
|
|
|
28
28
|
*/
|
|
29
29
|
class Repository extends pulumi.ComponentResource {
|
|
30
30
|
constructor(name, args = {}, opts = {}) {
|
|
31
|
+
var _a;
|
|
31
32
|
super("awsx:ecr:Repository", name, undefined, opts);
|
|
32
33
|
const lowerCaseName = name.toLowerCase();
|
|
33
|
-
this.repository = args.repository || new aws.ecr.Repository(lowerCaseName, args, { parent: this });
|
|
34
|
+
this.repository = args.repository || new aws.ecr.Repository(lowerCaseName, { forceDelete: (_a = args.forceDelete, (_a !== null && _a !== void 0 ? _a : true)), tags: args.tags }, { parent: this });
|
|
34
35
|
this.lifecyclePolicy = new lifecyclePolicy_1.LifecyclePolicy(lowerCaseName, this.repository, args.lifeCyclePolicyArgs, { parent: this });
|
|
35
36
|
this.registerOutputs();
|
|
36
37
|
}
|
package/ecr/repository.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"repository.js","sourceRoot":"","sources":["../../ecr/repository.ts"],"names":[],"mappings":";AAAA,2CAA2C;AAC3C,EAAE;AACF,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,iDAAiD;AACjD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;;AAEjC,mCAAmC;AAEnC,yCAAyC;AAEzC,gCAA+C;AAC/C,uDAAyE;AACzE,uDAAoD;AAEpD;;;;;;;GAOG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,iBAAiB;IAIpD,YAAY,IAAY,EAAE,OAAuB,EAAE,EAAE,OAAwC,EAAE
|
|
1
|
+
{"version":3,"file":"repository.js","sourceRoot":"","sources":["../../ecr/repository.ts"],"names":[],"mappings":";AAAA,2CAA2C;AAC3C,EAAE;AACF,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,iDAAiD;AACjD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3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AAY,EAAE,WAAsD,EAAE,IAAqB,EAAE,IAAsC;IAEnI,MAAM,IAAI,GAAG,IAAI,UAAU,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;IAC9C,MAAM,KAAK,GAAG,IAAI,CAAC,iBAAiB,CAAC,WAAW,CAAC,CAAC;IAClD,OAAO,IAAI,iCAAe,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC5C,CAAC;AAND,8CAMC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/awsx",
|
|
3
|
-
"version": "v0.40.
|
|
3
|
+
"version": "v0.40.1",
|
|
4
4
|
"description": "Pulumi Amazon Web Services (AWS) infrastructure components.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"keywords": [
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@pulumi/docker": "^3.0.0",
|
|
18
|
-
"@types/aws-lambda": "
|
|
18
|
+
"@types/aws-lambda": "8.10.93",
|
|
19
19
|
"mime": "^2.0.0"
|
|
20
20
|
},
|
|
21
21
|
"peerDependencies": {
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"@types/node": "^10.0.0",
|
|
29
29
|
"install-peers-cli": "^2.2.0",
|
|
30
30
|
"tslint": "^5.11.0",
|
|
31
|
-
"typedoc": "
|
|
31
|
+
"typedoc": "0.22.11",
|
|
32
32
|
"typescript": "~3.7.3"
|
|
33
33
|
}
|
|
34
34
|
}
|
package/package.json.dev
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/awsx",
|
|
3
|
-
"version": "v0.40.
|
|
3
|
+
"version": "v0.40.1",
|
|
4
4
|
"description": "Pulumi Amazon Web Services (AWS) infrastructure components.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"keywords": [
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@pulumi/docker": "^3.0.0",
|
|
18
|
-
"@types/aws-lambda": "
|
|
18
|
+
"@types/aws-lambda": "8.10.93",
|
|
19
19
|
"mime": "^2.0.0"
|
|
20
20
|
},
|
|
21
21
|
"peerDependencies": {
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"@types/node": "^10.0.0",
|
|
29
29
|
"install-peers-cli": "^2.2.0",
|
|
30
30
|
"tslint": "^5.11.0",
|
|
31
|
-
"typedoc": "
|
|
31
|
+
"typedoc": "0.22.11",
|
|
32
32
|
"typescript": "~3.7.3"
|
|
33
33
|
}
|
|
34
34
|
}
|