@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
package/connect/index.d.ts
CHANGED
|
@@ -10,6 +10,9 @@ export * from "./getLambdaFunctionAssociation";
|
|
|
10
10
|
export * from "./getPrompt";
|
|
11
11
|
export * from "./getQueue";
|
|
12
12
|
export * from "./getQuickConnect";
|
|
13
|
+
export * from "./getRoutingProfile";
|
|
14
|
+
export * from "./getSecurityProfile";
|
|
15
|
+
export * from "./getUserHierarchyStructure";
|
|
13
16
|
export * from "./hoursOfOperation";
|
|
14
17
|
export * from "./instance";
|
|
15
18
|
export * from "./lambdaFunctionAssociation";
|
|
@@ -17,4 +20,5 @@ export * from "./queue";
|
|
|
17
20
|
export * from "./quickConnect";
|
|
18
21
|
export * from "./routingProfile";
|
|
19
22
|
export * from "./securityProfile";
|
|
23
|
+
export * from "./userHierarchyGroup";
|
|
20
24
|
export * from "./userHierarchyStructure";
|
package/connect/index.js
CHANGED
|
@@ -31,6 +31,9 @@ __exportStar(require("./getLambdaFunctionAssociation"), exports);
|
|
|
31
31
|
__exportStar(require("./getPrompt"), exports);
|
|
32
32
|
__exportStar(require("./getQueue"), exports);
|
|
33
33
|
__exportStar(require("./getQuickConnect"), exports);
|
|
34
|
+
__exportStar(require("./getRoutingProfile"), exports);
|
|
35
|
+
__exportStar(require("./getSecurityProfile"), exports);
|
|
36
|
+
__exportStar(require("./getUserHierarchyStructure"), exports);
|
|
34
37
|
__exportStar(require("./hoursOfOperation"), exports);
|
|
35
38
|
__exportStar(require("./instance"), exports);
|
|
36
39
|
__exportStar(require("./lambdaFunctionAssociation"), exports);
|
|
@@ -38,6 +41,7 @@ __exportStar(require("./queue"), exports);
|
|
|
38
41
|
__exportStar(require("./quickConnect"), exports);
|
|
39
42
|
__exportStar(require("./routingProfile"), exports);
|
|
40
43
|
__exportStar(require("./securityProfile"), exports);
|
|
44
|
+
__exportStar(require("./userHierarchyGroup"), exports);
|
|
41
45
|
__exportStar(require("./userHierarchyStructure"), exports);
|
|
42
46
|
// Import resources to register:
|
|
43
47
|
const botAssociation_1 = require("./botAssociation");
|
|
@@ -50,6 +54,7 @@ const queue_1 = require("./queue");
|
|
|
50
54
|
const quickConnect_1 = require("./quickConnect");
|
|
51
55
|
const routingProfile_1 = require("./routingProfile");
|
|
52
56
|
const securityProfile_1 = require("./securityProfile");
|
|
57
|
+
const userHierarchyGroup_1 = require("./userHierarchyGroup");
|
|
53
58
|
const userHierarchyStructure_1 = require("./userHierarchyStructure");
|
|
54
59
|
const _module = {
|
|
55
60
|
version: utilities.getVersion(),
|
|
@@ -75,6 +80,8 @@ const _module = {
|
|
|
75
80
|
return new routingProfile_1.RoutingProfile(name, undefined, { urn });
|
|
76
81
|
case "aws:connect/securityProfile:SecurityProfile":
|
|
77
82
|
return new securityProfile_1.SecurityProfile(name, undefined, { urn });
|
|
83
|
+
case "aws:connect/userHierarchyGroup:UserHierarchyGroup":
|
|
84
|
+
return new userHierarchyGroup_1.UserHierarchyGroup(name, undefined, { urn });
|
|
78
85
|
case "aws:connect/userHierarchyStructure:UserHierarchyStructure":
|
|
79
86
|
return new userHierarchyStructure_1.UserHierarchyStructure(name, undefined, { urn });
|
|
80
87
|
default:
|
|
@@ -92,5 +99,6 @@ pulumi.runtime.registerResourceModule("aws", "connect/queue", _module);
|
|
|
92
99
|
pulumi.runtime.registerResourceModule("aws", "connect/quickConnect", _module);
|
|
93
100
|
pulumi.runtime.registerResourceModule("aws", "connect/routingProfile", _module);
|
|
94
101
|
pulumi.runtime.registerResourceModule("aws", "connect/securityProfile", _module);
|
|
102
|
+
pulumi.runtime.registerResourceModule("aws", "connect/userHierarchyGroup", _module);
|
|
95
103
|
pulumi.runtime.registerResourceModule("aws", "connect/userHierarchyStructure", _module);
|
|
96
104
|
//# sourceMappingURL=index.js.map
|
package/connect/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../connect/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;;;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,kBAAkB;AAClB,mDAAiC;AACjC,gDAA8B;AAC9B,sDAAoC;AACpC,sDAAoC;AACpC,mDAAiC;AACjC,yDAAuC;AACvC,wDAAsC;AACtC,gDAA8B;AAC9B,iEAA+C;AAC/C,8CAA4B;AAC5B,6CAA2B;AAC3B,oDAAkC;AAClC,qDAAmC;AACnC,6CAA2B;AAC3B,8DAA4C;AAC5C,0CAAwB;AACxB,iDAA+B;AAC/B,mDAAiC;AACjC,oDAAkC;AAClC,2DAAyC;AAEzC,gCAAgC;AAChC,qDAAkD;AAClD,+CAA4C;AAC5C,2DAAwD;AACxD,yDAAsD;AACtD,yCAAsC;AACtC,2EAAwE;AACxE,mCAAgC;AAChC,iDAA8C;AAC9C,qDAAkD;AAClD,uDAAoD;AACpD,qEAAkE;AAElE,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,2CAA2C;gBAC5C,OAAO,IAAI,+BAAc,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAC5D,KAAK,qCAAqC;gBACtC,OAAO,IAAI,yBAAW,CA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AAC1F,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,eAAe,EAAE,OAAO,CAAC,CAAA;AACtE,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,sBAAsB,EAAE,OAAO,CAAC,CAAA;AAC7E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,wBAAwB,EAAE,OAAO,CAAC,CAAA;AAC/E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,yBAAyB,EAAE,OAAO,CAAC,CAAA;AAChF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,4BAA4B,EAAE,OAAO,CAAC,CAAA;AACnF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,gCAAgC,EAAE,OAAO,CAAC,CAAA"}
|
|
@@ -0,0 +1,193 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { input as inputs, output as outputs } from "../types";
|
|
3
|
+
/**
|
|
4
|
+
* Provides an Amazon Connect User Hierarchy Group resource. For more information see
|
|
5
|
+
* [Amazon Connect: Getting Started](https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-get-started.html)
|
|
6
|
+
*
|
|
7
|
+
* > **NOTE:** The User Hierarchy Structure must be created before creating a User Hierarchy Group.
|
|
8
|
+
*
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
* ### Basic
|
|
11
|
+
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as aws from "@pulumi/aws";
|
|
15
|
+
*
|
|
16
|
+
* const example = new aws.connect.UserHierarchyGroup("example", {
|
|
17
|
+
* instanceId: "aaaaaaaa-bbbb-cccc-dddd-111111111111",
|
|
18
|
+
* tags: {
|
|
19
|
+
* Name: "Example User Hierarchy Group",
|
|
20
|
+
* },
|
|
21
|
+
* });
|
|
22
|
+
* ```
|
|
23
|
+
* ### With a parent group
|
|
24
|
+
*
|
|
25
|
+
* ```typescript
|
|
26
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
27
|
+
* import * as aws from "@pulumi/aws";
|
|
28
|
+
*
|
|
29
|
+
* const parent = new aws.connect.UserHierarchyGroup("parent", {
|
|
30
|
+
* instanceId: "aaaaaaaa-bbbb-cccc-dddd-111111111111",
|
|
31
|
+
* tags: {
|
|
32
|
+
* Name: "Example User Hierarchy Group Parent",
|
|
33
|
+
* },
|
|
34
|
+
* });
|
|
35
|
+
* const child = new aws.connect.UserHierarchyGroup("child", {
|
|
36
|
+
* instanceId: "aaaaaaaa-bbbb-cccc-dddd-111111111111",
|
|
37
|
+
* parentGroupId: parent.hierarchyGroupId,
|
|
38
|
+
* tags: {
|
|
39
|
+
* Name: "Example User Hierarchy Group Child",
|
|
40
|
+
* },
|
|
41
|
+
* });
|
|
42
|
+
* ```
|
|
43
|
+
*
|
|
44
|
+
* ## Import
|
|
45
|
+
*
|
|
46
|
+
* Amazon Connect User Hierarchy Groups can be imported using the `instance_id` and `hierarchy_group_id` separated by a colon (`:`), e.g.,
|
|
47
|
+
*
|
|
48
|
+
* ```sh
|
|
49
|
+
* $ pulumi import aws:connect/userHierarchyGroup:UserHierarchyGroup example f1288a1f-6193-445a-b47e-af739b2:c1d4e5f6-1b3c-1b3c-1b3c-c1d4e5f6c1d4e5
|
|
50
|
+
* ```
|
|
51
|
+
*/
|
|
52
|
+
export declare class UserHierarchyGroup extends pulumi.CustomResource {
|
|
53
|
+
/**
|
|
54
|
+
* Get an existing UserHierarchyGroup resource's state with the given name, ID, and optional extra
|
|
55
|
+
* properties used to qualify the lookup.
|
|
56
|
+
*
|
|
57
|
+
* @param name The _unique_ name of the resulting resource.
|
|
58
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
59
|
+
* @param state Any extra arguments used during the lookup.
|
|
60
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
61
|
+
*/
|
|
62
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: UserHierarchyGroupState, opts?: pulumi.CustomResourceOptions): UserHierarchyGroup;
|
|
63
|
+
/**
|
|
64
|
+
* Returns true if the given object is an instance of UserHierarchyGroup. This is designed to work even
|
|
65
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
66
|
+
*/
|
|
67
|
+
static isInstance(obj: any): obj is UserHierarchyGroup;
|
|
68
|
+
/**
|
|
69
|
+
* The Amazon Resource Name (ARN) of the hierarchy group.
|
|
70
|
+
*/
|
|
71
|
+
readonly arn: pulumi.Output<string>;
|
|
72
|
+
/**
|
|
73
|
+
* The identifier for the hierarchy group.
|
|
74
|
+
*/
|
|
75
|
+
readonly hierarchyGroupId: pulumi.Output<string>;
|
|
76
|
+
/**
|
|
77
|
+
* A block that contains information about the levels in the hierarchy group. The `hierarchyPath` block is documented below.
|
|
78
|
+
*/
|
|
79
|
+
readonly hierarchyPaths: pulumi.Output<outputs.connect.UserHierarchyGroupHierarchyPath[]>;
|
|
80
|
+
/**
|
|
81
|
+
* Specifies the identifier of the hosting Amazon Connect Instance.
|
|
82
|
+
*/
|
|
83
|
+
readonly instanceId: pulumi.Output<string>;
|
|
84
|
+
/**
|
|
85
|
+
* The identifier of the level in the hierarchy group.
|
|
86
|
+
*/
|
|
87
|
+
readonly levelId: pulumi.Output<string>;
|
|
88
|
+
/**
|
|
89
|
+
* The name of the user hierarchy group. Must not be more than 100 characters.
|
|
90
|
+
*/
|
|
91
|
+
readonly name: pulumi.Output<string>;
|
|
92
|
+
/**
|
|
93
|
+
* The identifier for the parent hierarchy group. The user hierarchy is created at level one if the parent group ID is null.
|
|
94
|
+
*/
|
|
95
|
+
readonly parentGroupId: pulumi.Output<string | undefined>;
|
|
96
|
+
/**
|
|
97
|
+
* Tags to apply to the hierarchy group. If configured with a provider
|
|
98
|
+
* [`defaultTags` configuration block](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block) present, tags with matching keys will overwrite those defined at the provider-level.
|
|
99
|
+
*/
|
|
100
|
+
readonly tags: pulumi.Output<{
|
|
101
|
+
[key: string]: string;
|
|
102
|
+
} | undefined>;
|
|
103
|
+
/**
|
|
104
|
+
* A map of tags assigned to the resource, including those inherited from the provider [`defaultTags` configuration block](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block).
|
|
105
|
+
*/
|
|
106
|
+
readonly tagsAll: pulumi.Output<{
|
|
107
|
+
[key: string]: string;
|
|
108
|
+
}>;
|
|
109
|
+
/**
|
|
110
|
+
* Create a UserHierarchyGroup resource with the given unique name, arguments, and options.
|
|
111
|
+
*
|
|
112
|
+
* @param name The _unique_ name of the resource.
|
|
113
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
114
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
115
|
+
*/
|
|
116
|
+
constructor(name: string, args: UserHierarchyGroupArgs, opts?: pulumi.CustomResourceOptions);
|
|
117
|
+
}
|
|
118
|
+
/**
|
|
119
|
+
* Input properties used for looking up and filtering UserHierarchyGroup resources.
|
|
120
|
+
*/
|
|
121
|
+
export interface UserHierarchyGroupState {
|
|
122
|
+
/**
|
|
123
|
+
* The Amazon Resource Name (ARN) of the hierarchy group.
|
|
124
|
+
*/
|
|
125
|
+
arn?: pulumi.Input<string>;
|
|
126
|
+
/**
|
|
127
|
+
* The identifier for the hierarchy group.
|
|
128
|
+
*/
|
|
129
|
+
hierarchyGroupId?: pulumi.Input<string>;
|
|
130
|
+
/**
|
|
131
|
+
* A block that contains information about the levels in the hierarchy group. The `hierarchyPath` block is documented below.
|
|
132
|
+
*/
|
|
133
|
+
hierarchyPaths?: pulumi.Input<pulumi.Input<inputs.connect.UserHierarchyGroupHierarchyPath>[]>;
|
|
134
|
+
/**
|
|
135
|
+
* Specifies the identifier of the hosting Amazon Connect Instance.
|
|
136
|
+
*/
|
|
137
|
+
instanceId?: pulumi.Input<string>;
|
|
138
|
+
/**
|
|
139
|
+
* The identifier of the level in the hierarchy group.
|
|
140
|
+
*/
|
|
141
|
+
levelId?: pulumi.Input<string>;
|
|
142
|
+
/**
|
|
143
|
+
* The name of the user hierarchy group. Must not be more than 100 characters.
|
|
144
|
+
*/
|
|
145
|
+
name?: pulumi.Input<string>;
|
|
146
|
+
/**
|
|
147
|
+
* The identifier for the parent hierarchy group. The user hierarchy is created at level one if the parent group ID is null.
|
|
148
|
+
*/
|
|
149
|
+
parentGroupId?: pulumi.Input<string>;
|
|
150
|
+
/**
|
|
151
|
+
* Tags to apply to the hierarchy group. If configured with a provider
|
|
152
|
+
* [`defaultTags` configuration block](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block) present, tags with matching keys will overwrite those defined at the provider-level.
|
|
153
|
+
*/
|
|
154
|
+
tags?: pulumi.Input<{
|
|
155
|
+
[key: string]: pulumi.Input<string>;
|
|
156
|
+
}>;
|
|
157
|
+
/**
|
|
158
|
+
* A map of tags assigned to the resource, including those inherited from the provider [`defaultTags` configuration block](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block).
|
|
159
|
+
*/
|
|
160
|
+
tagsAll?: pulumi.Input<{
|
|
161
|
+
[key: string]: pulumi.Input<string>;
|
|
162
|
+
}>;
|
|
163
|
+
}
|
|
164
|
+
/**
|
|
165
|
+
* The set of arguments for constructing a UserHierarchyGroup resource.
|
|
166
|
+
*/
|
|
167
|
+
export interface UserHierarchyGroupArgs {
|
|
168
|
+
/**
|
|
169
|
+
* Specifies the identifier of the hosting Amazon Connect Instance.
|
|
170
|
+
*/
|
|
171
|
+
instanceId: pulumi.Input<string>;
|
|
172
|
+
/**
|
|
173
|
+
* The name of the user hierarchy group. Must not be more than 100 characters.
|
|
174
|
+
*/
|
|
175
|
+
name?: pulumi.Input<string>;
|
|
176
|
+
/**
|
|
177
|
+
* The identifier for the parent hierarchy group. The user hierarchy is created at level one if the parent group ID is null.
|
|
178
|
+
*/
|
|
179
|
+
parentGroupId?: pulumi.Input<string>;
|
|
180
|
+
/**
|
|
181
|
+
* Tags to apply to the hierarchy group. If configured with a provider
|
|
182
|
+
* [`defaultTags` configuration block](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block) present, tags with matching keys will overwrite those defined at the provider-level.
|
|
183
|
+
*/
|
|
184
|
+
tags?: pulumi.Input<{
|
|
185
|
+
[key: string]: pulumi.Input<string>;
|
|
186
|
+
}>;
|
|
187
|
+
/**
|
|
188
|
+
* A map of tags assigned to the resource, including those inherited from the provider [`defaultTags` configuration block](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block).
|
|
189
|
+
*/
|
|
190
|
+
tagsAll?: pulumi.Input<{
|
|
191
|
+
[key: string]: pulumi.Input<string>;
|
|
192
|
+
}>;
|
|
193
|
+
}
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.UserHierarchyGroup = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Provides an Amazon Connect User Hierarchy Group resource. For more information see
|
|
10
|
+
* [Amazon Connect: Getting Started](https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-get-started.html)
|
|
11
|
+
*
|
|
12
|
+
* > **NOTE:** The User Hierarchy Structure must be created before creating a User Hierarchy Group.
|
|
13
|
+
*
|
|
14
|
+
* ## Example Usage
|
|
15
|
+
* ### Basic
|
|
16
|
+
*
|
|
17
|
+
* ```typescript
|
|
18
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
19
|
+
* import * as aws from "@pulumi/aws";
|
|
20
|
+
*
|
|
21
|
+
* const example = new aws.connect.UserHierarchyGroup("example", {
|
|
22
|
+
* instanceId: "aaaaaaaa-bbbb-cccc-dddd-111111111111",
|
|
23
|
+
* tags: {
|
|
24
|
+
* Name: "Example User Hierarchy Group",
|
|
25
|
+
* },
|
|
26
|
+
* });
|
|
27
|
+
* ```
|
|
28
|
+
* ### With a parent group
|
|
29
|
+
*
|
|
30
|
+
* ```typescript
|
|
31
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
32
|
+
* import * as aws from "@pulumi/aws";
|
|
33
|
+
*
|
|
34
|
+
* const parent = new aws.connect.UserHierarchyGroup("parent", {
|
|
35
|
+
* instanceId: "aaaaaaaa-bbbb-cccc-dddd-111111111111",
|
|
36
|
+
* tags: {
|
|
37
|
+
* Name: "Example User Hierarchy Group Parent",
|
|
38
|
+
* },
|
|
39
|
+
* });
|
|
40
|
+
* const child = new aws.connect.UserHierarchyGroup("child", {
|
|
41
|
+
* instanceId: "aaaaaaaa-bbbb-cccc-dddd-111111111111",
|
|
42
|
+
* parentGroupId: parent.hierarchyGroupId,
|
|
43
|
+
* tags: {
|
|
44
|
+
* Name: "Example User Hierarchy Group Child",
|
|
45
|
+
* },
|
|
46
|
+
* });
|
|
47
|
+
* ```
|
|
48
|
+
*
|
|
49
|
+
* ## Import
|
|
50
|
+
*
|
|
51
|
+
* Amazon Connect User Hierarchy Groups can be imported using the `instance_id` and `hierarchy_group_id` separated by a colon (`:`), e.g.,
|
|
52
|
+
*
|
|
53
|
+
* ```sh
|
|
54
|
+
* $ pulumi import aws:connect/userHierarchyGroup:UserHierarchyGroup example f1288a1f-6193-445a-b47e-af739b2:c1d4e5f6-1b3c-1b3c-1b3c-c1d4e5f6c1d4e5
|
|
55
|
+
* ```
|
|
56
|
+
*/
|
|
57
|
+
class UserHierarchyGroup extends pulumi.CustomResource {
|
|
58
|
+
constructor(name, argsOrState, opts) {
|
|
59
|
+
let resourceInputs = {};
|
|
60
|
+
opts = opts || {};
|
|
61
|
+
if (opts.id) {
|
|
62
|
+
const state = argsOrState;
|
|
63
|
+
resourceInputs["arn"] = state ? state.arn : undefined;
|
|
64
|
+
resourceInputs["hierarchyGroupId"] = state ? state.hierarchyGroupId : undefined;
|
|
65
|
+
resourceInputs["hierarchyPaths"] = state ? state.hierarchyPaths : undefined;
|
|
66
|
+
resourceInputs["instanceId"] = state ? state.instanceId : undefined;
|
|
67
|
+
resourceInputs["levelId"] = state ? state.levelId : undefined;
|
|
68
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
69
|
+
resourceInputs["parentGroupId"] = state ? state.parentGroupId : undefined;
|
|
70
|
+
resourceInputs["tags"] = state ? state.tags : undefined;
|
|
71
|
+
resourceInputs["tagsAll"] = state ? state.tagsAll : undefined;
|
|
72
|
+
}
|
|
73
|
+
else {
|
|
74
|
+
const args = argsOrState;
|
|
75
|
+
if ((!args || args.instanceId === undefined) && !opts.urn) {
|
|
76
|
+
throw new Error("Missing required property 'instanceId'");
|
|
77
|
+
}
|
|
78
|
+
resourceInputs["instanceId"] = args ? args.instanceId : undefined;
|
|
79
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
80
|
+
resourceInputs["parentGroupId"] = args ? args.parentGroupId : undefined;
|
|
81
|
+
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
82
|
+
resourceInputs["tagsAll"] = args ? args.tagsAll : undefined;
|
|
83
|
+
resourceInputs["arn"] = undefined /*out*/;
|
|
84
|
+
resourceInputs["hierarchyGroupId"] = undefined /*out*/;
|
|
85
|
+
resourceInputs["hierarchyPaths"] = undefined /*out*/;
|
|
86
|
+
resourceInputs["levelId"] = undefined /*out*/;
|
|
87
|
+
}
|
|
88
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
89
|
+
super(UserHierarchyGroup.__pulumiType, name, resourceInputs, opts);
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* Get an existing UserHierarchyGroup resource's state with the given name, ID, and optional extra
|
|
93
|
+
* properties used to qualify the lookup.
|
|
94
|
+
*
|
|
95
|
+
* @param name The _unique_ name of the resulting resource.
|
|
96
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
97
|
+
* @param state Any extra arguments used during the lookup.
|
|
98
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
99
|
+
*/
|
|
100
|
+
static get(name, id, state, opts) {
|
|
101
|
+
return new UserHierarchyGroup(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* Returns true if the given object is an instance of UserHierarchyGroup. This is designed to work even
|
|
105
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
106
|
+
*/
|
|
107
|
+
static isInstance(obj) {
|
|
108
|
+
if (obj === undefined || obj === null) {
|
|
109
|
+
return false;
|
|
110
|
+
}
|
|
111
|
+
return obj['__pulumiType'] === UserHierarchyGroup.__pulumiType;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
exports.UserHierarchyGroup = UserHierarchyGroup;
|
|
115
|
+
/** @internal */
|
|
116
|
+
UserHierarchyGroup.__pulumiType = 'aws:connect/userHierarchyGroup:UserHierarchyGroup';
|
|
117
|
+
//# sourceMappingURL=userHierarchyGroup.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"userHierarchyGroup.js","sourceRoot":"","sources":["../../connect/userHierarchyGroup.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgDG;AACH,MAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IA0EzD,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,KAAK,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,GAA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D,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,kBAAkB,CAAC,YAAY,CAAC;IACnE,CAAC;;AA1BL,gDA0GC;AA5FG,gBAAgB;AACO,+BAAY,GAAG,mDAAmD,CAAC"}
|
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { input as inputs, output as outputs } from "../types";
|
|
3
|
+
/**
|
|
4
|
+
* Provides a CE Cost Category.
|
|
5
|
+
*
|
|
6
|
+
* ## Example Usage
|
|
7
|
+
*
|
|
8
|
+
* ```typescript
|
|
9
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
+
* import * as aws from "@pulumi/aws";
|
|
11
|
+
*
|
|
12
|
+
* const test = new aws.costexplorer.CostCategory("test", {
|
|
13
|
+
* rules: [
|
|
14
|
+
* {
|
|
15
|
+
* rule: {
|
|
16
|
+
* dimension: {
|
|
17
|
+
* key: "LINKED_ACCOUNT_NAME",
|
|
18
|
+
* matchOptions: ["ENDS_WITH"],
|
|
19
|
+
* values: ["-prod"],
|
|
20
|
+
* },
|
|
21
|
+
* },
|
|
22
|
+
* value: "production",
|
|
23
|
+
* },
|
|
24
|
+
* {
|
|
25
|
+
* rule: {
|
|
26
|
+
* dimension: {
|
|
27
|
+
* key: "LINKED_ACCOUNT_NAME",
|
|
28
|
+
* matchOptions: ["ENDS_WITH"],
|
|
29
|
+
* values: ["-stg"],
|
|
30
|
+
* },
|
|
31
|
+
* },
|
|
32
|
+
* value: "staging",
|
|
33
|
+
* },
|
|
34
|
+
* {
|
|
35
|
+
* rule: {
|
|
36
|
+
* dimension: {
|
|
37
|
+
* key: "LINKED_ACCOUNT_NAME",
|
|
38
|
+
* matchOptions: ["ENDS_WITH"],
|
|
39
|
+
* values: ["-dev"],
|
|
40
|
+
* },
|
|
41
|
+
* },
|
|
42
|
+
* value: "testing",
|
|
43
|
+
* },
|
|
44
|
+
* ],
|
|
45
|
+
* ruleVersion: "CostCategoryExpression.v1",
|
|
46
|
+
* });
|
|
47
|
+
* ```
|
|
48
|
+
*
|
|
49
|
+
* ## Import
|
|
50
|
+
*
|
|
51
|
+
* `aws_ce_cost_category` can be imported using the id, e.g.
|
|
52
|
+
*
|
|
53
|
+
* ```sh
|
|
54
|
+
* $ pulumi import aws:costexplorer/costCategory:CostCategory example costCategoryARN
|
|
55
|
+
* ```
|
|
56
|
+
*/
|
|
57
|
+
export declare class CostCategory extends pulumi.CustomResource {
|
|
58
|
+
/**
|
|
59
|
+
* Get an existing CostCategory resource's state with the given name, ID, and optional extra
|
|
60
|
+
* properties used to qualify the lookup.
|
|
61
|
+
*
|
|
62
|
+
* @param name The _unique_ name of the resulting resource.
|
|
63
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
64
|
+
* @param state Any extra arguments used during the lookup.
|
|
65
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
66
|
+
*/
|
|
67
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: CostCategoryState, opts?: pulumi.CustomResourceOptions): CostCategory;
|
|
68
|
+
/**
|
|
69
|
+
* Returns true if the given object is an instance of CostCategory. This is designed to work even
|
|
70
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
71
|
+
*/
|
|
72
|
+
static isInstance(obj: any): obj is CostCategory;
|
|
73
|
+
/**
|
|
74
|
+
* ARN of the cost category.
|
|
75
|
+
*/
|
|
76
|
+
readonly arn: pulumi.Output<string>;
|
|
77
|
+
/**
|
|
78
|
+
* Default value for the cost category.
|
|
79
|
+
*/
|
|
80
|
+
readonly defaultValue: pulumi.Output<string | undefined>;
|
|
81
|
+
/**
|
|
82
|
+
* Effective end data of your Cost Category.
|
|
83
|
+
*/
|
|
84
|
+
readonly effectiveEnd: pulumi.Output<string>;
|
|
85
|
+
/**
|
|
86
|
+
* Effective state data of your Cost Category.
|
|
87
|
+
*/
|
|
88
|
+
readonly effectiveStart: pulumi.Output<string>;
|
|
89
|
+
/**
|
|
90
|
+
* Unique name for the Cost Category.
|
|
91
|
+
*/
|
|
92
|
+
readonly name: pulumi.Output<string>;
|
|
93
|
+
/**
|
|
94
|
+
* Rule schema version in this particular Cost Category.
|
|
95
|
+
*/
|
|
96
|
+
readonly ruleVersion: pulumi.Output<string>;
|
|
97
|
+
/**
|
|
98
|
+
* Configuration block for the `Expression` object used to categorize costs. See below.
|
|
99
|
+
*/
|
|
100
|
+
readonly rules: pulumi.Output<outputs.costexplorer.CostCategoryRule[]>;
|
|
101
|
+
/**
|
|
102
|
+
* Configuration block for the split charge rules used to allocate your charges between your Cost Category values. See below.
|
|
103
|
+
*/
|
|
104
|
+
readonly splitChargeRules: pulumi.Output<outputs.costexplorer.CostCategorySplitChargeRule[] | undefined>;
|
|
105
|
+
/**
|
|
106
|
+
* Create a CostCategory resource with the given unique name, arguments, and options.
|
|
107
|
+
*
|
|
108
|
+
* @param name The _unique_ name of the resource.
|
|
109
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
110
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
111
|
+
*/
|
|
112
|
+
constructor(name: string, args: CostCategoryArgs, opts?: pulumi.CustomResourceOptions);
|
|
113
|
+
}
|
|
114
|
+
/**
|
|
115
|
+
* Input properties used for looking up and filtering CostCategory resources.
|
|
116
|
+
*/
|
|
117
|
+
export interface CostCategoryState {
|
|
118
|
+
/**
|
|
119
|
+
* ARN of the cost category.
|
|
120
|
+
*/
|
|
121
|
+
arn?: pulumi.Input<string>;
|
|
122
|
+
/**
|
|
123
|
+
* Default value for the cost category.
|
|
124
|
+
*/
|
|
125
|
+
defaultValue?: pulumi.Input<string>;
|
|
126
|
+
/**
|
|
127
|
+
* Effective end data of your Cost Category.
|
|
128
|
+
*/
|
|
129
|
+
effectiveEnd?: pulumi.Input<string>;
|
|
130
|
+
/**
|
|
131
|
+
* Effective state data of your Cost Category.
|
|
132
|
+
*/
|
|
133
|
+
effectiveStart?: pulumi.Input<string>;
|
|
134
|
+
/**
|
|
135
|
+
* Unique name for the Cost Category.
|
|
136
|
+
*/
|
|
137
|
+
name?: pulumi.Input<string>;
|
|
138
|
+
/**
|
|
139
|
+
* Rule schema version in this particular Cost Category.
|
|
140
|
+
*/
|
|
141
|
+
ruleVersion?: pulumi.Input<string>;
|
|
142
|
+
/**
|
|
143
|
+
* Configuration block for the `Expression` object used to categorize costs. See below.
|
|
144
|
+
*/
|
|
145
|
+
rules?: pulumi.Input<pulumi.Input<inputs.costexplorer.CostCategoryRule>[]>;
|
|
146
|
+
/**
|
|
147
|
+
* Configuration block for the split charge rules used to allocate your charges between your Cost Category values. See below.
|
|
148
|
+
*/
|
|
149
|
+
splitChargeRules?: pulumi.Input<pulumi.Input<inputs.costexplorer.CostCategorySplitChargeRule>[]>;
|
|
150
|
+
}
|
|
151
|
+
/**
|
|
152
|
+
* The set of arguments for constructing a CostCategory resource.
|
|
153
|
+
*/
|
|
154
|
+
export interface CostCategoryArgs {
|
|
155
|
+
/**
|
|
156
|
+
* Default value for the cost category.
|
|
157
|
+
*/
|
|
158
|
+
defaultValue?: pulumi.Input<string>;
|
|
159
|
+
/**
|
|
160
|
+
* Unique name for the Cost Category.
|
|
161
|
+
*/
|
|
162
|
+
name?: pulumi.Input<string>;
|
|
163
|
+
/**
|
|
164
|
+
* Rule schema version in this particular Cost Category.
|
|
165
|
+
*/
|
|
166
|
+
ruleVersion: pulumi.Input<string>;
|
|
167
|
+
/**
|
|
168
|
+
* Configuration block for the `Expression` object used to categorize costs. See below.
|
|
169
|
+
*/
|
|
170
|
+
rules: pulumi.Input<pulumi.Input<inputs.costexplorer.CostCategoryRule>[]>;
|
|
171
|
+
/**
|
|
172
|
+
* Configuration block for the split charge rules used to allocate your charges between your Cost Category values. See below.
|
|
173
|
+
*/
|
|
174
|
+
splitChargeRules?: pulumi.Input<pulumi.Input<inputs.costexplorer.CostCategorySplitChargeRule>[]>;
|
|
175
|
+
}
|