@pulumi/aws 4.31.0 → 4.32.0-alpha.1639158023
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/alb/loadBalancer.d.ts +2 -2
- package/alb/loadBalancer.js +2 -2
- package/applicationloadbalancing/loadBalancer.d.ts +2 -2
- package/applicationloadbalancing/loadBalancer.js +2 -2
- package/autoscaling/getAmiIds.d.ts +4 -4
- package/autoscaling/getAmiIds.js +4 -4
- package/backup/regionSettings.d.ts +25 -0
- package/backup/regionSettings.js +9 -0
- package/backup/regionSettings.js.map +1 -1
- package/cloudwatch/eventTarget.d.ts +4 -0
- package/cloudwatch/eventTarget.js +4 -0
- package/cloudwatch/eventTarget.js.map +1 -1
- package/codecommit/approvalRuleTemplateAssociation.d.ts +83 -0
- package/codecommit/approvalRuleTemplateAssociation.js +82 -0
- package/codecommit/approvalRuleTemplateAssociation.js.map +1 -0
- package/codecommit/index.d.ts +1 -0
- package/codecommit/index.js +5 -0
- package/codecommit/index.js.map +1 -1
- package/detective/graph.d.ts +103 -0
- package/detective/graph.js +81 -0
- package/detective/graph.js.map +1 -0
- package/detective/index.d.ts +1 -0
- package/detective/index.js +33 -0
- package/detective/index.js.map +1 -0
- package/dynamodb/getTable.d.ts +1 -0
- package/dynamodb/getTable.js.map +1 -1
- package/dynamodb/table.d.ts +12 -0
- package/dynamodb/table.js +2 -0
- package/dynamodb/table.js.map +1 -1
- package/ec2/index.d.ts +1 -0
- package/ec2/index.js +5 -0
- package/ec2/index.js.map +1 -1
- package/ec2/subnetCidrReservation.d.ts +116 -0
- package/ec2/subnetCidrReservation.js +92 -0
- package/ec2/subnetCidrReservation.js.map +1 -0
- package/ec2/vpc.d.ts +28 -16
- package/ec2/vpc.js +1 -1
- package/ec2/vpc.js.map +1 -1
- package/ec2/vpcIpamPool.d.ts +4 -4
- package/ec2/vpcIpamPool.js +1 -1
- package/ec2/vpcIpv6CidrBlockAssociation.d.ts +10 -2
- package/ec2/vpcIpv6CidrBlockAssociation.js +1 -2
- package/ec2/vpcIpv6CidrBlockAssociation.js.map +1 -1
- package/ecs/index.d.ts +1 -0
- package/ecs/index.js +5 -0
- package/ecs/index.js.map +1 -1
- package/ecs/taskDefinition.d.ts +58 -18
- package/ecs/taskDefinition.js +48 -18
- package/ecs/taskDefinition.js.map +1 -1
- package/ecs/taskSet.d.ts +264 -0
- package/ecs/taskSet.js +107 -0
- package/ecs/taskSet.js.map +1 -0
- package/elasticache/replicationGroup.d.ts +12 -0
- package/elasticache/replicationGroup.js +2 -0
- package/elasticache/replicationGroup.js.map +1 -1
- package/elasticloadbalancingv2/loadBalancer.d.ts +2 -2
- package/elasticloadbalancingv2/loadBalancer.js +2 -2
- package/elasticsearch/domain.d.ts +12 -0
- package/elasticsearch/domain.js +2 -0
- package/elasticsearch/domain.js.map +1 -1
- package/elasticsearch/getDomain.d.ts +4 -0
- package/elasticsearch/getDomain.js.map +1 -1
- package/emr/index.d.ts +2 -0
- package/emr/index.js +10 -0
- package/emr/index.js.map +1 -1
- package/emr/studio.d.ts +237 -0
- package/emr/studio.js +131 -0
- package/emr/studio.js.map +1 -0
- package/emr/studioSessionMapping.d.ts +121 -0
- package/emr/studioSessionMapping.js +93 -0
- package/emr/studioSessionMapping.js.map +1 -0
- package/getAutoscalingGroups.d.ts +4 -4
- package/getAutoscalingGroups.js +4 -4
- package/iam/role.d.ts +6 -6
- package/index.d.ts +2 -1
- package/index.js +5 -3
- package/index.js.map +1 -1
- package/kinesis/getStream.d.ts +5 -0
- package/kinesis/getStream.js.map +1 -1
- package/kinesis/stream.d.ts +22 -6
- package/kinesis/stream.js +5 -3
- package/kinesis/stream.js.map +1 -1
- package/lambda/eventSourceMapping.d.ts +40 -0
- package/lambda/eventSourceMapping.js +30 -0
- package/lambda/eventSourceMapping.js.map +1 -1
- package/lb/loadBalancer.d.ts +2 -2
- package/lb/loadBalancer.js +2 -2
- package/package.json +2 -2
- package/package.json.dev +1 -1
- package/servicequotas/getServiceQuota.d.ts +6 -6
- package/sqs/queue.d.ts +25 -0
- package/sqs/queue.js +15 -0
- package/sqs/queue.js.map +1 -1
- package/transfer/server.d.ts +26 -3
- package/transfer/server.js +13 -0
- package/transfer/server.js.map +1 -1
- package/types/input.d.ts +144 -4
- package/types/output.d.ts +186 -2
package/alb/loadBalancer.d.ts
CHANGED
|
@@ -17,7 +17,7 @@ import { IpAddressType, LoadBalancerType } from "./index";
|
|
|
17
17
|
* internal: false,
|
|
18
18
|
* loadBalancerType: "application",
|
|
19
19
|
* securityGroups: [aws_security_group.lb_sg.id],
|
|
20
|
-
* subnets:
|
|
20
|
+
* subnets: .map(subnet => subnet.id),
|
|
21
21
|
* enableDeletionProtection: true,
|
|
22
22
|
* accessLogs: {
|
|
23
23
|
* bucket: aws_s3_bucket.lb_logs.bucket,
|
|
@@ -38,7 +38,7 @@ import { IpAddressType, LoadBalancerType } from "./index";
|
|
|
38
38
|
* const test = new aws.lb.LoadBalancer("test", {
|
|
39
39
|
* internal: false,
|
|
40
40
|
* loadBalancerType: "network",
|
|
41
|
-
* subnets:
|
|
41
|
+
* subnets: .map(subnet => subnet.id),
|
|
42
42
|
* enableDeletionProtection: true,
|
|
43
43
|
* tags: {
|
|
44
44
|
* Environment: "production",
|
package/alb/loadBalancer.js
CHANGED
|
@@ -21,7 +21,7 @@ const utilities = require("../utilities");
|
|
|
21
21
|
* internal: false,
|
|
22
22
|
* loadBalancerType: "application",
|
|
23
23
|
* securityGroups: [aws_security_group.lb_sg.id],
|
|
24
|
-
* subnets:
|
|
24
|
+
* subnets: .map(subnet => subnet.id),
|
|
25
25
|
* enableDeletionProtection: true,
|
|
26
26
|
* accessLogs: {
|
|
27
27
|
* bucket: aws_s3_bucket.lb_logs.bucket,
|
|
@@ -42,7 +42,7 @@ const utilities = require("../utilities");
|
|
|
42
42
|
* const test = new aws.lb.LoadBalancer("test", {
|
|
43
43
|
* internal: false,
|
|
44
44
|
* loadBalancerType: "network",
|
|
45
|
-
* subnets:
|
|
45
|
+
* subnets: .map(subnet => subnet.id),
|
|
46
46
|
* enableDeletionProtection: true,
|
|
47
47
|
* tags: {
|
|
48
48
|
* Environment: "production",
|
|
@@ -17,7 +17,7 @@ import { IpAddressType, LoadBalancerType } from "../alb";
|
|
|
17
17
|
* internal: false,
|
|
18
18
|
* loadBalancerType: "application",
|
|
19
19
|
* securityGroups: [aws_security_group.lb_sg.id],
|
|
20
|
-
* subnets:
|
|
20
|
+
* subnets: .map(subnet => subnet.id),
|
|
21
21
|
* enableDeletionProtection: true,
|
|
22
22
|
* accessLogs: {
|
|
23
23
|
* bucket: aws_s3_bucket.lb_logs.bucket,
|
|
@@ -38,7 +38,7 @@ import { IpAddressType, LoadBalancerType } from "../alb";
|
|
|
38
38
|
* const test = new aws.lb.LoadBalancer("test", {
|
|
39
39
|
* internal: false,
|
|
40
40
|
* loadBalancerType: "network",
|
|
41
|
-
* subnets:
|
|
41
|
+
* subnets: .map(subnet => subnet.id),
|
|
42
42
|
* enableDeletionProtection: true,
|
|
43
43
|
* tags: {
|
|
44
44
|
* Environment: "production",
|
|
@@ -21,7 +21,7 @@ const utilities = require("../utilities");
|
|
|
21
21
|
* internal: false,
|
|
22
22
|
* loadBalancerType: "application",
|
|
23
23
|
* securityGroups: [aws_security_group.lb_sg.id],
|
|
24
|
-
* subnets:
|
|
24
|
+
* subnets: .map(subnet => subnet.id),
|
|
25
25
|
* enableDeletionProtection: true,
|
|
26
26
|
* accessLogs: {
|
|
27
27
|
* bucket: aws_s3_bucket.lb_logs.bucket,
|
|
@@ -42,7 +42,7 @@ const utilities = require("../utilities");
|
|
|
42
42
|
* const test = new aws.lb.LoadBalancer("test", {
|
|
43
43
|
* internal: false,
|
|
44
44
|
* loadBalancerType: "network",
|
|
45
|
-
* subnets:
|
|
45
|
+
* subnets: .map(subnet => subnet.id),
|
|
46
46
|
* enableDeletionProtection: true,
|
|
47
47
|
* tags: {
|
|
48
48
|
* Environment: "production",
|
|
@@ -13,12 +13,12 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
13
13
|
* const groups = aws.autoscaling.getAmiIds({
|
|
14
14
|
* filters: [
|
|
15
15
|
* {
|
|
16
|
-
* name: "
|
|
17
|
-
* values: ["
|
|
16
|
+
* name: "tag:Team",
|
|
17
|
+
* values: ["Pets"],
|
|
18
18
|
* },
|
|
19
19
|
* {
|
|
20
|
-
* name: "
|
|
21
|
-
* values: ["
|
|
20
|
+
* name: "tag-key",
|
|
21
|
+
* values: ["Environment"],
|
|
22
22
|
* },
|
|
23
23
|
* ],
|
|
24
24
|
* });
|
package/autoscaling/getAmiIds.js
CHANGED
|
@@ -18,12 +18,12 @@ const utilities = require("../utilities");
|
|
|
18
18
|
* const groups = aws.autoscaling.getAmiIds({
|
|
19
19
|
* filters: [
|
|
20
20
|
* {
|
|
21
|
-
* name: "
|
|
22
|
-
* values: ["
|
|
21
|
+
* name: "tag:Team",
|
|
22
|
+
* values: ["Pets"],
|
|
23
23
|
* },
|
|
24
24
|
* {
|
|
25
|
-
* name: "
|
|
26
|
-
* values: ["
|
|
25
|
+
* name: "tag-key",
|
|
26
|
+
* values: ["Environment"],
|
|
27
27
|
* },
|
|
28
28
|
* ],
|
|
29
29
|
* });
|
|
@@ -9,15 +9,22 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
9
9
|
* import * as aws from "@pulumi/aws";
|
|
10
10
|
*
|
|
11
11
|
* const test = new aws.backup.RegionSettings("test", {
|
|
12
|
+
* resourceTypeManagementPreference: {
|
|
13
|
+
* DynamoDB: true,
|
|
14
|
+
* EFS: true,
|
|
15
|
+
* },
|
|
12
16
|
* resourceTypeOptInPreference: {
|
|
13
17
|
* Aurora: true,
|
|
18
|
+
* DocumentDB: true,
|
|
14
19
|
* DynamoDB: true,
|
|
15
20
|
* EBS: true,
|
|
16
21
|
* EC2: true,
|
|
17
22
|
* EFS: true,
|
|
18
23
|
* FSx: true,
|
|
24
|
+
* Neptune: true,
|
|
19
25
|
* RDS: true,
|
|
20
26
|
* "Storage Gateway": true,
|
|
27
|
+
* VirtualMachine: true,
|
|
21
28
|
* },
|
|
22
29
|
* });
|
|
23
30
|
* ```
|
|
@@ -46,6 +53,12 @@ export declare class RegionSettings extends pulumi.CustomResource {
|
|
|
46
53
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
47
54
|
*/
|
|
48
55
|
static isInstance(obj: any): obj is RegionSettings;
|
|
56
|
+
/**
|
|
57
|
+
* A map of services along with the management preferences for the Region.
|
|
58
|
+
*/
|
|
59
|
+
readonly resourceTypeManagementPreference: pulumi.Output<{
|
|
60
|
+
[key: string]: boolean;
|
|
61
|
+
}>;
|
|
49
62
|
/**
|
|
50
63
|
* A map of services along with the opt-in preferences for the Region.
|
|
51
64
|
*/
|
|
@@ -65,6 +78,12 @@ export declare class RegionSettings extends pulumi.CustomResource {
|
|
|
65
78
|
* Input properties used for looking up and filtering RegionSettings resources.
|
|
66
79
|
*/
|
|
67
80
|
export interface RegionSettingsState {
|
|
81
|
+
/**
|
|
82
|
+
* A map of services along with the management preferences for the Region.
|
|
83
|
+
*/
|
|
84
|
+
resourceTypeManagementPreference?: pulumi.Input<{
|
|
85
|
+
[key: string]: pulumi.Input<boolean>;
|
|
86
|
+
}>;
|
|
68
87
|
/**
|
|
69
88
|
* A map of services along with the opt-in preferences for the Region.
|
|
70
89
|
*/
|
|
@@ -76,6 +95,12 @@ export interface RegionSettingsState {
|
|
|
76
95
|
* The set of arguments for constructing a RegionSettings resource.
|
|
77
96
|
*/
|
|
78
97
|
export interface RegionSettingsArgs {
|
|
98
|
+
/**
|
|
99
|
+
* A map of services along with the management preferences for the Region.
|
|
100
|
+
*/
|
|
101
|
+
resourceTypeManagementPreference?: pulumi.Input<{
|
|
102
|
+
[key: string]: pulumi.Input<boolean>;
|
|
103
|
+
}>;
|
|
79
104
|
/**
|
|
80
105
|
* A map of services along with the opt-in preferences for the Region.
|
|
81
106
|
*/
|
package/backup/regionSettings.js
CHANGED
|
@@ -15,15 +15,22 @@ const utilities = require("../utilities");
|
|
|
15
15
|
* import * as aws from "@pulumi/aws";
|
|
16
16
|
*
|
|
17
17
|
* const test = new aws.backup.RegionSettings("test", {
|
|
18
|
+
* resourceTypeManagementPreference: {
|
|
19
|
+
* DynamoDB: true,
|
|
20
|
+
* EFS: true,
|
|
21
|
+
* },
|
|
18
22
|
* resourceTypeOptInPreference: {
|
|
19
23
|
* Aurora: true,
|
|
24
|
+
* DocumentDB: true,
|
|
20
25
|
* DynamoDB: true,
|
|
21
26
|
* EBS: true,
|
|
22
27
|
* EC2: true,
|
|
23
28
|
* EFS: true,
|
|
24
29
|
* FSx: true,
|
|
30
|
+
* Neptune: true,
|
|
25
31
|
* RDS: true,
|
|
26
32
|
* "Storage Gateway": true,
|
|
33
|
+
* VirtualMachine: true,
|
|
27
34
|
* },
|
|
28
35
|
* });
|
|
29
36
|
* ```
|
|
@@ -42,6 +49,7 @@ class RegionSettings extends pulumi.CustomResource {
|
|
|
42
49
|
opts = opts || {};
|
|
43
50
|
if (opts.id) {
|
|
44
51
|
const state = argsOrState;
|
|
52
|
+
inputs["resourceTypeManagementPreference"] = state ? state.resourceTypeManagementPreference : undefined;
|
|
45
53
|
inputs["resourceTypeOptInPreference"] = state ? state.resourceTypeOptInPreference : undefined;
|
|
46
54
|
}
|
|
47
55
|
else {
|
|
@@ -49,6 +57,7 @@ class RegionSettings extends pulumi.CustomResource {
|
|
|
49
57
|
if ((!args || args.resourceTypeOptInPreference === undefined) && !opts.urn) {
|
|
50
58
|
throw new Error("Missing required property 'resourceTypeOptInPreference'");
|
|
51
59
|
}
|
|
60
|
+
inputs["resourceTypeManagementPreference"] = args ? args.resourceTypeManagementPreference : undefined;
|
|
52
61
|
inputs["resourceTypeOptInPreference"] = args ? args.resourceTypeOptInPreference : undefined;
|
|
53
62
|
}
|
|
54
63
|
if (!opts.version) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"regionSettings.js","sourceRoot":"","sources":["../../backup/regionSettings.ts"],"names":[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EAAE;YACf,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,EAAE,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE,EAAC,CAAC,CAAC;SACxE;QACD,KAAK,CAAC,cAAc,CAAC,YAAY,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC;IAC3D,CAAC;IA/DD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA2B,EAAE,IAAmC;QACzH,OAAO,IAAI,cAAc,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACrE,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,cAAc,CAAC,YAAY,CAAC;IAC/D,CAAC;;AA1BL,wCAiEC;AAnDG,gBAAgB;AACO,2BAAY,GAAG,0CAA0C,CAAC"}
|
|
@@ -99,6 +99,10 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
99
99
|
* }));
|
|
100
100
|
* const ssmLifecycleRole = new aws.iam.Role("ssmLifecycleRole", {assumeRolePolicy: ssmLifecycleTrust.then(ssmLifecycleTrust => ssmLifecycleTrust.json)});
|
|
101
101
|
* const ssmLifecyclePolicy = new aws.iam.Policy("ssmLifecyclePolicy", {policy: ssmLifecyclePolicyDocument.apply(ssmLifecyclePolicyDocument => ssmLifecyclePolicyDocument.json)});
|
|
102
|
+
* const ssmLifecycleRolePolicyAttachment = new aws.iam.RolePolicyAttachment("ssmLifecycleRolePolicyAttachment", {
|
|
103
|
+
* policyArn: ssmLifecyclePolicy.arn,
|
|
104
|
+
* role: ssmLifecycleRole.name,
|
|
105
|
+
* });
|
|
102
106
|
* const stopInstancesEventRule = new aws.cloudwatch.EventRule("stopInstancesEventRule", {
|
|
103
107
|
* description: "Stop instances nightly",
|
|
104
108
|
* scheduleExpression: "cron(0 0 * * ? *)",
|
|
@@ -104,6 +104,10 @@ const utilities = require("../utilities");
|
|
|
104
104
|
* }));
|
|
105
105
|
* const ssmLifecycleRole = new aws.iam.Role("ssmLifecycleRole", {assumeRolePolicy: ssmLifecycleTrust.then(ssmLifecycleTrust => ssmLifecycleTrust.json)});
|
|
106
106
|
* const ssmLifecyclePolicy = new aws.iam.Policy("ssmLifecyclePolicy", {policy: ssmLifecyclePolicyDocument.apply(ssmLifecyclePolicyDocument => ssmLifecyclePolicyDocument.json)});
|
|
107
|
+
* const ssmLifecycleRolePolicyAttachment = new aws.iam.RolePolicyAttachment("ssmLifecycleRolePolicyAttachment", {
|
|
108
|
+
* policyArn: ssmLifecyclePolicy.arn,
|
|
109
|
+
* role: ssmLifecycleRole.name,
|
|
110
|
+
* });
|
|
107
111
|
* const stopInstancesEventRule = new aws.cloudwatch.EventRule("stopInstancesEventRule", {
|
|
108
112
|
* description: "Stop instances nightly",
|
|
109
113
|
* scheduleExpression: "cron(0 0 * * ? *)",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eventTarget.js","sourceRoot":"","sources":["../../cloudwatch/eventTarget.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"eventTarget.js","sourceRoot":"","sources":["../../cloudwatch/eventTarget.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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I,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,WAAW,CAAC,YAAY,CAAC;IAC5D,CAAC;;AA1BL,kCA8JC;AAhJG,gBAAgB;AACO,wBAAY,GAAG,wCAAwC,CAAC"}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Associates a CodeCommit Approval Rule Template with a Repository.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as aws from "@pulumi/aws";
|
|
10
|
+
*
|
|
11
|
+
* const example = new aws.codecommit.ApprovalRuleTemplateAssociation("example", {
|
|
12
|
+
* approvalRuleTemplateName: aws_codecommit_approval_rule_template.example.name,
|
|
13
|
+
* repositoryName: aws_codecommit_repository.example.repository_name,
|
|
14
|
+
* });
|
|
15
|
+
* ```
|
|
16
|
+
*
|
|
17
|
+
* ## Import
|
|
18
|
+
*
|
|
19
|
+
* CodeCommit approval rule template associations can be imported using the `approval_rule_template_name` and `repository_name` separated by a comma (`,`), e.g.
|
|
20
|
+
*
|
|
21
|
+
* ```sh
|
|
22
|
+
* $ pulumi import aws:codecommit/approvalRuleTemplateAssociation:ApprovalRuleTemplateAssociation example approver-rule-for-example,MyExampleRepo
|
|
23
|
+
* ```
|
|
24
|
+
*/
|
|
25
|
+
export declare class ApprovalRuleTemplateAssociation extends pulumi.CustomResource {
|
|
26
|
+
/**
|
|
27
|
+
* Get an existing ApprovalRuleTemplateAssociation resource's state with the given name, ID, and optional extra
|
|
28
|
+
* properties used to qualify the lookup.
|
|
29
|
+
*
|
|
30
|
+
* @param name The _unique_ name of the resulting resource.
|
|
31
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
32
|
+
* @param state Any extra arguments used during the lookup.
|
|
33
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
34
|
+
*/
|
|
35
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ApprovalRuleTemplateAssociationState, opts?: pulumi.CustomResourceOptions): ApprovalRuleTemplateAssociation;
|
|
36
|
+
/**
|
|
37
|
+
* Returns true if the given object is an instance of ApprovalRuleTemplateAssociation. This is designed to work even
|
|
38
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
39
|
+
*/
|
|
40
|
+
static isInstance(obj: any): obj is ApprovalRuleTemplateAssociation;
|
|
41
|
+
/**
|
|
42
|
+
* The name for the approval rule template.
|
|
43
|
+
*/
|
|
44
|
+
readonly approvalRuleTemplateName: pulumi.Output<string>;
|
|
45
|
+
/**
|
|
46
|
+
* The name of the repository that you want to associate with the template.
|
|
47
|
+
*/
|
|
48
|
+
readonly repositoryName: pulumi.Output<string>;
|
|
49
|
+
/**
|
|
50
|
+
* Create a ApprovalRuleTemplateAssociation resource with the given unique name, arguments, and options.
|
|
51
|
+
*
|
|
52
|
+
* @param name The _unique_ name of the resource.
|
|
53
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
54
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
55
|
+
*/
|
|
56
|
+
constructor(name: string, args: ApprovalRuleTemplateAssociationArgs, opts?: pulumi.CustomResourceOptions);
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Input properties used for looking up and filtering ApprovalRuleTemplateAssociation resources.
|
|
60
|
+
*/
|
|
61
|
+
export interface ApprovalRuleTemplateAssociationState {
|
|
62
|
+
/**
|
|
63
|
+
* The name for the approval rule template.
|
|
64
|
+
*/
|
|
65
|
+
approvalRuleTemplateName?: pulumi.Input<string>;
|
|
66
|
+
/**
|
|
67
|
+
* The name of the repository that you want to associate with the template.
|
|
68
|
+
*/
|
|
69
|
+
repositoryName?: pulumi.Input<string>;
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* The set of arguments for constructing a ApprovalRuleTemplateAssociation resource.
|
|
73
|
+
*/
|
|
74
|
+
export interface ApprovalRuleTemplateAssociationArgs {
|
|
75
|
+
/**
|
|
76
|
+
* The name for the approval rule template.
|
|
77
|
+
*/
|
|
78
|
+
approvalRuleTemplateName: pulumi.Input<string>;
|
|
79
|
+
/**
|
|
80
|
+
* The name of the repository that you want to associate with the template.
|
|
81
|
+
*/
|
|
82
|
+
repositoryName: pulumi.Input<string>;
|
|
83
|
+
}
|
|
@@ -0,0 +1,82 @@
|
|
|
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.ApprovalRuleTemplateAssociation = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Associates a CodeCommit Approval Rule Template with a Repository.
|
|
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.codecommit.ApprovalRuleTemplateAssociation("example", {
|
|
18
|
+
* approvalRuleTemplateName: aws_codecommit_approval_rule_template.example.name,
|
|
19
|
+
* repositoryName: aws_codecommit_repository.example.repository_name,
|
|
20
|
+
* });
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* ## Import
|
|
24
|
+
*
|
|
25
|
+
* CodeCommit approval rule template associations can be imported using the `approval_rule_template_name` and `repository_name` separated by a comma (`,`), e.g.
|
|
26
|
+
*
|
|
27
|
+
* ```sh
|
|
28
|
+
* $ pulumi import aws:codecommit/approvalRuleTemplateAssociation:ApprovalRuleTemplateAssociation example approver-rule-for-example,MyExampleRepo
|
|
29
|
+
* ```
|
|
30
|
+
*/
|
|
31
|
+
class ApprovalRuleTemplateAssociation extends pulumi.CustomResource {
|
|
32
|
+
constructor(name, argsOrState, opts) {
|
|
33
|
+
let inputs = {};
|
|
34
|
+
opts = opts || {};
|
|
35
|
+
if (opts.id) {
|
|
36
|
+
const state = argsOrState;
|
|
37
|
+
inputs["approvalRuleTemplateName"] = state ? state.approvalRuleTemplateName : undefined;
|
|
38
|
+
inputs["repositoryName"] = state ? state.repositoryName : undefined;
|
|
39
|
+
}
|
|
40
|
+
else {
|
|
41
|
+
const args = argsOrState;
|
|
42
|
+
if ((!args || args.approvalRuleTemplateName === undefined) && !opts.urn) {
|
|
43
|
+
throw new Error("Missing required property 'approvalRuleTemplateName'");
|
|
44
|
+
}
|
|
45
|
+
if ((!args || args.repositoryName === undefined) && !opts.urn) {
|
|
46
|
+
throw new Error("Missing required property 'repositoryName'");
|
|
47
|
+
}
|
|
48
|
+
inputs["approvalRuleTemplateName"] = args ? args.approvalRuleTemplateName : undefined;
|
|
49
|
+
inputs["repositoryName"] = args ? args.repositoryName : undefined;
|
|
50
|
+
}
|
|
51
|
+
if (!opts.version) {
|
|
52
|
+
opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
|
|
53
|
+
}
|
|
54
|
+
super(ApprovalRuleTemplateAssociation.__pulumiType, name, inputs, opts);
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Get an existing ApprovalRuleTemplateAssociation resource's state with the given name, ID, and optional extra
|
|
58
|
+
* properties used to qualify the lookup.
|
|
59
|
+
*
|
|
60
|
+
* @param name The _unique_ name of the resulting resource.
|
|
61
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
62
|
+
* @param state Any extra arguments used during the lookup.
|
|
63
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
64
|
+
*/
|
|
65
|
+
static get(name, id, state, opts) {
|
|
66
|
+
return new ApprovalRuleTemplateAssociation(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* Returns true if the given object is an instance of ApprovalRuleTemplateAssociation. This is designed to work even
|
|
70
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
71
|
+
*/
|
|
72
|
+
static isInstance(obj) {
|
|
73
|
+
if (obj === undefined || obj === null) {
|
|
74
|
+
return false;
|
|
75
|
+
}
|
|
76
|
+
return obj['__pulumiType'] === ApprovalRuleTemplateAssociation.__pulumiType;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
exports.ApprovalRuleTemplateAssociation = ApprovalRuleTemplateAssociation;
|
|
80
|
+
/** @internal */
|
|
81
|
+
ApprovalRuleTemplateAssociation.__pulumiType = 'aws:codecommit/approvalRuleTemplateAssociation:ApprovalRuleTemplateAssociation';
|
|
82
|
+
//# sourceMappingURL=approvalRuleTemplateAssociation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"approvalRuleTemplateAssociation.js","sourceRoot":"","sources":["../../codecommit/approvalRuleTemplateAssociation.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,MAAa,+BAAgC,SAAQ,MAAM,CAAC,cAAc;IA6CtE,YAAY,IAAY,EAAE,WAAwF,EAAE,IAAmC;QACnJ,IAAI,MAAM,GAAkB,EAAE,CAAC;QAC/B,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA+D,CAAC;YAC9E,MAAM,CAAC,0BAA0B,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,wBAAwB,CAAC,CAAC,CAAC,SAAS,CAAC;YACxF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AQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,+BAA+B,CAAC,YAAY,CAAC;IAChF,CAAC;;AA1BL,0EAoEC;AAtDG,gBAAgB;AACO,4CAAY,GAAG,gFAAgF,CAAC"}
|
package/codecommit/index.d.ts
CHANGED
package/codecommit/index.js
CHANGED
|
@@ -16,12 +16,14 @@ const pulumi = require("@pulumi/pulumi");
|
|
|
16
16
|
const utilities = require("../utilities");
|
|
17
17
|
// Export members:
|
|
18
18
|
__exportStar(require("./approvalRuleTemplate"), exports);
|
|
19
|
+
__exportStar(require("./approvalRuleTemplateAssociation"), exports);
|
|
19
20
|
__exportStar(require("./getApprovalRuleTemplate"), exports);
|
|
20
21
|
__exportStar(require("./getRepository"), exports);
|
|
21
22
|
__exportStar(require("./repository"), exports);
|
|
22
23
|
__exportStar(require("./trigger"), exports);
|
|
23
24
|
// Import resources to register:
|
|
24
25
|
const approvalRuleTemplate_1 = require("./approvalRuleTemplate");
|
|
26
|
+
const approvalRuleTemplateAssociation_1 = require("./approvalRuleTemplateAssociation");
|
|
25
27
|
const repository_1 = require("./repository");
|
|
26
28
|
const trigger_1 = require("./trigger");
|
|
27
29
|
const _module = {
|
|
@@ -30,6 +32,8 @@ const _module = {
|
|
|
30
32
|
switch (type) {
|
|
31
33
|
case "aws:codecommit/approvalRuleTemplate:ApprovalRuleTemplate":
|
|
32
34
|
return new approvalRuleTemplate_1.ApprovalRuleTemplate(name, undefined, { urn });
|
|
35
|
+
case "aws:codecommit/approvalRuleTemplateAssociation:ApprovalRuleTemplateAssociation":
|
|
36
|
+
return new approvalRuleTemplateAssociation_1.ApprovalRuleTemplateAssociation(name, undefined, { urn });
|
|
33
37
|
case "aws:codecommit/repository:Repository":
|
|
34
38
|
return new repository_1.Repository(name, undefined, { urn });
|
|
35
39
|
case "aws:codecommit/trigger:Trigger":
|
|
@@ -40,6 +44,7 @@ const _module = {
|
|
|
40
44
|
},
|
|
41
45
|
};
|
|
42
46
|
pulumi.runtime.registerResourceModule("aws", "codecommit/approvalRuleTemplate", _module);
|
|
47
|
+
pulumi.runtime.registerResourceModule("aws", "codecommit/approvalRuleTemplateAssociation", _module);
|
|
43
48
|
pulumi.runtime.registerResourceModule("aws", "codecommit/repository", _module);
|
|
44
49
|
pulumi.runtime.registerResourceModule("aws", "codecommit/trigger", _module);
|
|
45
50
|
//# sourceMappingURL=index.js.map
|
package/codecommit/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../codecommit/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,kBAAkB;AAClB,yDAAuC;AACvC,4DAA0C;AAC1C,kDAAgC;AAChC,+CAA6B;AAC7B,4CAA0B;AAE1B,gCAAgC;AAChC,iEAA8D;AAC9D,6CAA0C;AAC1C,uCAAoC;AAEpC,MAAM,OAAO,GAAG;IACZ,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,SAAS,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAAmB,EAAE;QACpE,QAAQ,IAAI,EAAE;YACV,KAAK,0DAA0D;gBAC3D,OAAO,IAAI,2CAAoB,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAClE,KAAK,sCAAsC;gBACvC,OAAO,IAAI,uBAAU,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACxD,KAAK,gCAAgC;gBACjC,OAAO,IAAI,iBAAO,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACrD;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;I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I,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,iCAAiC,EAAE,OAAO,CAAC,CAAA;AACxF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,4CAA4C,EAAE,OAAO,CAAC,CAAA;AACnG,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,uBAAuB,EAAE,OAAO,CAAC,CAAA;AAC9E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,oBAAoB,EAAE,OAAO,CAAC,CAAA"}
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Provides a resource to manage an [AWS Detective Graph](https://docs.aws.amazon.com/detective/latest/APIReference/API_CreateGraph.html). As an AWS account may own only one Detective graph per region, provisioning multiple Detective graphs requires a separate provider configuration for each graph.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as aws from "@pulumi/aws";
|
|
10
|
+
*
|
|
11
|
+
* const example = new aws.detective.Graph("example", {
|
|
12
|
+
* tags: {
|
|
13
|
+
* Name: "example-detective-graph",
|
|
14
|
+
* },
|
|
15
|
+
* });
|
|
16
|
+
* ```
|
|
17
|
+
*
|
|
18
|
+
* ## Import
|
|
19
|
+
*
|
|
20
|
+
* `aws_detective_graph` can be imported using the arn, e.g.
|
|
21
|
+
*
|
|
22
|
+
* ```sh
|
|
23
|
+
* $ pulumi import aws:detective/graph:Graph example arn:aws:detective:us-east-1:123456789101:graph:231684d34gh74g4bae1dbc7bd807d02d
|
|
24
|
+
* ```
|
|
25
|
+
*/
|
|
26
|
+
export declare class Graph extends pulumi.CustomResource {
|
|
27
|
+
/**
|
|
28
|
+
* Get an existing Graph resource's state with the given name, ID, and optional extra
|
|
29
|
+
* properties used to qualify the lookup.
|
|
30
|
+
*
|
|
31
|
+
* @param name The _unique_ name of the resulting resource.
|
|
32
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
33
|
+
* @param state Any extra arguments used during the lookup.
|
|
34
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
35
|
+
*/
|
|
36
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: GraphState, opts?: pulumi.CustomResourceOptions): Graph;
|
|
37
|
+
/**
|
|
38
|
+
* Returns true if the given object is an instance of Graph. This is designed to work even
|
|
39
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
40
|
+
*/
|
|
41
|
+
static isInstance(obj: any): obj is Graph;
|
|
42
|
+
/**
|
|
43
|
+
* Date and time, in UTC and extended RFC 3339 format, when the Amazon Detective Graph was created.
|
|
44
|
+
*/
|
|
45
|
+
readonly createdTime: pulumi.Output<string>;
|
|
46
|
+
/**
|
|
47
|
+
* ARN of the Detective Graph.
|
|
48
|
+
*/
|
|
49
|
+
readonly graphArn: pulumi.Output<string>;
|
|
50
|
+
/**
|
|
51
|
+
* A map of tags to assign to the instance. If configured with a provider [`defaultTags` configuration block](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block) present, tags with matching keys will overwrite those defined at the provider-level.
|
|
52
|
+
*/
|
|
53
|
+
readonly tags: pulumi.Output<{
|
|
54
|
+
[key: string]: string;
|
|
55
|
+
} | undefined>;
|
|
56
|
+
readonly tagsAll: pulumi.Output<{
|
|
57
|
+
[key: string]: string;
|
|
58
|
+
}>;
|
|
59
|
+
/**
|
|
60
|
+
* Create a Graph 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?: GraphArgs, opts?: pulumi.CustomResourceOptions);
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* Input properties used for looking up and filtering Graph resources.
|
|
70
|
+
*/
|
|
71
|
+
export interface GraphState {
|
|
72
|
+
/**
|
|
73
|
+
* Date and time, in UTC and extended RFC 3339 format, when the Amazon Detective Graph was created.
|
|
74
|
+
*/
|
|
75
|
+
createdTime?: pulumi.Input<string>;
|
|
76
|
+
/**
|
|
77
|
+
* ARN of the Detective Graph.
|
|
78
|
+
*/
|
|
79
|
+
graphArn?: pulumi.Input<string>;
|
|
80
|
+
/**
|
|
81
|
+
* A map of tags to assign to the instance. If configured with a provider [`defaultTags` configuration block](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block) present, tags with matching keys will overwrite those defined at the provider-level.
|
|
82
|
+
*/
|
|
83
|
+
tags?: pulumi.Input<{
|
|
84
|
+
[key: string]: pulumi.Input<string>;
|
|
85
|
+
}>;
|
|
86
|
+
tagsAll?: pulumi.Input<{
|
|
87
|
+
[key: string]: pulumi.Input<string>;
|
|
88
|
+
}>;
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* The set of arguments for constructing a Graph resource.
|
|
92
|
+
*/
|
|
93
|
+
export interface GraphArgs {
|
|
94
|
+
/**
|
|
95
|
+
* A map of tags to assign to the instance. If configured with a provider [`defaultTags` configuration block](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block) present, tags with matching keys will overwrite those defined at the provider-level.
|
|
96
|
+
*/
|
|
97
|
+
tags?: pulumi.Input<{
|
|
98
|
+
[key: string]: pulumi.Input<string>;
|
|
99
|
+
}>;
|
|
100
|
+
tagsAll?: pulumi.Input<{
|
|
101
|
+
[key: string]: pulumi.Input<string>;
|
|
102
|
+
}>;
|
|
103
|
+
}
|