@pulumi/aws 5.3.0 → 5.4.0-alpha.1651662816

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.
Files changed (133) hide show
  1. package/acm/certificate.d.ts +1 -1
  2. package/acm/certificate.js +1 -1
  3. package/acm/certificateValidation.d.ts +1 -1
  4. package/acm/certificateValidation.js +1 -1
  5. package/acmpca/certificate.d.ts +0 -35
  6. package/acmpca/certificate.js +0 -35
  7. package/acmpca/certificate.js.map +1 -1
  8. package/acmpca/certificateAuthorityCertificate.d.ts +2 -2
  9. package/acmpca/certificateAuthorityCertificate.js +2 -2
  10. package/alb/listener.d.ts +7 -7
  11. package/alb/listener.js +7 -7
  12. package/amplify/branch.d.ts +0 -17
  13. package/amplify/branch.js +0 -17
  14. package/amplify/branch.js.map +1 -1
  15. package/apigatewayv2/integration.d.ts +2 -2
  16. package/apigatewayv2/integration.js +2 -2
  17. package/appautoscaling/policy.d.ts +1 -1
  18. package/appautoscaling/policy.js +1 -1
  19. package/applicationloadbalancing/listener.d.ts +7 -7
  20. package/applicationloadbalancing/listener.js +7 -7
  21. package/appsync/apiCache.d.ts +0 -13
  22. package/appsync/apiCache.js +0 -13
  23. package/appsync/apiCache.js.map +1 -1
  24. package/cloudwatch/metricAlarm.d.ts +6 -6
  25. package/cloudwatch/metricAlarm.js +6 -6
  26. package/codebuild/project.d.ts +3 -3
  27. package/codebuild/project.js +3 -3
  28. package/cognito/user.d.ts +2 -2
  29. package/cognito/user.js +2 -2
  30. package/directconnect/hostedTransitVirtualInterfaceAcceptor.d.ts +1 -1
  31. package/directconnect/hostedTransitVirtualInterfaceAcceptor.js +1 -1
  32. package/directconnect/transitVirtualInterface.d.ts +1 -1
  33. package/directconnect/transitVirtualInterface.js +1 -1
  34. package/dms/replicationTask.d.ts +1 -1
  35. package/dms/replicationTask.js +1 -1
  36. package/docdb/globalCluster.d.ts +0 -55
  37. package/docdb/globalCluster.js +0 -55
  38. package/docdb/globalCluster.js.map +1 -1
  39. package/ec2/defaultNetworkAcl.d.ts +3 -3
  40. package/ec2/defaultNetworkAcl.js +3 -3
  41. package/ec2/defaultSecurityGroup.d.ts +2 -2
  42. package/ec2/defaultSecurityGroup.js +2 -2
  43. package/ec2/getCustomerGateway.d.ts +1 -1
  44. package/ec2/getCustomerGateway.js +1 -1
  45. package/ec2/launchTemplate.d.ts +2 -2
  46. package/ec2/launchTemplate.js +2 -2
  47. package/ec2/tag.d.ts +1 -1
  48. package/ec2/tag.js +1 -1
  49. package/ec2/vpcIpam.d.ts +0 -42
  50. package/ec2/vpcIpam.js +0 -42
  51. package/ec2/vpcIpam.js.map +1 -1
  52. package/ec2/vpcIpamPoolCidr.d.ts +0 -51
  53. package/ec2/vpcIpamPoolCidr.js +0 -51
  54. package/ec2/vpcIpamPoolCidr.js.map +1 -1
  55. package/ec2/vpnConnection.d.ts +2 -2
  56. package/ec2/vpnConnection.js +2 -2
  57. package/ec2/vpnConnectionRoute.d.ts +1 -1
  58. package/ec2/vpnConnectionRoute.js +1 -1
  59. package/ec2transitgateway/connect.d.ts +0 -17
  60. package/ec2transitgateway/connect.js +0 -17
  61. package/ec2transitgateway/connect.js.map +1 -1
  62. package/ecs/capacityProvider.d.ts +1 -1
  63. package/ecs/capacityProvider.js +1 -1
  64. package/ecs/taskDefinition.d.ts +2 -2
  65. package/ecs/taskDefinition.js +2 -2
  66. package/eks/cluster.d.ts +21 -15
  67. package/eks/cluster.js +21 -15
  68. package/eks/cluster.js.map +1 -1
  69. package/eks/getAddonVersion.d.ts +22 -16
  70. package/eks/getAddonVersion.js +22 -16
  71. package/eks/getAddonVersion.js.map +1 -1
  72. package/eks/getCluster.d.ts +13 -6
  73. package/eks/getCluster.js +13 -6
  74. package/eks/getCluster.js.map +1 -1
  75. package/elasticloadbalancingv2/listener.d.ts +7 -7
  76. package/elasticloadbalancingv2/listener.js +7 -7
  77. package/emr/cluster.d.ts +1 -1
  78. package/emr/cluster.js +1 -1
  79. package/getDefaultTags.d.ts +0 -16
  80. package/getDefaultTags.js +0 -16
  81. package/getDefaultTags.js.map +1 -1
  82. package/getIpRanges.d.ts +2 -2
  83. package/getIpRanges.js +2 -2
  84. package/iam/signingCertificate.d.ts +0 -30
  85. package/iam/signingCertificate.js +0 -30
  86. package/iam/signingCertificate.js.map +1 -1
  87. package/imagebuilder/imageRecipe.d.ts +1 -1
  88. package/imagebuilder/imageRecipe.js +1 -1
  89. package/inspector/getRulesPackages.d.ts +1 -1
  90. package/inspector/getRulesPackages.js +1 -1
  91. package/kinesis/firehoseDeliveryStream.d.ts +2 -2
  92. package/kinesis/firehoseDeliveryStream.js +2 -2
  93. package/lakeformation/permissions.d.ts +0 -19
  94. package/lakeformation/permissions.js +0 -19
  95. package/lakeformation/permissions.js.map +1 -1
  96. package/lb/listener.d.ts +7 -7
  97. package/lb/listener.js +7 -7
  98. package/mwaa/environment.d.ts +2 -2
  99. package/mwaa/environment.js +2 -2
  100. package/neptune/eventSubscription.d.ts +3 -3
  101. package/neptune/eventSubscription.js +3 -3
  102. package/networkmanager/customerGatewayAssociation.d.ts +1 -1
  103. package/networkmanager/customerGatewayAssociation.js +1 -1
  104. package/opsworks/application.d.ts +1 -1
  105. package/opsworks/application.js +1 -1
  106. package/package.json +2 -2
  107. package/package.json.dev +2 -2
  108. package/route53/getZone.d.ts +1 -1
  109. package/route53/getZone.js +1 -1
  110. package/route53/healthCheck.d.ts +3 -3
  111. package/route53/healthCheck.js +3 -3
  112. package/route53/record.d.ts +3 -3
  113. package/route53/record.js +3 -3
  114. package/route53/zone.d.ts +1 -1
  115. package/route53/zone.js +1 -1
  116. package/ses/domainDkim.d.ts +1 -1
  117. package/ses/domainDkim.js +1 -1
  118. package/ses/domainIdentity.d.ts +1 -1
  119. package/ses/domainIdentity.js +1 -1
  120. package/ses/domainIdentityVerification.d.ts +1 -1
  121. package/ses/domainIdentityVerification.js +1 -1
  122. package/ses/mailFrom.d.ts +2 -2
  123. package/ses/mailFrom.js +2 -2
  124. package/shield/protectionHealthCheckAssociation.d.ts +2 -2
  125. package/shield/protectionHealthCheckAssociation.js +2 -2
  126. package/ssm/activation.d.ts +1 -1
  127. package/ssm/activation.js +1 -1
  128. package/ssm/maintenanceWindowTask.d.ts +6 -6
  129. package/ssm/maintenanceWindowTask.js +6 -6
  130. package/storagegateway/fileSystemAssociation.d.ts +1 -1
  131. package/storagegateway/fileSystemAssociation.js +1 -1
  132. package/workspaces/directory.d.ts +1 -1
  133. package/workspaces/directory.js +1 -1
