@pulumi/aws 7.12.0-alpha.1763161567 → 7.12.0-alpha.1763660660
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/account.d.ts +0 -2
- package/apigateway/account.js +0 -2
- package/apigateway/account.js.map +1 -1
- package/appsync/graphQLApi.d.ts +45 -0
- package/appsync/graphQLApi.js +45 -0
- package/appsync/graphQLApi.js.map +1 -1
- package/bedrock/agentAgentAlias.d.ts +55 -0
- package/bedrock/agentAgentAlias.js +55 -0
- package/bedrock/agentAgentAlias.js.map +1 -1
- package/bedrock/agentcoreAgentRuntime.d.ts +2 -2
- package/bedrock/agentcoreAgentRuntime.js +2 -2
- package/bedrock/agentcoreBrowser.d.ts +22 -0
- package/bedrock/agentcoreBrowser.js +22 -0
- package/bedrock/agentcoreBrowser.js.map +1 -1
- package/bedrock/agentcoreGatewayTarget.d.ts +117 -3
- package/bedrock/agentcoreGatewayTarget.js +114 -0
- package/bedrock/agentcoreGatewayTarget.js.map +1 -1
- package/bedrock/agentcoreMemory.d.ts +19 -4
- package/bedrock/agentcoreMemory.js +16 -1
- package/bedrock/agentcoreMemory.js.map +1 -1
- package/bedrock/agentcoreOauth2CredentialProvider.d.ts +20 -0
- package/bedrock/agentcoreOauth2CredentialProvider.js +20 -0
- package/bedrock/agentcoreOauth2CredentialProvider.js.map +1 -1
- package/bedrockmodel/invocationLoggingConfiguration.d.ts +1 -1
- package/bedrockmodel/invocationLoggingConfiguration.js +1 -1
- package/cloudfront/distribution.d.ts +8 -0
- package/cloudfront/distribution.js +2 -0
- package/cloudfront/distribution.js.map +1 -1
- package/cloudhsmv2/cluster.d.ts +36 -0
- package/cloudhsmv2/cluster.js +36 -0
- package/cloudhsmv2/cluster.js.map +1 -1
- package/cloudtrail/trail.d.ts +1 -1
- package/cloudtrail/trail.js +1 -1
- package/cloudwatch/contributorManagedInsightRule.d.ts +11 -0
- package/cloudwatch/contributorManagedInsightRule.js +11 -0
- package/cloudwatch/contributorManagedInsightRule.js.map +1 -1
- package/cloudwatch/logDeliveryDestination.d.ts +21 -5
- package/cloudwatch/logDeliveryDestination.js +13 -1
- package/cloudwatch/logDeliveryDestination.js.map +1 -1
- package/codebuild/webhook.d.ts +1 -1
- package/codebuild/webhook.js +1 -1
- package/codepipeline/webhook.d.ts +1 -1
- package/codepipeline/webhook.js +1 -1
- package/connect/routingProfile.d.ts +21 -9
- package/connect/routingProfile.js +17 -5
- package/connect/routingProfile.js.map +1 -1
- package/datasync/locationFsxOntapFileSystem.d.ts +18 -0
- package/datasync/locationFsxOntapFileSystem.js +18 -0
- package/datasync/locationFsxOntapFileSystem.js.map +1 -1
- package/datazone/project.d.ts +13 -0
- package/datazone/project.js +13 -0
- package/datazone/project.js.map +1 -1
- package/detective/organizationConfiguration.d.ts +11 -0
- package/detective/organizationConfiguration.js +11 -0
- package/detective/organizationConfiguration.js.map +1 -1
- package/ec2/allowedImagesSettings.d.ts +124 -0
- package/ec2/allowedImagesSettings.js +106 -0
- package/ec2/allowedImagesSettings.js.map +1 -0
- package/ec2/getCoipPools.d.ts +32 -0
- package/ec2/getCoipPools.js +32 -0
- package/ec2/getCoipPools.js.map +1 -1
- package/ec2/imageBlockPublicAccess.d.ts +12 -0
- package/ec2/imageBlockPublicAccess.js +2 -0
- package/ec2/imageBlockPublicAccess.js.map +1 -1
- package/ec2/index.d.ts +3 -0
- package/ec2/index.js +10 -5
- package/ec2/index.js.map +1 -1
- package/ec2/securityGroup.d.ts +2 -2
- package/ec2/securityGroup.js +2 -2
- package/ec2/serialConsoleAccess.d.ts +12 -0
- package/ec2/serialConsoleAccess.js +2 -0
- package/ec2/serialConsoleAccess.js.map +1 -1
- package/ec2/vpcEndpoint.d.ts +50 -0
- package/ec2/vpcEndpoint.js +50 -0
- package/ec2/vpcEndpoint.js.map +1 -1
- package/ec2clientvpn/authorizationRule.d.ts +3 -3
- package/ec2clientvpn/route.d.ts +3 -3
- package/ec2transitgateway/instanceConnectEndpoint.d.ts +12 -0
- package/ec2transitgateway/instanceConnectEndpoint.js +2 -0
- package/ec2transitgateway/instanceConnectEndpoint.js.map +1 -1
- package/ecrpublic/getImages.d.ts +36 -0
- package/ecrpublic/getImages.js +36 -0
- package/ecrpublic/getImages.js.map +1 -1
- package/ecs/getService.d.ts +94 -3
- package/ecs/getService.js.map +1 -1
- package/ecs/service.d.ts +40 -0
- package/ecs/service.js +40 -0
- package/ecs/service.js.map +1 -1
- package/elasticache/getReplicationGroup.d.ts +12 -8
- package/elasticache/getReplicationGroup.js.map +1 -1
- package/elasticache/replicationGroup.d.ts +47 -0
- package/elasticache/replicationGroup.js +37 -0
- package/elasticache/replicationGroup.js.map +1 -1
- package/elasticache/reservedCacheNode.d.ts +17 -0
- package/elasticache/reservedCacheNode.js +17 -0
- package/elasticache/reservedCacheNode.js.map +1 -1
- package/finspace/kxCluster.d.ts +39 -0
- package/finspace/kxCluster.js +39 -0
- package/finspace/kxCluster.js.map +1 -1
- package/fis/index.d.ts +3 -0
- package/fis/index.js +6 -1
- package/fis/index.js.map +1 -1
- package/fis/targetAccountConfiguration.d.ts +129 -0
- package/fis/targetAccountConfiguration.js +90 -0
- package/fis/targetAccountConfiguration.js.map +1 -0
- package/glue/job.d.ts +3 -3
- package/guardduty/malwareProtectionPlan.d.ts +26 -0
- package/guardduty/malwareProtectionPlan.js +26 -0
- package/guardduty/malwareProtectionPlan.js.map +1 -1
- package/guardduty/memberDetectorFeature.d.ts +23 -0
- package/guardduty/memberDetectorFeature.js +23 -0
- package/guardduty/memberDetectorFeature.js.map +1 -1
- package/index.d.ts +4 -1
- package/index.js +10 -3
- package/index.js.map +1 -1
- package/invoicing/index.d.ts +3 -0
- package/invoicing/index.js +22 -0
- package/invoicing/index.js.map +1 -0
- package/invoicing/invoiceUnit.d.ts +195 -0
- package/invoicing/invoiceUnit.js +102 -0
- package/invoicing/invoiceUnit.js.map +1 -0
- package/iot/caCertificate.d.ts +6 -6
- package/iot/caCertificate.js +6 -6
- package/iot/getRegistrationCode.d.ts +6 -6
- package/iot/getRegistrationCode.js +6 -6
- package/ivschat/loggingConfiguration.d.ts +15 -0
- package/ivschat/loggingConfiguration.js +15 -0
- package/ivschat/loggingConfiguration.js.map +1 -1
- package/kinesis/getStream.d.ts +4 -0
- package/kinesis/getStream.js.map +1 -1
- package/kinesis/stream.d.ts +12 -0
- package/kinesis/stream.js +2 -0
- package/kinesis/stream.js.map +1 -1
- package/kms/key.d.ts +3 -3
- package/licensemanager/licenseGrant.d.ts +19 -0
- package/licensemanager/licenseGrant.js +19 -0
- package/licensemanager/licenseGrant.js.map +1 -1
- package/m2/environment.d.ts +79 -0
- package/m2/environment.js +79 -0
- package/m2/environment.js.map +1 -1
- package/networkfirewall/tlsInspectionConfiguration.d.ts +44 -0
- package/networkfirewall/tlsInspectionConfiguration.js +44 -0
- package/networkfirewall/tlsInspectionConfiguration.js.map +1 -1
- package/networkflowmonitor/index.d.ts +6 -0
- package/networkflowmonitor/index.js +27 -0
- package/networkflowmonitor/index.js.map +1 -0
- package/networkflowmonitor/monitor.d.ts +187 -0
- package/networkflowmonitor/monitor.js +113 -0
- package/networkflowmonitor/monitor.js.map +1 -0
- package/networkflowmonitor/scope.d.ts +153 -0
- package/networkflowmonitor/scope.js +97 -0
- package/networkflowmonitor/scope.js.map +1 -0
- package/observabilityadmin/centralizationRuleForOrganization.d.ts +246 -0
- package/observabilityadmin/centralizationRuleForOrganization.js +189 -0
- package/observabilityadmin/centralizationRuleForOrganization.js.map +1 -0
- package/observabilityadmin/index.d.ts +3 -0
- package/observabilityadmin/index.js +22 -0
- package/observabilityadmin/index.js.map +1 -0
- package/opensearch/authorizeVpcEndpointAccess.d.ts +2 -2
- package/opensearch/authorizeVpcEndpointAccess.js +2 -2
- package/opensearch/domain.d.ts +21 -0
- package/opensearch/domain.js +2 -0
- package/opensearch/domain.js.map +1 -1
- package/opensearch/getDomain.d.ts +5 -10
- package/opensearch/getDomain.js +0 -2
- package/opensearch/getDomain.js.map +1 -1
- package/opensearchingest/pipeline.d.ts +1 -1
- package/opensearchingest/pipeline.js +1 -1
- package/organizations/getPolicies.d.ts +2 -2
- package/organizations/getPoliciesForTarget.d.ts +2 -2
- package/organizations/getPolicy.d.ts +1 -1
- package/organizations/organization.d.ts +3 -3
- package/organizations/policy.d.ts +15 -3
- package/organizations/policy.js.map +1 -1
- package/package.json +2 -2
- package/quicksight/analysis.d.ts +55 -0
- package/quicksight/analysis.js +55 -0
- package/quicksight/analysis.js.map +1 -1
- package/quicksight/dashboard.d.ts +56 -0
- package/quicksight/dashboard.js +56 -0
- package/quicksight/dashboard.js.map +1 -1
- package/quicksight/dataSource.d.ts +1 -1
- package/quicksight/dataSource.js +1 -1
- package/quicksight/template.d.ts +64 -0
- package/quicksight/template.js +64 -0
- package/quicksight/template.js.map +1 -1
- package/redshift/clusterSnapshot.d.ts +14 -0
- package/redshift/clusterSnapshot.js +14 -0
- package/redshift/clusterSnapshot.js.map +1 -1
- package/redshift/getCluster.d.ts +58 -0
- package/redshift/getCluster.js +58 -0
- package/redshift/getCluster.js.map +1 -1
- package/redshift/snapshotCopyGrant.d.ts +11 -0
- package/redshift/snapshotCopyGrant.js +11 -0
- package/redshift/snapshotCopyGrant.js.map +1 -1
- package/route53/profilesAssociation.d.ts +16 -0
- package/route53/profilesAssociation.js +16 -0
- package/route53/profilesAssociation.js.map +1 -1
- package/route53/profilesResourceAssociation.d.ts +19 -0
- package/route53/profilesResourceAssociation.js +19 -0
- package/route53/profilesResourceAssociation.js.map +1 -1
- package/s3control/multiRegionAccessPointPolicy.d.ts +39 -0
- package/s3control/multiRegionAccessPointPolicy.js +39 -0
- package/s3control/multiRegionAccessPointPolicy.js.map +1 -1
- package/s3tables/table.d.ts +30 -0
- package/s3tables/table.js +4 -0
- package/s3tables/table.js.map +1 -1
- package/s3tables/tableBucket.d.ts +30 -0
- package/s3tables/tableBucket.js +4 -0
- package/s3tables/tableBucket.js.map +1 -1
- package/sagemaker/endpointConfiguration.d.ts +40 -28
- package/sagemaker/endpointConfiguration.js +2 -0
- package/sagemaker/endpointConfiguration.js.map +1 -1
- package/ssmincidents/getResponsePlan.d.ts +14 -0
- package/ssmincidents/getResponsePlan.js +14 -0
- package/ssmincidents/getResponsePlan.js.map +1 -1
- package/ssoadmin/accountAssignment.d.ts +2 -2
- package/ssoadmin/accountAssignment.js +2 -2
- package/transfer/profile.d.ts +11 -0
- package/transfer/profile.js +11 -0
- package/transfer/profile.js.map +1 -1
- package/transfer/server.d.ts +3 -0
- package/transfer/server.js.map +1 -1
- package/transfer/sshKey.d.ts +3 -3
- package/transfer/sshKey.js +3 -3
- package/types/input.d.ts +462 -140
- package/types/input.js.map +1 -1
- package/types/output.d.ts +779 -95
- package/types/output.js.map +1 -1
- package/wafv2/ruleGroup.d.ts +223 -0
- package/wafv2/ruleGroup.js +223 -0
- package/wafv2/ruleGroup.js.map +1 -1
- package/workspacesweb/sessionLoggerAssociation.d.ts +47 -0
- package/workspacesweb/sessionLoggerAssociation.js +47 -0
- package/workspacesweb/sessionLoggerAssociation.js.map +1 -1
- package/workspacesweb/trustStoreAssociation.d.ts +17 -0
- package/workspacesweb/trustStoreAssociation.js +17 -0
- package/workspacesweb/trustStoreAssociation.js.map +1 -1
|
@@ -6,6 +6,32 @@ import * as outputs from "../types/output";
|
|
|
6
6
|
*
|
|
7
7
|
* ## Example Usage
|
|
8
8
|
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as aws from "@pulumi/aws";
|
|
12
|
+
*
|
|
13
|
+
* const example = new aws.guardduty.MalwareProtectionPlan("example", {
|
|
14
|
+
* role: exampleAwsIamRole.arn,
|
|
15
|
+
* protectedResource: {
|
|
16
|
+
* s3Bucket: {
|
|
17
|
+
* bucketName: exampleAwsS3Bucket.id,
|
|
18
|
+
* objectPrefixes: [
|
|
19
|
+
* "example1",
|
|
20
|
+
* "example2",
|
|
21
|
+
* ],
|
|
22
|
+
* },
|
|
23
|
+
* },
|
|
24
|
+
* actions: [{
|
|
25
|
+
* tagging: [{
|
|
26
|
+
* status: "ENABLED",
|
|
27
|
+
* }],
|
|
28
|
+
* }],
|
|
29
|
+
* tags: {
|
|
30
|
+
* Name: "example",
|
|
31
|
+
* },
|
|
32
|
+
* });
|
|
33
|
+
* ```
|
|
34
|
+
*
|
|
9
35
|
* ## Import
|
|
10
36
|
*
|
|
11
37
|
* Using `pulumi import`, import GuardDuty malware protection plans using their IDs. For example:
|
|
@@ -10,6 +10,32 @@ const utilities = require("../utilities");
|
|
|
10
10
|
*
|
|
11
11
|
* ## Example Usage
|
|
12
12
|
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as aws from "@pulumi/aws";
|
|
16
|
+
*
|
|
17
|
+
* const example = new aws.guardduty.MalwareProtectionPlan("example", {
|
|
18
|
+
* role: exampleAwsIamRole.arn,
|
|
19
|
+
* protectedResource: {
|
|
20
|
+
* s3Bucket: {
|
|
21
|
+
* bucketName: exampleAwsS3Bucket.id,
|
|
22
|
+
* objectPrefixes: [
|
|
23
|
+
* "example1",
|
|
24
|
+
* "example2",
|
|
25
|
+
* ],
|
|
26
|
+
* },
|
|
27
|
+
* },
|
|
28
|
+
* actions: [{
|
|
29
|
+
* tagging: [{
|
|
30
|
+
* status: "ENABLED",
|
|
31
|
+
* }],
|
|
32
|
+
* }],
|
|
33
|
+
* tags: {
|
|
34
|
+
* Name: "example",
|
|
35
|
+
* },
|
|
36
|
+
* });
|
|
37
|
+
* ```
|
|
38
|
+
*
|
|
13
39
|
* ## Import
|
|
14
40
|
*
|
|
15
41
|
* Using `pulumi import`, import GuardDuty malware protection plans using their IDs. For example:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"malwareProtectionPlan.js","sourceRoot":"","sources":["../../guardduty/malwareProtectionPlan.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"malwareProtectionPlan.js","sourceRoot":"","sources":["../../guardduty/malwareProtectionPlan.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,MAAa,qBAAsB,SAAQ,MAAM,CAAC,cAAc;IAC5D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAkC,EAAE,IAAmC;QAChI,OAAO,IAAI,qBAAqB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC5E,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,qBAAqB,CAAC,YAAY,CAAC;IACtE,CAAC;IA4CD,YAAY,IAAY,EAAE,WAAoE,EAAE,IAAmC;QAC/H,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAqD,CAAC;YACpE,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,EAAE,OAAO,CAAC;YAC3C,cAAc,CAAC,KAAK,CAAC,GAAG,KAAK,EAAE,GAAG,CAAC;YACnC,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,EAAE,SAAS,CAAC;YAC/C,cAAc,CAAC,mB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I,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC1E,CAAC;;AArGL,sDAsGC;AAxFG,gBAAgB;AACO,kCAAY,GAAG,2DAA2D,CAAC"}
|
|
@@ -24,6 +24,29 @@ import * as outputs from "../types/output";
|
|
|
24
24
|
* ## Extended Threat Detection for EKS
|
|
25
25
|
*
|
|
26
26
|
* To enable GuardDuty [Extended Threat Detection](https://docs.aws.amazon.com/guardduty/latest/ug/guardduty-extended-threat-detection.html) for EKS, you need at least one of these features enabled: [EKS Protection](https://docs.aws.amazon.com/guardduty/latest/ug/kubernetes-protection.html) or [Runtime Monitoring](https://docs.aws.amazon.com/guardduty/latest/ug/runtime-monitoring-configuration.html). For maximum detection coverage, enabling both is recommended to enhance detection capabilities.
|
|
27
|
+
*
|
|
28
|
+
* ```typescript
|
|
29
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
30
|
+
* import * as aws from "@pulumi/aws";
|
|
31
|
+
*
|
|
32
|
+
* const example = new aws.guardduty.Detector("example", {enable: true});
|
|
33
|
+
* const eksProtection = new aws.guardduty.DetectorFeature("eks_protection", {
|
|
34
|
+
* detectorId: example.id,
|
|
35
|
+
* accountId: "123456789012",
|
|
36
|
+
* name: "EKS_AUDIT_LOGS",
|
|
37
|
+
* status: "ENABLED",
|
|
38
|
+
* });
|
|
39
|
+
* const eksRuntimeMonitoring = new aws.guardduty.DetectorFeature("eks_runtime_monitoring", {
|
|
40
|
+
* detectorId: example.id,
|
|
41
|
+
* accountId: "123456789012",
|
|
42
|
+
* name: "EKS_RUNTIME_MONITORING",
|
|
43
|
+
* status: "ENABLED",
|
|
44
|
+
* additionalConfigurations: [{
|
|
45
|
+
* name: "EKS_ADDON_MANAGEMENT",
|
|
46
|
+
* status: "ENABLED",
|
|
47
|
+
* }],
|
|
48
|
+
* });
|
|
49
|
+
* ```
|
|
27
50
|
*/
|
|
28
51
|
export declare class MemberDetectorFeature extends pulumi.CustomResource {
|
|
29
52
|
/**
|
|
@@ -28,6 +28,29 @@ const utilities = require("../utilities");
|
|
|
28
28
|
* ## Extended Threat Detection for EKS
|
|
29
29
|
*
|
|
30
30
|
* To enable GuardDuty [Extended Threat Detection](https://docs.aws.amazon.com/guardduty/latest/ug/guardduty-extended-threat-detection.html) for EKS, you need at least one of these features enabled: [EKS Protection](https://docs.aws.amazon.com/guardduty/latest/ug/kubernetes-protection.html) or [Runtime Monitoring](https://docs.aws.amazon.com/guardduty/latest/ug/runtime-monitoring-configuration.html). For maximum detection coverage, enabling both is recommended to enhance detection capabilities.
|
|
31
|
+
*
|
|
32
|
+
* ```typescript
|
|
33
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
34
|
+
* import * as aws from "@pulumi/aws";
|
|
35
|
+
*
|
|
36
|
+
* const example = new aws.guardduty.Detector("example", {enable: true});
|
|
37
|
+
* const eksProtection = new aws.guardduty.DetectorFeature("eks_protection", {
|
|
38
|
+
* detectorId: example.id,
|
|
39
|
+
* accountId: "123456789012",
|
|
40
|
+
* name: "EKS_AUDIT_LOGS",
|
|
41
|
+
* status: "ENABLED",
|
|
42
|
+
* });
|
|
43
|
+
* const eksRuntimeMonitoring = new aws.guardduty.DetectorFeature("eks_runtime_monitoring", {
|
|
44
|
+
* detectorId: example.id,
|
|
45
|
+
* accountId: "123456789012",
|
|
46
|
+
* name: "EKS_RUNTIME_MONITORING",
|
|
47
|
+
* status: "ENABLED",
|
|
48
|
+
* additionalConfigurations: [{
|
|
49
|
+
* name: "EKS_ADDON_MANAGEMENT",
|
|
50
|
+
* status: "ENABLED",
|
|
51
|
+
* }],
|
|
52
|
+
* });
|
|
53
|
+
* ```
|
|
31
54
|
*/
|
|
32
55
|
class MemberDetectorFeature extends pulumi.CustomResource {
|
|
33
56
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"memberDetectorFeature.js","sourceRoot":"","sources":["../../guardduty/memberDetectorFeature.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAy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";
|
|
|
153
153
|
import * as imagebuilder from "./imagebuilder";
|
|
154
154
|
import * as inspector from "./inspector";
|
|
155
155
|
import * as inspector2 from "./inspector2";
|
|
156
|
+
import * as invoicing from "./invoicing";
|
|
156
157
|
import * as iot from "./iot";
|
|
157
158
|
import * as ivs from "./ivs";
|
|
158
159
|
import * as ivschat from "./ivschat";
|
|
@@ -184,10 +185,12 @@ import * as mwaa from "./mwaa";
|
|
|
184
185
|
import * as neptune from "./neptune";
|
|
185
186
|
import * as neptunegraph from "./neptunegraph";
|
|
186
187
|
import * as networkfirewall from "./networkfirewall";
|
|
188
|
+
import * as networkflowmonitor from "./networkflowmonitor";
|
|
187
189
|
import * as networkmanager from "./networkmanager";
|
|
188
190
|
import * as networkmonitor from "./networkmonitor";
|
|
189
191
|
import * as notifications from "./notifications";
|
|
190
192
|
import * as oam from "./oam";
|
|
193
|
+
import * as observabilityadmin from "./observabilityadmin";
|
|
191
194
|
import * as odb from "./odb";
|
|
192
195
|
import * as opensearch from "./opensearch";
|
|
193
196
|
import * as opensearchingest from "./opensearchingest";
|
|
@@ -263,4 +266,4 @@ import * as wafv2 from "./wafv2";
|
|
|
263
266
|
import * as workspaces from "./workspaces";
|
|
264
267
|
import * as workspacesweb from "./workspacesweb";
|
|
265
268
|
import * as xray from "./xray";
|
|
266
|
-
export { accessanalyzer, account, acm, acmpca, alb, amp, amplify, apigateway, apigatewayv2, appautoscaling, appconfig, appfabric, appflow, appintegrations, applicationinsights, applicationloadbalancing, appmesh, apprunner, appstream, appsync, athena, auditmanager, autoscaling, autoscalingplans, backup, batch, bcmdata, bedrock, bedrockfoundation, bedrockmodel, billing, budgets, cfg, chatbot, chime, chimesdkmediapipelines, cleanrooms, cloud9, cloudcontrol, cloudformation, cloudfront, cloudhsmv2, cloudsearch, cloudtrail, cloudwatch, codeartifact, codebuild, codecatalyst, codecommit, codeconnections, codedeploy, codeguruprofiler, codegurureviewer, codepipeline, codestarconnections, codestarnotifications, cognito, comprehend, computeoptimizer, config, connect, controltower, costexplorer, costoptimizationhub, cur, customerprofiles, dataexchange, datapipeline, datasync, datazone, dax, detective, devicefarm, devopsguru, directconnect, directoryservice, dlm, dms, docdb, drs, dsql, dynamodb, ebs, ec2, ec2clientvpn, ec2transitgateway, ecr, ecrpublic, ecs, efs, eks, elasticache, elasticbeanstalk, elasticsearch, elastictranscoder, elb, emr, emrcontainers, emrserverless, evidently, finspace, fis, fms, fsx, gamelift, glacier, globalaccelerator, glue, grafana, guardduty, iam, identitystore, imagebuilder, inspector, inspector2, iot, ivs, ivschat, kendra, keyspaces, kinesis, kinesisanalyticsv2, kms, lakeformation, lambda, lb, lex, licensemanager, lightsail, location, m2, macie, macie2, mediaconvert, medialive, mediapackage, mediapackagev2, mediastore, memorydb, mq, msk, mskconnect, mwaa, neptune, neptunegraph, networkfirewall, networkmanager, networkmonitor, notifications, oam, odb, opensearch, opensearchingest, organizations, outposts, paymentcryptography, pinpoint, pipes, polly, pricing, qbusiness, qldb, quicksight, ram, rbin, rds, redshift, redshiftdata, redshiftserverless, rekognition, resiliencehub, resourceexplorer, resourcegroups, resourcegroupstaggingapi, rolesanywhere, route53, route53domains, route53recoverycontrol, route53recoveryreadiness, rum, s3, s3control, s3outposts, s3tables, sagemaker, scheduler, schemas, secretsmanager, securityhub, securitylake, serverlessrepository, servicecatalog, servicediscovery, servicequotas, ses, sesv2, sfn, shield, signer, sns, sqs, ssm, ssmcontacts, ssmincidents, ssoadmin, storagegateway, swf, synthetics, timestreaminfluxdb, timestreamquery, timestreamwrite, transcribe, transfer, types, verifiedaccess, verifiedpermissions, vpc, vpclattice, vpn, waf, wafregional, wafv2, workspaces, workspacesweb, xray, };
|
|
269
|
+
export { accessanalyzer, account, acm, acmpca, alb, amp, amplify, apigateway, apigatewayv2, appautoscaling, appconfig, appfabric, appflow, appintegrations, applicationinsights, applicationloadbalancing, appmesh, apprunner, appstream, appsync, athena, auditmanager, autoscaling, autoscalingplans, backup, batch, bcmdata, bedrock, bedrockfoundation, bedrockmodel, billing, budgets, cfg, chatbot, chime, chimesdkmediapipelines, cleanrooms, cloud9, cloudcontrol, cloudformation, cloudfront, cloudhsmv2, cloudsearch, cloudtrail, cloudwatch, codeartifact, codebuild, codecatalyst, codecommit, codeconnections, codedeploy, codeguruprofiler, codegurureviewer, codepipeline, codestarconnections, codestarnotifications, cognito, comprehend, computeoptimizer, config, connect, controltower, costexplorer, costoptimizationhub, cur, customerprofiles, dataexchange, datapipeline, datasync, datazone, dax, detective, devicefarm, devopsguru, directconnect, directoryservice, dlm, dms, docdb, drs, dsql, dynamodb, ebs, ec2, ec2clientvpn, ec2transitgateway, ecr, ecrpublic, ecs, efs, eks, elasticache, elasticbeanstalk, elasticsearch, elastictranscoder, elb, emr, emrcontainers, emrserverless, evidently, finspace, fis, fms, fsx, gamelift, glacier, globalaccelerator, glue, grafana, guardduty, iam, identitystore, imagebuilder, inspector, inspector2, invoicing, iot, ivs, ivschat, kendra, keyspaces, kinesis, kinesisanalyticsv2, kms, lakeformation, lambda, lb, lex, licensemanager, lightsail, location, m2, macie, macie2, mediaconvert, medialive, mediapackage, mediapackagev2, mediastore, memorydb, mq, msk, mskconnect, mwaa, neptune, neptunegraph, networkfirewall, networkflowmonitor, networkmanager, networkmonitor, notifications, oam, observabilityadmin, odb, opensearch, opensearchingest, organizations, outposts, paymentcryptography, pinpoint, pipes, polly, pricing, qbusiness, qldb, quicksight, ram, rbin, rds, redshift, redshiftdata, redshiftserverless, rekognition, resiliencehub, resourceexplorer, resourcegroups, resourcegroupstaggingapi, rolesanywhere, route53, route53domains, route53recoverycontrol, route53recoveryreadiness, rum, s3, s3control, s3outposts, s3tables, sagemaker, scheduler, schemas, secretsmanager, securityhub, securitylake, serverlessrepository, servicecatalog, servicediscovery, servicequotas, ses, sesv2, sfn, shield, signer, sns, sqs, ssm, ssmcontacts, ssmincidents, ssoadmin, storagegateway, swf, synthetics, timestreaminfluxdb, timestreamquery, timestreamwrite, transcribe, transfer, types, verifiedaccess, verifiedpermissions, vpc, vpclattice, vpn, waf, wafregional, wafv2, workspaces, workspacesweb, xray, };
|
package/index.js
CHANGED
|
@@ -18,9 +18,10 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
18
18
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19
19
|
exports.batch = exports.backup = exports.autoscalingplans = exports.autoscaling = exports.auditmanager = exports.athena = exports.appsync = exports.appstream = exports.apprunner = exports.appmesh = exports.applicationloadbalancing = exports.applicationinsights = exports.appintegrations = exports.appflow = exports.appfabric = exports.appconfig = exports.appautoscaling = exports.apigatewayv2 = exports.apigateway = exports.amplify = exports.amp = exports.alb = exports.acmpca = exports.acm = exports.account = exports.accessanalyzer = exports.getServicePrincipalOutput = exports.getServicePrincipal = exports.getServiceOutput = exports.getService = exports.getRegionsOutput = exports.getRegions = exports.getRegionOutput = exports.getRegion = exports.getPartitionOutput = exports.getPartition = exports.getIpRangesOutput = exports.getIpRanges = exports.getDefaultTagsOutput = exports.getDefaultTags = exports.getCallerIdentityOutput = exports.getCallerIdentity = exports.getBillingServiceAccountOutput = exports.getBillingServiceAccount = exports.getAvailabilityZonesOutput = exports.getAvailabilityZones = exports.getAvailabilityZoneOutput = exports.getAvailabilityZone = exports.getArnOutput = exports.getArn = void 0;
|
|
20
20
|
exports.directoryservice = exports.directconnect = exports.devopsguru = exports.devicefarm = exports.detective = exports.dax = exports.datazone = exports.datasync = exports.datapipeline = exports.dataexchange = exports.customerprofiles = exports.cur = exports.costoptimizationhub = exports.costexplorer = exports.controltower = exports.connect = exports.config = exports.computeoptimizer = exports.comprehend = exports.cognito = exports.codestarnotifications = exports.codestarconnections = exports.codepipeline = exports.codegurureviewer = exports.codeguruprofiler = exports.codedeploy = exports.codeconnections = exports.codecommit = exports.codecatalyst = exports.codebuild = exports.codeartifact = exports.cloudwatch = exports.cloudtrail = exports.cloudsearch = exports.cloudhsmv2 = exports.cloudfront = exports.cloudformation = exports.cloudcontrol = exports.cloud9 = exports.cleanrooms = exports.chimesdkmediapipelines = exports.chime = exports.chatbot = exports.cfg = exports.budgets = exports.billing = exports.bedrockmodel = exports.bedrockfoundation = exports.bedrock = exports.bcmdata = void 0;
|
|
21
|
-
exports.
|
|
22
|
-
exports.
|
|
23
|
-
exports.
|
|
21
|
+
exports.lambda = exports.lakeformation = exports.kms = exports.kinesisanalyticsv2 = exports.kinesis = exports.keyspaces = exports.kendra = exports.ivschat = exports.ivs = exports.iot = exports.invoicing = exports.inspector2 = exports.inspector = exports.imagebuilder = exports.identitystore = exports.iam = exports.guardduty = exports.grafana = exports.glue = exports.globalaccelerator = exports.glacier = exports.gamelift = exports.fsx = exports.fms = exports.fis = exports.finspace = exports.evidently = exports.emrserverless = exports.emrcontainers = exports.emr = exports.elb = exports.elastictranscoder = exports.elasticsearch = exports.elasticbeanstalk = exports.elasticache = exports.eks = exports.efs = exports.ecs = exports.ecrpublic = exports.ecr = exports.ec2transitgateway = exports.ec2clientvpn = exports.ec2 = exports.ebs = exports.dynamodb = exports.dsql = exports.drs = exports.docdb = exports.dms = exports.dlm = void 0;
|
|
22
|
+
exports.resourcegroups = exports.resourceexplorer = exports.resiliencehub = exports.rekognition = exports.redshiftserverless = exports.redshiftdata = exports.redshift = exports.rds = exports.rbin = exports.ram = exports.quicksight = exports.qldb = exports.qbusiness = exports.pricing = exports.polly = exports.pipes = exports.pinpoint = exports.paymentcryptography = exports.outposts = exports.organizations = exports.opensearchingest = exports.opensearch = exports.odb = exports.observabilityadmin = exports.oam = exports.notifications = exports.networkmonitor = exports.networkmanager = exports.networkflowmonitor = exports.networkfirewall = exports.neptunegraph = exports.neptune = exports.mwaa = exports.mskconnect = exports.msk = exports.mq = exports.memorydb = exports.mediastore = exports.mediapackagev2 = exports.mediapackage = exports.medialive = exports.mediaconvert = exports.macie2 = exports.macie = exports.m2 = exports.location = exports.lightsail = exports.licensemanager = exports.lex = exports.lb = void 0;
|
|
23
|
+
exports.workspaces = exports.wafv2 = exports.wafregional = exports.waf = exports.vpn = exports.vpclattice = exports.vpc = exports.verifiedpermissions = exports.verifiedaccess = exports.types = exports.transfer = exports.transcribe = exports.timestreamwrite = exports.timestreamquery = exports.timestreaminfluxdb = exports.synthetics = exports.swf = exports.storagegateway = exports.ssoadmin = exports.ssmincidents = exports.ssmcontacts = exports.ssm = exports.sqs = exports.sns = exports.signer = exports.shield = exports.sfn = exports.sesv2 = exports.ses = exports.servicequotas = exports.servicediscovery = exports.servicecatalog = exports.serverlessrepository = exports.securitylake = exports.securityhub = exports.secretsmanager = exports.schemas = exports.scheduler = exports.sagemaker = exports.s3tables = exports.s3outposts = exports.s3control = exports.s3 = exports.rum = exports.route53recoveryreadiness = exports.route53recoverycontrol = exports.route53domains = exports.route53 = exports.rolesanywhere = exports.resourcegroupstaggingapi = void 0;
|
|
24
|
+
exports.xray = exports.workspacesweb = void 0;
|
|
24
25
|
const pulumi = require("@pulumi/pulumi");
|
|
25
26
|
const utilities = require("./utilities");
|
|
26
27
|
exports.getArn = null;
|
|
@@ -296,6 +297,8 @@ const inspector = require("./inspector");
|
|
|
296
297
|
exports.inspector = inspector;
|
|
297
298
|
const inspector2 = require("./inspector2");
|
|
298
299
|
exports.inspector2 = inspector2;
|
|
300
|
+
const invoicing = require("./invoicing");
|
|
301
|
+
exports.invoicing = invoicing;
|
|
299
302
|
const iot = require("./iot");
|
|
300
303
|
exports.iot = iot;
|
|
301
304
|
const ivs = require("./ivs");
|
|
@@ -358,6 +361,8 @@ const neptunegraph = require("./neptunegraph");
|
|
|
358
361
|
exports.neptunegraph = neptunegraph;
|
|
359
362
|
const networkfirewall = require("./networkfirewall");
|
|
360
363
|
exports.networkfirewall = networkfirewall;
|
|
364
|
+
const networkflowmonitor = require("./networkflowmonitor");
|
|
365
|
+
exports.networkflowmonitor = networkflowmonitor;
|
|
361
366
|
const networkmanager = require("./networkmanager");
|
|
362
367
|
exports.networkmanager = networkmanager;
|
|
363
368
|
const networkmonitor = require("./networkmonitor");
|
|
@@ -366,6 +371,8 @@ const notifications = require("./notifications");
|
|
|
366
371
|
exports.notifications = notifications;
|
|
367
372
|
const oam = require("./oam");
|
|
368
373
|
exports.oam = oam;
|
|
374
|
+
const observabilityadmin = require("./observabilityadmin");
|
|
375
|
+
exports.observabilityadmin = observabilityadmin;
|
|
369
376
|
const odb = require("./odb");
|
|
370
377
|
exports.odb = odb;
|
|
371
378
|
const opensearch = require("./opensearch");
|
package/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAI5B,QAAA,MAAM,GAAqC,IAAW,CAAC;AACvD,QAAA,YAAY,GAA2C,IAAW,CAAC;AAChF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAC,cAAc,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC;AAGrE,QAAA,mBAAmB,GAA+D,IAAW,CAAC;AAC9F,QAAA,yBAAyB,GAAqE,IAAW,CAAC;AACvH,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,qBAAqB,EAAC,2BAA2B,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,uBAAuB,CAAC,CAAC,CAAC;AAG5G,QAAA,oBAAoB,GAAiE,IAAW,CAAC;AACjG,QAAA,0BAA0B,GAAuE,IAAW,CAAC;AAC1H,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,sBAAsB,EAAC,4BAA4B,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,wBAAwB,CAAC,CAAC,CAAC;AAG/G,QAAA,wBAAwB,GAAyE,IAAW,CAAC;AAC7G,QAAA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C,gCAAU;AArOd,uCAAuC;AAsOnC,4BAAQ;AArOZ,iCAAiC;AAsO7B,sBAAK;AArOT,mDAAmD;AAsO/C,wCAAc;AArOlB,6DAA6D;AAsOzD,kDAAmB;AArOvB,6BAA6B;AAsOzB,kBAAG;AArOP,2CAA2C;AAsOvC,gCAAU;AArOd,6BAA6B;AAsOzB,kBAAG;AArOP,6BAA6B;AAsOzB,kBAAG;AArOP,6CAA6C;AAsOzC,kCAAW;AArOf,iCAAiC;AAsO7B,sBAAK;AArOT,2CAA2C;AAsOvC,gCAAU;AArOd,iDAAiD;AAsO7C,sCAAa;AArOjB,+BAA+B;AAsO3B,oBAAI;AAER,MAAM,CAAC,OAAO,CAAC,uBAAuB,CAAC,KAAK,EAAE;IAC1C,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,iBAAiB,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAA2B,EAAE;QACpF,IAAI,IAAI,KAAK,sBAAsB,EAAE;YACjC,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACpD;QACD,OAAO,IAAI,mBAAQ,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC;IACvD,CAAC;CACJ,CAAC,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
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.InvoiceUnit = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
exports.InvoiceUnit = null;
|
|
9
|
+
utilities.lazyLoad(exports, ["InvoiceUnit"], () => require("./invoiceUnit"));
|
|
10
|
+
const _module = {
|
|
11
|
+
version: utilities.getVersion(),
|
|
12
|
+
construct: (name, type, urn) => {
|
|
13
|
+
switch (type) {
|
|
14
|
+
case "aws:invoicing/invoiceUnit:InvoiceUnit":
|
|
15
|
+
return new exports.InvoiceUnit(name, undefined, { urn });
|
|
16
|
+
default:
|
|
17
|
+
throw new Error(`unknown resource type ${type}`);
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
};
|
|
21
|
+
pulumi.runtime.registerResourceModule("aws", "invoicing/invoiceUnit", _module);
|
|
22
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../invoicing/index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAK7B,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,uCAAuC;gBACxC,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,uBAAuB,EAAE,OAAO,CAAC,CAAA"}
|
|
@@ -0,0 +1,195 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Manages an AWS Invoice Unit for organizational billing.
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as aws from "@pulumi/aws";
|
|
12
|
+
*
|
|
13
|
+
* const example = new aws.invoicing.InvoiceUnit("example", {
|
|
14
|
+
* name: "example-unit",
|
|
15
|
+
* description: "Example invoice unit",
|
|
16
|
+
* invoiceReceiver: "123456789012",
|
|
17
|
+
* rules: [{
|
|
18
|
+
* linkedAccounts: ["098765432109"],
|
|
19
|
+
* }],
|
|
20
|
+
* tags: {
|
|
21
|
+
* Environment: "production",
|
|
22
|
+
* },
|
|
23
|
+
* });
|
|
24
|
+
* ```
|
|
25
|
+
*
|
|
26
|
+
* ## Import
|
|
27
|
+
*
|
|
28
|
+
* Using `pulumi import`, import Invoice Units using the ARN. For example:
|
|
29
|
+
*
|
|
30
|
+
* ```sh
|
|
31
|
+
* $ pulumi import aws:invoicing/invoiceUnit:InvoiceUnit example arn:aws:invoicing::123456789012:invoice-unit/example-id
|
|
32
|
+
* ```
|
|
33
|
+
*/
|
|
34
|
+
export declare class InvoiceUnit extends pulumi.CustomResource {
|
|
35
|
+
/**
|
|
36
|
+
* Get an existing InvoiceUnit resource's state with the given name, ID, and optional extra
|
|
37
|
+
* properties used to qualify the lookup.
|
|
38
|
+
*
|
|
39
|
+
* @param name The _unique_ name of the resulting resource.
|
|
40
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
41
|
+
* @param state Any extra arguments used during the lookup.
|
|
42
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
43
|
+
*/
|
|
44
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: InvoiceUnitState, opts?: pulumi.CustomResourceOptions): InvoiceUnit;
|
|
45
|
+
/**
|
|
46
|
+
* Returns true if the given object is an instance of InvoiceUnit. This is designed to work even
|
|
47
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
48
|
+
*/
|
|
49
|
+
static isInstance(obj: any): obj is InvoiceUnit;
|
|
50
|
+
/**
|
|
51
|
+
* ARN of the invoice unit.
|
|
52
|
+
*/
|
|
53
|
+
readonly arn: pulumi.Output<string>;
|
|
54
|
+
/**
|
|
55
|
+
* Description of the invoice unit.
|
|
56
|
+
*/
|
|
57
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
58
|
+
/**
|
|
59
|
+
* AWS account ID that receives invoices for this unit. Cannot be changed after creation.
|
|
60
|
+
*/
|
|
61
|
+
readonly invoiceReceiver: pulumi.Output<string>;
|
|
62
|
+
/**
|
|
63
|
+
* Timestamp when the invoice unit was last modified.
|
|
64
|
+
*/
|
|
65
|
+
readonly lastModified: pulumi.Output<string>;
|
|
66
|
+
/**
|
|
67
|
+
* Unique name of the invoice unit. Cannot be changed after creation.
|
|
68
|
+
*/
|
|
69
|
+
readonly name: pulumi.Output<string>;
|
|
70
|
+
/**
|
|
71
|
+
* 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.
|
|
72
|
+
*/
|
|
73
|
+
readonly region: pulumi.Output<string>;
|
|
74
|
+
/**
|
|
75
|
+
* Configuration block for invoice unit rules. See below.
|
|
76
|
+
*
|
|
77
|
+
* The following arguments are optional:
|
|
78
|
+
*/
|
|
79
|
+
readonly rules: pulumi.Output<outputs.invoicing.InvoiceUnitRule[] | undefined>;
|
|
80
|
+
/**
|
|
81
|
+
* Map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
|
|
82
|
+
*/
|
|
83
|
+
readonly tags: pulumi.Output<{
|
|
84
|
+
[key: string]: string;
|
|
85
|
+
} | undefined>;
|
|
86
|
+
/**
|
|
87
|
+
* Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
|
|
88
|
+
*/
|
|
89
|
+
readonly tagsAll: pulumi.Output<{
|
|
90
|
+
[key: string]: string;
|
|
91
|
+
}>;
|
|
92
|
+
/**
|
|
93
|
+
* Whether tax inheritance is disabled for this invoice unit.
|
|
94
|
+
*/
|
|
95
|
+
readonly taxInheritanceDisabled: pulumi.Output<boolean>;
|
|
96
|
+
readonly timeouts: pulumi.Output<outputs.invoicing.InvoiceUnitTimeouts | undefined>;
|
|
97
|
+
/**
|
|
98
|
+
* Create a InvoiceUnit resource with the given unique name, arguments, and options.
|
|
99
|
+
*
|
|
100
|
+
* @param name The _unique_ name of the resource.
|
|
101
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
102
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
103
|
+
*/
|
|
104
|
+
constructor(name: string, args: InvoiceUnitArgs, opts?: pulumi.CustomResourceOptions);
|
|
105
|
+
}
|
|
106
|
+
/**
|
|
107
|
+
* Input properties used for looking up and filtering InvoiceUnit resources.
|
|
108
|
+
*/
|
|
109
|
+
export interface InvoiceUnitState {
|
|
110
|
+
/**
|
|
111
|
+
* ARN of the invoice unit.
|
|
112
|
+
*/
|
|
113
|
+
arn?: pulumi.Input<string>;
|
|
114
|
+
/**
|
|
115
|
+
* Description of the invoice unit.
|
|
116
|
+
*/
|
|
117
|
+
description?: pulumi.Input<string>;
|
|
118
|
+
/**
|
|
119
|
+
* AWS account ID that receives invoices for this unit. Cannot be changed after creation.
|
|
120
|
+
*/
|
|
121
|
+
invoiceReceiver?: pulumi.Input<string>;
|
|
122
|
+
/**
|
|
123
|
+
* Timestamp when the invoice unit was last modified.
|
|
124
|
+
*/
|
|
125
|
+
lastModified?: pulumi.Input<string>;
|
|
126
|
+
/**
|
|
127
|
+
* Unique name of the invoice unit. Cannot be changed after creation.
|
|
128
|
+
*/
|
|
129
|
+
name?: pulumi.Input<string>;
|
|
130
|
+
/**
|
|
131
|
+
* 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.
|
|
132
|
+
*/
|
|
133
|
+
region?: pulumi.Input<string>;
|
|
134
|
+
/**
|
|
135
|
+
* Configuration block for invoice unit rules. See below.
|
|
136
|
+
*
|
|
137
|
+
* The following arguments are optional:
|
|
138
|
+
*/
|
|
139
|
+
rules?: pulumi.Input<pulumi.Input<inputs.invoicing.InvoiceUnitRule>[]>;
|
|
140
|
+
/**
|
|
141
|
+
* Map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
|
|
142
|
+
*/
|
|
143
|
+
tags?: pulumi.Input<{
|
|
144
|
+
[key: string]: pulumi.Input<string>;
|
|
145
|
+
}>;
|
|
146
|
+
/**
|
|
147
|
+
* Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
|
|
148
|
+
*/
|
|
149
|
+
tagsAll?: pulumi.Input<{
|
|
150
|
+
[key: string]: pulumi.Input<string>;
|
|
151
|
+
}>;
|
|
152
|
+
/**
|
|
153
|
+
* Whether tax inheritance is disabled for this invoice unit.
|
|
154
|
+
*/
|
|
155
|
+
taxInheritanceDisabled?: pulumi.Input<boolean>;
|
|
156
|
+
timeouts?: pulumi.Input<inputs.invoicing.InvoiceUnitTimeouts>;
|
|
157
|
+
}
|
|
158
|
+
/**
|
|
159
|
+
* The set of arguments for constructing a InvoiceUnit resource.
|
|
160
|
+
*/
|
|
161
|
+
export interface InvoiceUnitArgs {
|
|
162
|
+
/**
|
|
163
|
+
* Description of the invoice unit.
|
|
164
|
+
*/
|
|
165
|
+
description?: pulumi.Input<string>;
|
|
166
|
+
/**
|
|
167
|
+
* AWS account ID that receives invoices for this unit. Cannot be changed after creation.
|
|
168
|
+
*/
|
|
169
|
+
invoiceReceiver: pulumi.Input<string>;
|
|
170
|
+
/**
|
|
171
|
+
* Unique name of the invoice unit. Cannot be changed after creation.
|
|
172
|
+
*/
|
|
173
|
+
name?: pulumi.Input<string>;
|
|
174
|
+
/**
|
|
175
|
+
* 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.
|
|
176
|
+
*/
|
|
177
|
+
region?: pulumi.Input<string>;
|
|
178
|
+
/**
|
|
179
|
+
* Configuration block for invoice unit rules. See below.
|
|
180
|
+
*
|
|
181
|
+
* The following arguments are optional:
|
|
182
|
+
*/
|
|
183
|
+
rules?: pulumi.Input<pulumi.Input<inputs.invoicing.InvoiceUnitRule>[]>;
|
|
184
|
+
/**
|
|
185
|
+
* Map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
|
|
186
|
+
*/
|
|
187
|
+
tags?: pulumi.Input<{
|
|
188
|
+
[key: string]: pulumi.Input<string>;
|
|
189
|
+
}>;
|
|
190
|
+
/**
|
|
191
|
+
* Whether tax inheritance is disabled for this invoice unit.
|
|
192
|
+
*/
|
|
193
|
+
taxInheritanceDisabled?: pulumi.Input<boolean>;
|
|
194
|
+
timeouts?: pulumi.Input<inputs.invoicing.InvoiceUnitTimeouts>;
|
|
195
|
+
}
|
|
@@ -0,0 +1,102 @@
|
|
|
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.InvoiceUnit = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Manages an AWS Invoice Unit for organizational billing.
|
|
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 = new aws.invoicing.InvoiceUnit("example", {
|
|
18
|
+
* name: "example-unit",
|
|
19
|
+
* description: "Example invoice unit",
|
|
20
|
+
* invoiceReceiver: "123456789012",
|
|
21
|
+
* rules: [{
|
|
22
|
+
* linkedAccounts: ["098765432109"],
|
|
23
|
+
* }],
|
|
24
|
+
* tags: {
|
|
25
|
+
* Environment: "production",
|
|
26
|
+
* },
|
|
27
|
+
* });
|
|
28
|
+
* ```
|
|
29
|
+
*
|
|
30
|
+
* ## Import
|
|
31
|
+
*
|
|
32
|
+
* Using `pulumi import`, import Invoice Units using the ARN. For example:
|
|
33
|
+
*
|
|
34
|
+
* ```sh
|
|
35
|
+
* $ pulumi import aws:invoicing/invoiceUnit:InvoiceUnit example arn:aws:invoicing::123456789012:invoice-unit/example-id
|
|
36
|
+
* ```
|
|
37
|
+
*/
|
|
38
|
+
class InvoiceUnit extends pulumi.CustomResource {
|
|
39
|
+
/**
|
|
40
|
+
* Get an existing InvoiceUnit resource's state with the given name, ID, and optional extra
|
|
41
|
+
* properties used to qualify the lookup.
|
|
42
|
+
*
|
|
43
|
+
* @param name The _unique_ name of the resulting resource.
|
|
44
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
45
|
+
* @param state Any extra arguments used during the lookup.
|
|
46
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
47
|
+
*/
|
|
48
|
+
static get(name, id, state, opts) {
|
|
49
|
+
return new InvoiceUnit(name, state, { ...opts, id: id });
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Returns true if the given object is an instance of InvoiceUnit. This is designed to work even
|
|
53
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
54
|
+
*/
|
|
55
|
+
static isInstance(obj) {
|
|
56
|
+
if (obj === undefined || obj === null) {
|
|
57
|
+
return false;
|
|
58
|
+
}
|
|
59
|
+
return obj['__pulumiType'] === InvoiceUnit.__pulumiType;
|
|
60
|
+
}
|
|
61
|
+
constructor(name, argsOrState, opts) {
|
|
62
|
+
let resourceInputs = {};
|
|
63
|
+
opts = opts || {};
|
|
64
|
+
if (opts.id) {
|
|
65
|
+
const state = argsOrState;
|
|
66
|
+
resourceInputs["arn"] = state?.arn;
|
|
67
|
+
resourceInputs["description"] = state?.description;
|
|
68
|
+
resourceInputs["invoiceReceiver"] = state?.invoiceReceiver;
|
|
69
|
+
resourceInputs["lastModified"] = state?.lastModified;
|
|
70
|
+
resourceInputs["name"] = state?.name;
|
|
71
|
+
resourceInputs["region"] = state?.region;
|
|
72
|
+
resourceInputs["rules"] = state?.rules;
|
|
73
|
+
resourceInputs["tags"] = state?.tags;
|
|
74
|
+
resourceInputs["tagsAll"] = state?.tagsAll;
|
|
75
|
+
resourceInputs["taxInheritanceDisabled"] = state?.taxInheritanceDisabled;
|
|
76
|
+
resourceInputs["timeouts"] = state?.timeouts;
|
|
77
|
+
}
|
|
78
|
+
else {
|
|
79
|
+
const args = argsOrState;
|
|
80
|
+
if (args?.invoiceReceiver === undefined && !opts.urn) {
|
|
81
|
+
throw new Error("Missing required property 'invoiceReceiver'");
|
|
82
|
+
}
|
|
83
|
+
resourceInputs["description"] = args?.description;
|
|
84
|
+
resourceInputs["invoiceReceiver"] = args?.invoiceReceiver;
|
|
85
|
+
resourceInputs["name"] = args?.name;
|
|
86
|
+
resourceInputs["region"] = args?.region;
|
|
87
|
+
resourceInputs["rules"] = args?.rules;
|
|
88
|
+
resourceInputs["tags"] = args?.tags;
|
|
89
|
+
resourceInputs["taxInheritanceDisabled"] = args?.taxInheritanceDisabled;
|
|
90
|
+
resourceInputs["timeouts"] = args?.timeouts;
|
|
91
|
+
resourceInputs["arn"] = undefined /*out*/;
|
|
92
|
+
resourceInputs["lastModified"] = undefined /*out*/;
|
|
93
|
+
resourceInputs["tagsAll"] = undefined /*out*/;
|
|
94
|
+
}
|
|
95
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
96
|
+
super(InvoiceUnit.__pulumiType, name, resourceInputs, opts);
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
exports.InvoiceUnit = InvoiceUnit;
|
|
100
|
+
/** @internal */
|
|
101
|
+
InvoiceUnit.__pulumiType = 'aws:invoicing/invoiceUnit:InvoiceUnit';
|
|
102
|
+
//# sourceMappingURL=invoiceUnit.js.map
|