@pulumi/aws 7.11.0-alpha.1762176749 → 7.11.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/alb/listenerRule.d.ts +45 -0
- package/alb/listenerRule.js +35 -0
- package/alb/listenerRule.js.map +1 -1
- package/amplify/app.d.ts +1 -1
- package/amplify/app.js +1 -1
- package/apigateway/integration.d.ts +1 -1
- package/apigateway/integration.js +1 -1
- package/apigateway/integrationResponse.d.ts +1 -1
- package/apigateway/integrationResponse.js +1 -1
- package/appstream/getImage.d.ts +10 -10
- package/appsync/function.d.ts +5 -5
- package/appsync/function.js +5 -5
- package/appsync/graphQLApi.d.ts +1 -1
- package/appsync/graphQLApi.js +1 -1
- package/appsync/resolver.d.ts +11 -11
- package/appsync/resolver.js +11 -11
- package/autoscaling/tag.d.ts +30 -0
- package/autoscaling/tag.js +30 -0
- package/autoscaling/tag.js.map +1 -1
- package/autoscalingplans/scalingPlan.d.ts +100 -0
- package/autoscalingplans/scalingPlan.js +100 -0
- package/autoscalingplans/scalingPlan.js.map +1 -1
- package/bcmdata/export.d.ts +9 -0
- package/bcmdata/export.js.map +1 -1
- package/bedrock/agentcoreAgentRuntimeEndpoint.d.ts +6 -0
- package/bedrock/agentcoreAgentRuntimeEndpoint.js.map +1 -1
- package/bedrock/agentcoreGateway.d.ts +6 -6
- package/bedrockmodel/invocationLoggingConfiguration.d.ts +14 -14
- package/bedrockmodel/invocationLoggingConfiguration.js +14 -14
- package/cfg/organizationCustomPolicyRule.d.ts +3 -3
- package/cfg/organizationCustomPolicyRule.js +3 -3
- package/cfg/rule.d.ts +10 -10
- package/cfg/rule.js +10 -10
- package/cloudwatch/eventTarget.d.ts +3 -3
- package/cloudwatch/eventTarget.js +3 -3
- package/cloudwatch/metricAlarm.d.ts +1 -1
- package/cloudwatch/metricAlarm.js +1 -1
- package/codebuild/webhook.d.ts +20 -0
- package/codebuild/webhook.js +20 -0
- package/codebuild/webhook.js.map +1 -1
- package/codepipeline/webhook.d.ts +77 -0
- package/codepipeline/webhook.js +77 -0
- package/codepipeline/webhook.js.map +1 -1
- package/cognito/identityPoolProviderPrincipalTag.d.ts +37 -0
- package/cognito/identityPoolProviderPrincipalTag.js +37 -0
- package/cognito/identityPoolProviderPrincipalTag.js.map +1 -1
- package/datazone/formType.d.ts +9 -9
- package/datazone/formType.js +9 -9
- package/dms/replicationConfig.d.ts +1 -1
- package/dms/replicationConfig.js +1 -1
- package/dynamodb/getTableItem.d.ts +2 -2
- package/dynamodb/getTableItem.js +2 -2
- package/dynamodb/tableItem.d.ts +5 -5
- package/dynamodb/tableItem.js +5 -5
- package/ec2/getSubnets.d.ts +110 -0
- package/ec2/getSubnets.js +110 -0
- package/ec2/getSubnets.js.map +1 -1
- package/ec2/securityGroup.d.ts +4 -4
- package/ec2/securityGroup.js +4 -4
- package/ec2/vpcIpam.d.ts +28 -0
- package/ec2/vpcIpam.js +28 -0
- package/ec2/vpcIpam.js.map +1 -1
- package/ecr/lifecyclePolicy.d.ts +20 -20
- package/ecr/lifecyclePolicy.js +20 -20
- package/ecr/repositoryCreationTemplate.d.ts +10 -10
- package/ecr/repositoryCreationTemplate.js +10 -10
- package/ecrpublic/getImages.d.ts +76 -0
- package/ecrpublic/getImages.js +34 -0
- package/ecrpublic/getImages.js.map +1 -0
- package/ecrpublic/index.d.ts +3 -0
- package/ecrpublic/index.js +4 -1
- package/ecrpublic/index.js.map +1 -1
- package/ecs/getTaskDefinition.d.ts +18 -18
- package/ecs/getTaskDefinition.js +18 -18
- package/eks/getClusters.d.ts +30 -0
- package/eks/getClusters.js +30 -0
- package/eks/getClusters.js.map +1 -1
- package/elasticsearch/domain.d.ts +17 -17
- package/elasticsearch/domain.js +17 -17
- package/elasticsearch/domainPolicy.d.ts +8 -8
- package/elasticsearch/domainPolicy.js +8 -8
- package/emr/cluster.d.ts +54 -54
- package/emr/cluster.js +36 -36
- package/emr/instanceGroup.d.ts +18 -18
- package/emr/securityConfiguration.d.ts +9 -9
- package/emr/securityConfiguration.js +9 -9
- package/emrserverless/application.d.ts +94 -1
- package/emrserverless/application.js +74 -1
- package/emrserverless/application.js.map +1 -1
- package/evidently/segment.d.ts +2 -2
- package/evidently/segment.js +2 -2
- package/glue/connection.d.ts +13 -11
- package/glue/connection.js +13 -11
- package/glue/connection.js.map +1 -1
- package/glue/crawler.d.ts +3 -3
- package/glue/crawler.js +3 -3
- package/identitystore/group.d.ts +8 -0
- package/identitystore/group.js +2 -0
- package/identitystore/group.js.map +1 -1
- package/imagebuilder/getImageRecipe.d.ts +6 -0
- package/imagebuilder/getImageRecipe.js.map +1 -1
- package/imagebuilder/imageRecipe.d.ts +18 -0
- package/imagebuilder/imageRecipe.js +2 -0
- package/imagebuilder/imageRecipe.js.map +1 -1
- package/imagebuilder/workflow.d.ts +3 -3
- package/imagebuilder/workflow.js +3 -3
- package/iot/getEndpoint.d.ts +46 -0
- package/iot/getEndpoint.js +46 -0
- package/iot/getEndpoint.js.map +1 -1
- package/kinesis/firehoseDeliveryStream.d.ts +20 -20
- package/kinesis/firehoseDeliveryStream.js +20 -20
- package/kinesis/resourcePolicy.d.ts +13 -13
- package/kinesis/resourcePolicy.js +13 -13
- package/kms/ciphertext.d.ts +2 -2
- package/kms/ciphertext.js +2 -2
- package/kms/getCipherText.d.ts +4 -4
- package/kms/getCipherText.js +4 -4
- package/lakeformation/identityCenterConfiguration.d.ts +121 -0
- package/lakeformation/identityCenterConfiguration.js +84 -0
- package/lakeformation/identityCenterConfiguration.js.map +1 -0
- package/lakeformation/index.d.ts +3 -0
- package/lakeformation/index.js +6 -1
- package/lakeformation/index.js.map +1 -1
- package/lambda/getCodeSigningConfig.d.ts +78 -0
- package/lambda/getCodeSigningConfig.js +78 -0
- package/lambda/getCodeSigningConfig.js.map +1 -1
- package/lambda/getInvocation.d.ts +100 -0
- package/lambda/getInvocation.js +100 -0
- package/lambda/getInvocation.js.map +1 -1
- package/lambda/invocation.d.ts +31 -0
- package/lambda/invocation.js +31 -0
- package/lambda/invocation.js.map +1 -1
- package/lb/getListenerRule.d.ts +12 -0
- package/lb/getListenerRule.js +2 -0
- package/lb/getListenerRule.js.map +1 -1
- package/lb/listenerRule.d.ts +45 -0
- package/lb/listenerRule.js +35 -0
- package/lb/listenerRule.js.map +1 -1
- package/m2/application.d.ts +13 -13
- package/m2/application.js +13 -13
- package/mq/configuration.d.ts +4 -4
- package/mq/configuration.js +4 -4
- package/networkmanager/siteToSiteVpnAttachment.d.ts +77 -0
- package/networkmanager/siteToSiteVpnAttachment.js +77 -0
- package/networkmanager/siteToSiteVpnAttachment.js.map +1 -1
- package/opensearchingest/pipeline.d.ts +6 -6
- package/opensearchingest/pipeline.js +6 -6
- package/organizations/getPolicies.d.ts +34 -0
- package/organizations/getPolicies.js +34 -0
- package/organizations/getPolicies.js.map +1 -1
- package/organizations/getPoliciesForTarget.d.ts +38 -0
- package/organizations/getPoliciesForTarget.js +38 -0
- package/organizations/getPoliciesForTarget.js.map +1 -1
- package/organizations/resourcePolicy.d.ts +23 -23
- package/organizations/resourcePolicy.js +23 -23
- package/package.json +2 -2
- package/rds/customDbEngineVersion.d.ts +1 -1
- package/rds/customDbEngineVersion.js +1 -1
- package/resourcegroups/group.d.ts +5 -5
- package/resourcegroups/group.js +5 -5
- package/route53/trafficPolicy.d.ts +7 -7
- package/route53/trafficPolicy.js +7 -7
- package/s3/bucketWebsiteConfiguration.d.ts +4 -4
- package/s3/bucketWebsiteConfiguration.js +4 -4
- package/s3/bucketWebsiteConfigurationV2.d.ts +4 -4
- package/s3/bucketWebsiteConfigurationV2.js +4 -4
- package/s3control/accessGrantsInstanceResourcePolicy.d.ts +12 -12
- package/s3control/accessGrantsInstanceResourcePolicy.js +12 -12
- package/sagemaker/flowDefinition.d.ts +9 -9
- package/sagemaker/flowDefinition.js +9 -9
- package/sagemaker/model.d.ts +11 -6
- package/sagemaker/model.js +5 -0
- package/sagemaker/model.js.map +1 -1
- package/sagemaker/modelPackageGroupPolicy.d.ts +31 -0
- package/sagemaker/modelPackageGroupPolicy.js +31 -0
- package/sagemaker/modelPackageGroupPolicy.js.map +1 -1
- package/sagemaker/notebookInstance.d.ts +3 -3
- package/secretsmanager/getSecretVersion.d.ts +26 -0
- package/secretsmanager/getSecretVersion.js +26 -0
- package/secretsmanager/getSecretVersion.js.map +1 -1
- package/secretsmanager/secretVersion.d.ts +31 -0
- package/secretsmanager/secretVersion.js +31 -0
- package/secretsmanager/secretVersion.js.map +1 -1
- package/securityhub/standardsControlAssociation.d.ts +26 -0
- package/securityhub/standardsControlAssociation.js +26 -0
- package/securityhub/standardsControlAssociation.js.map +1 -1
- package/sesv2/emailIdentityPolicy.d.ts +13 -13
- package/sesv2/emailIdentityPolicy.js +13 -13
- package/sfn/stateMachine.d.ts +35 -35
- package/sfn/stateMachine.js +35 -35
- package/sns/topic.d.ts +12 -12
- package/sns/topic.js +12 -12
- package/sns/topicSubscription.d.ts +13 -13
- package/sns/topicSubscription.js +13 -13
- package/sqs/queue.d.ts +0 -6
- package/sqs/queue.js +0 -6
- package/sqs/queue.js.map +1 -1
- package/ssm/association.d.ts +1 -1
- package/ssm/association.js +1 -1
- package/ssm/document.d.ts +8 -8
- package/ssm/document.js +8 -8
- package/timestreamquery/scheduledQuery.d.ts +8 -8
- package/timestreamquery/scheduledQuery.js +8 -8
- package/types/input.d.ts +377 -21
- package/types/input.js.map +1 -1
- package/types/output.d.ts +331 -20
- package/types/output.js.map +1 -1
package/ec2/vpcIpam.d.ts
CHANGED
|
@@ -26,6 +26,34 @@ import * as outputs from "../types/output";
|
|
|
26
26
|
*
|
|
27
27
|
* Shared with multiple operating_regions:
|
|
28
28
|
*
|
|
29
|
+
* ```typescript
|
|
30
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
31
|
+
* import * as aws from "@pulumi/aws";
|
|
32
|
+
* import * as std from "@pulumi/std";
|
|
33
|
+
*
|
|
34
|
+
* const current = aws.getRegion({});
|
|
35
|
+
* const config = new pulumi.Config();
|
|
36
|
+
* const ipamRegions = config.getObject<Array<any>>("ipamRegions") || [
|
|
37
|
+
* "us-east-1",
|
|
38
|
+
* "us-west-2",
|
|
39
|
+
* ];
|
|
40
|
+
* // ensure current provider region is an operating_regions entry
|
|
41
|
+
* const allIpamRegions = std.concat({
|
|
42
|
+
* input: [
|
|
43
|
+
* [current.then(current => current.region)],
|
|
44
|
+
* ipamRegions,
|
|
45
|
+
* ],
|
|
46
|
+
* }).then(invoke => std.distinct({
|
|
47
|
+
* input: invoke.result,
|
|
48
|
+
* })).then(invoke => invoke.result);
|
|
49
|
+
* const main = new aws.ec2.VpcIpam("main", {
|
|
50
|
+
* operatingRegions: allIpamRegions.map((v, k) => ({key: k, value: v})).apply(entries => entries.map(entry => ({
|
|
51
|
+
* regionName: entry.value,
|
|
52
|
+
* }))),
|
|
53
|
+
* description: "multi region ipam",
|
|
54
|
+
* });
|
|
55
|
+
* ```
|
|
56
|
+
*
|
|
29
57
|
* ## Import
|
|
30
58
|
*
|
|
31
59
|
* Using `pulumi import`, import IPAMs using the IPAM `id`. For example:
|
package/ec2/vpcIpam.js
CHANGED
|
@@ -30,6 +30,34 @@ const utilities = require("../utilities");
|
|
|
30
30
|
*
|
|
31
31
|
* Shared with multiple operating_regions:
|
|
32
32
|
*
|
|
33
|
+
* ```typescript
|
|
34
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
35
|
+
* import * as aws from "@pulumi/aws";
|
|
36
|
+
* import * as std from "@pulumi/std";
|
|
37
|
+
*
|
|
38
|
+
* const current = aws.getRegion({});
|
|
39
|
+
* const config = new pulumi.Config();
|
|
40
|
+
* const ipamRegions = config.getObject<Array<any>>("ipamRegions") || [
|
|
41
|
+
* "us-east-1",
|
|
42
|
+
* "us-west-2",
|
|
43
|
+
* ];
|
|
44
|
+
* // ensure current provider region is an operating_regions entry
|
|
45
|
+
* const allIpamRegions = std.concat({
|
|
46
|
+
* input: [
|
|
47
|
+
* [current.then(current => current.region)],
|
|
48
|
+
* ipamRegions,
|
|
49
|
+
* ],
|
|
50
|
+
* }).then(invoke => std.distinct({
|
|
51
|
+
* input: invoke.result,
|
|
52
|
+
* })).then(invoke => invoke.result);
|
|
53
|
+
* const main = new aws.ec2.VpcIpam("main", {
|
|
54
|
+
* operatingRegions: allIpamRegions.map((v, k) => ({key: k, value: v})).apply(entries => entries.map(entry => ({
|
|
55
|
+
* regionName: entry.value,
|
|
56
|
+
* }))),
|
|
57
|
+
* description: "multi region ipam",
|
|
58
|
+
* });
|
|
59
|
+
* ```
|
|
60
|
+
*
|
|
33
61
|
* ## Import
|
|
34
62
|
*
|
|
35
63
|
* Using `pulumi import`, import IPAMs using the IPAM `id`. For example:
|
package/ec2/vpcIpam.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vpcIpam.js","sourceRoot":"","sources":["../../ec2/vpcIpam.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"vpcIpam.js","sourceRoot":"","sources":["../../ec2/vpcIpam.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4DG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAC9C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoB,EAAE,IAAmC;QAClH,OAAO,IAAI,OAAO,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC9D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACn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AK,CAAC,OAAO,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;;AA7IL,0BA8IC;AAhIG,gBAAgB;AACO,oBAAY,GAAG,yBAAyB,CAAC"}
|
package/ecr/lifecyclePolicy.d.ts
CHANGED
|
@@ -19,18 +19,18 @@ import * as inputs from "../types/input";
|
|
|
19
19
|
* const exampleLifecyclePolicy = new aws.ecr.LifecyclePolicy("example", {
|
|
20
20
|
* repository: example.name,
|
|
21
21
|
* policy: `{
|
|
22
|
-
* "rules": [
|
|
22
|
+
* \\"rules\\": [
|
|
23
23
|
* {
|
|
24
|
-
* "rulePriority": 1,
|
|
25
|
-
* "description": "Expire images older than 14 days",
|
|
26
|
-
* "selection": {
|
|
27
|
-
* "tagStatus": "untagged",
|
|
28
|
-
* "countType": "sinceImagePushed",
|
|
29
|
-
* "countUnit": "days",
|
|
30
|
-
* "countNumber": 14
|
|
24
|
+
* \\"rulePriority\\": 1,
|
|
25
|
+
* \\"description\\": \\"Expire images older than 14 days\\",
|
|
26
|
+
* \\"selection\\": {
|
|
27
|
+
* \\"tagStatus\\": \\"untagged\\",
|
|
28
|
+
* \\"countType\\": \\"sinceImagePushed\\",
|
|
29
|
+
* \\"countUnit\\": \\"days\\",
|
|
30
|
+
* \\"countNumber\\": 14
|
|
31
31
|
* },
|
|
32
|
-
* "action": {
|
|
33
|
-
* "type": "expire"
|
|
32
|
+
* \\"action\\": {
|
|
33
|
+
* \\"type\\": \\"expire\\"
|
|
34
34
|
* }
|
|
35
35
|
* }
|
|
36
36
|
* ]
|
|
@@ -49,18 +49,18 @@ import * as inputs from "../types/input";
|
|
|
49
49
|
* const exampleLifecyclePolicy = new aws.ecr.LifecyclePolicy("example", {
|
|
50
50
|
* repository: example.name,
|
|
51
51
|
* policy: `{
|
|
52
|
-
* "rules": [
|
|
52
|
+
* \\"rules\\": [
|
|
53
53
|
* {
|
|
54
|
-
* "rulePriority": 1,
|
|
55
|
-
* "description": "Keep last 30 images",
|
|
56
|
-
* "selection": {
|
|
57
|
-
* "tagStatus": "tagged",
|
|
58
|
-
* "tagPrefixList": ["v"],
|
|
59
|
-
* "countType": "imageCountMoreThan",
|
|
60
|
-
* "countNumber": 30
|
|
54
|
+
* \\"rulePriority\\": 1,
|
|
55
|
+
* \\"description\\": \\"Keep last 30 images\\",
|
|
56
|
+
* \\"selection\\": {
|
|
57
|
+
* \\"tagStatus\\": \\"tagged\\",
|
|
58
|
+
* \\"tagPrefixList\\": [\\"v\\"],
|
|
59
|
+
* \\"countType\\": \\"imageCountMoreThan\\",
|
|
60
|
+
* \\"countNumber\\": 30
|
|
61
61
|
* },
|
|
62
|
-
* "action": {
|
|
63
|
-
* "type": "expire"
|
|
62
|
+
* \\"action\\": {
|
|
63
|
+
* \\"type\\": \\"expire\\"
|
|
64
64
|
* }
|
|
65
65
|
* }
|
|
66
66
|
* ]
|
package/ecr/lifecyclePolicy.js
CHANGED
|
@@ -24,18 +24,18 @@ const utilities = require("../utilities");
|
|
|
24
24
|
* const exampleLifecyclePolicy = new aws.ecr.LifecyclePolicy("example", {
|
|
25
25
|
* repository: example.name,
|
|
26
26
|
* policy: `{
|
|
27
|
-
* "rules": [
|
|
27
|
+
* \\"rules\\": [
|
|
28
28
|
* {
|
|
29
|
-
* "rulePriority": 1,
|
|
30
|
-
* "description": "Expire images older than 14 days",
|
|
31
|
-
* "selection": {
|
|
32
|
-
* "tagStatus": "untagged",
|
|
33
|
-
* "countType": "sinceImagePushed",
|
|
34
|
-
* "countUnit": "days",
|
|
35
|
-
* "countNumber": 14
|
|
29
|
+
* \\"rulePriority\\": 1,
|
|
30
|
+
* \\"description\\": \\"Expire images older than 14 days\\",
|
|
31
|
+
* \\"selection\\": {
|
|
32
|
+
* \\"tagStatus\\": \\"untagged\\",
|
|
33
|
+
* \\"countType\\": \\"sinceImagePushed\\",
|
|
34
|
+
* \\"countUnit\\": \\"days\\",
|
|
35
|
+
* \\"countNumber\\": 14
|
|
36
36
|
* },
|
|
37
|
-
* "action": {
|
|
38
|
-
* "type": "expire"
|
|
37
|
+
* \\"action\\": {
|
|
38
|
+
* \\"type\\": \\"expire\\"
|
|
39
39
|
* }
|
|
40
40
|
* }
|
|
41
41
|
* ]
|
|
@@ -54,18 +54,18 @@ const utilities = require("../utilities");
|
|
|
54
54
|
* const exampleLifecyclePolicy = new aws.ecr.LifecyclePolicy("example", {
|
|
55
55
|
* repository: example.name,
|
|
56
56
|
* policy: `{
|
|
57
|
-
* "rules": [
|
|
57
|
+
* \\"rules\\": [
|
|
58
58
|
* {
|
|
59
|
-
* "rulePriority": 1,
|
|
60
|
-
* "description": "Keep last 30 images",
|
|
61
|
-
* "selection": {
|
|
62
|
-
* "tagStatus": "tagged",
|
|
63
|
-
* "tagPrefixList": ["v"],
|
|
64
|
-
* "countType": "imageCountMoreThan",
|
|
65
|
-
* "countNumber": 30
|
|
59
|
+
* \\"rulePriority\\": 1,
|
|
60
|
+
* \\"description\\": \\"Keep last 30 images\\",
|
|
61
|
+
* \\"selection\\": {
|
|
62
|
+
* \\"tagStatus\\": \\"tagged\\",
|
|
63
|
+
* \\"tagPrefixList\\": [\\"v\\"],
|
|
64
|
+
* \\"countType\\": \\"imageCountMoreThan\\",
|
|
65
|
+
* \\"countNumber\\": 30
|
|
66
66
|
* },
|
|
67
|
-
* "action": {
|
|
68
|
-
* "type": "expire"
|
|
67
|
+
* \\"action\\": {
|
|
68
|
+
* \\"type\\": \\"expire\\"
|
|
69
69
|
* }
|
|
70
70
|
* }
|
|
71
71
|
* ]
|
|
@@ -47,18 +47,18 @@ import * as outputs from "../types/output";
|
|
|
47
47
|
* }],
|
|
48
48
|
* repositoryPolicy: example.then(example => example.json),
|
|
49
49
|
* lifecyclePolicy: `{
|
|
50
|
-
* "rules": [
|
|
50
|
+
* \\"rules\\": [
|
|
51
51
|
* {
|
|
52
|
-
* "rulePriority": 1,
|
|
53
|
-
* "description": "Expire images older than 14 days",
|
|
54
|
-
* "selection": {
|
|
55
|
-
* "tagStatus": "untagged",
|
|
56
|
-
* "countType": "sinceImagePushed",
|
|
57
|
-
* "countUnit": "days",
|
|
58
|
-
* "countNumber": 14
|
|
52
|
+
* \\"rulePriority\\": 1,
|
|
53
|
+
* \\"description\\": \\"Expire images older than 14 days\\",
|
|
54
|
+
* \\"selection\\": {
|
|
55
|
+
* \\"tagStatus\\": \\"untagged\\",
|
|
56
|
+
* \\"countType\\": \\"sinceImagePushed\\",
|
|
57
|
+
* \\"countUnit\\": \\"days\\",
|
|
58
|
+
* \\"countNumber\\": 14
|
|
59
59
|
* },
|
|
60
|
-
* "action": {
|
|
61
|
-
* "type": "expire"
|
|
60
|
+
* \\"action\\": {
|
|
61
|
+
* \\"type\\": \\"expire\\"
|
|
62
62
|
* }
|
|
63
63
|
* }
|
|
64
64
|
* ]
|
|
@@ -51,18 +51,18 @@ const utilities = require("../utilities");
|
|
|
51
51
|
* }],
|
|
52
52
|
* repositoryPolicy: example.then(example => example.json),
|
|
53
53
|
* lifecyclePolicy: `{
|
|
54
|
-
* "rules": [
|
|
54
|
+
* \\"rules\\": [
|
|
55
55
|
* {
|
|
56
|
-
* "rulePriority": 1,
|
|
57
|
-
* "description": "Expire images older than 14 days",
|
|
58
|
-
* "selection": {
|
|
59
|
-
* "tagStatus": "untagged",
|
|
60
|
-
* "countType": "sinceImagePushed",
|
|
61
|
-
* "countUnit": "days",
|
|
62
|
-
* "countNumber": 14
|
|
56
|
+
* \\"rulePriority\\": 1,
|
|
57
|
+
* \\"description\\": \\"Expire images older than 14 days\\",
|
|
58
|
+
* \\"selection\\": {
|
|
59
|
+
* \\"tagStatus\\": \\"untagged\\",
|
|
60
|
+
* \\"countType\\": \\"sinceImagePushed\\",
|
|
61
|
+
* \\"countUnit\\": \\"days\\",
|
|
62
|
+
* \\"countNumber\\": 14
|
|
63
63
|
* },
|
|
64
|
-
* "action": {
|
|
65
|
-
* "type": "expire"
|
|
64
|
+
* \\"action\\": {
|
|
65
|
+
* \\"type\\": \\"expire\\"
|
|
66
66
|
* }
|
|
67
67
|
* }
|
|
68
68
|
* ]
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* The ECR Public Images data source allows the list of images in a specified public repository to be retrieved.
|
|
6
|
+
*/
|
|
7
|
+
export declare function getImages(args: GetImagesArgs, opts?: pulumi.InvokeOptions): Promise<GetImagesResult>;
|
|
8
|
+
/**
|
|
9
|
+
* A collection of arguments for invoking getImages.
|
|
10
|
+
*/
|
|
11
|
+
export interface GetImagesArgs {
|
|
12
|
+
/**
|
|
13
|
+
* One or more image ID filters. Each image ID can use either a tag or digest (or both). Each object has the following attributes:
|
|
14
|
+
*/
|
|
15
|
+
imageIds?: inputs.ecrpublic.GetImagesImageId[];
|
|
16
|
+
/**
|
|
17
|
+
* 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.
|
|
18
|
+
*/
|
|
19
|
+
region?: string;
|
|
20
|
+
/**
|
|
21
|
+
* AWS account ID associated with the public registry that contains the repository. If not specified, the default public registry is assumed.
|
|
22
|
+
*/
|
|
23
|
+
registryId?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Name of the public repository.
|
|
26
|
+
*/
|
|
27
|
+
repositoryName: string;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* A collection of values returned by getImages.
|
|
31
|
+
*/
|
|
32
|
+
export interface GetImagesResult {
|
|
33
|
+
/**
|
|
34
|
+
* The provider-assigned unique ID for this managed resource.
|
|
35
|
+
*/
|
|
36
|
+
readonly id: string;
|
|
37
|
+
readonly imageIds?: outputs.ecrpublic.GetImagesImageId[];
|
|
38
|
+
/**
|
|
39
|
+
* List of images returned. Each image contains:
|
|
40
|
+
*/
|
|
41
|
+
readonly images: outputs.ecrpublic.GetImagesImage[];
|
|
42
|
+
readonly region: string;
|
|
43
|
+
/**
|
|
44
|
+
* AWS account ID associated with the public registry.
|
|
45
|
+
*/
|
|
46
|
+
readonly registryId?: string;
|
|
47
|
+
/**
|
|
48
|
+
* Name of the repository.
|
|
49
|
+
*/
|
|
50
|
+
readonly repositoryName: string;
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* The ECR Public Images data source allows the list of images in a specified public repository to be retrieved.
|
|
54
|
+
*/
|
|
55
|
+
export declare function getImagesOutput(args: GetImagesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetImagesResult>;
|
|
56
|
+
/**
|
|
57
|
+
* A collection of arguments for invoking getImages.
|
|
58
|
+
*/
|
|
59
|
+
export interface GetImagesOutputArgs {
|
|
60
|
+
/**
|
|
61
|
+
* One or more image ID filters. Each image ID can use either a tag or digest (or both). Each object has the following attributes:
|
|
62
|
+
*/
|
|
63
|
+
imageIds?: pulumi.Input<pulumi.Input<inputs.ecrpublic.GetImagesImageIdArgs>[]>;
|
|
64
|
+
/**
|
|
65
|
+
* 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.
|
|
66
|
+
*/
|
|
67
|
+
region?: pulumi.Input<string>;
|
|
68
|
+
/**
|
|
69
|
+
* AWS account ID associated with the public registry that contains the repository. If not specified, the default public registry is assumed.
|
|
70
|
+
*/
|
|
71
|
+
registryId?: pulumi.Input<string>;
|
|
72
|
+
/**
|
|
73
|
+
* Name of the public repository.
|
|
74
|
+
*/
|
|
75
|
+
repositoryName: pulumi.Input<string>;
|
|
76
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
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.getImagesOutput = exports.getImages = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* The ECR Public Images data source allows the list of images in a specified public repository to be retrieved.
|
|
10
|
+
*/
|
|
11
|
+
function getImages(args, opts) {
|
|
12
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
|
+
return pulumi.runtime.invoke("aws:ecrpublic/getImages:getImages", {
|
|
14
|
+
"imageIds": args.imageIds,
|
|
15
|
+
"region": args.region,
|
|
16
|
+
"registryId": args.registryId,
|
|
17
|
+
"repositoryName": args.repositoryName,
|
|
18
|
+
}, opts);
|
|
19
|
+
}
|
|
20
|
+
exports.getImages = getImages;
|
|
21
|
+
/**
|
|
22
|
+
* The ECR Public Images data source allows the list of images in a specified public repository to be retrieved.
|
|
23
|
+
*/
|
|
24
|
+
function getImagesOutput(args, opts) {
|
|
25
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
26
|
+
return pulumi.runtime.invokeOutput("aws:ecrpublic/getImages:getImages", {
|
|
27
|
+
"imageIds": args.imageIds,
|
|
28
|
+
"region": args.region,
|
|
29
|
+
"registryId": args.registryId,
|
|
30
|
+
"repositoryName": args.repositoryName,
|
|
31
|
+
}, opts);
|
|
32
|
+
}
|
|
33
|
+
exports.getImagesOutput = getImagesOutput;
|
|
34
|
+
//# sourceMappingURL=getImages.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getImages.js","sourceRoot":"","sources":["../../ecrpublic/getImages.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,SAAS,CAAC,IAAmB,EAAE,IAA2B;IACtE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,mCAAmC,EAAE;QAC9D,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,gBAAgB,EAAE,IAAI,CAAC,cAAc;KACxC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,8BAQC;AA+CD;;GAEG;AACH,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAAiC;IACxF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,mCAAmC,EAAE;QACpE,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,gBAAgB,EAAE,IAAI,CAAC,cAAc;KACxC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,0CAQC"}
|
package/ecrpublic/index.d.ts
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
export { GetAuthorizationTokenArgs, GetAuthorizationTokenResult, GetAuthorizationTokenOutputArgs } from "./getAuthorizationToken";
|
|
2
2
|
export declare const getAuthorizationToken: typeof import("./getAuthorizationToken").getAuthorizationToken;
|
|
3
3
|
export declare const getAuthorizationTokenOutput: typeof import("./getAuthorizationToken").getAuthorizationTokenOutput;
|
|
4
|
+
export { GetImagesArgs, GetImagesResult, GetImagesOutputArgs } from "./getImages";
|
|
5
|
+
export declare const getImages: typeof import("./getImages").getImages;
|
|
6
|
+
export declare const getImagesOutput: typeof import("./getImages").getImagesOutput;
|
|
4
7
|
export { RepositoryArgs, RepositoryState } from "./repository";
|
|
5
8
|
export type Repository = import("./repository").Repository;
|
|
6
9
|
export declare const Repository: typeof import("./repository").Repository;
|
package/ecrpublic/index.js
CHANGED
|
@@ -2,12 +2,15 @@
|
|
|
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.RepositoryPolicy = exports.Repository = exports.getAuthorizationTokenOutput = exports.getAuthorizationToken = void 0;
|
|
5
|
+
exports.RepositoryPolicy = exports.Repository = exports.getImagesOutput = exports.getImages = exports.getAuthorizationTokenOutput = exports.getAuthorizationToken = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
exports.getAuthorizationToken = null;
|
|
9
9
|
exports.getAuthorizationTokenOutput = null;
|
|
10
10
|
utilities.lazyLoad(exports, ["getAuthorizationToken", "getAuthorizationTokenOutput"], () => require("./getAuthorizationToken"));
|
|
11
|
+
exports.getImages = null;
|
|
12
|
+
exports.getImagesOutput = null;
|
|
13
|
+
utilities.lazyLoad(exports, ["getImages", "getImagesOutput"], () => require("./getImages"));
|
|
11
14
|
exports.Repository = null;
|
|
12
15
|
utilities.lazyLoad(exports, ["Repository"], () => require("./repository"));
|
|
13
16
|
exports.RepositoryPolicy = null;
|
package/ecrpublic/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../ecrpublic/index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAI7B,QAAA,qBAAqB,GAAmE,IAAW,CAAC;AACpG,QAAA,2BAA2B,GAAyE,IAAW,CAAC;AAC7H,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,uBAAuB,EAAC,6BAA6B,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,yBAAyB,CAAC,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources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YAC9D;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,sBAAsB,EAAE,OAAO,CAAC,CAAA;AAC7E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,4BAA4B,EAAE,OAAO,CAAC,CAAA"}
|
|
@@ -14,16 +14,16 @@ import * as outputs from "../types/output";
|
|
|
14
14
|
* family: "mongodb",
|
|
15
15
|
* containerDefinitions: `[
|
|
16
16
|
* {
|
|
17
|
-
* "cpu": 128,
|
|
18
|
-
* "environment": [{
|
|
19
|
-
* "name": "SECRET",
|
|
20
|
-
* "value": "KEY"
|
|
17
|
+
* \\"cpu\\": 128,
|
|
18
|
+
* \\"environment\\": [{
|
|
19
|
+
* \\"name\\": \\"SECRET\\",
|
|
20
|
+
* \\"value\\": \\"KEY\\"
|
|
21
21
|
* }],
|
|
22
|
-
* "essential": true,
|
|
23
|
-
* "image": "mongo:latest",
|
|
24
|
-
* "memory": 128,
|
|
25
|
-
* "memoryReservation": 64,
|
|
26
|
-
* "name": "mongodb"
|
|
22
|
+
* \\"essential\\": true,
|
|
23
|
+
* \\"image\\": \\"mongo:latest\\",
|
|
24
|
+
* \\"memory\\": 128,
|
|
25
|
+
* \\"memoryReservation\\": 64,
|
|
26
|
+
* \\"name\\": \\"mongodb\\"
|
|
27
27
|
* }
|
|
28
28
|
* ]
|
|
29
29
|
* `,
|
|
@@ -161,16 +161,16 @@ export interface GetTaskDefinitionResult {
|
|
|
161
161
|
* family: "mongodb",
|
|
162
162
|
* containerDefinitions: `[
|
|
163
163
|
* {
|
|
164
|
-
* "cpu": 128,
|
|
165
|
-
* "environment": [{
|
|
166
|
-
* "name": "SECRET",
|
|
167
|
-
* "value": "KEY"
|
|
164
|
+
* \\"cpu\\": 128,
|
|
165
|
+
* \\"environment\\": [{
|
|
166
|
+
* \\"name\\": \\"SECRET\\",
|
|
167
|
+
* \\"value\\": \\"KEY\\"
|
|
168
168
|
* }],
|
|
169
|
-
* "essential": true,
|
|
170
|
-
* "image": "mongo:latest",
|
|
171
|
-
* "memory": 128,
|
|
172
|
-
* "memoryReservation": 64,
|
|
173
|
-
* "name": "mongodb"
|
|
169
|
+
* \\"essential\\": true,
|
|
170
|
+
* \\"image\\": \\"mongo:latest\\",
|
|
171
|
+
* \\"memory\\": 128,
|
|
172
|
+
* \\"memoryReservation\\": 64,
|
|
173
|
+
* \\"name\\": \\"mongodb\\"
|
|
174
174
|
* }
|
|
175
175
|
* ]
|
|
176
176
|
* `,
|
package/ecs/getTaskDefinition.js
CHANGED
|
@@ -19,16 +19,16 @@ const utilities = require("../utilities");
|
|
|
19
19
|
* family: "mongodb",
|
|
20
20
|
* containerDefinitions: `[
|
|
21
21
|
* {
|
|
22
|
-
* "cpu": 128,
|
|
23
|
-
* "environment": [{
|
|
24
|
-
* "name": "SECRET",
|
|
25
|
-
* "value": "KEY"
|
|
22
|
+
* \\"cpu\\": 128,
|
|
23
|
+
* \\"environment\\": [{
|
|
24
|
+
* \\"name\\": \\"SECRET\\",
|
|
25
|
+
* \\"value\\": \\"KEY\\"
|
|
26
26
|
* }],
|
|
27
|
-
* "essential": true,
|
|
28
|
-
* "image": "mongo:latest",
|
|
29
|
-
* "memory": 128,
|
|
30
|
-
* "memoryReservation": 64,
|
|
31
|
-
* "name": "mongodb"
|
|
27
|
+
* \\"essential\\": true,
|
|
28
|
+
* \\"image\\": \\"mongo:latest\\",
|
|
29
|
+
* \\"memory\\": 128,
|
|
30
|
+
* \\"memoryReservation\\": 64,
|
|
31
|
+
* \\"name\\": \\"mongodb\\"
|
|
32
32
|
* }
|
|
33
33
|
* ]
|
|
34
34
|
* `,
|
|
@@ -68,16 +68,16 @@ exports.getTaskDefinition = getTaskDefinition;
|
|
|
68
68
|
* family: "mongodb",
|
|
69
69
|
* containerDefinitions: `[
|
|
70
70
|
* {
|
|
71
|
-
* "cpu": 128,
|
|
72
|
-
* "environment": [{
|
|
73
|
-
* "name": "SECRET",
|
|
74
|
-
* "value": "KEY"
|
|
71
|
+
* \\"cpu\\": 128,
|
|
72
|
+
* \\"environment\\": [{
|
|
73
|
+
* \\"name\\": \\"SECRET\\",
|
|
74
|
+
* \\"value\\": \\"KEY\\"
|
|
75
75
|
* }],
|
|
76
|
-
* "essential": true,
|
|
77
|
-
* "image": "mongo:latest",
|
|
78
|
-
* "memory": 128,
|
|
79
|
-
* "memoryReservation": 64,
|
|
80
|
-
* "name": "mongodb"
|
|
76
|
+
* \\"essential\\": true,
|
|
77
|
+
* \\"image\\": \\"mongo:latest\\",
|
|
78
|
+
* \\"memory\\": 128,
|
|
79
|
+
* \\"memoryReservation\\": 64,
|
|
80
|
+
* \\"name\\": \\"mongodb\\"
|
|
81
81
|
* }
|
|
82
82
|
* ]
|
|
83
83
|
* `,
|
package/eks/getClusters.d.ts
CHANGED
|
@@ -1,6 +1,21 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
3
|
* Retrieve EKS Clusters list
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as aws from "@pulumi/aws";
|
|
10
|
+
* import * as std from "@pulumi/std";
|
|
11
|
+
*
|
|
12
|
+
* const example = aws.eks.getClusters({});
|
|
13
|
+
* const exampleGetCluster = example.then(example => std.toset({
|
|
14
|
+
* input: example.names,
|
|
15
|
+
* })).then(invoke => .reduce((__obj, [__key, __value]) => ({ ...__obj, [__key]: aws.eks.getCluster({
|
|
16
|
+
* name: __value,
|
|
17
|
+
* }) })));
|
|
18
|
+
* ```
|
|
4
19
|
*/
|
|
5
20
|
export declare function getClusters(args?: GetClustersArgs, opts?: pulumi.InvokeOptions): Promise<GetClustersResult>;
|
|
6
21
|
/**
|
|
@@ -28,6 +43,21 @@ export interface GetClustersResult {
|
|
|
28
43
|
}
|
|
29
44
|
/**
|
|
30
45
|
* Retrieve EKS Clusters list
|
|
46
|
+
*
|
|
47
|
+
* ## Example Usage
|
|
48
|
+
*
|
|
49
|
+
* ```typescript
|
|
50
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
51
|
+
* import * as aws from "@pulumi/aws";
|
|
52
|
+
* import * as std from "@pulumi/std";
|
|
53
|
+
*
|
|
54
|
+
* const example = aws.eks.getClusters({});
|
|
55
|
+
* const exampleGetCluster = example.then(example => std.toset({
|
|
56
|
+
* input: example.names,
|
|
57
|
+
* })).then(invoke => .reduce((__obj, [__key, __value]) => ({ ...__obj, [__key]: aws.eks.getCluster({
|
|
58
|
+
* name: __value,
|
|
59
|
+
* }) })));
|
|
60
|
+
* ```
|
|
31
61
|
*/
|
|
32
62
|
export declare function getClustersOutput(args?: GetClustersOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetClustersResult>;
|
|
33
63
|
/**
|
package/eks/getClusters.js
CHANGED
|
@@ -7,6 +7,21 @@ const pulumi = require("@pulumi/pulumi");
|
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
/**
|
|
9
9
|
* Retrieve EKS Clusters list
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as aws from "@pulumi/aws";
|
|
16
|
+
* import * as std from "@pulumi/std";
|
|
17
|
+
*
|
|
18
|
+
* const example = aws.eks.getClusters({});
|
|
19
|
+
* const exampleGetCluster = example.then(example => std.toset({
|
|
20
|
+
* input: example.names,
|
|
21
|
+
* })).then(invoke => .reduce((__obj, [__key, __value]) => ({ ...__obj, [__key]: aws.eks.getCluster({
|
|
22
|
+
* name: __value,
|
|
23
|
+
* }) })));
|
|
24
|
+
* ```
|
|
10
25
|
*/
|
|
11
26
|
function getClusters(args, opts) {
|
|
12
27
|
args = args || {};
|
|
@@ -18,6 +33,21 @@ function getClusters(args, opts) {
|
|
|
18
33
|
exports.getClusters = getClusters;
|
|
19
34
|
/**
|
|
20
35
|
* Retrieve EKS Clusters list
|
|
36
|
+
*
|
|
37
|
+
* ## Example Usage
|
|
38
|
+
*
|
|
39
|
+
* ```typescript
|
|
40
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
41
|
+
* import * as aws from "@pulumi/aws";
|
|
42
|
+
* import * as std from "@pulumi/std";
|
|
43
|
+
*
|
|
44
|
+
* const example = aws.eks.getClusters({});
|
|
45
|
+
* const exampleGetCluster = example.then(example => std.toset({
|
|
46
|
+
* input: example.names,
|
|
47
|
+
* })).then(invoke => .reduce((__obj, [__key, __value]) => ({ ...__obj, [__key]: aws.eks.getCluster({
|
|
48
|
+
* name: __value,
|
|
49
|
+
* }) })));
|
|
50
|
+
* ```
|
|
21
51
|
*/
|
|
22
52
|
function getClustersOutput(args, opts) {
|
|
23
53
|
args = args || {};
|
package/eks/getClusters.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getClusters.js","sourceRoot":"","sources":["../../eks/getClusters.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"getClusters.js","sourceRoot":"","sources":["../../eks/getClusters.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;GAiBG;AACH,SAAgB,WAAW,CAAC,IAAsB,EAAE,IAA2B;IAC3E,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,iCAAiC,EAAE;QAC5D,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,kCAMC;AA0BD;;;;;;;;;;;;;;;;;GAiBG;AACH,SAAgB,iBAAiB,CAAC,IAA4B,EAAE,IAAiC;IAC7F,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,iCAAiC,EAAE;QAClE,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,8CAMC"}
|