@pulumi/aws 5.4.0 → 5.5.0
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/acm/certificate.d.ts +33 -6
- package/acm/certificate.js +17 -0
- package/acm/certificate.js.map +1 -1
- package/acm/getCertificate.d.ts +8 -0
- package/acm/getCertificate.js.map +1 -1
- package/appconfig/eventIntegration.d.ts +158 -0
- package/appconfig/eventIntegration.js +96 -0
- package/appconfig/eventIntegration.js.map +1 -0
- package/appconfig/index.d.ts +1 -0
- package/appconfig/index.js +5 -0
- package/appconfig/index.js.map +1 -1
- package/appflow/connectorProfile.d.ts +133 -0
- package/appflow/connectorProfile.js +89 -0
- package/appflow/connectorProfile.js.map +1 -0
- package/appflow/flow.d.ts +279 -0
- package/appflow/flow.js +193 -0
- package/appflow/flow.js.map +1 -0
- package/appflow/index.d.ts +2 -0
- package/appflow/index.js +42 -0
- package/appflow/index.js.map +1 -0
- package/apprunner/service.d.ts +2 -1
- package/apprunner/service.js +2 -1
- package/apprunner/service.js.map +1 -1
- package/athena/dataCatalog.d.ts +210 -0
- package/athena/dataCatalog.js +146 -0
- package/athena/dataCatalog.js.map +1 -0
- package/athena/index.d.ts +1 -0
- package/athena/index.js +5 -0
- package/athena/index.js.map +1 -1
- package/autoscaling/getGroup.d.ts +4 -0
- package/autoscaling/getGroup.js.map +1 -1
- package/cloudfront/getOriginAccessIdentities.d.ts +71 -0
- package/cloudfront/getOriginAccessIdentities.js +51 -0
- package/cloudfront/getOriginAccessIdentities.js.map +1 -0
- package/cloudfront/index.d.ts +1 -0
- package/cloudfront/index.js +1 -0
- package/cloudfront/index.js.map +1 -1
- package/cloudtrail/trail.d.ts +1 -1
- package/cloudtrail/trail.js +1 -1
- package/cloudwatch/dashboard.d.ts +1 -1
- package/cloudwatch/dashboard.js +1 -1
- package/codebuild/reportGroup.d.ts +4 -3
- package/codebuild/reportGroup.js +4 -3
- package/codebuild/reportGroup.js.map +1 -1
- package/codestarconnections/getConnection.d.ts +23 -4
- package/codestarconnections/getConnection.js +13 -0
- package/codestarconnections/getConnection.js.map +1 -1
- package/config/vars.d.ts +1 -0
- package/config/vars.js +6 -0
- package/config/vars.js.map +1 -1
- package/connect/getRoutingProfile.d.ts +117 -0
- package/connect/getRoutingProfile.js +54 -0
- package/connect/getRoutingProfile.js.map +1 -0
- package/connect/getSecurityProfile.d.ts +112 -0
- package/connect/getSecurityProfile.js +54 -0
- package/connect/getSecurityProfile.js.map +1 -0
- package/connect/getUserHierarchyStructure.d.ts +50 -0
- package/connect/getUserHierarchyStructure.js +36 -0
- package/connect/getUserHierarchyStructure.js.map +1 -0
- package/connect/index.d.ts +4 -0
- package/connect/index.js +8 -0
- package/connect/index.js.map +1 -1
- package/connect/userHierarchyGroup.d.ts +193 -0
- package/connect/userHierarchyGroup.js +117 -0
- package/connect/userHierarchyGroup.js.map +1 -0
- package/costexplorer/costCategory.d.ts +175 -0
- package/costexplorer/costCategory.js +123 -0
- package/costexplorer/costCategory.js.map +1 -0
- package/costexplorer/getCostCategory.d.ts +67 -0
- package/costexplorer/getCostCategory.js +36 -0
- package/costexplorer/getCostCategory.js.map +1 -0
- package/costexplorer/getTags.d.ts +89 -0
- package/costexplorer/getTags.js +43 -0
- package/costexplorer/getTags.js.map +1 -0
- package/costexplorer/index.d.ts +3 -0
- package/costexplorer/index.js +39 -0
- package/costexplorer/index.js.map +1 -0
- package/dlm/lifecyclePolicy.d.ts +4 -4
- package/dlm/lifecyclePolicy.js +4 -4
- package/docdb/eventSubscription.d.ts +195 -0
- package/docdb/eventSubscription.js +113 -0
- package/docdb/eventSubscription.js.map +1 -0
- package/docdb/index.d.ts +1 -0
- package/docdb/index.js +5 -0
- package/docdb/index.js.map +1 -1
- package/ebs/volume.d.ts +3 -3
- package/ec2/ami.d.ts +12 -0
- package/ec2/ami.js +2 -0
- package/ec2/ami.js.map +1 -1
- package/ec2/amiCopy.d.ts +12 -0
- package/ec2/amiCopy.js +2 -0
- package/ec2/amiCopy.js.map +1 -1
- package/ec2/amiFromInstance.d.ts +12 -0
- package/ec2/amiFromInstance.js +2 -0
- package/ec2/amiFromInstance.js.map +1 -1
- package/ec2/getAmi.d.ts +4 -0
- package/ec2/getAmi.js.map +1 -1
- package/ec2/getInstance.d.ts +5 -1
- package/ec2/getInstance.js.map +1 -1
- package/ec2/getLaunchTemplate.d.ts +2 -0
- package/ec2/getLaunchTemplate.js.map +1 -1
- package/ec2/instance.d.ts +12 -0
- package/ec2/instance.js +2 -0
- package/ec2/instance.js.map +1 -1
- package/ec2/launchTemplate.d.ts +27 -3
- package/ec2/launchTemplate.js +4 -0
- package/ec2/launchTemplate.js.map +1 -1
- package/ec2/securityGroup.d.ts +0 -84
- package/ec2/securityGroup.js +0 -84
- package/ec2/securityGroup.js.map +1 -1
- package/ec2/spotFleetRequest.d.ts +18 -0
- package/ec2/spotFleetRequest.js +2 -0
- package/ec2/spotFleetRequest.js.map +1 -1
- package/ec2/spotInstanceRequest.d.ts +12 -0
- package/ec2/spotInstanceRequest.js +2 -0
- package/ec2/spotInstanceRequest.js.map +1 -1
- package/ec2/vpcIpam.d.ts +1 -1
- package/ec2/vpcIpam.js +1 -1
- package/elasticache/cluster.d.ts +17 -8
- package/elasticache/cluster.js.map +1 -1
- package/elasticache/replicationGroup.d.ts +17 -5
- package/elasticache/replicationGroup.js.map +1 -1
- package/emr/cluster.d.ts +12 -12
- package/emr/cluster.js +2 -2
- package/emr/cluster.js.map +1 -1
- package/emrcontainers/getVirtualCluster.d.ts +86 -0
- package/emrcontainers/getVirtualCluster.js +39 -0
- package/emrcontainers/getVirtualCluster.js.map +1 -0
- package/emrcontainers/index.d.ts +2 -0
- package/emrcontainers/index.js +38 -0
- package/emrcontainers/index.js.map +1 -0
- package/emrcontainers/virtualCluster.d.ts +134 -0
- package/emrcontainers/virtualCluster.js +89 -0
- package/emrcontainers/virtualCluster.js.map +1 -0
- package/getAmi.d.ts +4 -0
- package/getAmi.js.map +1 -1
- package/globalaccelerator/accelerator.d.ts +1 -1
- package/globalaccelerator/accelerator.js +1 -1
- package/grafana/getWorkspace.d.ts +18 -0
- package/grafana/getWorkspace.js +1 -0
- package/grafana/getWorkspace.js.map +1 -1
- package/grafana/workspace.d.ts +39 -3
- package/grafana/workspace.js +4 -0
- package/grafana/workspace.js.map +1 -1
- package/iam/getInstanceProfiles.d.ts +59 -0
- package/iam/getInstanceProfiles.js +38 -0
- package/iam/getInstanceProfiles.js.map +1 -0
- package/iam/index.d.ts +1 -0
- package/iam/index.js +1 -0
- package/iam/index.js.map +1 -1
- package/index.d.ts +5 -1
- package/index.js +12 -4
- package/index.js.map +1 -1
- package/iot/index.d.ts +1 -0
- package/iot/index.js +5 -0
- package/iot/index.js.map +1 -1
- package/iot/topicRule.d.ts +12 -3
- package/iot/topicRule.js +6 -0
- package/iot/topicRule.js.map +1 -1
- package/iot/topicRuleDestination.d.ts +78 -0
- package/iot/topicRuleDestination.js +65 -0
- package/iot/topicRuleDestination.js.map +1 -0
- package/kinesis/firehoseDeliveryStream.d.ts +46 -0
- package/kinesis/firehoseDeliveryStream.js +46 -0
- package/kinesis/firehoseDeliveryStream.js.map +1 -1
- package/kms/key.d.ts +3 -3
- package/lambda/permission.d.ts +13 -1
- package/lambda/permission.js +2 -0
- package/lambda/permission.js.map +1 -1
- package/location/getMap.d.ts +84 -0
- package/location/getMap.js +37 -0
- package/location/getMap.js.map +1 -0
- package/location/index.d.ts +2 -0
- package/location/index.js +38 -0
- package/location/index.js.map +1 -0
- package/location/map.d.ts +140 -0
- package/location/map.js +94 -0
- package/location/map.js.map +1 -0
- package/mq/getInstanceTypeOfferings.d.ts +89 -0
- package/mq/getInstanceTypeOfferings.js +51 -0
- package/mq/getInstanceTypeOfferings.js.map +1 -0
- package/mq/index.d.ts +1 -0
- package/mq/index.js +1 -0
- package/mq/index.js.map +1 -1
- package/msk/cluster.d.ts +27 -3
- package/msk/cluster.js +6 -0
- package/msk/cluster.js.map +1 -1
- package/msk/getCluster.d.ts +12 -0
- package/msk/getCluster.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/provider.d.ts +1 -0
- package/provider.js +1 -0
- package/provider.js.map +1 -1
- package/rds/cluster.d.ts +12 -0
- package/rds/cluster.js +2 -0
- package/rds/cluster.js.map +1 -1
- package/route53/hostedZoneDnsSec.d.ts +13 -4
- package/route53/hostedZoneDnsSec.js +13 -4
- package/route53/hostedZoneDnsSec.js.map +1 -1
- package/sagemaker/app.d.ts +2 -2
- package/sagemaker/app.js +2 -2
- package/sagemaker/appImageConfig.d.ts +2 -2
- package/sagemaker/appImageConfig.js +2 -2
- package/sagemaker/codeRepository.d.ts +2 -2
- package/sagemaker/codeRepository.js +2 -2
- package/sagemaker/device.d.ts +2 -2
- package/sagemaker/device.js +2 -2
- package/sagemaker/deviceFleet.d.ts +2 -2
- package/sagemaker/deviceFleet.js +2 -2
- package/sagemaker/domain.d.ts +2 -2
- package/sagemaker/domain.js +2 -2
- package/sagemaker/flowDefinition.d.ts +2 -2
- package/sagemaker/flowDefinition.js +2 -2
- package/sagemaker/humanTaskUI.d.ts +2 -2
- package/sagemaker/humanTaskUI.js +2 -2
- package/sagemaker/image.d.ts +2 -2
- package/sagemaker/image.js +2 -2
- package/sagemaker/imageVersion.d.ts +2 -2
- package/sagemaker/imageVersion.js +2 -2
- package/sagemaker/modelPackageGroup.d.ts +2 -2
- package/sagemaker/modelPackageGroup.js +2 -2
- package/sagemaker/modelPackageGroupPolicy.d.ts +2 -2
- package/sagemaker/modelPackageGroupPolicy.js +2 -2
- package/sagemaker/notebookInstance.d.ts +2 -2
- package/sagemaker/notebookInstance.js +2 -2
- package/sagemaker/project.d.ts +3 -3
- package/sagemaker/project.js +3 -3
- package/sagemaker/studioLifecycleConfig.d.ts +2 -2
- package/sagemaker/studioLifecycleConfig.js +2 -2
- package/sagemaker/userProfile.d.ts +2 -2
- package/sagemaker/userProfile.js +2 -2
- package/sagemaker/workforce.d.ts +2 -2
- package/sagemaker/workforce.js +2 -2
- package/sagemaker/workteam.d.ts +2 -2
- package/sagemaker/workteam.js +2 -2
- package/secretsmanager/getSecrets.d.ts +57 -0
- package/secretsmanager/getSecrets.js +40 -0
- package/secretsmanager/getSecrets.js.map +1 -0
- package/secretsmanager/index.d.ts +1 -0
- package/secretsmanager/index.js +1 -0
- package/secretsmanager/index.js.map +1 -1
- package/ssm/getPatchBaseline.d.ts +34 -1
- package/ssm/getPatchBaseline.js.map +1 -1
- package/types/input.d.ts +7702 -4520
- package/types/output.d.ts +8512 -5004
- package/xray/encryptionConfig.d.ts +4 -3
- package/xray/encryptionConfig.js +4 -3
- package/xray/encryptionConfig.js.map +1 -1
|
@@ -20,10 +20,11 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
20
20
|
* import * as pulumi from "@pulumi/pulumi";
|
|
21
21
|
* import * as aws from "@pulumi/aws";
|
|
22
22
|
*
|
|
23
|
+
* const current = aws.getCallerIdentity({});
|
|
23
24
|
* const exampleKey = new aws.kms.Key("exampleKey", {
|
|
24
25
|
* description: "Some Key",
|
|
25
26
|
* deletionWindowInDays: 7,
|
|
26
|
-
* policy: `{
|
|
27
|
+
* policy: current.then(current => `{
|
|
27
28
|
* "Version": "2012-10-17",
|
|
28
29
|
* "Id": "kms-tf-1",
|
|
29
30
|
* "Statement": [
|
|
@@ -31,14 +32,14 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
31
32
|
* "Sid": "Enable IAM User Permissions",
|
|
32
33
|
* "Effect": "Allow",
|
|
33
34
|
* "Principal": {
|
|
34
|
-
* "AWS": "
|
|
35
|
+
* "AWS": "arn:aws:iam::${current.accountId}:root"
|
|
35
36
|
* },
|
|
36
37
|
* "Action": "kms:*",
|
|
37
38
|
* "Resource": "*"
|
|
38
39
|
* }
|
|
39
40
|
* ]
|
|
40
41
|
* }
|
|
41
|
-
*
|
|
42
|
+
* `),
|
|
42
43
|
* });
|
|
43
44
|
* const exampleEncryptionConfig = new aws.xray.EncryptionConfig("exampleEncryptionConfig", {
|
|
44
45
|
* type: "KMS",
|
package/xray/encryptionConfig.js
CHANGED
|
@@ -26,10 +26,11 @@ const utilities = require("../utilities");
|
|
|
26
26
|
* import * as pulumi from "@pulumi/pulumi";
|
|
27
27
|
* import * as aws from "@pulumi/aws";
|
|
28
28
|
*
|
|
29
|
+
* const current = aws.getCallerIdentity({});
|
|
29
30
|
* const exampleKey = new aws.kms.Key("exampleKey", {
|
|
30
31
|
* description: "Some Key",
|
|
31
32
|
* deletionWindowInDays: 7,
|
|
32
|
-
* policy: `{
|
|
33
|
+
* policy: current.then(current => `{
|
|
33
34
|
* "Version": "2012-10-17",
|
|
34
35
|
* "Id": "kms-tf-1",
|
|
35
36
|
* "Statement": [
|
|
@@ -37,14 +38,14 @@ const utilities = require("../utilities");
|
|
|
37
38
|
* "Sid": "Enable IAM User Permissions",
|
|
38
39
|
* "Effect": "Allow",
|
|
39
40
|
* "Principal": {
|
|
40
|
-
* "AWS": "
|
|
41
|
+
* "AWS": "arn:aws:iam::${current.accountId}:root"
|
|
41
42
|
* },
|
|
42
43
|
* "Action": "kms:*",
|
|
43
44
|
* "Resource": "*"
|
|
44
45
|
* }
|
|
45
46
|
* ]
|
|
46
47
|
* }
|
|
47
|
-
*
|
|
48
|
+
* `),
|
|
48
49
|
* });
|
|
49
50
|
* const exampleEncryptionConfig = new aws.xray.EncryptionConfig("exampleEncryptionConfig", {
|
|
50
51
|
* type: "KMS",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"encryptionConfig.js","sourceRoot":"","sources":["../../xray/encryptionConfig.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"encryptionConfig.js","sourceRoot":"","sources":["../../xray/encryptionConfig.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;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