@@ -40,12 +40,12 @@ const utilities = require("../utilities");
40
40
  * });
41
41
  * const batMetricAlarm = new aws.cloudwatch.MetricAlarm("batMetricAlarm", {
42
42
  * comparisonOperator: "GreaterThanOrEqualToThreshold",
43
- * evaluationPeriods: "2",
43
+ * evaluationPeriods: 2,
44
44
  * metricName: "CPUUtilization",
45
45
  * namespace: "AWS/EC2",
46
- * period: "120",
46
+ * period: 120,
47
47
  * statistic: "Average",
48
- * threshold: "80",
48
+ * threshold: 80,
49
49
  * dimensions: {
50
50
  * AutoScalingGroupName: aws_autoscaling_group.bar.name,
51
51
  * },
@@ -146,14 +146,14 @@ const utilities = require("../utilities");
146
146
  *
147
147
  * const nlbHealthyhosts = new aws.cloudwatch.MetricAlarm("nlbHealthyhosts", {
148
148
  * comparisonOperator: "LessThanThreshold",
149
- * evaluationPeriods: "1",
149
+ * evaluationPeriods: 1,
150
150
  * metricName: "HealthyHostCount",
151
151
  * namespace: "AWS/NetworkELB",
152
- * period: "60",
152
+ * period: 60,
153
153
  * statistic: "Average",
154
154
  * threshold: _var.logstash_servers_count,
155
155
  * alarmDescription: "Number of healthy nodes in Target Group",
156
- * actionsEnabled: "true",
156
+ * actionsEnabled: true,
157
157
  * alarmActions: [aws_sns_topic.sns.arn],
158
158
  * okActions: [aws_sns_topic.sns.arn],
159
159
  * dimensions: {
@@ -90,7 +90,7 @@ import { input as inputs, output as outputs } from "../types";
90
90
  * });
91
91
  * const exampleProject = new aws.codebuild.Project("exampleProject", {
92
92
  * description: "test_codebuild_project",
93
- * buildTimeout: "5",
93
+ * buildTimeout: 5,
94
94
  * serviceRole: exampleRole.arn,
95
95
  * artifacts: {
96
96
  * type: "NO_ARTIFACTS",
@@ -152,8 +152,8 @@ import { input as inputs, output as outputs } from "../types";
152
152
  * });
153
153
  * const project_with_cache = new aws.codebuild.Project("project-with-cache", {
154
154
  * description: "test_codebuild_project_cache",
155
- * buildTimeout: "5",
156
- * queuedTimeout: "5",
155
+ * buildTimeout: 5,
156
+ * queuedTimeout: 5,
157
157
  * serviceRole: exampleRole.arn,
158
158
  * artifacts: {
159
159
  * type: "NO_ARTIFACTS",
@@ -95,7 +95,7 @@ const utilities = require("../utilities");
95
95
  * });
96
96
  * const exampleProject = new aws.codebuild.Project("exampleProject", {
97
97
  * description: "test_codebuild_project",
98
- * buildTimeout: "5",
98
+ * buildTimeout: 5,
99
99
  * serviceRole: exampleRole.arn,
100
100
  * artifacts: {
101
101
  * type: "NO_ARTIFACTS",
@@ -157,8 +157,8 @@ const utilities = require("../utilities");
157
157
  * });
158
158
  * const project_with_cache = new aws.codebuild.Project("project-with-cache", {
159
159
  * description: "test_codebuild_project_cache",
160
- * buildTimeout: "5",
161
- * queuedTimeout: "5",
160
+ * buildTimeout: 5,
161
+ * queuedTimeout: 5,
162
162
  * serviceRole: exampleRole.arn,
163
163
  * artifacts: {
164
164
  * type: "NO_ARTIFACTS",
package/cognito/user.d.ts CHANGED
@@ -42,10 +42,10 @@ import * as pulumi from "@pulumi/pulumi";
42
42
  * userPoolId: exampleUserPool.id,
43
43
  * username: "example",
44
44
  * attributes: {
45
- * terraform: true,
45
+ * terraform: "true",
46
46
  * foo: "bar",
47
47
  * email: "no-reply@hashicorp.com",
48
- * email_verified: true,
48
+ * email_verified: "true",
49
49
  * },
50
50
  * });
51
51
  * ```
package/cognito/user.js CHANGED
@@ -48,10 +48,10 @@ const utilities = require("../utilities");
48
48
  * userPoolId: exampleUserPool.id,
49
49
  * username: "example",
50
50
  * attributes: {
51
- * terraform: true,
51
+ * terraform: "true",
52
52
  * foo: "bar",
53
53
  * email: "no-reply@hashicorp.com",
54
- * email_verified: true,
54
+ * email_verified: "true",
55
55
  * },
56
56
  * });
57
57
  * ```
@@ -15,7 +15,7 @@ import * as pulumi from "@pulumi/pulumi";
15
15
  * // Accepter's credentials.
16
16
  * const accepterCallerIdentity = aws.getCallerIdentity({});
17
17
  * // Accepter's side of the VIF.
18
- * const example = new aws.directconnect.Gateway("example", {amazonSideAsn: 64512}, {
18
+ * const example = new aws.directconnect.Gateway("example", {amazonSideAsn: "64512"}, {
19
19
  * provider: aws.accepter,
20
20
  * });
21
21
  * // Creator's side of the VIF
@@ -21,7 +21,7 @@ const utilities = require("../utilities");
21
21
  * // Accepter's credentials.
22
22
  * const accepterCallerIdentity = aws.getCallerIdentity({});
23
23
  * // Accepter's side of the VIF.
24
- * const example = new aws.directconnect.Gateway("example", {amazonSideAsn: 64512}, {
24
+ * const example = new aws.directconnect.Gateway("example", {amazonSideAsn: "64512"}, {
25
25
  * provider: aws.accepter,
26
26
  * });
27
27
  * // Creator's side of the VIF
@@ -9,7 +9,7 @@ import * as pulumi from "@pulumi/pulumi";
9
9
  * import * as pulumi from "@pulumi/pulumi";
10
10
  * import * as aws from "@pulumi/aws";
11
11
  *
12
- * const exampleGateway = new aws.directconnect.Gateway("exampleGateway", {amazonSideAsn: 64512});
12
+ * const exampleGateway = new aws.directconnect.Gateway("exampleGateway", {amazonSideAsn: "64512"});
13
13
  * const exampleTransitVirtualInterface = new aws.directconnect.TransitVirtualInterface("exampleTransitVirtualInterface", {
14
14
  * connectionId: aws_dx_connection.example.id,
15
15
  * dxGatewayId: exampleGateway.id,
@@ -15,7 +15,7 @@ const utilities = require("../utilities");
15
15
  * import * as pulumi from "@pulumi/pulumi";
16
16
  * import * as aws from "@pulumi/aws";
17
17
  *
18
- * const exampleGateway = new aws.directconnect.Gateway("exampleGateway", {amazonSideAsn: 64512});
18
+ * const exampleGateway = new aws.directconnect.Gateway("exampleGateway", {amazonSideAsn: "64512"});
19
19
  * const exampleTransitVirtualInterface = new aws.directconnect.TransitVirtualInterface("exampleTransitVirtualInterface", {
20
20
  * connectionId: aws_dx_connection.example.id,
21
21
  * dxGatewayId: exampleGateway.id,
@@ -10,7 +10,7 @@ import * as pulumi from "@pulumi/pulumi";
10
10
  *
11
11
  * // Create a new replication task
12
12
  * const test = new aws.dms.ReplicationTask("test", {
13
- * cdcStartTime: 1484346880,
13
+ * cdcStartTime: "1484346880",
14
14
  * migrationType: "full-load",
15
15
  * replicationInstanceArn: aws_dms_replication_instance["test-dms-replication-instance-tf"].replication_instance_arn,
16
16
  * replicationTaskId: "test-dms-replication-task-tf",
@@ -16,7 +16,7 @@ const utilities = require("../utilities");
16
16
  *
17
17
  * // Create a new replication task
18
18
  * const test = new aws.dms.ReplicationTask("test", {
19
- * cdcStartTime: 1484346880,
19
+ * cdcStartTime: "1484346880",
20
20
  * migrationType: "full-load",
21
21
  * replicationInstanceArn: aws_dms_replication_instance["test-dms-replication-instance-tf"].replication_instance_arn,
22
22
  * replicationTaskId: "test-dms-replication-task-tf",
@@ -6,61 +6,6 @@ import { input as inputs, output as outputs } from "../types";
6
6
  * More information about DocumentDB Global Clusters can be found in the [DocumentDB Developer Guide](https://docs.aws.amazon.com/documentdb/latest/developerguide/global-clusters.html).
7
7
  *
8
8
  * ## Example Usage
9
- * ### New DocumentDB Global Cluster
10
- *
11
- * ```typescript
12
- * import * as pulumi from "@pulumi/pulumi";
13
- * import * as aws from "@pulumi/aws";
14
- *
15
- * const primary = new aws.Provider("primary", {region: "us-east-2"});
16
- * const secondary = new aws.Provider("secondary", {region: "us-east-1"});
17
- * const example = new aws.docdb.GlobalCluster("example", {
18
- * globalClusterIdentifier: "global-test",
19
- * engine: "docdb",
20
- * engineVersion: "4.0.0",
21
- * });
22
- * const primaryCluster = new aws.docdb.Cluster("primaryCluster", {
23
- * engine: example.engine,
24
- * engineVersion: example.engineVersion,
25
- * clusterIdentifier: "test-primary-cluster",
26
- * masterUsername: "username",
27
- * masterPassword: "somepass123",
28
- * globalClusterIdentifier: example.id,
29
- * dbSubnetGroupName: "default",
30
- * }, {
31
- * provider: aws.primary,
32
- * });
33
- * const primaryClusterInstance = new aws.docdb.ClusterInstance("primaryClusterInstance", {
34
- * engine: example.engine,
35
- * engineVersion: example.engineVersion,
36
- * identifier: "test-primary-cluster-instance",
37
- * clusterIdentifier: primaryCluster.id,
38
- * instanceClass: "db.r5.large",
39
- * dbSubnetGroupName: "default",
40
- * }, {
41
- * provider: aws.primary,
42
- * });
43
- * const secondaryCluster = new aws.docdb.Cluster("secondaryCluster", {
44
- * engine: example.engine,
45
- * engineVersion: example.engineVersion,
46
- * clusterIdentifier: "test-secondary-cluster",
47
- * globalClusterIdentifier: example.id,
48
- * dbSubnetGroupName: "default",
49
- * }, {
50
- * provider: aws.secondary,
51
- * });
52
- * const secondaryClusterInstance = new aws.docdb.ClusterInstance("secondaryClusterInstance", {
53
- * engine: example.engine,
54
- * engineVersion: example.engineVersion,
55
- * identifier: "test-secondary-cluster-instance",
56
- * clusterIdentifier: secondaryCluster.id,
57
- * instanceClass: "db.r5.large",
58
- * dbSubnetGroupName: "default",
59
- * }, {
60
- * provider: aws.secondary,
61
- * dependsOn: [primaryClusterInstance],
62
- * });
63
- * ```
64
9
  * ### New Global Cluster From Existing DB Cluster
65
10
  *
66
11
  * ```typescript
@@ -11,61 +11,6 @@ const utilities = require("../utilities");
11
11
  * More information about DocumentDB Global Clusters can be found in the [DocumentDB Developer Guide](https://docs.aws.amazon.com/documentdb/latest/developerguide/global-clusters.html).
12
12
  *
13
13
  * ## Example Usage
14
- * ### New DocumentDB Global Cluster
15
- *
16
- * ```typescript
17
- * import * as pulumi from "@pulumi/pulumi";
18
- * import * as aws from "@pulumi/aws";
19
- *
20
- * const primary = new aws.Provider("primary", {region: "us-east-2"});
21
- * const secondary = new aws.Provider("secondary", {region: "us-east-1"});
22
- * const example = new aws.docdb.GlobalCluster("example", {
23
- * globalClusterIdentifier: "global-test",
24
- * engine: "docdb",
25
- * engineVersion: "4.0.0",
26
- * });
27
- * const primaryCluster = new aws.docdb.Cluster("primaryCluster", {
28
- * engine: example.engine,
29
- * engineVersion: example.engineVersion,
30
- * clusterIdentifier: "test-primary-cluster",
31
- * masterUsername: "username",
32
- * masterPassword: "somepass123",
33
- * globalClusterIdentifier: example.id,
34
- * dbSubnetGroupName: "default",
35
- * }, {
36
- * provider: aws.primary,
37
- * });
38
- * const primaryClusterInstance = new aws.docdb.ClusterInstance("primaryClusterInstance", {
39
- * engine: example.engine,
40
- * engineVersion: example.engineVersion,
41
- * identifier: "test-primary-cluster-instance",
42
- * clusterIdentifier: primaryCluster.id,
43
- * instanceClass: "db.r5.large",
44
- * dbSubnetGroupName: "default",
45
- * }, {
46
- * provider: aws.primary,
47
- * });
48
- * const secondaryCluster = new aws.docdb.Cluster("secondaryCluster", {
49
- * engine: example.engine,
50
- * engineVersion: example.engineVersion,
51
- * clusterIdentifier: "test-secondary-cluster",
52
- * globalClusterIdentifier: example.id,
53
- * dbSubnetGroupName: "default",
54
- * }, {
55
- * provider: aws.secondary,
56
- * });
57
- * const secondaryClusterInstance = new aws.docdb.ClusterInstance("secondaryClusterInstance", {
58
- * engine: example.engine,
59
- * engineVersion: example.engineVersion,
60
- * identifier: "test-secondary-cluster-instance",
61
- * clusterIdentifier: secondaryCluster.id,
62
- * instanceClass: "db.r5.large",
63
- * dbSubnetGroupName: "default",
64
- * }, {
65
- * provider: aws.secondary,
66
- * dependsOn: [primaryClusterInstance],
67
- * });
68
- * ```
69
14
  * ### New Global Cluster From Existing DB Cluster
70
15
  *
71
16
  * ```typescript
@@ -1 +1 @@
1
- {"version":3,"file":"globalCluster.js","sourceRoot":"","sources":["../../docdb/globalCluster.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC1C,cAAc,CAAC,sBAAsB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3D,cAAc,CAAC,yBAAyB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9D,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAChD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,aAAa,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAClE,CAAC;IAxGD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA0B,EAAE,IAAmC;QACxH,OAAO,IAAI,aAAa,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACpE,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,aAAa,CAAC,YAAY,CAAC;IAC9D,CAAC;;AA1BL,sCA0GC;AA5FG,gBAAgB;AACO,0BAAY,GAAG,uCAAuC,CAAC"}
@@ -24,7 +24,7 @@ import { input as inputs, output as outputs } from "../types";
24
24
  * const _default = new aws.ec2.DefaultNetworkAcl("default", {
25
25
  * defaultNetworkAclId: mainvpc.defaultNetworkAclId,
26
26
  * ingress: [{
27
- * protocol: -1,
27
+ * protocol: "-1",
28
28
  * ruleNo: 100,
29
29
  * action: "allow",
30
30
  * cidrBlock: "0.0.0.0/0",
@@ -32,7 +32,7 @@ import { input as inputs, output as outputs } from "../types";
32
32
  * toPort: 0,
33
33
  * }],
34
34
  * egress: [{
35
- * protocol: -1,
35
+ * protocol: "-1",
36
36
  * ruleNo: 100,
37
37
  * action: "allow",
38
38
  * cidrBlock: "0.0.0.0/0",
@@ -53,7 +53,7 @@ import { input as inputs, output as outputs } from "../types";
53
53
  * const _default = new aws.ec2.DefaultNetworkAcl("default", {
54
54
  * defaultNetworkAclId: mainvpc.defaultNetworkAclId,
55
55
  * ingress: [{
56
- * protocol: -1,
56
+ * protocol: "-1",
57
57
  * ruleNo: 100,
58
58
  * action: "allow",
59
59
  * cidrBlock: aws_default_vpc.mainvpc.cidr_block,
@@ -29,7 +29,7 @@ const utilities = require("../utilities");
29
29
  * const _default = new aws.ec2.DefaultNetworkAcl("default", {
30
30
  * defaultNetworkAclId: mainvpc.defaultNetworkAclId,
31
31
  * ingress: [{
32
- * protocol: -1,
32
+ * protocol: "-1",
33
33
  * ruleNo: 100,
34
34
  * action: "allow",
35
35
  * cidrBlock: "0.0.0.0/0",
@@ -37,7 +37,7 @@ const utilities = require("../utilities");
37
37
  * toPort: 0,
38
38
  * }],
39
39
  * egress: [{
40
- * protocol: -1,
40
+ * protocol: "-1",
41
41
  * ruleNo: 100,
42
42
  * action: "allow",
43
43
  * cidrBlock: "0.0.0.0/0",
@@ -58,7 +58,7 @@ const utilities = require("../utilities");
58
58
  * const _default = new aws.ec2.DefaultNetworkAcl("default", {
59
59
  * defaultNetworkAclId: mainvpc.defaultNetworkAclId,
60
60
  * ingress: [{
61
- * protocol: -1,
61
+ * protocol: "-1",
62
62
  * ruleNo: 100,
63
63
  * action: "allow",
64
64
  * cidrBlock: aws_default_vpc.mainvpc.cidr_block,
@@ -25,7 +25,7 @@ import { input as inputs, output as outputs } from "../types";
25
25
  * const _default = new aws.ec2.DefaultSecurityGroup("default", {
26
26
  * vpcId: mainvpc.id,
27
27
  * ingress: [{
28
- * protocol: -1,
28
+ * protocol: "-1",
29
29
  * self: true,
30
30
  * fromPort: 0,
31
31
  * toPort: 0,
@@ -50,7 +50,7 @@ import { input as inputs, output as outputs } from "../types";
50
50
  * const _default = new aws.ec2.DefaultSecurityGroup("default", {
51
51
  * vpcId: mainvpc.id,
52
52
  * ingress: [{
53
- * protocol: -1,
53
+ * protocol: "-1",
54
54
  * self: true,
55
55
  * fromPort: 0,
56
56
  * toPort: 0,
@@ -30,7 +30,7 @@ const utilities = require("../utilities");
30
30
  * const _default = new aws.ec2.DefaultSecurityGroup("default", {
31
31
  * vpcId: mainvpc.id,
32
32
  * ingress: [{
33
- * protocol: -1,
33
+ * protocol: "-1",
34
34
  * self: true,
35
35
  * fromPort: 0,
36
36
  * toPort: 0,
@@ -55,7 +55,7 @@ const utilities = require("../utilities");
55
55
  * const _default = new aws.ec2.DefaultSecurityGroup("default", {
56
56
  * vpcId: mainvpc.id,
57
57
  * ingress: [{
58
- * protocol: -1,
58
+ * protocol: "-1",
59
59
  * self: true,
60
60
  * fromPort: 0,
61
61
  * toPort: 0,
@@ -17,7 +17,7 @@ import { input as inputs, output as outputs } from "../types";
17
17
  * });
18
18
  * const main = new aws.ec2.VpnGateway("main", {
19
19
  * vpcId: aws_vpc.main.id,
20
- * amazonSideAsn: 7224,
20
+ * amazonSideAsn: "7224",
21
21
  * });
22
22
  * const transit = new aws.ec2.VpnConnection("transit", {
23
23
  * vpnGatewayId: main.id,
@@ -22,7 +22,7 @@ const utilities = require("../utilities");
22
22
  * });
23
23
  * const main = new aws.ec2.VpnGateway("main", {
24
24
  * vpcId: aws_vpc.main.id,
25
- * amazonSideAsn: 7224,
25
+ * amazonSideAsn: "7224",
26
26
  * });
27
27
  * const transit = new aws.ec2.VpnConnection("transit", {
28
28
  * vpnGatewayId: main.id,
@@ -28,7 +28,7 @@ import { input as inputs, output as outputs } from "../types";
28
28
  * cpuCredits: "standard",
29
29
  * },
30
30
  * disableApiTermination: true,
31
- * ebsOptimized: true,
31
+ * ebsOptimized: "true",
32
32
  * elasticGpuSpecifications: [{
33
33
  * type: "test",
34
34
  * }],
@@ -59,7 +59,7 @@ import { input as inputs, output as outputs } from "../types";
59
59
  * enabled: true,
60
60
  * },
61
61
  * networkInterfaces: [{
62
- * associatePublicIpAddress: true,
62
+ * associatePublicIpAddress: "true",
63
63
  * }],
64
64
  * placement: {
65
65
  * availabilityZone: "us-west-2a",
@@ -33,7 +33,7 @@ const utilities = require("../utilities");
33
33
  * cpuCredits: "standard",
34
34
  * },
35
35
  * disableApiTermination: true,
36
- * ebsOptimized: true,
36
+ * ebsOptimized: "true",
37
37
  * elasticGpuSpecifications: [{
38
38
  * type: "test",
39
39
  * }],
@@ -64,7 +64,7 @@ const utilities = require("../utilities");
64
64
  * enabled: true,
65
65
  * },
66
66
  * networkInterfaces: [{
67
- * associatePublicIpAddress: true,
67
+ * associatePublicIpAddress: "true",
68
68
  * }],
69
69
  * placement: {
70
70
  * availabilityZone: "us-west-2a",
package/ec2/tag.d.ts CHANGED
@@ -12,7 +12,7 @@ import * as pulumi from "@pulumi/pulumi";
12
12
  *
13
13
  * const exampleTransitGateway = new aws.ec2transitgateway.TransitGateway("exampleTransitGateway", {});
14
14
  * const exampleCustomerGateway = new aws.ec2.CustomerGateway("exampleCustomerGateway", {
15
- * bgpAsn: 65000,
15
+ * bgpAsn: "65000",
16
16
  * ipAddress: "172.0.0.1",
17
17
  * type: "ipsec.1",
18
18
  * });
package/ec2/tag.js CHANGED
@@ -18,7 +18,7 @@ const utilities = require("../utilities");
18
18
  *
19
19
  * const exampleTransitGateway = new aws.ec2transitgateway.TransitGateway("exampleTransitGateway", {});
20
20
  * const exampleCustomerGateway = new aws.ec2.CustomerGateway("exampleCustomerGateway", {
21
- * bgpAsn: 65000,
21
+ * bgpAsn: "65000",
22
22
  * ipAddress: "172.0.0.1",
23
23
  * type: "ipsec.1",
24
24
  * });
package/ec2/vpcIpam.d.ts CHANGED
@@ -3,48 +3,6 @@ import { input as inputs, output as outputs } from "../types";
3
3
  /**
4
4
  * Provides a IPAM resource.
5
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 current = aws.getRegion({});
15
- * const main = new aws.ec2.VpcIpam("main", {
16
- * description: "My IPAM",
17
- * operatingRegions: [{
18
- * regionName: current.then(current => current.name),
19
- * }],
20
- * tags: {
21
- * Test: "Main",
22
- * },
23
- * });
24
- * ```
25
- *
26
- * Shared with multiple operating_regions:
27
- *
28
- * ```typescript
29
- * import * as pulumi from "@pulumi/pulumi";
30
- * import * as aws from "@pulumi/aws";
31
- *
32
- * const config = new pulumi.Config();
33
- * const ipamRegions = config.getObject("ipamRegions") || [
34
- * "us-east-1",
35
- * "us-west-2",
36
- * ];
37
- * const example = new aws.ec2.VpcIpam("example", {
38
- * description: "test4",
39
- * dynamic: [{
40
- * forEach: ipamRegions,
41
- * content: [{
42
- * regionName: operating_regions.value,
43
- * }],
44
- * }],
45
- * });
46
- * ```
47
- *
48
6
  * ## Import
49
7
  *
50
8
  * IPAMs can be imported using the `ipam id`, e.g.
package/ec2/vpcIpam.js CHANGED
@@ -8,48 +8,6 @@ const utilities = require("../utilities");
8
8
  /**
9
9
  * Provides a IPAM resource.
10
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 current = aws.getRegion({});
20
- * const main = new aws.ec2.VpcIpam("main", {
21
- * description: "My IPAM",
22
- * operatingRegions: [{
23
- * regionName: current.then(current => current.name),
24
- * }],
25
- * tags: {
26
- * Test: "Main",
27
- * },
28
- * });
29
- * ```
30
- *
31
- * Shared with multiple operating_regions:
32
- *
33
- * ```typescript
34
- * import * as pulumi from "@pulumi/pulumi";
35
- * import * as aws from "@pulumi/aws";
36
- *
37
- * const config = new pulumi.Config();
38
- * const ipamRegions = config.getObject("ipamRegions") || [
39
- * "us-east-1",
40
- * "us-west-2",
41
- * ];
42
- * const example = new aws.ec2.VpcIpam("example", {
43
- * description: "test4",
44
- * dynamic: [{
45
- * forEach: ipamRegions,
46
- * content: [{
47
- * regionName: operating_regions.value,
48
- * }],
49
- * }],
50
- * });
51
- * ```
52
- *
53
11
  * ## Import
54
12
  *
55
13
  * IPAMs can be imported using the `ipam id`, e.g.
@@ -1 +1 @@
1
- {"version":3,"file":"vpcIpam.js","sourceRoot":"","sources":["../../ec2/vpcIpam.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoDG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IA0E9C,YAAY,IAAY,EAAE,WAAwC,EAAE,IAAmC;QACnG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAuC,CAAC;YACtD,cAAc,CAAC,KAAK,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,kBAAkB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAAS,CAAC;YAChF,cAAc,CAAC,uBAAuB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1F,cAAc,CAAC,sBAAs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AAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,OAAO,CAAC,YAAY,CAAC;IACxD,CAAC;;AA1BL,0BA0GC;AA5FG,gBAAgB;AACO,oBAAY,GAAG,yBAAyB,CAAC"}
@@ -8,57 +8,6 @@ import { input as inputs, output as outputs } from "../types";
8
8
  * > **NOTE:** In order to deprovision CIDRs all Allocations must be released. Allocations created by a VPC take up to 30 minutes to be released. However, for IPAM to properly manage the removal of allocation records created by VPCs and other resources, you must [grant it permissions](https://docs.aws.amazon.com/vpc/latest/ipam/choose-single-user-or-orgs-ipam.html) in
9
9
  * either a single account or organizationally. If you are unable to deprovision a cidr after waiting over 30 minutes, you may be missing the Service Linked Role.
10
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 current = aws.getRegion({});
20
- * const exampleVpcIpam = new aws.ec2.VpcIpam("exampleVpcIpam", {operatingRegions: [{
21
- * regionName: current.then(current => current.name),
22
- * }]});
23
- * const exampleVpcIpamPool = new aws.ec2.VpcIpamPool("exampleVpcIpamPool", {
24
- * addressFamily: "ipv4",
25
- * ipamScopeId: exampleVpcIpam.privateDefaultScopeId,
26
- * locale: current.then(current => current.name),
27
- * });
28
- * const exampleVpcIpamPoolCidr = new aws.ec2.VpcIpamPoolCidr("exampleVpcIpamPoolCidr", {
29
- * ipamPoolId: exampleVpcIpamPool.id,
30
- * cidr: "172.2.0.0/16",
31
- * });
32
- * ```
33
- *
34
- * Provision Public IPv6 Pool CIDRs:
35
- *
36
- * ```typescript
37
- * import * as pulumi from "@pulumi/pulumi";
38
- * import * as aws from "@pulumi/aws";
39
- *
40
- * const current = aws.getRegion({});
41
- * const example = new aws.ec2.VpcIpam("example", {operatingRegions: [{
42
- * regionName: current.then(current => current.name),
43
- * }]});
44
- * const ipv6TestPublicVpcIpamPool = new aws.ec2.VpcIpamPool("ipv6TestPublicVpcIpamPool", {
45
- * addressFamily: "ipv6",
46
- * ipamScopeId: example.publicDefaultScopeId,
47
- * locale: "us-east-1",
48
- * description: "public ipv6",
49
- * advertisable: false,
50
- * awsService: "ec2",
51
- * });
52
- * const ipv6TestPublicVpcIpamPoolCidr = new aws.ec2.VpcIpamPoolCidr("ipv6TestPublicVpcIpamPoolCidr", {
53
- * ipamPoolId: ipv6TestPublicVpcIpamPool.id,
54
- * cidr: _var.ipv6_cidr,
55
- * cidrAuthorizationContext: {
56
- * message: _var.message,
57
- * signature: _var.signature,
58
- * },
59
- * });
60
- * ```
61
- *
62
11
  * ## Import
63
12
  *
64
13
  * IPAMs can be imported using the `<cidr>_<ipam-pool-id>`, e.g.