@pulumi/aws 7.17.0-alpha.1770104813 → 7.17.0-alpha.1770200035
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 +2 -2
- package/acm/certificate.js +2 -2
- package/acmpca/certificate.d.ts +2 -2
- package/acmpca/certificate.js +2 -2
- package/apigateway/domainName.d.ts +12 -0
- package/apigateway/domainName.js +2 -0
- package/apigateway/domainName.js.map +1 -1
- package/apigatewayv2/domainName.d.ts +12 -0
- package/apigatewayv2/domainName.js +2 -0
- package/apigatewayv2/domainName.js.map +1 -1
- package/apigatewayv2/index.d.ts +3 -0
- package/apigatewayv2/index.js +6 -1
- package/apigatewayv2/index.js.map +1 -1
- package/apigatewayv2/routingRule.d.ts +166 -0
- package/apigatewayv2/routingRule.js +113 -0
- package/apigatewayv2/routingRule.js.map +1 -0
- package/arcregionswitch/getPlan.d.ts +118 -0
- package/arcregionswitch/getPlan.js +56 -0
- package/arcregionswitch/getPlan.js.map +1 -0
- package/arcregionswitch/getRoute53HealthChecks.d.ts +80 -0
- package/arcregionswitch/getRoute53HealthChecks.js +56 -0
- package/arcregionswitch/getRoute53HealthChecks.js.map +1 -0
- package/arcregionswitch/index.d.ts +9 -0
- package/arcregionswitch/index.js +28 -0
- package/arcregionswitch/index.js.map +1 -0
- package/arcregionswitch/plan.d.ts +384 -0
- package/arcregionswitch/plan.js +253 -0
- package/arcregionswitch/plan.js.map +1 -0
- package/autoscaling/group.d.ts +3 -3
- package/bedrock/agentDataSource.d.ts +37 -0
- package/bedrock/agentDataSource.js +37 -0
- package/bedrock/agentDataSource.js.map +1 -1
- package/cleanrooms/collaboration.d.ts +27 -59
- package/cleanrooms/collaboration.js.map +1 -1
- package/cloudfront/anycastIpList.d.ts +150 -0
- package/cloudfront/anycastIpList.js +91 -0
- package/cloudfront/anycastIpList.js.map +1 -0
- package/cloudfront/index.d.ts +3 -0
- package/cloudfront/index.js +6 -1
- package/cloudfront/index.js.map +1 -1
- package/cloudfront/multitenantDistribution.d.ts +65 -0
- package/cloudfront/multitenantDistribution.js +65 -0
- package/cloudfront/multitenantDistribution.js.map +1 -1
- package/codebuild/webhook.d.ts +2 -2
- package/codebuild/webhook.js +2 -2
- package/codepipeline/webhook.d.ts +2 -2
- package/codepipeline/webhook.js +2 -2
- package/docdb/clusterInstance.d.ts +72 -140
- package/docdb/clusterInstance.js +4 -7
- package/docdb/clusterInstance.js.map +1 -1
- package/dynamodb/table.d.ts +92 -3
- package/dynamodb/table.js +83 -0
- package/dynamodb/table.js.map +1 -1
- package/ec2/getVpcIpamPool.d.ts +4 -0
- package/ec2/getVpcIpamPool.js.map +1 -1
- package/ec2/index.d.ts +3 -0
- package/ec2/index.js +6 -1
- package/ec2/index.js.map +1 -1
- package/ec2/launchTemplate.d.ts +3 -0
- package/ec2/launchTemplate.js +2 -0
- package/ec2/launchTemplate.js.map +1 -1
- package/ec2/placementGroup.d.ts +3 -3
- package/ec2/securityGroup.d.ts +1 -1
- package/ec2/securityGroup.js +1 -1
- package/ec2/subnet.d.ts +107 -14
- package/ec2/subnet.js +59 -0
- package/ec2/subnet.js.map +1 -1
- package/ec2/vpcIpamPool.d.ts +54 -0
- package/ec2/vpcIpamPool.js +42 -0
- package/ec2/vpcIpamPool.js.map +1 -1
- package/ec2/vpcIpamResourceDiscovery.d.ts +12 -0
- package/ec2/vpcIpamResourceDiscovery.js +2 -0
- package/ec2/vpcIpamResourceDiscovery.js.map +1 -1
- package/ec2/vpcSecurityGroupRulesExclusive.d.ts +93 -0
- package/ec2/vpcSecurityGroupRulesExclusive.js +73 -0
- package/ec2/vpcSecurityGroupRulesExclusive.js.map +1 -0
- package/ec2transitgateway/vpcAttachment.d.ts +0 -18
- package/ec2transitgateway/vpcAttachment.js.map +1 -1
- package/ecr/accountSetting.d.ts +19 -4
- package/ecr/accountSetting.js +13 -1
- package/ecr/accountSetting.js.map +1 -1
- package/eks/addon.d.ts +46 -0
- package/eks/addon.js +46 -0
- package/eks/addon.js.map +1 -1
- package/fsx/windowsFileSystem.d.ts +22 -0
- package/fsx/windowsFileSystem.js +22 -0
- package/fsx/windowsFileSystem.js.map +1 -1
- package/index.d.ts +3 -1
- package/index.js +10 -6
- package/index.js.map +1 -1
- package/invoicing/invoiceUnit.d.ts +9 -3
- package/invoicing/invoiceUnit.js.map +1 -1
- package/iot/caCertificate.d.ts +4 -4
- package/iot/caCertificate.js +4 -4
- package/iot/getEndpoint.d.ts +12 -12
- package/iot/getEndpoint.js +12 -12
- package/iot/getRegistrationCode.d.ts +4 -4
- package/iot/getRegistrationCode.js +4 -4
- package/lambda/function.d.ts +3 -3
- package/memorydb/user.d.ts +1 -1
- package/memorydb/user.js +1 -1
- package/notifications/index.d.ts +12 -0
- package/notifications/index.js +21 -1
- package/notifications/index.js.map +1 -1
- package/notifications/managedNotificationAccountContactAssociation.d.ts +85 -0
- package/notifications/managedNotificationAccountContactAssociation.js +82 -0
- package/notifications/managedNotificationAccountContactAssociation.js.map +1 -0
- package/notifications/managedNotificationAdditionalChannelAssociation.d.ts +89 -0
- package/notifications/managedNotificationAdditionalChannelAssociation.js +86 -0
- package/notifications/managedNotificationAdditionalChannelAssociation.js.map +1 -0
- package/notifications/organizationalUnitAssociation.d.ts +121 -0
- package/notifications/organizationalUnitAssociation.js +118 -0
- package/notifications/organizationalUnitAssociation.js.map +1 -0
- package/notifications/organizationsAccess.d.ts +79 -0
- package/notifications/organizationsAccess.js +80 -0
- package/notifications/organizationsAccess.js.map +1 -0
- package/odb/network.d.ts +48 -0
- package/odb/network.js +8 -0
- package/odb/network.js.map +1 -1
- package/opensearch/application.d.ts +334 -0
- package/opensearch/application.js +244 -0
- package/opensearch/application.js.map +1 -0
- package/opensearch/index.d.ts +3 -0
- package/opensearch/index.js +6 -1
- package/opensearch/index.js.map +1 -1
- package/organizations/getEntityPath.d.ts +63 -0
- package/organizations/getEntityPath.js +50 -0
- package/organizations/getEntityPath.js.map +1 -0
- package/organizations/getOrganization.d.ts +21 -2
- package/organizations/getOrganization.js +10 -4
- package/organizations/getOrganization.js.map +1 -1
- package/organizations/index.d.ts +4 -1
- package/organizations/index.js +4 -1
- package/organizations/index.js.map +1 -1
- package/organizations/organization.d.ts +12 -0
- package/organizations/organization.js +2 -0
- package/organizations/organization.js.map +1 -1
- package/package.json +2 -2
- package/ram/index.d.ts +6 -0
- package/ram/index.js +11 -1
- package/ram/index.js.map +1 -1
- package/ram/permission.d.ts +193 -0
- package/ram/permission.js +117 -0
- package/ram/permission.js.map +1 -0
- package/ram/resourceShareAssociationsExclusive.d.ts +123 -0
- package/ram/resourceShareAssociationsExclusive.js +69 -0
- package/ram/resourceShareAssociationsExclusive.js.map +1 -0
- package/resourcegroupstaggingapi/getRequiredTags.d.ts +64 -0
- package/resourcegroupstaggingapi/getRequiredTags.js +52 -0
- package/resourcegroupstaggingapi/getRequiredTags.js.map +1 -0
- package/resourcegroupstaggingapi/index.d.ts +3 -0
- package/resourcegroupstaggingapi/index.js +4 -1
- package/resourcegroupstaggingapi/index.js.map +1 -1
- package/route53/healthCheck.d.ts +4 -4
- package/s3/bucketReplicationConfig.d.ts +3 -0
- package/s3/bucketReplicationConfig.js.map +1 -1
- package/s3/getBucketObjectLockConfiguration.d.ts +94 -0
- package/s3/getBucketObjectLockConfiguration.js +58 -0
- package/s3/getBucketObjectLockConfiguration.js.map +1 -0
- package/s3/getBucketReplicationConfiguration.d.ts +81 -0
- package/s3/getBucketReplicationConfiguration.js +56 -0
- package/s3/getBucketReplicationConfiguration.js.map +1 -0
- package/s3/getObject.d.ts +14 -1
- package/s3/getObject.js +2 -0
- package/s3/getObject.js.map +1 -1
- package/s3/index.d.ts +6 -0
- package/s3/index.js +8 -2
- package/s3/index.js.map +1 -1
- package/s3control/getAccessPoints.d.ts +131 -0
- package/s3control/getAccessPoints.js +82 -0
- package/s3control/getAccessPoints.js.map +1 -0
- package/s3control/getMultiRegionAccessPoints.d.ts +76 -0
- package/s3control/getMultiRegionAccessPoints.js +54 -0
- package/s3control/getMultiRegionAccessPoints.js.map +1 -0
- package/s3control/index.d.ts +6 -0
- package/s3control/index.js +7 -1
- package/s3control/index.js.map +1 -1
- package/sagemaker/index.d.ts +9 -0
- package/sagemaker/index.js +16 -1
- package/sagemaker/index.js.map +1 -1
- package/sagemaker/labelingJob.d.ts +280 -0
- package/sagemaker/labelingJob.js +142 -0
- package/sagemaker/labelingJob.js.map +1 -0
- package/sagemaker/modelCard.d.ts +176 -0
- package/sagemaker/modelCard.js +111 -0
- package/sagemaker/modelCard.js.map +1 -0
- package/sagemaker/modelCardExportJob.d.ts +136 -0
- package/sagemaker/modelCardExportJob.js +97 -0
- package/sagemaker/modelCardExportJob.js.map +1 -0
- package/savingsplans/getSavingsPlan.d.ts +128 -0
- package/savingsplans/getSavingsPlan.js +52 -0
- package/savingsplans/getSavingsPlan.js.map +1 -0
- package/savingsplans/index.d.ts +6 -0
- package/savingsplans/index.js +25 -0
- package/savingsplans/index.js.map +1 -0
- package/savingsplans/savingsPlan.d.ts +297 -0
- package/savingsplans/savingsPlan.js +143 -0
- package/savingsplans/savingsPlan.js.map +1 -0
- package/sesv2/index.d.ts +3 -0
- package/sesv2/index.js +6 -1
- package/sesv2/index.js.map +1 -1
- package/sesv2/tenantResourceAssociation.d.ts +103 -0
- package/sesv2/tenantResourceAssociation.js +84 -0
- package/sesv2/tenantResourceAssociation.js.map +1 -0
- package/ssoadmin/index.d.ts +3 -0
- package/ssoadmin/index.js +6 -1
- package/ssoadmin/index.js.map +1 -1
- package/ssoadmin/managedPolicyAttachment.d.ts +2 -0
- package/ssoadmin/managedPolicyAttachment.js +2 -0
- package/ssoadmin/managedPolicyAttachment.js.map +1 -1
- package/ssoadmin/managedPolicyAttachmentsExclusive.d.ts +151 -0
- package/ssoadmin/managedPolicyAttachmentsExclusive.js +122 -0
- package/ssoadmin/managedPolicyAttachmentsExclusive.js.map +1 -0
- package/types/enums/lambda/index.d.ts +4 -0
- package/types/enums/lambda/index.js +4 -0
- package/types/enums/lambda/index.js.map +1 -1
- package/types/input.d.ts +1766 -15
- package/types/input.js.map +1 -1
- package/types/output.d.ts +2169 -14
- package/types/output.js.map +1 -1
- package/wafv2/getManagedRuleGroup.d.ts +127 -0
- package/wafv2/getManagedRuleGroup.js +62 -0
- package/wafv2/getManagedRuleGroup.js.map +1 -0
- package/wafv2/index.d.ts +3 -0
- package/wafv2/index.js +4 -1
- package/wafv2/index.js.map +1 -1
|
@@ -0,0 +1,111 @@
|
|
|
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.ModelCard = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Manage an Amazon SageMaker Model Card.
|
|
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 example = new aws.sagemaker.ModelCard("example", {
|
|
20
|
+
* modelCardName: "my-model-card",
|
|
21
|
+
* modelCardStatus: "Draft",
|
|
22
|
+
* content: `{
|
|
23
|
+
* \\"business_details\\": {
|
|
24
|
+
* \\"business_problem\\": \\"Quality\\"
|
|
25
|
+
* },
|
|
26
|
+
* \\"intended_uses\\": {
|
|
27
|
+
* \\"intended_uses\\": \\"Testing\\"
|
|
28
|
+
* },
|
|
29
|
+
* \\"additional_information\\": {
|
|
30
|
+
* \\"caveats_and_recommendations\\": \\"Use this\\"
|
|
31
|
+
* }
|
|
32
|
+
* }
|
|
33
|
+
* `,
|
|
34
|
+
* });
|
|
35
|
+
* ```
|
|
36
|
+
*
|
|
37
|
+
* ## Import
|
|
38
|
+
*
|
|
39
|
+
* Using `pulumi import`, import model cards using the `model_card_name`. For example:
|
|
40
|
+
*
|
|
41
|
+
* ```sh
|
|
42
|
+
* $ pulumi import aws:sagemaker/modelCard:ModelCard example my-model-card
|
|
43
|
+
* ```
|
|
44
|
+
*/
|
|
45
|
+
class ModelCard extends pulumi.CustomResource {
|
|
46
|
+
/**
|
|
47
|
+
* Get an existing ModelCard resource's state with the given name, ID, and optional extra
|
|
48
|
+
* properties used to qualify the lookup.
|
|
49
|
+
*
|
|
50
|
+
* @param name The _unique_ name of the resulting resource.
|
|
51
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
52
|
+
* @param state Any extra arguments used during the lookup.
|
|
53
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
54
|
+
*/
|
|
55
|
+
static get(name, id, state, opts) {
|
|
56
|
+
return new ModelCard(name, state, { ...opts, id: id });
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Returns true if the given object is an instance of ModelCard. This is designed to work even
|
|
60
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
61
|
+
*/
|
|
62
|
+
static isInstance(obj) {
|
|
63
|
+
if (obj === undefined || obj === null) {
|
|
64
|
+
return false;
|
|
65
|
+
}
|
|
66
|
+
return obj['__pulumiType'] === ModelCard.__pulumiType;
|
|
67
|
+
}
|
|
68
|
+
constructor(name, argsOrState, opts) {
|
|
69
|
+
let resourceInputs = {};
|
|
70
|
+
opts = opts || {};
|
|
71
|
+
if (opts.id) {
|
|
72
|
+
const state = argsOrState;
|
|
73
|
+
resourceInputs["content"] = state?.content;
|
|
74
|
+
resourceInputs["modelCardArn"] = state?.modelCardArn;
|
|
75
|
+
resourceInputs["modelCardName"] = state?.modelCardName;
|
|
76
|
+
resourceInputs["modelCardStatus"] = state?.modelCardStatus;
|
|
77
|
+
resourceInputs["region"] = state?.region;
|
|
78
|
+
resourceInputs["securityConfig"] = state?.securityConfig;
|
|
79
|
+
resourceInputs["tags"] = state?.tags;
|
|
80
|
+
resourceInputs["tagsAll"] = state?.tagsAll;
|
|
81
|
+
resourceInputs["timeouts"] = state?.timeouts;
|
|
82
|
+
}
|
|
83
|
+
else {
|
|
84
|
+
const args = argsOrState;
|
|
85
|
+
if (args?.content === undefined && !opts.urn) {
|
|
86
|
+
throw new Error("Missing required property 'content'");
|
|
87
|
+
}
|
|
88
|
+
if (args?.modelCardName === undefined && !opts.urn) {
|
|
89
|
+
throw new Error("Missing required property 'modelCardName'");
|
|
90
|
+
}
|
|
91
|
+
if (args?.modelCardStatus === undefined && !opts.urn) {
|
|
92
|
+
throw new Error("Missing required property 'modelCardStatus'");
|
|
93
|
+
}
|
|
94
|
+
resourceInputs["content"] = args?.content;
|
|
95
|
+
resourceInputs["modelCardName"] = args?.modelCardName;
|
|
96
|
+
resourceInputs["modelCardStatus"] = args?.modelCardStatus;
|
|
97
|
+
resourceInputs["region"] = args?.region;
|
|
98
|
+
resourceInputs["securityConfig"] = args?.securityConfig;
|
|
99
|
+
resourceInputs["tags"] = args?.tags;
|
|
100
|
+
resourceInputs["timeouts"] = args?.timeouts;
|
|
101
|
+
resourceInputs["modelCardArn"] = undefined /*out*/;
|
|
102
|
+
resourceInputs["tagsAll"] = undefined /*out*/;
|
|
103
|
+
}
|
|
104
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
105
|
+
super(ModelCard.__pulumiType, name, resourceInputs, opts);
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
exports.ModelCard = ModelCard;
|
|
109
|
+
/** @internal */
|
|
110
|
+
ModelCard.__pulumiType = 'aws:sagemaker/modelCard:ModelCard';
|
|
111
|
+
//# sourceMappingURL=modelCard.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"modelCard.js","sourceRoot":"","sources":["../../sagemaker/modelCard.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;A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E,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC9D,CAAC;;AA3GL,8BA4GC;AA9FG,gBAAgB;AACO,sBAAY,GAAG,mCAAmC,CAAC"}
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Manage an Amazon SageMaker Model Card export job.
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* Basic usage:
|
|
10
|
+
*
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as aws from "@pulumi/aws";
|
|
14
|
+
*
|
|
15
|
+
* const example = new aws.sagemaker.ModelCardExportJob("example", {
|
|
16
|
+
* modelCardExportJobName: "my-model-card-export-job",
|
|
17
|
+
* modelCardName: exampleAwsSagemakerModelCard.modelCardName,
|
|
18
|
+
* outputConfig: {
|
|
19
|
+
* s3OutputPath: `s3://${test.example}/`,
|
|
20
|
+
* },
|
|
21
|
+
* });
|
|
22
|
+
* ```
|
|
23
|
+
*
|
|
24
|
+
* ## Import
|
|
25
|
+
*
|
|
26
|
+
* Using `pulumi import`, import model card export jobs using the `model_card_export_job_arn`. For example:
|
|
27
|
+
*
|
|
28
|
+
* ```sh
|
|
29
|
+
* $ pulumi import aws:sagemaker/modelCardExportJob:ModelCardExportJob example arn:aws:sagemaker:us-west-2:123456789012:model-card/my-model-card/export-job/my-model-card-export-job
|
|
30
|
+
* ```
|
|
31
|
+
*/
|
|
32
|
+
export declare class ModelCardExportJob extends pulumi.CustomResource {
|
|
33
|
+
/**
|
|
34
|
+
* Get an existing ModelCardExportJob resource's state with the given name, ID, and optional extra
|
|
35
|
+
* properties used to qualify the lookup.
|
|
36
|
+
*
|
|
37
|
+
* @param name The _unique_ name of the resulting resource.
|
|
38
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
39
|
+
* @param state Any extra arguments used during the lookup.
|
|
40
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
41
|
+
*/
|
|
42
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ModelCardExportJobState, opts?: pulumi.CustomResourceOptions): ModelCardExportJob;
|
|
43
|
+
/**
|
|
44
|
+
* Returns true if the given object is an instance of ModelCardExportJob. This is designed to work even
|
|
45
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
46
|
+
*/
|
|
47
|
+
static isInstance(obj: any): obj is ModelCardExportJob;
|
|
48
|
+
/**
|
|
49
|
+
* Exported model card artifacts.
|
|
50
|
+
*/
|
|
51
|
+
readonly exportArtifacts: pulumi.Output<outputs.sagemaker.ModelCardExportJobExportArtifact[]>;
|
|
52
|
+
/**
|
|
53
|
+
* The Amazon Resource Name (ARN) of the model card export job.
|
|
54
|
+
*/
|
|
55
|
+
readonly modelCardExportJobArn: pulumi.Output<string>;
|
|
56
|
+
/**
|
|
57
|
+
* Name of the model card export job.
|
|
58
|
+
*/
|
|
59
|
+
readonly modelCardExportJobName: pulumi.Output<string>;
|
|
60
|
+
/**
|
|
61
|
+
* Name of the model card.
|
|
62
|
+
*/
|
|
63
|
+
readonly modelCardName: pulumi.Output<string>;
|
|
64
|
+
readonly modelCardVersion: pulumi.Output<number>;
|
|
65
|
+
/**
|
|
66
|
+
* Export output details. Fields are documented below.
|
|
67
|
+
*/
|
|
68
|
+
readonly outputConfig: pulumi.Output<outputs.sagemaker.ModelCardExportJobOutputConfig | undefined>;
|
|
69
|
+
/**
|
|
70
|
+
* 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
|
|
71
|
+
*/
|
|
72
|
+
readonly region: pulumi.Output<string>;
|
|
73
|
+
readonly timeouts: pulumi.Output<outputs.sagemaker.ModelCardExportJobTimeouts | undefined>;
|
|
74
|
+
/**
|
|
75
|
+
* Create a ModelCardExportJob resource with the given unique name, arguments, and options.
|
|
76
|
+
*
|
|
77
|
+
* @param name The _unique_ name of the resource.
|
|
78
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
79
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
80
|
+
*/
|
|
81
|
+
constructor(name: string, args: ModelCardExportJobArgs, opts?: pulumi.CustomResourceOptions);
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* Input properties used for looking up and filtering ModelCardExportJob resources.
|
|
85
|
+
*/
|
|
86
|
+
export interface ModelCardExportJobState {
|
|
87
|
+
/**
|
|
88
|
+
* Exported model card artifacts.
|
|
89
|
+
*/
|
|
90
|
+
exportArtifacts?: pulumi.Input<pulumi.Input<inputs.sagemaker.ModelCardExportJobExportArtifact>[]>;
|
|
91
|
+
/**
|
|
92
|
+
* The Amazon Resource Name (ARN) of the model card export job.
|
|
93
|
+
*/
|
|
94
|
+
modelCardExportJobArn?: pulumi.Input<string>;
|
|
95
|
+
/**
|
|
96
|
+
* Name of the model card export job.
|
|
97
|
+
*/
|
|
98
|
+
modelCardExportJobName?: pulumi.Input<string>;
|
|
99
|
+
/**
|
|
100
|
+
* Name of the model card.
|
|
101
|
+
*/
|
|
102
|
+
modelCardName?: pulumi.Input<string>;
|
|
103
|
+
modelCardVersion?: pulumi.Input<number>;
|
|
104
|
+
/**
|
|
105
|
+
* Export output details. Fields are documented below.
|
|
106
|
+
*/
|
|
107
|
+
outputConfig?: pulumi.Input<inputs.sagemaker.ModelCardExportJobOutputConfig>;
|
|
108
|
+
/**
|
|
109
|
+
* 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
|
|
110
|
+
*/
|
|
111
|
+
region?: pulumi.Input<string>;
|
|
112
|
+
timeouts?: pulumi.Input<inputs.sagemaker.ModelCardExportJobTimeouts>;
|
|
113
|
+
}
|
|
114
|
+
/**
|
|
115
|
+
* The set of arguments for constructing a ModelCardExportJob resource.
|
|
116
|
+
*/
|
|
117
|
+
export interface ModelCardExportJobArgs {
|
|
118
|
+
/**
|
|
119
|
+
* Name of the model card export job.
|
|
120
|
+
*/
|
|
121
|
+
modelCardExportJobName: pulumi.Input<string>;
|
|
122
|
+
/**
|
|
123
|
+
* Name of the model card.
|
|
124
|
+
*/
|
|
125
|
+
modelCardName: pulumi.Input<string>;
|
|
126
|
+
modelCardVersion?: pulumi.Input<number>;
|
|
127
|
+
/**
|
|
128
|
+
* Export output details. Fields are documented below.
|
|
129
|
+
*/
|
|
130
|
+
outputConfig?: pulumi.Input<inputs.sagemaker.ModelCardExportJobOutputConfig>;
|
|
131
|
+
/**
|
|
132
|
+
* 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
|
|
133
|
+
*/
|
|
134
|
+
region?: pulumi.Input<string>;
|
|
135
|
+
timeouts?: pulumi.Input<inputs.sagemaker.ModelCardExportJobTimeouts>;
|
|
136
|
+
}
|
|
@@ -0,0 +1,97 @@
|
|
|
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.ModelCardExportJob = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Manage an Amazon SageMaker Model Card export job.
|
|
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 example = new aws.sagemaker.ModelCardExportJob("example", {
|
|
20
|
+
* modelCardExportJobName: "my-model-card-export-job",
|
|
21
|
+
* modelCardName: exampleAwsSagemakerModelCard.modelCardName,
|
|
22
|
+
* outputConfig: {
|
|
23
|
+
* s3OutputPath: `s3://${test.example}/`,
|
|
24
|
+
* },
|
|
25
|
+
* });
|
|
26
|
+
* ```
|
|
27
|
+
*
|
|
28
|
+
* ## Import
|
|
29
|
+
*
|
|
30
|
+
* Using `pulumi import`, import model card export jobs using the `model_card_export_job_arn`. For example:
|
|
31
|
+
*
|
|
32
|
+
* ```sh
|
|
33
|
+
* $ pulumi import aws:sagemaker/modelCardExportJob:ModelCardExportJob example arn:aws:sagemaker:us-west-2:123456789012:model-card/my-model-card/export-job/my-model-card-export-job
|
|
34
|
+
* ```
|
|
35
|
+
*/
|
|
36
|
+
class ModelCardExportJob extends pulumi.CustomResource {
|
|
37
|
+
/**
|
|
38
|
+
* Get an existing ModelCardExportJob resource's state with the given name, ID, and optional extra
|
|
39
|
+
* properties used to qualify the lookup.
|
|
40
|
+
*
|
|
41
|
+
* @param name The _unique_ name of the resulting resource.
|
|
42
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
43
|
+
* @param state Any extra arguments used during the lookup.
|
|
44
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
45
|
+
*/
|
|
46
|
+
static get(name, id, state, opts) {
|
|
47
|
+
return new ModelCardExportJob(name, state, { ...opts, id: id });
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Returns true if the given object is an instance of ModelCardExportJob. This is designed to work even
|
|
51
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
52
|
+
*/
|
|
53
|
+
static isInstance(obj) {
|
|
54
|
+
if (obj === undefined || obj === null) {
|
|
55
|
+
return false;
|
|
56
|
+
}
|
|
57
|
+
return obj['__pulumiType'] === ModelCardExportJob.__pulumiType;
|
|
58
|
+
}
|
|
59
|
+
constructor(name, argsOrState, opts) {
|
|
60
|
+
let resourceInputs = {};
|
|
61
|
+
opts = opts || {};
|
|
62
|
+
if (opts.id) {
|
|
63
|
+
const state = argsOrState;
|
|
64
|
+
resourceInputs["exportArtifacts"] = state?.exportArtifacts;
|
|
65
|
+
resourceInputs["modelCardExportJobArn"] = state?.modelCardExportJobArn;
|
|
66
|
+
resourceInputs["modelCardExportJobName"] = state?.modelCardExportJobName;
|
|
67
|
+
resourceInputs["modelCardName"] = state?.modelCardName;
|
|
68
|
+
resourceInputs["modelCardVersion"] = state?.modelCardVersion;
|
|
69
|
+
resourceInputs["outputConfig"] = state?.outputConfig;
|
|
70
|
+
resourceInputs["region"] = state?.region;
|
|
71
|
+
resourceInputs["timeouts"] = state?.timeouts;
|
|
72
|
+
}
|
|
73
|
+
else {
|
|
74
|
+
const args = argsOrState;
|
|
75
|
+
if (args?.modelCardExportJobName === undefined && !opts.urn) {
|
|
76
|
+
throw new Error("Missing required property 'modelCardExportJobName'");
|
|
77
|
+
}
|
|
78
|
+
if (args?.modelCardName === undefined && !opts.urn) {
|
|
79
|
+
throw new Error("Missing required property 'modelCardName'");
|
|
80
|
+
}
|
|
81
|
+
resourceInputs["modelCardExportJobName"] = args?.modelCardExportJobName;
|
|
82
|
+
resourceInputs["modelCardName"] = args?.modelCardName;
|
|
83
|
+
resourceInputs["modelCardVersion"] = args?.modelCardVersion;
|
|
84
|
+
resourceInputs["outputConfig"] = args?.outputConfig;
|
|
85
|
+
resourceInputs["region"] = args?.region;
|
|
86
|
+
resourceInputs["timeouts"] = args?.timeouts;
|
|
87
|
+
resourceInputs["exportArtifacts"] = undefined /*out*/;
|
|
88
|
+
resourceInputs["modelCardExportJobArn"] = undefined /*out*/;
|
|
89
|
+
}
|
|
90
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
91
|
+
super(ModelCardExportJob.__pulumiType, name, resourceInputs, opts);
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
exports.ModelCardExportJob = ModelCardExportJob;
|
|
95
|
+
/** @internal */
|
|
96
|
+
ModelCardExportJob.__pulumiType = 'aws:sagemaker/modelCardExportJob:ModelCardExportJob';
|
|
97
|
+
//# sourceMappingURL=modelCardExportJob.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"modelCardExportJob.js","sourceRoot":"","sources":["../../sagemaker/modelCardExportJob.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,MAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IACzD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA+B,EAAE,IAAmC;QAC7H,OAAO,IAAI,kBAAkB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACzE,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,kBAAkB,CAAC,YAAY,CAAC;IACnE,CAAC;IAqCD,YAAY,IAAY,EAAE,WAA8D,EAAE,IAAmC;QACzH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAkD,CAAC;YACjE,cAAc,CAAC,iBAAiB,CAAC,GAAG,KAAK,EAAE,eAAe,CAAC;YAC3D,cAAc,CAAC,uBAAuB,CAAC,GAAG,KAAK,EAAE,qBAAqB,CAAC;YACvE,cAAc,CAAC,wBAAwB,CAAC,GAAG,KAAK,EAAE,sBAAsB,CAAC;YACzE,cAAc,CAAC,eAAe,CAAC,GAAG,KAAK,EAAE,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EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACvE,CAAC;;AA/FL,gDAgGC;AAlFG,gBAAgB;AACO,+BAAY,GAAG,qDAAqD,CAAC"}
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Use this data source to get information on an existing AWS Savings Plan.
|
|
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 = aws.savingsplans.getSavingsPlan({
|
|
12
|
+
* savingsPlanId: "sp-12345678901234567",
|
|
13
|
+
* });
|
|
14
|
+
* export const savingsPlanState = example.then(example => example.state);
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
export declare function getSavingsPlan(args: GetSavingsPlanArgs, opts?: pulumi.InvokeOptions): Promise<GetSavingsPlanResult>;
|
|
18
|
+
/**
|
|
19
|
+
* A collection of arguments for invoking getSavingsPlan.
|
|
20
|
+
*/
|
|
21
|
+
export interface GetSavingsPlanArgs {
|
|
22
|
+
/**
|
|
23
|
+
* The ID of the Savings Plan.
|
|
24
|
+
*/
|
|
25
|
+
savingsPlanId: string;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* A collection of values returned by getSavingsPlan.
|
|
29
|
+
*/
|
|
30
|
+
export interface GetSavingsPlanResult {
|
|
31
|
+
/**
|
|
32
|
+
* The hourly commitment amount.
|
|
33
|
+
*/
|
|
34
|
+
readonly commitment: string;
|
|
35
|
+
/**
|
|
36
|
+
* The currency of the Savings Plan.
|
|
37
|
+
*/
|
|
38
|
+
readonly currency: string;
|
|
39
|
+
readonly description: string;
|
|
40
|
+
/**
|
|
41
|
+
* The EC2 instance family for the Savings Plan.
|
|
42
|
+
*/
|
|
43
|
+
readonly ec2InstanceFamily: string;
|
|
44
|
+
/**
|
|
45
|
+
* The end time of the Savings Plan.
|
|
46
|
+
*/
|
|
47
|
+
readonly end: string;
|
|
48
|
+
/**
|
|
49
|
+
* The provider-assigned unique ID for this managed resource.
|
|
50
|
+
*/
|
|
51
|
+
readonly id: string;
|
|
52
|
+
/**
|
|
53
|
+
* The ID of the offering.
|
|
54
|
+
*/
|
|
55
|
+
readonly offeringId: string;
|
|
56
|
+
/**
|
|
57
|
+
* The payment option for the Savings Plan.
|
|
58
|
+
*/
|
|
59
|
+
readonly paymentOption: string;
|
|
60
|
+
readonly productTypes: string[];
|
|
61
|
+
readonly purchaseTime: string;
|
|
62
|
+
/**
|
|
63
|
+
* The recurring payment amount.
|
|
64
|
+
*/
|
|
65
|
+
readonly recurringPaymentAmount: string;
|
|
66
|
+
/**
|
|
67
|
+
* The AWS Region.
|
|
68
|
+
*/
|
|
69
|
+
readonly region: string;
|
|
70
|
+
readonly returnableUntil: string;
|
|
71
|
+
/**
|
|
72
|
+
* The ARN of the Savings Plan.
|
|
73
|
+
*/
|
|
74
|
+
readonly savingsPlanArn: string;
|
|
75
|
+
readonly savingsPlanId: string;
|
|
76
|
+
readonly savingsPlanOfferingId: string;
|
|
77
|
+
/**
|
|
78
|
+
* The type of Savings Plan.
|
|
79
|
+
*/
|
|
80
|
+
readonly savingsPlanType: string;
|
|
81
|
+
/**
|
|
82
|
+
* The start time of the Savings Plan.
|
|
83
|
+
*/
|
|
84
|
+
readonly start: string;
|
|
85
|
+
/**
|
|
86
|
+
* The current state of the Savings Plan.
|
|
87
|
+
*/
|
|
88
|
+
readonly state: string;
|
|
89
|
+
/**
|
|
90
|
+
* A map of tags assigned to the resource.
|
|
91
|
+
*/
|
|
92
|
+
readonly tags: {
|
|
93
|
+
[key: string]: string;
|
|
94
|
+
};
|
|
95
|
+
/**
|
|
96
|
+
* The duration of the term, in seconds.
|
|
97
|
+
*/
|
|
98
|
+
readonly termDurationInSeconds: number;
|
|
99
|
+
/**
|
|
100
|
+
* The up-front payment amount.
|
|
101
|
+
*/
|
|
102
|
+
readonly upfrontPaymentAmount: string;
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* Use this data source to get information on an existing AWS Savings Plan.
|
|
106
|
+
*
|
|
107
|
+
* ## Example Usage
|
|
108
|
+
*
|
|
109
|
+
* ```typescript
|
|
110
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
111
|
+
* import * as aws from "@pulumi/aws";
|
|
112
|
+
*
|
|
113
|
+
* const example = aws.savingsplans.getSavingsPlan({
|
|
114
|
+
* savingsPlanId: "sp-12345678901234567",
|
|
115
|
+
* });
|
|
116
|
+
* export const savingsPlanState = example.then(example => example.state);
|
|
117
|
+
* ```
|
|
118
|
+
*/
|
|
119
|
+
export declare function getSavingsPlanOutput(args: GetSavingsPlanOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetSavingsPlanResult>;
|
|
120
|
+
/**
|
|
121
|
+
* A collection of arguments for invoking getSavingsPlan.
|
|
122
|
+
*/
|
|
123
|
+
export interface GetSavingsPlanOutputArgs {
|
|
124
|
+
/**
|
|
125
|
+
* The ID of the Savings Plan.
|
|
126
|
+
*/
|
|
127
|
+
savingsPlanId: pulumi.Input<string>;
|
|
128
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
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.getSavingsPlanOutput = exports.getSavingsPlan = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Use this data source to get information on an existing AWS Savings Plan.
|
|
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 = aws.savingsplans.getSavingsPlan({
|
|
18
|
+
* savingsPlanId: "sp-12345678901234567",
|
|
19
|
+
* });
|
|
20
|
+
* export const savingsPlanState = example.then(example => example.state);
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
function getSavingsPlan(args, opts) {
|
|
24
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
25
|
+
return pulumi.runtime.invoke("aws:savingsplans/getSavingsPlan:getSavingsPlan", {
|
|
26
|
+
"savingsPlanId": args.savingsPlanId,
|
|
27
|
+
}, opts);
|
|
28
|
+
}
|
|
29
|
+
exports.getSavingsPlan = getSavingsPlan;
|
|
30
|
+
/**
|
|
31
|
+
* Use this data source to get information on an existing AWS Savings Plan.
|
|
32
|
+
*
|
|
33
|
+
* ## Example Usage
|
|
34
|
+
*
|
|
35
|
+
* ```typescript
|
|
36
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
37
|
+
* import * as aws from "@pulumi/aws";
|
|
38
|
+
*
|
|
39
|
+
* const example = aws.savingsplans.getSavingsPlan({
|
|
40
|
+
* savingsPlanId: "sp-12345678901234567",
|
|
41
|
+
* });
|
|
42
|
+
* export const savingsPlanState = example.then(example => example.state);
|
|
43
|
+
* ```
|
|
44
|
+
*/
|
|
45
|
+
function getSavingsPlanOutput(args, opts) {
|
|
46
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
47
|
+
return pulumi.runtime.invokeOutput("aws:savingsplans/getSavingsPlan:getSavingsPlan", {
|
|
48
|
+
"savingsPlanId": args.savingsPlanId,
|
|
49
|
+
}, opts);
|
|
50
|
+
}
|
|
51
|
+
exports.getSavingsPlanOutput = getSavingsPlanOutput;
|
|
52
|
+
//# sourceMappingURL=getSavingsPlan.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getSavingsPlan.js","sourceRoot":"","sources":["../../savingsplans/getSavingsPlan.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;GAcG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAChF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gDAAgD,EAAE;QAC3E,eAAe,EAAE,IAAI,CAAC,aAAa;KACtC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,wCAKC;AAuFD;;;;;;;;;;;;;;GAcG;AACH,SAAgB,oBAAoB,CAAC,IAA8B,EAAE,IAAiC;IAClG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,gDAAgD,EAAE;QACjF,eAAe,EAAE,IAAI,CAAC,aAAa;KACtC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,oDAKC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { GetSavingsPlanArgs, GetSavingsPlanResult, GetSavingsPlanOutputArgs } from "./getSavingsPlan";
|
|
2
|
+
export declare const getSavingsPlan: typeof import("./getSavingsPlan").getSavingsPlan;
|
|
3
|
+
export declare const getSavingsPlanOutput: typeof import("./getSavingsPlan").getSavingsPlanOutput;
|
|
4
|
+
export { SavingsPlanArgs, SavingsPlanState } from "./savingsPlan";
|
|
5
|
+
export type SavingsPlan = import("./savingsPlan").SavingsPlan;
|
|
6
|
+
export declare const SavingsPlan: typeof import("./savingsPlan").SavingsPlan;
|
|
@@ -0,0 +1,25 @@
|
|
|
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.SavingsPlan = exports.getSavingsPlanOutput = exports.getSavingsPlan = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
exports.getSavingsPlan = null;
|
|
9
|
+
exports.getSavingsPlanOutput = null;
|
|
10
|
+
utilities.lazyLoad(exports, ["getSavingsPlan", "getSavingsPlanOutput"], () => require("./getSavingsPlan"));
|
|
11
|
+
exports.SavingsPlan = null;
|
|
12
|
+
utilities.lazyLoad(exports, ["SavingsPlan"], () => require("./savingsPlan"));
|
|
13
|
+
const _module = {
|
|
14
|
+
version: utilities.getVersion(),
|
|
15
|
+
construct: (name, type, urn) => {
|
|
16
|
+
switch (type) {
|
|
17
|
+
case "aws:savingsplans/savingsPlan:SavingsPlan":
|
|
18
|
+
return new exports.SavingsPlan(name, undefined, { urn });
|
|
19
|
+
default:
|
|
20
|
+
throw new Error(`unknown resource type ${type}`);
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
};
|
|
24
|
+
pulumi.runtime.registerResourceModule("aws", "savingsplans/savingsPlan", _module);
|
|
25
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../savingsplans/index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAI7B,QAAA,cAAc,GAAqD,IAAW,CAAC;AAC/E,QAAA,oBAAoB,GAA2D,IAAW,CAAC;AACxG,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,gBAAgB,EAAC,sBAAsB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,kBAAkB,CAAC,CAAC,CAAC;AAI7F,QAAA,WAAW,GAA+C,IAAW,CAAC;AACnF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,aAAa,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,eAAe,CAAC,CAAC,CAAC;AAG7E,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,0CAA0C;gBAC3C,OAAO,IAAI,mBAAW,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACzD;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,0BAA0B,EAAE,OAAO,CAAC,CAAA"}
|