diff --git a/patches/0001-Add-TagsSchemaTrulyComputed-definition.patch b/patches/0001-Add-TagsSchemaTrulyComputed-definition.patch index af0b222d347..e3bffcc8877 100644 --- a/patches/0001-Add-TagsSchemaTrulyComputed-definition.patch +++ b/patches/0001-Add-TagsSchemaTrulyComputed-definition.patch @@ -1,4 +1,4 @@ -From 009fe6e399f5fa31f75deb8aae3e6b1949dbb6b1 Mon Sep 17 00:00:00 2001 +From e0acd427bffa91ffdd5e1603a3064b8e7cf3300f Mon Sep 17 00:00:00 2001 From: Daniel Bradley Date: Fri, 4 Nov 2022 16:49:08 +0000 Subject: [PATCH 01/29] Add TagsSchemaTrulyComputed definition @@ -24,5 +24,5 @@ index 12d3b9013e..bc9e14fc19 100644 + } +} -- -2.41.0 +2.39.2 (Apple Git-143) diff --git a/patches/0002-Conns-user-agent.patch b/patches/0002-Conns-user-agent.patch index 04a3ac153e5..8e301de4cd6 100644 --- a/patches/0002-Conns-user-agent.patch +++ b/patches/0002-Conns-user-agent.patch @@ -1,4 +1,4 @@ -From 473d2ad185ac402ca13b24b75619304a68b970b0 Mon Sep 17 00:00:00 2001 +From 3a0068c3be5228186afeec85841012577de7bc41 Mon Sep 17 00:00:00 2001 From: Daniel Bradley Date: Fri, 4 Nov 2022 17:03:31 +0000 Subject: [PATCH 02/29] Conns user agent @@ -36,5 +36,5 @@ index 954266ba7a..404a654792 100644 } } -- -2.41.0 +2.39.2 (Apple Git-143) diff --git a/patches/0003-Add-S3-legacy-bucket-to-resources.patch b/patches/0003-Add-S3-legacy-bucket-to-resources.patch index 997c7230920..230be6358b2 100644 --- a/patches/0003-Add-S3-legacy-bucket-to-resources.patch +++ b/patches/0003-Add-S3-legacy-bucket-to-resources.patch @@ -1,4 +1,4 @@ -From e14abc584f95100d86baece969d2ce04de601409 Mon Sep 17 00:00:00 2001 +From 25fa0be5a15fadd12e37e9f8d76a40f7db2d2ae2 Mon Sep 17 00:00:00 2001 From: Daniel Bradley Date: Fri, 4 Nov 2022 17:05:11 +0000 Subject: [PATCH 03/29] Add S3 legacy bucket to resources @@ -41,10 +41,10 @@ https://github.com/hashicorp/terraform-provider-aws/pull/29717. create mode 100644 website/docs/r/s3_bucket_legacy.html.markdown diff --git a/go.mod b/go.mod -index 35413c5d11..1e27adb219 100644 +index 49665be6ae..5b939d8958 100644 --- a/go.mod +++ b/go.mod -@@ -71,6 +71,7 @@ require ( +@@ -74,6 +74,7 @@ require ( github.com/beevik/etree v1.2.0 github.com/google/go-cmp v0.5.9 github.com/hashicorp/aws-cloudformation-resource-schema-sdk-go v0.21.0 @@ -53,7 +53,7 @@ index 35413c5d11..1e27adb219 100644 github.com/hashicorp/aws-sdk-go-base/v2/awsv1shim/v2 v2.0.0-beta.36 github.com/hashicorp/awspolicyequivalence v1.6.0 diff --git a/go.sum b/go.sum -index 23d2539af1..c2bfa77af8 100644 +index 34a30545f4..32465c3a2c 100644 --- a/go.sum +++ b/go.sum @@ -22,6 +22,7 @@ github.com/apparentlymart/go-textseg/v15 v15.0.0/go.mod h1:K8XmNZdhEBkdlyDdvbmms @@ -61,10 +61,10 @@ index 23d2539af1..c2bfa77af8 100644 github.com/armon/go-radix v1.0.0 h1:F4z6KzEeeQIMeLFa97iZU6vupzoecKdU5TX24SNppXI= github.com/armon/go-radix v1.0.0/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8= +github.com/aws/aws-sdk-go v1.31.9/go.mod h1:5zCpMtNQVjRREroY7sYe8lOMRSxkhG6MZveU8YkpAk0= - github.com/aws/aws-sdk-go v1.45.6 h1:Y2isQQBZsnO15dzUQo9YQRThtHgrV200XCH05BRHVJI= - github.com/aws/aws-sdk-go v1.45.6/go.mod h1:aVsgQcEevwlmQ7qHE9I3h+dtQgpqhFB+i8Phjh7fkwI= - github.com/aws/aws-sdk-go-v2 v1.20.1/go.mod h1:NU06lETsFm8fUC6ZjhgDpVBcGZTFQ6XM+LZWZxMI4ac= -@@ -219,6 +220,7 @@ github.com/frankban/quicktest v1.14.6/go.mod h1:4ptaffx2x8+WTWXmUCuVU6aPUX1/Mz7z + github.com/aws/aws-sdk-go v1.45.14 h1:/IPMEh9oelbK7506fdMHkbV9mq4a6f5aeiy9OT0PRKw= + github.com/aws/aws-sdk-go v1.45.14/go.mod h1:aVsgQcEevwlmQ7qHE9I3h+dtQgpqhFB+i8Phjh7fkwI= + github.com/aws/aws-sdk-go-v2 v1.21.0 h1:gMT0IW+03wtYJhRqTVYn0wLzwdnK9sRMcxmtfGzRdJc= +@@ -214,6 +215,7 @@ github.com/frankban/quicktest v1.14.6/go.mod h1:4ptaffx2x8+WTWXmUCuVU6aPUX1/Mz7z github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 h1:+zs/tPmkDkHx3U66DAb0lQFJrpS6731Oaa12ikc+DiI= github.com/go-git/go-billy/v5 v5.4.1 h1:Uwp5tDRkPr+l/TnbHOQzp+tmJfLceOlbVucgpTz8ix4= github.com/go-git/go-git/v5 v5.8.1 h1:Zo79E4p7TRk0xoRgMq0RShiTHGKcKI4+DI6BfJc/Q+A= @@ -72,7 +72,7 @@ index 23d2539af1..c2bfa77af8 100644 github.com/go-test/deep v1.1.0 h1:WOcxcdHcvdgThNXjw0t76K42FXTU7HpNQWHpA2HHNlg= github.com/go-test/deep v1.1.0/go.mod h1:5C2ZWiW0ErCdrYzpqxLbTX7MG14M9iiw8DgHncVwcsE= github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da h1:oI5xCqsCo564l8iNU+DwB5epxmsaqB+rhGL0m5jtYqE= -@@ -238,6 +240,8 @@ github.com/google/uuid v1.3.1 h1:KjJaJ9iWZ3jOFZIf1Lqf4laDRCasjl0BCmnEGxkdLb4= +@@ -233,6 +235,8 @@ github.com/google/uuid v1.3.1 h1:KjJaJ9iWZ3jOFZIf1Lqf4laDRCasjl0BCmnEGxkdLb4= github.com/google/uuid v1.3.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/hashicorp/aws-cloudformation-resource-schema-sdk-go v0.21.0 h1:IUypt/TbXiJBkBbE3926CgnjD8IltAitdn7Yive61DY= github.com/hashicorp/aws-cloudformation-resource-schema-sdk-go v0.21.0/go.mod h1:cdTE6F2pCKQobug+RqRaQp7Kz9hIEqiSvpPmb6E5G1w= @@ -81,7 +81,7 @@ index 23d2539af1..c2bfa77af8 100644 github.com/hashicorp/aws-sdk-go-base/v2 v2.0.0-beta.35 h1:07rX0OEHNSmD4TXQzHcVnaZJGYXaSaJR4ZhN8/bBRY4= github.com/hashicorp/aws-sdk-go-base/v2 v2.0.0-beta.35/go.mod h1:cR5oVK+h10mSG4T9eHaBAYfacxUlYI5vNfJuIRMGfMA= github.com/hashicorp/aws-sdk-go-base/v2/awsv1shim/v2 v2.0.0-beta.36 h1:xfEmtc8kXanlT5O9m1xqYXJRgsz5m1uBzeAFcq5wBh4= -@@ -309,6 +313,7 @@ github.com/imdario/mergo v0.3.15/go.mod h1:WBLT9ZmE3lPoWsEzCh9LPo3TiwVN+ZKEjmz+h +@@ -304,6 +308,7 @@ github.com/imdario/mergo v0.3.15/go.mod h1:WBLT9ZmE3lPoWsEzCh9LPo3TiwVN+ZKEjmz+h github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 h1:BQSFePA1RWJOlocH6Fxy8MmwDt+yVQYULKfN0RoTN8A= github.com/jessevdk/go-flags v1.4.0/go.mod h1:4FA24M0QyGHXBuZZK/XkWh8h0e1EYbRYJSGM75WSRxI= github.com/jhump/protoreflect v1.15.1 h1:HUMERORf3I3ZdX05WaQ6MIpd/NJ434hTp5YiKgfCL6c= @@ -89,7 +89,7 @@ index 23d2539af1..c2bfa77af8 100644 github.com/jmespath/go-jmespath v0.4.0 h1:BEgLn5cpjn8UN1mAw4NjwDrS35OdebyEtFe+9YPoQUg= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1 h1:shLQSRRSCCPj3f2gpwzGwWFoC7ycTf1rcQZHOlsJ6N8= -@@ -425,6 +430,7 @@ golang.org/x/mod v0.12.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= +@@ -420,6 +425,7 @@ golang.org/x/mod v0.12.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20190603091049-60506f45cf65/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks= golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= @@ -4318,5 +4318,5 @@ index 0000000000..529368067d + +The `policy` argument is not imported and will be deprecated in a future version of the provider. Use the `aws_s3_bucket_policy` resource to manage the S3 Bucket Policy instead. -- -2.41.0 +2.39.2 (Apple Git-143) diff --git a/patches/0004-Marks-SSE-Configuration-as-Computed-for-Legacy-S3-Bu.patch b/patches/0004-Marks-SSE-Configuration-as-Computed-for-Legacy-S3-Bu.patch index df0c15192c0..45d3983d67d 100644 --- a/patches/0004-Marks-SSE-Configuration-as-Computed-for-Legacy-S3-Bu.patch +++ b/patches/0004-Marks-SSE-Configuration-as-Computed-for-Legacy-S3-Bu.patch @@ -1,4 +1,4 @@ -From b4f94bcc5aeb1dcdbc016ad045989fe20933c650 Mon Sep 17 00:00:00 2001 +From d3075f4e1405c521e8f9217541493252244fa12a Mon Sep 17 00:00:00 2001 From: Kyle Pitzen Date: Thu, 9 Mar 2023 09:47:49 -0600 Subject: [PATCH 04/29] Marks SSE Configuration as Computed for Legacy S3 @@ -26,5 +26,5 @@ index 27fe651a83..8879116578 100644 Schema: map[string]*schema.Schema{ "rule": { -- -2.41.0 +2.39.2 (Apple Git-143) diff --git a/patches/0005-De-deprecate-bucket_object.patch b/patches/0005-De-deprecate-bucket_object.patch index b7a36fb1c76..4b5da68f4c3 100644 --- a/patches/0005-De-deprecate-bucket_object.patch +++ b/patches/0005-De-deprecate-bucket_object.patch @@ -1,4 +1,4 @@ -From 3f33fb93b233555bd4c2f9265c7a8db51c924c4f Mon Sep 17 00:00:00 2001 +From d7ef4e32c60db41a27a0eb79cdbda953d6350f91 Mon Sep 17 00:00:00 2001 From: Daniel Bradley Date: Fri, 4 Nov 2022 17:06:11 +0000 Subject: [PATCH 05/29] De-deprecate bucket_object @@ -8,7 +8,7 @@ Subject: [PATCH 05/29] De-deprecate bucket_object 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/internal/service/s3/bucket_object.go b/internal/service/s3/bucket_object.go -index 4c5f6cc740..bb53438c3c 100644 +index bc696e299e..47bec8e864 100644 --- a/internal/service/s3/bucket_object.go +++ b/internal/service/s3/bucket_object.go @@ -66,7 +66,7 @@ func ResourceBucketObject() *schema.Resource { @@ -41,5 +41,5 @@ index 4c5f6cc740..bb53438c3c 100644 } -- -2.41.0 +2.39.2 (Apple Git-143) diff --git a/patches/0006-Remove-lakeformation-catalog_resource-default.patch b/patches/0006-Remove-lakeformation-catalog_resource-default.patch index 9f5299d37dc..2e49200c782 100644 --- a/patches/0006-Remove-lakeformation-catalog_resource-default.patch +++ b/patches/0006-Remove-lakeformation-catalog_resource-default.patch @@ -1,4 +1,4 @@ -From a95b5c1e221f5b49d223775fb7e4997390b6da36 Mon Sep 17 00:00:00 2001 +From 6701906d24a0c539f8488d5e8dc040f4ca4161b6 Mon Sep 17 00:00:00 2001 From: Daniel Bradley Date: Fri, 4 Nov 2022 17:08:23 +0000 Subject: [PATCH 06/29] Remove lakeformation catalog_resource default @@ -23,5 +23,5 @@ index 594d25ee73..258163d0a5 100644 Optional: true, ExactlyOneOf: []string{ -- -2.41.0 +2.39.2 (Apple Git-143) diff --git a/patches/0007-Workaround-SSM-Parameter-tier-bug.patch b/patches/0007-Workaround-SSM-Parameter-tier-bug.patch index eb5c14f1056..7161e97f366 100644 --- a/patches/0007-Workaround-SSM-Parameter-tier-bug.patch +++ b/patches/0007-Workaround-SSM-Parameter-tier-bug.patch @@ -1,4 +1,4 @@ -From e825fbdc22e159d1e7b03a1586f519fd4a8d4812 Mon Sep 17 00:00:00 2001 +From d601e767ca1093b18ef2320cccbdc1dbe10e3444 Mon Sep 17 00:00:00 2001 From: Daniel Bradley Date: Fri, 4 Nov 2022 17:24:42 +0000 Subject: [PATCH 07/29] Workaround SSM Parameter tier bug @@ -57,5 +57,5 @@ index 544385cfa6..6f72ffec7a 100644 if d.HasChange("data_type") { paramInput.DataType = aws.String(d.Get("data_type").(string)) -- -2.41.0 +2.39.2 (Apple Git-143) diff --git a/patches/0008-Add-EKS-cluster-default_addons_to_remove.patch b/patches/0008-Add-EKS-cluster-default_addons_to_remove.patch index b323ebd040c..8d9e2c20e51 100644 --- a/patches/0008-Add-EKS-cluster-default_addons_to_remove.patch +++ b/patches/0008-Add-EKS-cluster-default_addons_to_remove.patch @@ -1,4 +1,4 @@ -From 9391e7105b1ab1341984d84001efb51901b67ec7 Mon Sep 17 00:00:00 2001 +From 5e8bdb6ebdfb810be4d229b93c92a6779c5e666d Mon Sep 17 00:00:00 2001 From: Daniel Bradley Date: Fri, 4 Nov 2022 17:31:27 +0000 Subject: [PATCH 08/29] Add EKS cluster default_addons_to_remove @@ -268,5 +268,5 @@ index 57a94e414f..6568e06549 100644 ) -- -2.41.0 +2.39.2 (Apple Git-143) diff --git a/patches/0009-Add-EKS-cluster-certificate_authorities-plural.patch b/patches/0009-Add-EKS-cluster-certificate_authorities-plural.patch index 5da75c01f2e..54e068b1731 100644 --- a/patches/0009-Add-EKS-cluster-certificate_authorities-plural.patch +++ b/patches/0009-Add-EKS-cluster-certificate_authorities-plural.patch @@ -1,4 +1,4 @@ -From e0d020562712caddbbaecdc27a0e44392d8d01d3 Mon Sep 17 00:00:00 2001 +From 8f94a529126b5b4ea622c7fba07badf8d15ec17e Mon Sep 17 00:00:00 2001 From: Daniel Bradley Date: Fri, 4 Nov 2022 17:32:49 +0000 Subject: [PATCH 09/29] Add EKS cluster certificate_authorities (plural) @@ -51,5 +51,5 @@ index d8544be700..01c6b3caa0 100644 return diag.Errorf("setting certificate_authority: %s", err) } -- -2.41.0 +2.39.2 (Apple Git-143) diff --git a/patches/0010-Workaround-Autoscaling-launch_configuration-associat.patch b/patches/0010-Workaround-Autoscaling-launch_configuration-associat.patch index d74396a7bbf..0b6bd16f3f1 100644 --- a/patches/0010-Workaround-Autoscaling-launch_configuration-associat.patch +++ b/patches/0010-Workaround-Autoscaling-launch_configuration-associat.patch @@ -1,4 +1,4 @@ -From ae8fb058d67d2fe7e4395c6215e7bac444b504b9 Mon Sep 17 00:00:00 2001 +From cc8d6e10e258e0bacc1c197026cf09a5ba9a5eda Mon Sep 17 00:00:00 2001 From: Daniel Bradley Date: Fri, 4 Nov 2022 17:34:56 +0000 Subject: [PATCH 10/29] Workaround Autoscaling launch_configuration @@ -52,5 +52,5 @@ index 0cd504e232..74d309153f 100644 if v, ok := d.GetOk("iam_instance_profile"); ok { input.IamInstanceProfile = aws.String(v.(string)) -- -2.41.0 +2.39.2 (Apple Git-143) diff --git a/patches/0011-Add-ECR-credentials_data_source.patch b/patches/0011-Add-ECR-credentials_data_source.patch index e7a4960e089..fb65d52a96a 100644 --- a/patches/0011-Add-ECR-credentials_data_source.patch +++ b/patches/0011-Add-ECR-credentials_data_source.patch @@ -1,4 +1,4 @@ -From 41848d982e294734cb9b95afd1577d021e5ec382 Mon Sep 17 00:00:00 2001 +From ea9f5823aa9e8c71237b47c2f52c6c472ec42224 Mon Sep 17 00:00:00 2001 From: Daniel Bradley Date: Fri, 4 Nov 2022 17:36:34 +0000 Subject: [PATCH 11/29] Add ECR credentials_data_source @@ -155,5 +155,5 @@ index 0000000000..28bc53646f +} +`, acctest.RandInt()) -- -2.41.0 +2.39.2 (Apple Git-143) diff --git a/patches/0012-Add-custom-appautoscaling-examples.patch b/patches/0012-Add-custom-appautoscaling-examples.patch index 56f3264eea1..8f4343abf83 100644 --- a/patches/0012-Add-custom-appautoscaling-examples.patch +++ b/patches/0012-Add-custom-appautoscaling-examples.patch @@ -1,4 +1,4 @@ -From ae098c239c749e3ca17b700349c0cf667cdff0cf Mon Sep 17 00:00:00 2001 +From 17904c3ce60193b15f5687fd3e2f0c390bb1a481 Mon Sep 17 00:00:00 2001 From: Daniel Bradley Date: Wed, 9 Nov 2022 17:37:35 +0000 Subject: [PATCH 12/29] Add custom appautoscaling examples @@ -71,5 +71,5 @@ index c8899c14fe..eec6f7ca46 100644 This resource supports the following arguments: -- -2.41.0 +2.39.2 (Apple Git-143) diff --git a/patches/0013-Add-dedicated_host-docs.patch b/patches/0013-Add-dedicated_host-docs.patch index 22cb67c4abc..ec29cb10a7b 100644 --- a/patches/0013-Add-dedicated_host-docs.patch +++ b/patches/0013-Add-dedicated_host-docs.patch @@ -1,4 +1,4 @@ -From 1f0612aff21ebe547326f9a24850821ed5aa0102 Mon Sep 17 00:00:00 2001 +From 395f6c144fc389e6531b76f42ee2b2a16f0c4f4e Mon Sep 17 00:00:00 2001 From: Daniel Bradley Date: Tue, 15 Nov 2022 10:08:05 +0000 Subject: [PATCH 13/29] Add dedicated_host docs @@ -169,5 +169,5 @@ index 0000000000..01845aa221 +$ terraform import aws_dedicated_host.host_id h-0385a99d0e4b20cbb +``` -- -2.41.0 +2.39.2 (Apple Git-143) diff --git a/patches/0014-Revert-WAF-schema-changes.patch b/patches/0014-Revert-WAF-schema-changes.patch index 0218d732001..dde9476602d 100644 --- a/patches/0014-Revert-WAF-schema-changes.patch +++ b/patches/0014-Revert-WAF-schema-changes.patch @@ -1,4 +1,4 @@ -From 681657ef2f93fc068def4717fed9b4c7cb42aa66 Mon Sep 17 00:00:00 2001 +From 461bae8e19283f649c6fb4340c90c2772ea7ac36 Mon Sep 17 00:00:00 2001 From: Daniel Bradley Date: Tue, 15 Nov 2022 13:59:57 +0000 Subject: [PATCH 14/29] Revert WAF schema changes @@ -32,5 +32,5 @@ index fdb18d188d..876317b038 100644 "regex_pattern_set_reference_statement": regexPatternSetReferenceStatementSchema(), "size_constraint_statement": sizeConstraintSchema(), -- -2.41.0 +2.39.2 (Apple Git-143) diff --git a/patches/0015-Catch-cty-panic-in-new-resourceTopicSubscriptionCust.patch b/patches/0015-Catch-cty-panic-in-new-resourceTopicSubscriptionCust.patch index f7a60ee1e32..3985b5dd000 100644 --- a/patches/0015-Catch-cty-panic-in-new-resourceTopicSubscriptionCust.patch +++ b/patches/0015-Catch-cty-panic-in-new-resourceTopicSubscriptionCust.patch @@ -1,4 +1,4 @@ -From d14cdbeda2c6ac4263881bbf01a38bf37cd7530e Mon Sep 17 00:00:00 2001 +From 0e95fc1c234a54882bea03da462da5fd1cfed105 Mon Sep 17 00:00:00 2001 From: Thomas Kappler Date: Thu, 1 Dec 2022 10:56:32 -0800 Subject: [PATCH 15/29] Catch cty panic in new @@ -27,5 +27,5 @@ index 97e1d8a056..bb3caf2e1d 100644 if !hadScope { // When the filter_policy_scope hasn't been read back from the API, -- -2.41.0 +2.39.2 (Apple Git-143) diff --git a/patches/0016-add-matchmaking-configuration-72.patch b/patches/0016-add-matchmaking-configuration-72.patch index a38af0c062f..8784fa32740 100644 --- a/patches/0016-add-matchmaking-configuration-72.patch +++ b/patches/0016-add-matchmaking-configuration-72.patch @@ -1,4 +1,4 @@ -From f2261e530eb117052b5a6b3fd9b68bb7009fea52 Mon Sep 17 00:00:00 2001 +From ec46528cdf336b287f2d999bbe86a000116536d6 Mon Sep 17 00:00:00 2001 From: Lee Briggs Date: Wed, 21 Dec 2022 12:23:59 -0800 Subject: [PATCH 16/29] add matchmaking configuration (#72) @@ -1195,5 +1195,5 @@ index 0000000000..28013532bf +$ terraform import aws_gamelift_matchmaking_rule_set.example +``` -- -2.41.0 +2.39.2 (Apple Git-143) diff --git a/patches/0017-fix-Adding-back-in-removeAddons.patch b/patches/0017-fix-Adding-back-in-removeAddons.patch index 11c23afc9d0..8662fb349f7 100644 --- a/patches/0017-fix-Adding-back-in-removeAddons.patch +++ b/patches/0017-fix-Adding-back-in-removeAddons.patch @@ -1,4 +1,4 @@ -From 45060c82b6e595170b2eed51f7363b665273dca3 Mon Sep 17 00:00:00 2001 +From de4e155a7b4b53e35bcfd775ec306a5c3decfd41 Mon Sep 17 00:00:00 2001 From: Richard Shade Date: Fri, 6 Jan 2023 15:31:22 -0600 Subject: [PATCH 17/29] fix: Adding back in removeAddons @@ -23,5 +23,5 @@ index 01c6b3caa0..4d7e5760fd 100644 } -- -2.41.0 +2.39.2 (Apple Git-143) diff --git a/patches/0018-Reverts-patches-to-S3BucketLegacy-and-GameLift.patch b/patches/0018-Reverts-patches-to-S3BucketLegacy-and-GameLift.patch index a7c122e784d..3a73560e6d6 100644 --- a/patches/0018-Reverts-patches-to-S3BucketLegacy-and-GameLift.patch +++ b/patches/0018-Reverts-patches-to-S3BucketLegacy-and-GameLift.patch @@ -1,4 +1,4 @@ -From 5e083ac1ed52f0ea3b09d4fa634b246b4736c5df Mon Sep 17 00:00:00 2001 +From 8edb743f2c94cbcdd580e0721ece07a7659e164e Mon Sep 17 00:00:00 2001 From: Kyle Pitzen Date: Fri, 27 Jan 2023 09:37:43 -0600 Subject: [PATCH 18/29] Reverts patches to S3BucketLegacy and GameLift @@ -914,5 +914,5 @@ index 7a548d8d6d..9031539c19 100644 + return tfresource.RetryWhenAWSErrCodeEquals(ctx, propagationTimeout, f, s3.ErrCodeNoSuchBucket) } -- -2.41.0 +2.39.2 (Apple Git-143) diff --git a/patches/0019-Revert-Update-endpointHashIPAddress.patch b/patches/0019-Revert-Update-endpointHashIPAddress.patch index 6782d7ff1ff..2f3aac74fbe 100644 --- a/patches/0019-Revert-Update-endpointHashIPAddress.patch +++ b/patches/0019-Revert-Update-endpointHashIPAddress.patch @@ -1,4 +1,4 @@ -From db0939239f9c49bf23aeda38d41369f41866b27a Mon Sep 17 00:00:00 2001 +From bed5dea13f90b72a23f45563b6b9e7841242998c Mon Sep 17 00:00:00 2001 From: Thomas Kappler Date: Fri, 3 Feb 2023 17:31:18 -0800 Subject: [PATCH 19/29] Revert "Update endpointHashIPAddress" @@ -25,5 +25,5 @@ index fdaba25fa4..0bb4e22ee2 100644 } -- -2.41.0 +2.39.2 (Apple Git-143) diff --git a/patches/0020-Fixup-eks-formatting.patch b/patches/0020-Fixup-eks-formatting.patch index 3e49471ed34..30432cf7710 100644 --- a/patches/0020-Fixup-eks-formatting.patch +++ b/patches/0020-Fixup-eks-formatting.patch @@ -1,4 +1,4 @@ -From 17cd5924b42c5c9214783e8a3c5379284864700a Mon Sep 17 00:00:00 2001 +From cd825c40a435e48dc89154edac5ae7d27a8203dd Mon Sep 17 00:00:00 2001 From: Daniel Bradley Date: Thu, 9 Mar 2023 14:50:36 +0000 Subject: [PATCH 20/29] Fixup eks formatting @@ -25,5 +25,5 @@ index 6568e06549..fb1ec98588 100644 ) -- -2.41.0 +2.39.2 (Apple Git-143) diff --git a/patches/0021-Fixup-gamelift-context.patch b/patches/0021-Fixup-gamelift-context.patch index 1adde566b44..35a117c052a 100644 --- a/patches/0021-Fixup-gamelift-context.patch +++ b/patches/0021-Fixup-gamelift-context.patch @@ -1,4 +1,4 @@ -From 881724c9398877e2ce6165f5edeaaca632c92902 Mon Sep 17 00:00:00 2001 +From f96ae401f04687975defdaa16889e3e850c66236 Mon Sep 17 00:00:00 2001 From: Daniel Bradley Date: Thu, 9 Mar 2023 14:50:51 +0000 Subject: [PATCH 21/29] Fixup gamelift context @@ -35,5 +35,5 @@ index 8c1189199f..254c96efc6 100644 input := gamelift.CreateMatchmakingRuleSetInput{ Name: aws.String(d.Get("name").(string)), -- -2.41.0 +2.39.2 (Apple Git-143) diff --git a/patches/0022-Change-default-descriptions-to-Managed-by-Pulumi.patch b/patches/0022-Change-default-descriptions-to-Managed-by-Pulumi.patch index 1916cf53fd9..ed4ba69ffd9 100644 --- a/patches/0022-Change-default-descriptions-to-Managed-by-Pulumi.patch +++ b/patches/0022-Change-default-descriptions-to-Managed-by-Pulumi.patch @@ -1,4 +1,4 @@ -From 1ba77f5923b9129c46a884d02e3582e75cfffc1e Mon Sep 17 00:00:00 2001 +From ecce92e35973eba12d1a596dedfe955b1427d117 Mon Sep 17 00:00:00 2001 From: Daniel Bradley Date: Tue, 28 Feb 2023 15:19:24 +0000 Subject: [PATCH 22/29] Change default descriptions to "Managed by Pulumi" @@ -1128,5 +1128,5 @@ index e17fa7c445..fb9e5b7304 100644 _, err = conn.DisassociateVPCFromHostedZoneWithContext(ctx, input) -- -2.41.0 +2.39.2 (Apple Git-143) diff --git a/patches/0023-remove-required-elements-from-schema-and-fix-tests-7.patch b/patches/0023-remove-required-elements-from-schema-and-fix-tests-7.patch index 002bea28d40..21aa6c4a6a0 100644 --- a/patches/0023-remove-required-elements-from-schema-and-fix-tests-7.patch +++ b/patches/0023-remove-required-elements-from-schema-and-fix-tests-7.patch @@ -1,4 +1,4 @@ -From 3aff8210fdea56d24cd79d6e9029e364b4cd47f4 Mon Sep 17 00:00:00 2001 +From c3ae5941e19641066419184a5dab1e16f5f11201 Mon Sep 17 00:00:00 2001 From: Daniel Bradley Date: Tue, 28 Mar 2023 19:54:00 +0100 Subject: [PATCH 23/29] remove required elements from schema and fix tests @@ -286,5 +286,5 @@ index 8788ef5b45..0d6b961c5b 100644 name := rs.Primary.Attributes["name"] out, err := conn.DescribeMatchmakingRuleSets(&gamelift.DescribeMatchmakingRuleSetsInput{ -- -2.41.0 +2.39.2 (Apple Git-143) diff --git a/patches/0024-Temp-remove-cognito_identity_pool_roles_attachment-e.patch b/patches/0024-Temp-remove-cognito_identity_pool_roles_attachment-e.patch index 2f9c5aa2454..ddec71c74e0 100644 --- a/patches/0024-Temp-remove-cognito_identity_pool_roles_attachment-e.patch +++ b/patches/0024-Temp-remove-cognito_identity_pool_roles_attachment-e.patch @@ -1,4 +1,4 @@ -From 8f4b6df84b15b3f3ac16404c02ff4fc80609ab54 Mon Sep 17 00:00:00 2001 +From 0bb3993650348a51218e36107e2f9da97303e5f5 Mon Sep 17 00:00:00 2001 From: Anton Tayanovskyy Date: Mon, 24 Apr 2023 10:36:36 -0400 Subject: [PATCH 24/29] Temp remove cognito_identity_pool_roles_attachment @@ -101,5 +101,5 @@ index 23c0000bb6..d56a26e5f0 100644 ## Argument Reference -- -2.41.0 +2.39.2 (Apple Git-143) diff --git a/patches/0025-Fix-elbv2-target-group-read.patch b/patches/0025-Fix-elbv2-target-group-read.patch index 82a892644f3..34c4bdb49e2 100644 --- a/patches/0025-Fix-elbv2-target-group-read.patch +++ b/patches/0025-Fix-elbv2-target-group-read.patch @@ -1,4 +1,4 @@ -From c5953644ab40f2adf547c6c48fa02521994f8551 Mon Sep 17 00:00:00 2001 +From e18317d305024181cf84c159f9458a7863995781 Mon Sep 17 00:00:00 2001 From: Daniel Bradley Date: Fri, 12 May 2023 10:55:42 +0100 Subject: [PATCH 25/29] Fix elbv2 target group read @@ -27,5 +27,5 @@ index 68f04ccc02..8854953fc5 100644 } -- -2.41.0 +2.39.2 (Apple Git-143) diff --git a/patches/0026-Fix-spurrious-json-diff-for-redrive_policy.patch b/patches/0026-Fix-spurrious-json-diff-for-redrive_policy.patch index b479ea41607..63c5f5d8573 100644 --- a/patches/0026-Fix-spurrious-json-diff-for-redrive_policy.patch +++ b/patches/0026-Fix-spurrious-json-diff-for-redrive_policy.patch @@ -1,4 +1,4 @@ -From 320993a2c69e833824da09956573c366803410db Mon Sep 17 00:00:00 2001 +From a4a868b27854684da9b5000f1136f74e223a4707 Mon Sep 17 00:00:00 2001 From: Ramon Quitales Date: Thu, 18 May 2023 15:21:33 -0700 Subject: [PATCH 26/29] Fix spurrious json diff for redrive_policy @@ -38,5 +38,5 @@ index 7f55a8e6e8..d3a620f555 100644 json, _ := structure.NormalizeJsonString(v) return json -- -2.41.0 +2.39.2 (Apple Git-143) diff --git a/patches/0027-Provide-context-to-conns.patch b/patches/0027-Provide-context-to-conns.patch index 8ab20928ee7..628d7233aa3 100644 --- a/patches/0027-Provide-context-to-conns.patch +++ b/patches/0027-Provide-context-to-conns.patch @@ -1,4 +1,4 @@ -From 11be804857dc7337c6c896a2a8282a2746f2e644 Mon Sep 17 00:00:00 2001 +From b654d4f465073f667825e2a019fb17decbcb5403 Mon Sep 17 00:00:00 2001 From: Ian Wahbe Date: Mon, 10 Jul 2023 11:51:24 +0200 Subject: [PATCH 27/29] Provide context to conns @@ -312,5 +312,5 @@ index ba95f6c2b6..0563bd3a25 100644 Bucket: aws.String(bucket), }, -- -2.41.0 +2.39.2 (Apple Git-143) diff --git a/patches/0028-Match-the-tags-behavior-of-other-resources.patch b/patches/0028-Match-the-tags-behavior-of-other-resources.patch index 7b98bac7046..5a60770dc6d 100644 --- a/patches/0028-Match-the-tags-behavior-of-other-resources.patch +++ b/patches/0028-Match-the-tags-behavior-of-other-resources.patch @@ -1,4 +1,4 @@ -From a817eec9629ebb85bc6913e600bb8e7b6381bff0 Mon Sep 17 00:00:00 2001 +From 564f5b370ea86e48dfcf6499b46af1a13f2d0014 Mon Sep 17 00:00:00 2001 From: Ian Wahbe Date: Wed, 2 Aug 2023 14:12:03 +0200 Subject: [PATCH 28/29] Match the "tags" behavior of other resources @@ -47,5 +47,5 @@ index 0563bd3a25..e6bd8e7013 100644 arn := arn.ARN{ -- -2.41.0 +2.39.2 (Apple Git-143) diff --git a/patches/0029-move-shim-logic-to-upstream-as-a-patch.patch b/patches/0029-move-shim-logic-to-upstream-as-a-patch.patch index d52f45af1d2..b1894d21bbd 100644 --- a/patches/0029-move-shim-logic-to-upstream-as-a-patch.patch +++ b/patches/0029-move-shim-logic-to-upstream-as-a-patch.patch @@ -1,4 +1,4 @@ -From 402cf0bcd615b9f0a1d46f5e45fc1c6f95a696bd Mon Sep 17 00:00:00 2001 +From e212ed516b0fc74f1d92e3040b2e4872c33f4f52 Mon Sep 17 00:00:00 2001 From: Guinevere Saenger Date: Wed, 6 Sep 2023 10:43:30 -0700 Subject: [PATCH 29/29] move shim logic to upstream as a patch @@ -88,5 +88,5 @@ index 0000000000..f8ee8a0c54 + } +} -- -2.41.0 +2.39.2 (Apple Git-143) diff --git a/patches/0030-Restore-S3ConnURICleaningDisabled.patch b/patches/0030-Restore-S3ConnURICleaningDisabled.patch new file mode 100644 index 00000000000..e3bf2c1914c --- /dev/null +++ b/patches/0030-Restore-S3ConnURICleaningDisabled.patch @@ -0,0 +1,43 @@ +From 6c2ce6c4b0ea782d1ac45ae32c4592f838fb5f77 Mon Sep 17 00:00:00 2001 +From: Anton Tayanovskyy +Date: Mon, 25 Sep 2023 15:22:30 -0400 +Subject: [PATCH 2/2] Restore S3ConnURICleaningDisabled + +--- + internal/conns/awsclient.go | 9 +++++++++ + 1 file changed, 9 insertions(+) + +diff --git a/internal/conns/awsclient.go b/internal/conns/awsclient.go +index 40f2242413..7740c0e671 100644 +--- a/internal/conns/awsclient.go ++++ b/internal/conns/awsclient.go +@@ -10,10 +10,12 @@ import ( + "sync" + + aws_sdkv2 "github.com/aws/aws-sdk-go-v2/aws" ++ aws_sdkv1 "github.com/aws/aws-sdk-go/aws" + endpoints_sdkv1 "github.com/aws/aws-sdk-go/aws/endpoints" + session_sdkv1 "github.com/aws/aws-sdk-go/aws/session" + apigatewayv2_sdkv1 "github.com/aws/aws-sdk-go/service/apigatewayv2" + mediaconvert_sdkv1 "github.com/aws/aws-sdk-go/service/mediaconvert" ++ s3_sdkv1 "github.com/aws/aws-sdk-go/service/s3" + tftags "github.com/hashicorp/terraform-provider-aws/internal/tags" + "github.com/hashicorp/terraform-provider-aws/names" + ) +@@ -61,6 +63,13 @@ func (client *AWSClient) S3UsePathStyle() bool { + return client.s3UsePathStyle + } + ++func (client *AWSClient) S3ConnURICleaningDisabled(ctx context.Context) *s3_sdkv1.S3 { ++ config := client.S3Conn(ctx).Config ++ config.DisableRestProtocolURICleaning = aws_sdkv1.Bool(true) ++ ++ return s3_sdkv1.New(client.Session.Copy(&config)) ++} ++ + // SetHTTPClient sets the http.Client used for AWS API calls. + // To have effect it must be called before the AWS SDK v1 Session is created. + func (client *AWSClient) SetHTTPClient(httpClient *http.Client) { +-- +2.39.2 (Apple Git-143) + diff --git a/provider/cmd/pulumi-resource-aws/bridge-metadata.json b/provider/cmd/pulumi-resource-aws/bridge-metadata.json index 940df482ca1..a8f25509a57 100644 --- a/provider/cmd/pulumi-resource-aws/bridge-metadata.json +++ b/provider/cmd/pulumi-resource-aws/bridge-metadata.json @@ -17341,6 +17341,19 @@ } } }, + "aws_opensearch_package": { + "current": "aws:opensearch/package:Package", + "majorVersion": 6, + "fields": { + "package_source": { + "maxItemsOne": true + } + } + }, + "aws_opensearch_package_association": { + "current": "aws:opensearch/packageAssociation:PackageAssociation", + "majorVersion": 6 + }, "aws_opensearch_vpc_endpoint": { "current": "aws:opensearch/vpcEndpoint:VpcEndpoint", "majorVersion": 6, @@ -149619,6 +149632,10 @@ } } }, + "aws_shield_application_layer_automatic_response": { + "current": "aws:shield/applicationLayerAutomaticResponse:ApplicationLayerAutomaticResponse", + "majorVersion": 6 + }, "aws_shield_drt_access_log_bucket_association": { "current": "aws:shield/drtAccessLogBucketAssociation:DrtAccessLogBucketAssociation", "majorVersion": 6 @@ -150560,6 +150577,16 @@ "fields": { "as2_config": { "maxItemsOne": true + }, + "sftp_config": { + "maxItemsOne": true, + "elem": { + "fields": { + "trusted_host_keys": { + "maxItemsOne": false + } + } + } } } }, @@ -150782,6 +150809,15 @@ } } }, + "aws_verifiedaccess_instance": { + "current": "aws:verifiedaccess/instance:Instance", + "majorVersion": 6, + "fields": { + "verified_access_trust_providers": { + "maxItemsOne": false + } + } + }, "aws_verifiedaccess_trust_provider": { "current": "aws:verifiedaccess/trustProvider:TrustProvider", "majorVersion": 6, @@ -212710,6 +212746,153 @@ } } }, + "aws_fsx_ontap_file_system": { + "current": "aws:fsx/getOntapFileSystem:getOntapFileSystem", + "majorVersion": 6, + "fields": { + "disk_iops_configuration": { + "maxItemsOne": false + }, + "endpoints": { + "maxItemsOne": false, + "elem": { + "fields": { + "intercluster": { + "maxItemsOne": false, + "elem": { + "fields": { + "ip_addresses": { + "maxItemsOne": false + } + } + } + }, + "management": { + "maxItemsOne": false, + "elem": { + "fields": { + "ip_addresses": { + "maxItemsOne": false + } + } + } + } + } + } + }, + "network_interface_ids": { + "maxItemsOne": false + }, + "route_table_ids": { + "maxItemsOne": false + }, + "subnet_ids": { + "maxItemsOne": false + } + } + }, + "aws_fsx_ontap_storage_virtual_machine": { + "current": "aws:fsx/getOntapStorageVirtualMachine:getOntapStorageVirtualMachine", + "majorVersion": 6, + "fields": { + "active_directory_configuration": { + "maxItemsOne": false, + "elem": { + "fields": { + "self_managed_active_directory_configuration": { + "maxItemsOne": false, + "elem": { + "fields": { + "dns_ips": { + "maxItemsOne": false + } + } + } + } + } + } + }, + "endpoints": { + "maxItemsOne": false, + "elem": { + "fields": { + "iscsi": { + "maxItemsOne": false, + "elem": { + "fields": { + "ip_addresses": { + "maxItemsOne": false + } + } + } + }, + "management": { + "maxItemsOne": false, + "elem": { + "fields": { + "ip_addresses": { + "maxItemsOne": false + } + } + } + }, + "nfs": { + "maxItemsOne": false, + "elem": { + "fields": { + "ip_addresses": { + "maxItemsOne": false + } + } + } + }, + "smb": { + "maxItemsOne": false, + "elem": { + "fields": { + "ip_addresses": { + "maxItemsOne": false + } + } + } + } + } + } + }, + "filter": { + "maxItemsOne": false, + "elem": { + "fields": { + "values": { + "maxItemsOne": false + } + } + } + }, + "lifecycle_transition_reason": { + "maxItemsOne": false + } + } + }, + "aws_fsx_ontap_storage_virtual_machines": { + "current": "aws:fsx/getOntapStorageVirtualMachines:getOntapStorageVirtualMachines", + "majorVersion": 6, + "fields": { + "filter": { + "maxItemsOne": false, + "elem": { + "fields": { + "values": { + "maxItemsOne": false + } + } + } + }, + "ids": { + "maxItemsOne": false + } + } + }, "aws_fsx_openzfs_snapshot": { "current": "aws:fsx/getOpenZfsSnapshot:getOpenZfsSnapshot", "majorVersion": 6, @@ -215425,6 +215608,10 @@ } } }, + "aws_organizations_organizational_unit": { + "current": "aws:organizations/getOrganizationalUnit:getOrganizationalUnit", + "majorVersion": 6 + }, "aws_organizations_organizational_unit_child_accounts": { "current": "aws:organizations/getOrganizationalUnitChildAccounts:getOrganizationalUnitChildAccounts", "majorVersion": 6, @@ -218375,6 +218562,8 @@ "aws:opensearch/domainSamlOptions:DomainSamlOptions": 0, "aws:opensearch/inboundConnectionAccepter:InboundConnectionAccepter": 0, "aws:opensearch/outboundConnection:OutboundConnection": 0, + "aws:opensearch/package:Package": 0, + "aws:opensearch/packageAssociation:PackageAssociation": 0, "aws:opensearch/serverlessAccessPolicy:ServerlessAccessPolicy": 1, "aws:opensearch/serverlessCollection:ServerlessCollection": 1, "aws:opensearch/serverlessSecurityConfig:ServerlessSecurityConfig": 1, @@ -218662,6 +218851,7 @@ "aws:sfn/activity:Activity": 0, "aws:sfn/alias:Alias": 0, "aws:sfn/stateMachine:StateMachine": 0, + "aws:shield/applicationLayerAutomaticResponse:ApplicationLayerAutomaticResponse": 1, "aws:shield/drtAccessLogBucketAssociation:DrtAccessLogBucketAssociation": 1, "aws:shield/drtAccessRoleArnAssociation:DrtAccessRoleArnAssociation": 1, "aws:shield/protection:Protection": 0, @@ -218735,6 +218925,7 @@ "aws:transfer/tag:Tag": 0, "aws:transfer/user:User": 0, "aws:transfer/workflow:Workflow": 0, + "aws:verifiedaccess/instance:Instance": 0, "aws:verifiedaccess/trustProvider:TrustProvider": 0, "aws:vpc/securityGroupEgressRule:SecurityGroupEgressRule": 1, "aws:vpc/securityGroupIngressRule:SecurityGroupIngressRule": 1, @@ -219024,6 +219215,9 @@ "aws:elb/getServiceAccount:getServiceAccount": 0, "aws:emr/getReleaseLabels:getReleaseLabels": 0, "aws:emrcontainers/getVirtualCluster:getVirtualCluster": 0, + "aws:fsx/getOntapFileSystem:getOntapFileSystem": 0, + "aws:fsx/getOntapStorageVirtualMachine:getOntapStorageVirtualMachine": 0, + "aws:fsx/getOntapStorageVirtualMachines:getOntapStorageVirtualMachines": 0, "aws:fsx/getOpenZfsSnapshot:getOpenZfsSnapshot": 0, "aws:fsx/getWindowsFileSystem:getWindowsFileSystem": 0, "aws:globalaccelerator/getAccelerator:getAccelerator": 1, @@ -219170,6 +219364,7 @@ "aws:organizations/getDelegatedAdministrators:getDelegatedAdministrators": 0, "aws:organizations/getDelegatedServices:getDelegatedServices": 0, "aws:organizations/getOrganization:getOrganization": 0, + "aws:organizations/getOrganizationalUnit:getOrganizationalUnit": 0, "aws:organizations/getOrganizationalUnitChildAccounts:getOrganizationalUnitChildAccounts": 0, "aws:organizations/getOrganizationalUnitDescendantAccounts:getOrganizationalUnitDescendantAccounts": 0, "aws:organizations/getOrganizationalUnits:getOrganizationalUnits": 0, @@ -220153,6 +220348,8 @@ "aws:opensearch/domainSamlOptions:DomainSamlOptions": "aws_opensearch_domain_saml_options", "aws:opensearch/inboundConnectionAccepter:InboundConnectionAccepter": "aws_opensearch_inbound_connection_accepter", "aws:opensearch/outboundConnection:OutboundConnection": "aws_opensearch_outbound_connection", + "aws:opensearch/package:Package": "aws_opensearch_package", + "aws:opensearch/packageAssociation:PackageAssociation": "aws_opensearch_package_association", "aws:opensearch/serverlessAccessPolicy:ServerlessAccessPolicy": "aws_opensearchserverless_access_policy", "aws:opensearch/serverlessCollection:ServerlessCollection": "aws_opensearchserverless_collection", "aws:opensearch/serverlessSecurityConfig:ServerlessSecurityConfig": "aws_opensearchserverless_security_config", @@ -220440,6 +220637,7 @@ "aws:sfn/activity:Activity": "aws_sfn_activity", "aws:sfn/alias:Alias": "aws_sfn_alias", "aws:sfn/stateMachine:StateMachine": "aws_sfn_state_machine", + "aws:shield/applicationLayerAutomaticResponse:ApplicationLayerAutomaticResponse": "aws_shield_application_layer_automatic_response", "aws:shield/drtAccessLogBucketAssociation:DrtAccessLogBucketAssociation": "aws_shield_drt_access_log_bucket_association", "aws:shield/drtAccessRoleArnAssociation:DrtAccessRoleArnAssociation": "aws_shield_drt_access_role_arn_association", "aws:shield/protection:Protection": "aws_shield_protection", @@ -220513,6 +220711,7 @@ "aws:transfer/tag:Tag": "aws_transfer_tag", "aws:transfer/user:User": "aws_transfer_user", "aws:transfer/workflow:Workflow": "aws_transfer_workflow", + "aws:verifiedaccess/instance:Instance": "aws_verifiedaccess_instance", "aws:verifiedaccess/trustProvider:TrustProvider": "aws_verifiedaccess_trust_provider", "aws:vpc/securityGroupEgressRule:SecurityGroupEgressRule": "aws_vpc_security_group_egress_rule", "aws:vpc/securityGroupIngressRule:SecurityGroupIngressRule": "aws_vpc_security_group_ingress_rule", @@ -220802,6 +221001,9 @@ "aws:elb/getServiceAccount:getServiceAccount": "aws_elb_service_account", "aws:emr/getReleaseLabels:getReleaseLabels": "aws_emr_release_labels", "aws:emrcontainers/getVirtualCluster:getVirtualCluster": "aws_emrcontainers_virtual_cluster", + "aws:fsx/getOntapFileSystem:getOntapFileSystem": "aws_fsx_ontap_file_system", + "aws:fsx/getOntapStorageVirtualMachine:getOntapStorageVirtualMachine": "aws_fsx_ontap_storage_virtual_machine", + "aws:fsx/getOntapStorageVirtualMachines:getOntapStorageVirtualMachines": "aws_fsx_ontap_storage_virtual_machines", "aws:fsx/getOpenZfsSnapshot:getOpenZfsSnapshot": "aws_fsx_openzfs_snapshot", "aws:fsx/getWindowsFileSystem:getWindowsFileSystem": "aws_fsx_windows_file_system", "aws:globalaccelerator/getAccelerator:getAccelerator": "aws_globalaccelerator_accelerator", @@ -220948,6 +221150,7 @@ "aws:organizations/getDelegatedAdministrators:getDelegatedAdministrators": "aws_organizations_delegated_administrators", "aws:organizations/getDelegatedServices:getDelegatedServices": "aws_organizations_delegated_services", "aws:organizations/getOrganization:getOrganization": "aws_organizations_organization", + "aws:organizations/getOrganizationalUnit:getOrganizationalUnit": "aws_organizations_organizational_unit", "aws:organizations/getOrganizationalUnitChildAccounts:getOrganizationalUnitChildAccounts": "aws_organizations_organizational_unit_child_accounts", "aws:organizations/getOrganizationalUnitDescendantAccounts:getOrganizationalUnitDescendantAccounts": "aws_organizations_organizational_unit_descendant_accounts", "aws:organizations/getOrganizationalUnits:getOrganizationalUnits": "aws_organizations_organizational_units", @@ -234816,6 +235019,79 @@ "tagsAll": "tags_all", "vpcId": "vpc_id" }, + "aws:fsx/getOntapFileSystem:getOntapFileSystem": { + "automaticBackupRetentionDays": "automatic_backup_retention_days", + "dailyAutomaticBackupStartTime": "daily_automatic_backup_start_time", + "deploymentType": "deployment_type", + "diskIopsConfigurations": "disk_iops_configuration", + "dnsName": "dns_name", + "endpointIpAddressRange": "endpoint_ip_address_range", + "kmsKeyId": "kms_key_id", + "networkInterfaceIds": "network_interface_ids", + "ownerId": "owner_id", + "preferredSubnetId": "preferred_subnet_id", + "routeTableIds": "route_table_ids", + "storageCapacity": "storage_capacity", + "storageType": "storage_type", + "subnetIds": "subnet_ids", + "throughputCapacity": "throughput_capacity", + "vpcId": "vpc_id", + "weeklyMaintenanceStartTime": "weekly_maintenance_start_time" + }, + "aws:fsx/getOntapFileSystemEndpoint:getOntapFileSystemEndpoint": { + "interclusters": "intercluster", + "managements": "management" + }, + "aws:fsx/getOntapFileSystemEndpointIntercluster:getOntapFileSystemEndpointIntercluster": { + "dnsName": "dns_name", + "ipAddresses": "ip_addresses" + }, + "aws:fsx/getOntapFileSystemEndpointManagement:getOntapFileSystemEndpointManagement": { + "dnsName": "dns_name", + "ipAddresses": "ip_addresses" + }, + "aws:fsx/getOntapStorageVirtualMachine:getOntapStorageVirtualMachine": { + "activeDirectoryConfigurations": "active_directory_configuration", + "creationTime": "creation_time", + "fileSystemId": "file_system_id", + "filters": "filter", + "lifecycleStatus": "lifecycle_status", + "lifecycleTransitionReasons": "lifecycle_transition_reason" + }, + "aws:fsx/getOntapStorageVirtualMachineActiveDirectoryConfiguration:getOntapStorageVirtualMachineActiveDirectoryConfiguration": { + "netbiosName": "netbios_name", + "selfManagedActiveDirectoryConfigurations": "self_managed_active_directory_configuration" + }, + "aws:fsx/getOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfiguration:getOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfiguration": { + "dnsIps": "dns_ips", + "domainName": "domain_name", + "fileSystemAdministratorsGroup": "file_system_administrators_group", + "organizationalUnitDistinguishedName": "organizational_unit_distinguished_name" + }, + "aws:fsx/getOntapStorageVirtualMachineEndpoint:getOntapStorageVirtualMachineEndpoint": { + "iscsis": "iscsi", + "managements": "management", + "smbs": "smb" + }, + "aws:fsx/getOntapStorageVirtualMachineEndpointIscsi:getOntapStorageVirtualMachineEndpointIscsi": { + "dnsName": "dns_name", + "ipAddresses": "ip_addresses" + }, + "aws:fsx/getOntapStorageVirtualMachineEndpointManagement:getOntapStorageVirtualMachineEndpointManagement": { + "dnsName": "dns_name", + "ipAddresses": "ip_addresses" + }, + "aws:fsx/getOntapStorageVirtualMachineEndpointNf:getOntapStorageVirtualMachineEndpointNf": { + "dnsName": "dns_name", + "ipAddresses": "ip_addresses" + }, + "aws:fsx/getOntapStorageVirtualMachineEndpointSmb:getOntapStorageVirtualMachineEndpointSmb": { + "dnsName": "dns_name", + "ipAddresses": "ip_addresses" + }, + "aws:fsx/getOntapStorageVirtualMachines:getOntapStorageVirtualMachines": { + "filters": "filter" + }, "aws:fsx/getOpenZfsSnapshot:getOpenZfsSnapshot": { "creationTime": "creation_time", "filters": "filter", @@ -242054,6 +242330,10 @@ "domainName": "domain_name", "ownerId": "owner_id" }, + "aws:opensearch/PackagePackageSource:PackagePackageSource": { + "s3BucketName": "s3_bucket_name", + "s3Key": "s3_key" + }, "aws:opensearch/ServerlessSecurityConfigSamlOptions:ServerlessSecurityConfigSamlOptions": { "groupAttribute": "group_attribute", "sessionTimeout": "session_timeout", @@ -242226,6 +242506,19 @@ "localDomainInfo": "local_domain_info", "remoteDomainInfo": "remote_domain_info" }, + "aws:opensearch/package:Package": { + "availablePackageVersion": "available_package_version", + "packageDescription": "package_description", + "packageId": "package_id", + "packageName": "package_name", + "packageSource": "package_source", + "packageType": "package_type" + }, + "aws:opensearch/packageAssociation:PackageAssociation": { + "domainName": "domain_name", + "packageId": "package_id", + "referencePath": "reference_path" + }, "aws:opensearch/serverlessAccessPolicy:ServerlessAccessPolicy": { "policyVersion": "policy_version" }, @@ -243093,6 +243386,9 @@ "aws:organizations/getOrganizationRoot:getOrganizationRoot": { "policyTypes": "policy_types" }, + "aws:organizations/getOrganizationalUnit:getOrganizationalUnit": { + "parentId": "parent_id" + }, "aws:organizations/getOrganizationalUnitChildAccounts:getOrganizationalUnitChildAccounts": { "parentId": "parent_id" }, @@ -334461,6 +334757,11 @@ "aws:s3/bucketObjectv2:BucketObjectv2": { "bucketKeyEnabled": "bucket_key_enabled", "cacheControl": "cache_control", + "checksumAlgorithm": "checksum_algorithm", + "checksumCrc32": "checksum_crc32", + "checksumCrc32c": "checksum_crc32c", + "checksumSha1": "checksum_sha1", + "checksumSha256": "checksum_sha256", "contentBase64": "content_base64", "contentDisposition": "content_disposition", "contentEncoding": "content_encoding", @@ -334575,6 +334876,11 @@ "aws:s3/getObject:getObject": { "bucketKeyEnabled": "bucket_key_enabled", "cacheControl": "cache_control", + "checksumCrc32": "checksum_crc32", + "checksumCrc32c": "checksum_crc32c", + "checksumMode": "checksum_mode", + "checksumSha1": "checksum_sha1", + "checksumSha256": "checksum_sha256", "contentDisposition": "content_disposition", "contentEncoding": "content_encoding", "contentLanguage": "content_language", @@ -334606,6 +334912,11 @@ "aws:s3/objectCopy:ObjectCopy": { "bucketKeyEnabled": "bucket_key_enabled", "cacheControl": "cache_control", + "checksumAlgorithm": "checksum_algorithm", + "checksumCrc32": "checksum_crc32", + "checksumCrc32c": "checksum_crc32c", + "checksumSha1": "checksum_sha1", + "checksumSha256": "checksum_sha256", "contentDisposition": "content_disposition", "contentEncoding": "content_encoding", "contentLanguage": "content_language", @@ -334660,6 +334971,9 @@ "ignorePublicAcls": "ignore_public_acls", "restrictPublicBuckets": "restrict_public_buckets" }, + "aws:s3control/MultiRegionAccessPointDetailsRegion:MultiRegionAccessPointDetailsRegion": { + "bucketAccountId": "bucket_account_id" + }, "aws:s3control/ObjectLambdaAccessPointConfiguration:ObjectLambdaAccessPointConfiguration": { "allowedFeatures": "allowed_features", "cloudWatchMetricsEnabled": "cloud_watch_metrics_enabled", @@ -334745,6 +335059,9 @@ "ignorePublicAcls": "ignore_public_acls", "restrictPublicBuckets": "restrict_public_buckets" }, + "aws:s3control/getMultiRegionAccessPointRegion:getMultiRegionAccessPointRegion": { + "bucketAccountId": "bucket_account_id" + }, "aws:s3control/multiRegionAccessPoint:MultiRegionAccessPoint": { "accountId": "account_id", "domainName": "domain_name" @@ -336493,6 +336810,9 @@ "tracingConfiguration": "tracing_configuration", "versionDescription": "version_description" }, + "aws:shield/applicationLayerAutomaticResponse:ApplicationLayerAutomaticResponse": { + "resourceArn": "resource_arn" + }, "aws:shield/drtAccessLogBucketAssociation:DrtAccessLogBucketAssociation": { "logBucket": "log_bucket", "roleArnAssociationId": "role_arn_association_id" @@ -337409,6 +337729,10 @@ "partnerProfileId": "partner_profile_id", "signingAlgorithm": "signing_algorithm" }, + "aws:transfer/ConnectorSftpConfig:ConnectorSftpConfig": { + "trustedHostKeys": "trusted_host_keys", + "userSecretId": "user_secret_id" + }, "aws:transfer/ServerEndpointDetails:ServerEndpointDetails": { "addressAllocationIds": "address_allocation_ids", "securityGroupIds": "security_group_ids", @@ -337549,6 +337873,7 @@ "as2Config": "as2_config", "connectorId": "connector_id", "loggingRole": "logging_role", + "sftpConfig": "sftp_config", "tagsAll": "tags_all" }, "aws:transfer/getServer:getServer": { @@ -337605,6 +337930,12 @@ "onExceptionSteps": "on_exception_steps", "tagsAll": "tags_all" }, + "aws:verifiedaccess/InstanceVerifiedAccessTrustProvider:InstanceVerifiedAccessTrustProvider": { + "deviceTrustProviderType": "device_trust_provider_type", + "trustProviderType": "trust_provider_type", + "userTrustProviderType": "user_trust_provider_type", + "verifiedAccessTrustProviderId": "verified_access_trust_provider_id" + }, "aws:verifiedaccess/TrustProviderDeviceOptions:TrustProviderDeviceOptions": { "tenantId": "tenant_id" }, @@ -337615,6 +337946,12 @@ "tokenEndpoint": "token_endpoint", "userInfoEndpoint": "user_info_endpoint" }, + "aws:verifiedaccess/instance:Instance": { + "creationTime": "creation_time", + "lastUpdatedTime": "last_updated_time", + "tagsAll": "tags_all", + "verifiedAccessTrustProviders": "verified_access_trust_providers" + }, "aws:verifiedaccess/trustProvider:TrustProvider": { "deviceOptions": "device_options", "deviceTrustProviderType": "device_trust_provider_type", diff --git a/provider/cmd/pulumi-resource-aws/schema.json b/provider/cmd/pulumi-resource-aws/schema.json index 0cbfaeba7e0..1a94442aa79 100644 --- a/provider/cmd/pulumi-resource-aws/schema.json +++ b/provider/cmd/pulumi-resource-aws/schema.json @@ -56148,18 +56148,15 @@ }, "domainName": { "type": "string", - "description": "The fully qualified domain name of the self-managed AD directory. For example, `corp.example.com`.\n", - "willReplaceOnChanges": true + "description": "The fully qualified domain name of the self-managed AD directory. For example, `corp.example.com`.\n" }, "fileSystemAdministratorsGroup": { "type": "string", - "description": "The name of the domain group whose members are granted administrative privileges for the SVM. The group that you specify must already exist in your domain. Defaults to `Domain Admins`.\n", - "willReplaceOnChanges": true + "description": "The name of the domain group whose members are granted administrative privileges for the SVM. The group that you specify must already exist in your domain. Defaults to `Domain Admins`.\n" }, "organizationalUnitDistinguishedName": { "type": "string", - "description": "The fully qualified distinguished name of the organizational unit within your self-managed AD directory that the Windows File Server instance will join. For example, `OU=FSx,DC=yourdomain,DC=corp,DC=com`. Only accepts OU as the direct parent of the SVM. If none is provided, the SVM is created in the default location of your self-managed AD directory. To learn more, see [RFC 2253](https://tools.ietf.org/html/rfc2253).\n", - "willReplaceOnChanges": true + "description": "The fully qualified distinguished name of the organizational unit within your self-managed AD directory that the Windows File Server instance will join. For example, `OU=FSx,DC=yourdomain,DC=corp,DC=com`. Only accepts OU as the direct parent of the SVM. If none is provided, the SVM is created in the default location of your self-managed AD directory. To learn more, see [RFC 2253](https://tools.ietf.org/html/rfc2253).\n" }, "password": { "type": "string", @@ -56610,6 +56607,360 @@ "username" ] }, + "aws:fsx/getOntapFileSystemDiskIopsConfiguration:getOntapFileSystemDiskIopsConfiguration": { + "properties": { + "iops": { + "type": "integer", + "description": "The total number of SSD IOPS provisioned for the file system.\n" + }, + "mode": { + "type": "string", + "description": "Specifies whether the file system is using the `AUTOMATIC` setting of SSD IOPS of 3 IOPS per GB of storage capacity, or if it using a `USER_PROVISIONED` value.\n" + } + }, + "type": "object", + "required": [ + "iops", + "mode" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "aws:fsx/getOntapFileSystemEndpoint:getOntapFileSystemEndpoint": { + "properties": { + "interclusters": { + "type": "array", + "items": { + "$ref": "#/types/aws:fsx/getOntapFileSystemEndpointIntercluster:getOntapFileSystemEndpointIntercluster" + }, + "description": "A FileSystemEndpoint for managing your file system by setting up NetApp SnapMirror with other ONTAP systems. See FileSystemEndpoint below.\n" + }, + "managements": { + "type": "array", + "items": { + "$ref": "#/types/aws:fsx/getOntapFileSystemEndpointManagement:getOntapFileSystemEndpointManagement" + }, + "description": "A FileSystemEndpoint for managing your file system using the NetApp ONTAP CLI and NetApp ONTAP API. See FileSystemEndpoint below.\n" + } + }, + "type": "object", + "required": [ + "interclusters", + "managements" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "aws:fsx/getOntapFileSystemEndpointIntercluster:getOntapFileSystemEndpointIntercluster": { + "properties": { + "dnsName": { + "type": "string", + "description": "DNS name for the file system (e.g. `fs-12345678.corp.example.com`).\n" + }, + "ipAddresses": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "type": "object", + "required": [ + "dnsName", + "ipAddresses" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "aws:fsx/getOntapFileSystemEndpointManagement:getOntapFileSystemEndpointManagement": { + "properties": { + "dnsName": { + "type": "string", + "description": "DNS name for the file system (e.g. `fs-12345678.corp.example.com`).\n" + }, + "ipAddresses": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "type": "object", + "required": [ + "dnsName", + "ipAddresses" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "aws:fsx/getOntapStorageVirtualMachineActiveDirectoryConfiguration:getOntapStorageVirtualMachineActiveDirectoryConfiguration": { + "properties": { + "netbiosName": { + "type": "string", + "description": "The NetBIOS name of the AD computer object to which the SVM is joined.\n" + }, + "selfManagedActiveDirectoryConfigurations": { + "type": "array", + "items": { + "$ref": "#/types/aws:fsx/getOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfiguration:getOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfiguration" + } + } + }, + "type": "object", + "required": [ + "netbiosName", + "selfManagedActiveDirectoryConfigurations" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "aws:fsx/getOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfiguration:getOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfiguration": { + "properties": { + "dnsIps": { + "type": "array", + "items": { + "type": "string" + }, + "description": "A list of up to three IP addresses of DNS servers or domain controllers in the self-managed AD directory.\n" + }, + "domainName": { + "type": "string", + "description": "The fully qualified domain name of the self-managed AD directory.\n" + }, + "fileSystemAdministratorsGroup": { + "type": "string", + "description": "The name of the domain group whose members have administrative privileges for the FSx file system.\n" + }, + "organizationalUnitDistinguishedName": { + "type": "string", + "description": "The fully qualified distinguished name of the organizational unit within the self-managed AD directory to which the Windows File Server or ONTAP storage virtual machine (SVM) instance is joined.\n" + }, + "username": { + "type": "string", + "description": "The user name for the service account on your self-managed AD domain that FSx uses to join to your AD domain.\n" + } + }, + "type": "object", + "required": [ + "dnsIps", + "domainName", + "fileSystemAdministratorsGroup", + "organizationalUnitDistinguishedName", + "username" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "aws:fsx/getOntapStorageVirtualMachineEndpoint:getOntapStorageVirtualMachineEndpoint": { + "properties": { + "iscsis": { + "type": "array", + "items": { + "$ref": "#/types/aws:fsx/getOntapStorageVirtualMachineEndpointIscsi:getOntapStorageVirtualMachineEndpointIscsi" + } + }, + "managements": { + "type": "array", + "items": { + "$ref": "#/types/aws:fsx/getOntapStorageVirtualMachineEndpointManagement:getOntapStorageVirtualMachineEndpointManagement" + }, + "description": "An endpoint for managing SVMs using the NetApp ONTAP CLI, NetApp ONTAP API, or NetApp CloudManager. See SVM Endpoint below.\n" + }, + "nfs": { + "type": "array", + "items": { + "$ref": "#/types/aws:fsx/getOntapStorageVirtualMachineEndpointNf:getOntapStorageVirtualMachineEndpointNf" + }, + "description": "An endpoint for connecting using the Network File System (NFS) protocol. See SVM Endpoint below.\n" + }, + "smbs": { + "type": "array", + "items": { + "$ref": "#/types/aws:fsx/getOntapStorageVirtualMachineEndpointSmb:getOntapStorageVirtualMachineEndpointSmb" + }, + "description": "An endpoint for connecting using the Server Message Block (SMB) protocol. See SVM Endpoint below.\n" + } + }, + "type": "object", + "required": [ + "iscsis", + "managements", + "nfs", + "smbs" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "aws:fsx/getOntapStorageVirtualMachineEndpointIscsi:getOntapStorageVirtualMachineEndpointIscsi": { + "properties": { + "dnsName": { + "type": "string" + }, + "ipAddresses": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "type": "object", + "required": [ + "dnsName", + "ipAddresses" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "aws:fsx/getOntapStorageVirtualMachineEndpointManagement:getOntapStorageVirtualMachineEndpointManagement": { + "properties": { + "dnsName": { + "type": "string" + }, + "ipAddresses": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "type": "object", + "required": [ + "dnsName", + "ipAddresses" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "aws:fsx/getOntapStorageVirtualMachineEndpointNf:getOntapStorageVirtualMachineEndpointNf": { + "properties": { + "dnsName": { + "type": "string" + }, + "ipAddresses": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "type": "object", + "required": [ + "dnsName", + "ipAddresses" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "aws:fsx/getOntapStorageVirtualMachineEndpointSmb:getOntapStorageVirtualMachineEndpointSmb": { + "properties": { + "dnsName": { + "type": "string" + }, + "ipAddresses": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "type": "object", + "required": [ + "dnsName", + "ipAddresses" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "aws:fsx/getOntapStorageVirtualMachineFilter:getOntapStorageVirtualMachineFilter": { + "properties": { + "name": { + "type": "string", + "description": "Name of the field to filter by, as defined by [the underlying AWS API](https://docs.aws.amazon.com/fsx/latest/APIReference/API_StorageVirtualMachineFilter.html).\n" + }, + "values": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Set of values that are accepted for the given field. An SVM will be selected if any one of the given values matches.\n" + } + }, + "type": "object", + "required": [ + "name", + "values" + ] + }, + "aws:fsx/getOntapStorageVirtualMachineLifecycleTransitionReason:getOntapStorageVirtualMachineLifecycleTransitionReason": { + "properties": { + "message": { + "type": "string", + "description": "A detailed message.\n" + } + }, + "type": "object", + "required": [ + "message" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "aws:fsx/getOntapStorageVirtualMachinesFilter:getOntapStorageVirtualMachinesFilter": { + "properties": { + "name": { + "type": "string", + "description": "Name of the field to filter by, as defined by [the underlying AWS API](https://docs.aws.amazon.com/fsx/latest/APIReference/API_StorageVirtualMachineFilter.html).\n" + }, + "values": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Set of values that are accepted for the given field. An SVM will be selected if any one of the given values matches.\n" + } + }, + "type": "object", + "required": [ + "name", + "values" + ] + }, "aws:fsx/getOpenZfsSnapshotFilter:getOpenZfsSnapshotFilter": { "properties": { "name": { @@ -87716,6 +88067,25 @@ "region" ] }, + "aws:opensearch/PackagePackageSource:PackagePackageSource": { + "properties": { + "s3BucketName": { + "type": "string", + "description": "The name of the Amazon S3 bucket containing the package.\n", + "willReplaceOnChanges": true + }, + "s3Key": { + "type": "string", + "description": "Key (file name) of the package.\n", + "willReplaceOnChanges": true + } + }, + "type": "object", + "required": [ + "s3BucketName", + "s3Key" + ] + }, "aws:opensearch/ServerlessCollectionTimeouts:ServerlessCollectionTimeouts": { "properties": { "create": { @@ -96508,33 +96878,33 @@ "items": { "type": "string" }, - "description": "A list of DB Security Groups for which the option is enabled.\n" + "description": "List of DB Security Groups for which the option is enabled.\n" }, "optionName": { "type": "string", - "description": "The Name of the Option (e.g., MEMCACHED).\n" + "description": "Name of the option (e.g., MEMCACHED).\n" }, "optionSettings": { "type": "array", "items": { "$ref": "#/types/aws:rds/OptionGroupOptionOptionSetting:OptionGroupOptionOptionSetting" }, - "description": "A list of option settings to apply.\n" + "description": "List of option settings to apply.\n" }, "port": { "type": "integer", - "description": "The Port number when connecting to the Option (e.g., 11211).\n" + "description": "Port number when connecting to the option (e.g., 11211). Leaving out or removing `port` from your configuration does not remove or clear a port from the option in AWS. AWS may assign a default port. Not including `port` in your configuration means that the AWS provider will ignore a previously set value, a value set by AWS, and any port changes.\n" }, "version": { "type": "string", - "description": "The version of the option (e.g., 13.1.0.0).\n" + "description": "Version of the option (e.g., 13.1.0.0). Leaving out or removing `version` from your configuration does not remove or clear a version from the option in AWS. AWS may assign a default version. Not including `version` in your configuration means that the AWS provider will ignore a previously set value, a value set by AWS, and any version changes.\n" }, "vpcSecurityGroupMemberships": { "type": "array", "items": { "type": "string" }, - "description": "A list of VPC Security Groups for which the option is enabled.\n" + "description": "List of VPC Security Groups for which the option is enabled.\n" } }, "type": "object", @@ -96546,11 +96916,11 @@ "properties": { "name": { "type": "string", - "description": "The Name of the setting.\n" + "description": "Name of the setting.\n" }, "value": { "type": "string", - "description": "The Value of the setting.\n" + "description": "Value of the setting.\n" } }, "type": "object", @@ -101078,12 +101448,28 @@ "bucket": { "type": "string", "willReplaceOnChanges": true + }, + "bucketAccountId": { + "type": "string", + "willReplaceOnChanges": true + }, + "region": { + "type": "string" } }, "type": "object", "required": [ "bucket" - ] + ], + "language": { + "nodejs": { + "requiredOutputs": [ + "bucket", + "bucketAccountId", + "region" + ] + } + } }, "aws:s3control/MultiRegionAccessPointPolicyDetails:MultiRegionAccessPointPolicyDetails": { "properties": { @@ -101562,6 +101948,10 @@ "type": "string", "description": "The name of the bucket.\n" }, + "bucketAccountId": { + "type": "string", + "description": "The AWS account ID that owns the bucket.\n" + }, "region": { "type": "string", "description": "The name of the region.\n" @@ -101570,6 +101960,7 @@ "type": "object", "required": [ "bucket", + "bucketAccountId", "region" ], "language": { @@ -108269,7 +108660,8 @@ }, "domainSigningPrivateKey": { "type": "string", - "description": "[Bring Your Own DKIM] A private key that's used to generate a DKIM signature. The private key must use 1024 or 2048-bit RSA encryption, and must be encoded using base64 encoding.\n\n\u003e **NOTE:** You have to delete the first and last lines ('-----BEGIN PRIVATE KEY-----' and '-----END PRIVATE KEY-----', respectively) of the generated private key. Additionally, you have to remove the line breaks in the generated private key. The resulting value is a string of characters with no spaces or line breaks.\n" + "description": "[Bring Your Own DKIM] A private key that's used to generate a DKIM signature. The private key must use 1024 or 2048-bit RSA encryption, and must be encoded using base64 encoding.\n\n\u003e **NOTE:** You have to delete the first and last lines ('-----BEGIN PRIVATE KEY-----' and '-----END PRIVATE KEY-----', respectively) of the generated private key. Additionally, you have to remove the line breaks in the generated private key. The resulting value is a string of characters with no spaces or line breaks.\n", + "secret": true }, "domainSigningSelector": { "type": "string", @@ -108507,7 +108899,8 @@ "description": "[Easy DKIM] The key length of the DKIM key pair in use.\n" }, "domainSigningPrivateKey": { - "type": "string" + "type": "string", + "secret": true }, "domainSigningSelector": { "type": "string" @@ -108616,6 +109009,20 @@ } } }, + "aws:shield/ApplicationLayerAutomaticResponseTimeouts:ApplicationLayerAutomaticResponseTimeouts": { + "properties": { + "create": { + "type": "string" + }, + "delete": { + "type": "string" + }, + "update": { + "type": "string" + } + }, + "type": "object" + }, "aws:shield/DrtAccessLogBucketAssociationTimeouts:DrtAccessLogBucketAssociationTimeouts": { "properties": { "create": { @@ -110783,6 +111190,22 @@ "signingAlgorithm" ] }, + "aws:transfer/ConnectorSftpConfig:ConnectorSftpConfig": { + "properties": { + "trustedHostKeys": { + "type": "array", + "items": { + "type": "string" + }, + "description": "A list of public portion of the host key, or keys, that are used to authenticate the user to the external server to which you are connecting.(https://docs.aws.amazon.com/transfer/latest/userguide/API_SftpConnectorConfig.html)\n" + }, + "userSecretId": { + "type": "string", + "description": "The identifier for the secret (in AWS Secrets Manager) that contains the SFTP user's private key, password, or both. The identifier can be either the Amazon Resource Name (ARN) or the name of the secret.\n" + } + }, + "type": "object" + }, "aws:transfer/ServerEndpointDetails:ServerEndpointDetails": { "properties": { "addressAllocationIds": { @@ -111482,6 +111905,42 @@ "value" ] }, + "aws:verifiedaccess/InstanceVerifiedAccessTrustProvider:InstanceVerifiedAccessTrustProvider": { + "properties": { + "description": { + "type": "string", + "description": "A description for the AWS Verified Access Instance.\n" + }, + "deviceTrustProviderType": { + "type": "string", + "description": "The type of device-based trust provider.\n" + }, + "trustProviderType": { + "type": "string", + "description": "The type of trust provider (user- or device-based).\n" + }, + "userTrustProviderType": { + "type": "string", + "description": "The type of user-based trust provider.\n" + }, + "verifiedAccessTrustProviderId": { + "type": "string", + "description": "The ID of the trust provider.\n" + } + }, + "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "description", + "deviceTrustProviderType", + "trustProviderType", + "userTrustProviderType", + "verifiedAccessTrustProviderId" + ] + } + } + }, "aws:verifiedaccess/TrustProviderDeviceOptions:TrustProviderDeviceOptions": { "properties": { "tenantId": { @@ -147716,15 +148175,15 @@ } }, "aws:cleanrooms/collaboration:Collaboration": { - "description": "Provides a AWS Clean Rooms collaboration. All members included in the definition will be invited to\njoin the collaboration and can create memberships.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Collaboration with tags\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\n\nconst testCollaboration = new aws.cleanrooms.Collaboration(\"testCollaboration\", {\n creatorDisplayName: \"Creator \",\n creatorMemberAbilities: [\n \"CAN_QUERY\",\n \"CAN_RECEIVE_RESULTS\",\n ],\n dataEncryptionMetadata: {\n allowClearText: true,\n allowDuplicates: true,\n allowJoinsOnColumnsWithDifferentNames: true,\n preserveNulls: false,\n },\n description: \"I made this collaboration with Pulumi!\",\n members: [{\n accountId: \"123456789012\",\n displayName: \"Other member\",\n memberAbilities: [],\n }],\n queryLogStatus: \"DISABLED\",\n tags: {\n Project: \"Pulumi\",\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\n\ntest_collaboration = aws.cleanrooms.Collaboration(\"testCollaboration\",\n creator_display_name=\"Creator \",\n creator_member_abilities=[\n \"CAN_QUERY\",\n \"CAN_RECEIVE_RESULTS\",\n ],\n data_encryption_metadata=aws.cleanrooms.CollaborationDataEncryptionMetadataArgs(\n allow_clear_text=True,\n allow_duplicates=True,\n allow_joins_on_columns_with_different_names=True,\n preserve_nulls=False,\n ),\n description=\"I made this collaboration with Pulumi!\",\n members=[aws.cleanrooms.CollaborationMemberArgs(\n account_id=\"123456789012\",\n display_name=\"Other member\",\n member_abilities=[],\n )],\n query_log_status=\"DISABLED\",\n tags={\n \"Project\": \"Pulumi\",\n })\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Aws = Pulumi.Aws;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var testCollaboration = new Aws.CleanRooms.Collaboration(\"testCollaboration\", new()\n {\n CreatorDisplayName = \"Creator \",\n CreatorMemberAbilities = new[]\n {\n \"CAN_QUERY\",\n \"CAN_RECEIVE_RESULTS\",\n },\n DataEncryptionMetadata = new Aws.CleanRooms.Inputs.CollaborationDataEncryptionMetadataArgs\n {\n AllowClearText = true,\n AllowDuplicates = true,\n AllowJoinsOnColumnsWithDifferentNames = true,\n PreserveNulls = false,\n },\n Description = \"I made this collaboration with Pulumi!\",\n Members = new[]\n {\n new Aws.CleanRooms.Inputs.CollaborationMemberArgs\n {\n AccountId = \"123456789012\",\n DisplayName = \"Other member\",\n MemberAbilities = new[] {},\n },\n },\n QueryLogStatus = \"DISABLED\",\n Tags = \n {\n { \"Project\", \"Pulumi\" },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/cleanrooms\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := cleanrooms.NewCollaboration(ctx, \"testCollaboration\", \u0026cleanrooms.CollaborationArgs{\n\t\t\tCreatorDisplayName: pulumi.String(\"Creator \"),\n\t\t\tCreatorMemberAbilities: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"CAN_QUERY\"),\n\t\t\t\tpulumi.String(\"CAN_RECEIVE_RESULTS\"),\n\t\t\t},\n\t\t\tDataEncryptionMetadata: \u0026cleanrooms.CollaborationDataEncryptionMetadataArgs{\n\t\t\t\tAllowClearText: pulumi.Bool(true),\n\t\t\t\tAllowDuplicates: pulumi.Bool(true),\n\t\t\t\tAllowJoinsOnColumnsWithDifferentNames: pulumi.Bool(true),\n\t\t\t\tPreserveNulls: pulumi.Bool(false),\n\t\t\t},\n\t\t\tDescription: pulumi.String(\"I made this collaboration with Pulumi!\"),\n\t\t\tMembers: cleanrooms.CollaborationMemberArray{\n\t\t\t\t\u0026cleanrooms.CollaborationMemberArgs{\n\t\t\t\t\tAccountId: pulumi.String(\"123456789012\"),\n\t\t\t\t\tDisplayName: pulumi.String(\"Other member\"),\n\t\t\t\t\tMemberAbilities: pulumi.StringArray{},\n\t\t\t\t},\n\t\t\t},\n\t\t\tQueryLogStatus: pulumi.String(\"DISABLED\"),\n\t\t\tTags: pulumi.StringMap{\n\t\t\t\t\"Project\": pulumi.String(\"Pulumi\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.aws.cleanrooms.Collaboration;\nimport com.pulumi.aws.cleanrooms.CollaborationArgs;\nimport com.pulumi.aws.cleanrooms.inputs.CollaborationDataEncryptionMetadataArgs;\nimport com.pulumi.aws.cleanrooms.inputs.CollaborationMemberArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var testCollaboration = new Collaboration(\"testCollaboration\", CollaborationArgs.builder() \n .creatorDisplayName(\"Creator \")\n .creatorMemberAbilities( \n \"CAN_QUERY\",\n \"CAN_RECEIVE_RESULTS\")\n .dataEncryptionMetadata(CollaborationDataEncryptionMetadataArgs.builder()\n .allowClearText(true)\n .allowDuplicates(true)\n .allowJoinsOnColumnsWithDifferentNames(true)\n .preserveNulls(false)\n .build())\n .description(\"I made this collaboration with Pulumi!\")\n .members(CollaborationMemberArgs.builder()\n .accountId(123456789012)\n .displayName(\"Other member\")\n .memberAbilities()\n .build())\n .queryLogStatus(\"DISABLED\")\n .tags(Map.of(\"Project\", \"Pulumi\"))\n .build());\n\n }\n}\n```\n```yaml\nresources:\n testCollaboration:\n type: aws:cleanrooms:Collaboration\n properties:\n creatorDisplayName: 'Creator '\n creatorMemberAbilities:\n - CAN_QUERY\n - CAN_RECEIVE_RESULTS\n dataEncryptionMetadata:\n allowClearText: true\n allowDuplicates: true\n allowJoinsOnColumnsWithDifferentNames: true\n preserveNulls: false\n description: I made this collaboration with Pulumi!\n members:\n - accountId: 1.23456789012e+11\n displayName: Other member\n memberAbilities: []\n queryLogStatus: DISABLED\n tags:\n Project: Pulumi\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Provides a AWS Clean Rooms collaboration. All members included in the definition will be invited to\njoin the collaboration and can create memberships.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Collaboration with tags\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\n\nconst testCollaboration = new aws.cleanrooms.Collaboration(\"testCollaboration\", {\n creatorDisplayName: \"Creator \",\n creatorMemberAbilities: [\n \"CAN_QUERY\",\n \"CAN_RECEIVE_RESULTS\",\n ],\n dataEncryptionMetadata: {\n allowClearText: true,\n allowDuplicates: true,\n allowJoinsOnColumnsWithDifferentNames: true,\n preserveNulls: false,\n },\n description: \"I made this collaboration with Pulumi!\",\n members: [{\n accountId: \"123456789012\",\n displayName: \"Other member\",\n memberAbilities: [],\n }],\n queryLogStatus: \"DISABLED\",\n tags: {\n Project: \"Pulumi\",\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\n\ntest_collaboration = aws.cleanrooms.Collaboration(\"testCollaboration\",\n creator_display_name=\"Creator \",\n creator_member_abilities=[\n \"CAN_QUERY\",\n \"CAN_RECEIVE_RESULTS\",\n ],\n data_encryption_metadata=aws.cleanrooms.CollaborationDataEncryptionMetadataArgs(\n allow_clear_text=True,\n allow_duplicates=True,\n allow_joins_on_columns_with_different_names=True,\n preserve_nulls=False,\n ),\n description=\"I made this collaboration with Pulumi!\",\n members=[aws.cleanrooms.CollaborationMemberArgs(\n account_id=\"123456789012\",\n display_name=\"Other member\",\n member_abilities=[],\n )],\n query_log_status=\"DISABLED\",\n tags={\n \"Project\": \"Pulumi\",\n })\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Aws = Pulumi.Aws;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var testCollaboration = new Aws.CleanRooms.Collaboration(\"testCollaboration\", new()\n {\n CreatorDisplayName = \"Creator \",\n CreatorMemberAbilities = new[]\n {\n \"CAN_QUERY\",\n \"CAN_RECEIVE_RESULTS\",\n },\n DataEncryptionMetadata = new Aws.CleanRooms.Inputs.CollaborationDataEncryptionMetadataArgs\n {\n AllowClearText = true,\n AllowDuplicates = true,\n AllowJoinsOnColumnsWithDifferentNames = true,\n PreserveNulls = false,\n },\n Description = \"I made this collaboration with Pulumi!\",\n Members = new[]\n {\n new Aws.CleanRooms.Inputs.CollaborationMemberArgs\n {\n AccountId = \"123456789012\",\n DisplayName = \"Other member\",\n MemberAbilities = new[] {},\n },\n },\n QueryLogStatus = \"DISABLED\",\n Tags = \n {\n { \"Project\", \"Pulumi\" },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/cleanrooms\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := cleanrooms.NewCollaboration(ctx, \"testCollaboration\", \u0026cleanrooms.CollaborationArgs{\n\t\t\tCreatorDisplayName: pulumi.String(\"Creator \"),\n\t\t\tCreatorMemberAbilities: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"CAN_QUERY\"),\n\t\t\t\tpulumi.String(\"CAN_RECEIVE_RESULTS\"),\n\t\t\t},\n\t\t\tDataEncryptionMetadata: \u0026cleanrooms.CollaborationDataEncryptionMetadataArgs{\n\t\t\t\tAllowClearText: pulumi.Bool(true),\n\t\t\t\tAllowDuplicates: pulumi.Bool(true),\n\t\t\t\tAllowJoinsOnColumnsWithDifferentNames: pulumi.Bool(true),\n\t\t\t\tPreserveNulls: pulumi.Bool(false),\n\t\t\t},\n\t\t\tDescription: pulumi.String(\"I made this collaboration with Pulumi!\"),\n\t\t\tMembers: cleanrooms.CollaborationMemberArray{\n\t\t\t\t\u0026cleanrooms.CollaborationMemberArgs{\n\t\t\t\t\tAccountId: pulumi.String(\"123456789012\"),\n\t\t\t\t\tDisplayName: pulumi.String(\"Other member\"),\n\t\t\t\t\tMemberAbilities: pulumi.StringArray{},\n\t\t\t\t},\n\t\t\t},\n\t\t\tQueryLogStatus: pulumi.String(\"DISABLED\"),\n\t\t\tTags: pulumi.StringMap{\n\t\t\t\t\"Project\": pulumi.String(\"Pulumi\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.aws.cleanrooms.Collaboration;\nimport com.pulumi.aws.cleanrooms.CollaborationArgs;\nimport com.pulumi.aws.cleanrooms.inputs.CollaborationDataEncryptionMetadataArgs;\nimport com.pulumi.aws.cleanrooms.inputs.CollaborationMemberArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var testCollaboration = new Collaboration(\"testCollaboration\", CollaborationArgs.builder() \n .creatorDisplayName(\"Creator \")\n .creatorMemberAbilities( \n \"CAN_QUERY\",\n \"CAN_RECEIVE_RESULTS\")\n .dataEncryptionMetadata(CollaborationDataEncryptionMetadataArgs.builder()\n .allowClearText(true)\n .allowDuplicates(true)\n .allowJoinsOnColumnsWithDifferentNames(true)\n .preserveNulls(false)\n .build())\n .description(\"I made this collaboration with Pulumi!\")\n .members(CollaborationMemberArgs.builder()\n .accountId(123456789012)\n .displayName(\"Other member\")\n .memberAbilities()\n .build())\n .queryLogStatus(\"DISABLED\")\n .tags(Map.of(\"Project\", \"Pulumi\"))\n .build());\n\n }\n}\n```\n```yaml\nresources:\n testCollaboration:\n type: aws:cleanrooms:Collaboration\n properties:\n creatorDisplayName: 'Creator '\n creatorMemberAbilities:\n - CAN_QUERY\n - CAN_RECEIVE_RESULTS\n dataEncryptionMetadata:\n allowClearText: true\n allowDuplicates: true\n allowJoinsOnColumnsWithDifferentNames: true\n preserveNulls: false\n description: I made this collaboration with Pulumi!\n members:\n - accountId: 1.23456789012e+11\n displayName: Other member\n memberAbilities: []\n queryLogStatus: DISABLED\n tags:\n Project: Pulumi\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nterraform import {\n\n to = aws_cleanrooms_collaboration.collaboration\n\n id = \"1234abcd-12ab-34cd-56ef-1234567890ab\" } Using `pulumi import`, import `aws:cleanrooms/collaboration:Collaboration` using the `id`. For exampleconsole % pulumi import aws:cleanrooms/collaboration:Collaboration 1234abcd-12ab-34cd-56ef-1234567890ab ", "properties": { "arn": { "type": "string", - "description": "The arn of the collaboration\n" + "description": "The arn of the collaboration.\n" }, "createTime": { "type": "string", - "description": "The date and time the collaboration was created\n* `member status` - For each member included in the collaboration an additional computed attribute of status is added. These values [may be\nound here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_MemberSummary.html#API-Type-MemberSummary-status)\n" + "description": "The date and time the collaboration was created.\n* `member status` - For each member included in the collaboration an additional computed attribute of status is added. These values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_MemberSummary.html#API-Type-MemberSummary-status).\n" }, "creatorDisplayName": { "type": "string", @@ -147735,11 +148194,11 @@ "items": { "type": "string" }, - "description": "The list of member abilities for the creator of the collaboration. Valid v\nlues [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-re\nuest-creatorMemberAbilities)\n" + "description": "The list of member abilities for the creator of the collaboration. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-creatorMemberAbilities).\n" }, "dataEncryptionMetadata": { "$ref": "#/types/aws:cleanrooms/CollaborationDataEncryptionMetadata:CollaborationDataEncryptionMetadata", - "description": "a collection of settings which determine how the [c3r client](https://docs\naws.amazon.com/clean-rooms/latest/userguide/crypto-computing.html) will encrypt data for use within this collaboration\n* `data_encryption_metadata.allow_clear_text` - (Required - Forces new resource) - Indicates whether encrypted tables can contain cleartext data. This is a boolea\nfield.\n* `data_encryption_metadata.allow_duplicates` - (Required - Forces new resource ) - Indicates whether Fingerprint columns can contain duplicate entries. This is a\nboolean field.\n* `data_encryption_metadata.allow_joins_on_columns_with_different_names` - (Required - Forces new resource) - Indicates whether Fingerprint columns can be joined\nn any other Fingerprint column with a different name. This is a boolean field.\n* `data_encryption_metadata.preserve_nulls` - (Required - Forces new resource) - Indicates whether NULL values are to be copied as NULL to encrypted tables (true)\nor cryptographically processed (false).\n" + "description": "a collection of settings which determine how the [c3r client](https://docs.aws.amazon.com/clean-rooms/latest/userguide/crypto-computing.html) will encrypt data for use within this collaboration.\n* `data_encryption_metadata.allow_clear_text` - (Required - Forces new resource) - Indicates whether encrypted tables can contain cleartext data. This is a boolea\nfield.\n* `data_encryption_metadata.allow_duplicates` - (Required - Forces new resource ) - Indicates whether Fingerprint columns can contain duplicate entries. This is a\nboolean field.\n* `data_encryption_metadata.allow_joins_on_columns_with_different_names` - (Required - Forces new resource) - Indicates whether Fingerprint columns can be joined\nn any other Fingerprint column with a different name. This is a boolean field.\n* `data_encryption_metadata.preserve_nulls` - (Required - Forces new resource) - Indicates whether NULL values are to be copied as NULL to encrypted tables (true)\nor cryptographically processed (false).\n" }, "description": { "type": "string", @@ -147750,7 +148209,7 @@ "items": { "$ref": "#/types/aws:cleanrooms/CollaborationMember:CollaborationMember" }, - "description": "Additional members of the collaboration which will be invited to join the collaboration.\n* `member.account_id` - (Required - Forces new resource) - The account id for the invited member\n* `member.display_name` - (Required - Forces new resource) - The display name for the invited member\n* `member.member_abilities` - (Required - Forces new resource) - The list of abilities for the invited member. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-creatorMemberAbiliti\ns\n" + "description": "Additional members of the collaboration which will be invited to join the collaboration.\n* `member.account_id` - (Required - Forces new resource) - The account id for the invited member.\n* `member.display_name` - (Required - Forces new resource) - The display name for the invited member.\n* `member.member_abilities` - (Required - Forces new resource) - The list of abilities for the invited member. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-creatorMemberAbilities).\n" }, "name": { "type": "string", @@ -147758,7 +148217,7 @@ }, "queryLogStatus": { "type": "string", - "description": "Determines if members of the collaboration can enable query logs within their own\nemberships. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-Cr\nateCollaboration-request-queryLogStatus).\n" + "description": "Determines if members of the collaboration can enable query logs within their own.\nemberships. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-queryLogStatus).\n" }, "tags": { "type": "object", @@ -147801,12 +148260,12 @@ "items": { "type": "string" }, - "description": "The list of member abilities for the creator of the collaboration. Valid v\nlues [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-re\nuest-creatorMemberAbilities)\n", + "description": "The list of member abilities for the creator of the collaboration. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-creatorMemberAbilities).\n", "willReplaceOnChanges": true }, "dataEncryptionMetadata": { "$ref": "#/types/aws:cleanrooms/CollaborationDataEncryptionMetadata:CollaborationDataEncryptionMetadata", - "description": "a collection of settings which determine how the [c3r client](https://docs\naws.amazon.com/clean-rooms/latest/userguide/crypto-computing.html) will encrypt data for use within this collaboration\n* `data_encryption_metadata.allow_clear_text` - (Required - Forces new resource) - Indicates whether encrypted tables can contain cleartext data. This is a boolea\nfield.\n* `data_encryption_metadata.allow_duplicates` - (Required - Forces new resource ) - Indicates whether Fingerprint columns can contain duplicate entries. This is a\nboolean field.\n* `data_encryption_metadata.allow_joins_on_columns_with_different_names` - (Required - Forces new resource) - Indicates whether Fingerprint columns can be joined\nn any other Fingerprint column with a different name. This is a boolean field.\n* `data_encryption_metadata.preserve_nulls` - (Required - Forces new resource) - Indicates whether NULL values are to be copied as NULL to encrypted tables (true)\nor cryptographically processed (false).\n", + "description": "a collection of settings which determine how the [c3r client](https://docs.aws.amazon.com/clean-rooms/latest/userguide/crypto-computing.html) will encrypt data for use within this collaboration.\n* `data_encryption_metadata.allow_clear_text` - (Required - Forces new resource) - Indicates whether encrypted tables can contain cleartext data. This is a boolea\nfield.\n* `data_encryption_metadata.allow_duplicates` - (Required - Forces new resource ) - Indicates whether Fingerprint columns can contain duplicate entries. This is a\nboolean field.\n* `data_encryption_metadata.allow_joins_on_columns_with_different_names` - (Required - Forces new resource) - Indicates whether Fingerprint columns can be joined\nn any other Fingerprint column with a different name. This is a boolean field.\n* `data_encryption_metadata.preserve_nulls` - (Required - Forces new resource) - Indicates whether NULL values are to be copied as NULL to encrypted tables (true)\nor cryptographically processed (false).\n", "willReplaceOnChanges": true }, "description": { @@ -147818,7 +148277,7 @@ "items": { "$ref": "#/types/aws:cleanrooms/CollaborationMember:CollaborationMember" }, - "description": "Additional members of the collaboration which will be invited to join the collaboration.\n* `member.account_id` - (Required - Forces new resource) - The account id for the invited member\n* `member.display_name` - (Required - Forces new resource) - The display name for the invited member\n* `member.member_abilities` - (Required - Forces new resource) - The list of abilities for the invited member. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-creatorMemberAbiliti\ns\n", + "description": "Additional members of the collaboration which will be invited to join the collaboration.\n* `member.account_id` - (Required - Forces new resource) - The account id for the invited member.\n* `member.display_name` - (Required - Forces new resource) - The display name for the invited member.\n* `member.member_abilities` - (Required - Forces new resource) - The list of abilities for the invited member. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-creatorMemberAbilities).\n", "willReplaceOnChanges": true }, "name": { @@ -147827,7 +148286,7 @@ }, "queryLogStatus": { "type": "string", - "description": "Determines if members of the collaboration can enable query logs within their own\nemberships. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-Cr\nateCollaboration-request-queryLogStatus).\n", + "description": "Determines if members of the collaboration can enable query logs within their own.\nemberships. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-queryLogStatus).\n", "willReplaceOnChanges": true }, "tags": { @@ -147849,11 +148308,11 @@ "properties": { "arn": { "type": "string", - "description": "The arn of the collaboration\n" + "description": "The arn of the collaboration.\n" }, "createTime": { "type": "string", - "description": "The date and time the collaboration was created\n* `member status` - For each member included in the collaboration an additional computed attribute of status is added. These values [may be\nound here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_MemberSummary.html#API-Type-MemberSummary-status)\n" + "description": "The date and time the collaboration was created.\n* `member status` - For each member included in the collaboration an additional computed attribute of status is added. These values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_MemberSummary.html#API-Type-MemberSummary-status).\n" }, "creatorDisplayName": { "type": "string", @@ -147865,12 +148324,12 @@ "items": { "type": "string" }, - "description": "The list of member abilities for the creator of the collaboration. Valid v\nlues [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-re\nuest-creatorMemberAbilities)\n", + "description": "The list of member abilities for the creator of the collaboration. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-creatorMemberAbilities).\n", "willReplaceOnChanges": true }, "dataEncryptionMetadata": { "$ref": "#/types/aws:cleanrooms/CollaborationDataEncryptionMetadata:CollaborationDataEncryptionMetadata", - "description": "a collection of settings which determine how the [c3r client](https://docs\naws.amazon.com/clean-rooms/latest/userguide/crypto-computing.html) will encrypt data for use within this collaboration\n* `data_encryption_metadata.allow_clear_text` - (Required - Forces new resource) - Indicates whether encrypted tables can contain cleartext data. This is a boolea\nfield.\n* `data_encryption_metadata.allow_duplicates` - (Required - Forces new resource ) - Indicates whether Fingerprint columns can contain duplicate entries. This is a\nboolean field.\n* `data_encryption_metadata.allow_joins_on_columns_with_different_names` - (Required - Forces new resource) - Indicates whether Fingerprint columns can be joined\nn any other Fingerprint column with a different name. This is a boolean field.\n* `data_encryption_metadata.preserve_nulls` - (Required - Forces new resource) - Indicates whether NULL values are to be copied as NULL to encrypted tables (true)\nor cryptographically processed (false).\n", + "description": "a collection of settings which determine how the [c3r client](https://docs.aws.amazon.com/clean-rooms/latest/userguide/crypto-computing.html) will encrypt data for use within this collaboration.\n* `data_encryption_metadata.allow_clear_text` - (Required - Forces new resource) - Indicates whether encrypted tables can contain cleartext data. This is a boolea\nfield.\n* `data_encryption_metadata.allow_duplicates` - (Required - Forces new resource ) - Indicates whether Fingerprint columns can contain duplicate entries. This is a\nboolean field.\n* `data_encryption_metadata.allow_joins_on_columns_with_different_names` - (Required - Forces new resource) - Indicates whether Fingerprint columns can be joined\nn any other Fingerprint column with a different name. This is a boolean field.\n* `data_encryption_metadata.preserve_nulls` - (Required - Forces new resource) - Indicates whether NULL values are to be copied as NULL to encrypted tables (true)\nor cryptographically processed (false).\n", "willReplaceOnChanges": true }, "description": { @@ -147882,7 +148341,7 @@ "items": { "$ref": "#/types/aws:cleanrooms/CollaborationMember:CollaborationMember" }, - "description": "Additional members of the collaboration which will be invited to join the collaboration.\n* `member.account_id` - (Required - Forces new resource) - The account id for the invited member\n* `member.display_name` - (Required - Forces new resource) - The display name for the invited member\n* `member.member_abilities` - (Required - Forces new resource) - The list of abilities for the invited member. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-creatorMemberAbiliti\ns\n", + "description": "Additional members of the collaboration which will be invited to join the collaboration.\n* `member.account_id` - (Required - Forces new resource) - The account id for the invited member.\n* `member.display_name` - (Required - Forces new resource) - The display name for the invited member.\n* `member.member_abilities` - (Required - Forces new resource) - The list of abilities for the invited member. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-creatorMemberAbilities).\n", "willReplaceOnChanges": true }, "name": { @@ -147891,7 +148350,7 @@ }, "queryLogStatus": { "type": "string", - "description": "Determines if members of the collaboration can enable query logs within their own\nemberships. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-Cr\nateCollaboration-request-queryLogStatus).\n", + "description": "Determines if members of the collaboration can enable query logs within their own.\nemberships. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-queryLogStatus).\n", "willReplaceOnChanges": true }, "tags": { @@ -184581,7 +185040,7 @@ }, "destination": { "type": "string", - "description": "ID or ARN of the resource which is the source of the path. Can be an Instance, Internet Gateway, Network Interface, Transit Gateway, VPC Endpoint, VPC Peering Connection or VPN Gateway. If the resource is in another account, you must specify an ARN.\n" + "description": "ID or ARN of the resource which is the destination of the path. Can be an Instance, Internet Gateway, Network Interface, Transit Gateway, VPC Endpoint, VPC Peering Connection or VPN Gateway. If the resource is in another account, you must specify an ARN.\n" }, "destinationArn": { "type": "string", @@ -184640,7 +185099,7 @@ "inputProperties": { "destination": { "type": "string", - "description": "ID or ARN of the resource which is the source of the path. Can be an Instance, Internet Gateway, Network Interface, Transit Gateway, VPC Endpoint, VPC Peering Connection or VPN Gateway. If the resource is in another account, you must specify an ARN.\n", + "description": "ID or ARN of the resource which is the destination of the path. Can be an Instance, Internet Gateway, Network Interface, Transit Gateway, VPC Endpoint, VPC Peering Connection or VPN Gateway. If the resource is in another account, you must specify an ARN.\n", "willReplaceOnChanges": true }, "destinationIp": { @@ -184690,7 +185149,7 @@ }, "destination": { "type": "string", - "description": "ID or ARN of the resource which is the source of the path. Can be an Instance, Internet Gateway, Network Interface, Transit Gateway, VPC Endpoint, VPC Peering Connection or VPN Gateway. If the resource is in another account, you must specify an ARN.\n", + "description": "ID or ARN of the resource which is the destination of the path. Can be an Instance, Internet Gateway, Network Interface, Transit Gateway, VPC Endpoint, VPC Peering Connection or VPN Gateway. If the resource is in another account, you must specify an ARN.\n", "willReplaceOnChanges": true }, "destinationArn": { @@ -200636,7 +201095,8 @@ "securityGroupIds", "snapshotWindow", "subnetGroupName", - "tagsAll" + "tagsAll", + "transitEncryptionEnabled" ], "inputProperties": { "applyImmediately": { @@ -210152,7 +210612,8 @@ }, "fileSystemId": { "type": "string", - "description": "The ID of the Amazon FSx ONTAP File System that this SVM will be created on.\n" + "description": "The ID of the Amazon FSx ONTAP File System that this SVM will be created on.\n", + "willReplaceOnChanges": true }, "name": { "type": "string", @@ -210199,7 +210660,8 @@ }, "fileSystemId": { "type": "string", - "description": "The ID of the Amazon FSx ONTAP File System that this SVM will be created on.\n" + "description": "The ID of the Amazon FSx ONTAP File System that this SVM will be created on.\n", + "willReplaceOnChanges": true }, "name": { "type": "string", @@ -242320,7 +242782,7 @@ } }, "aws:mq/broker:Broker": { - "description": "Provides an Amazon MQ broker resource. This resources also manages users for the broker.\n\n\u003e For more information on Amazon MQ, see [Amazon MQ documentation](https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/welcome.html).\n\n\u003e **NOTE:** Amazon MQ currently places limits on **RabbitMQ** brokers. For example, a RabbitMQ broker cannot have: instances with an associated IP address of an ENI attached to the broker, an associated LDAP server to authenticate and authorize broker connections, storage type `EFS`, audit logging, or `configuration` blocks. Although this resource allows you to create RabbitMQ users, RabbitMQ users cannot have console access or groups. Also, Amazon MQ does not return information about RabbitMQ users so drift detection is not possible.\n\n\u003e **NOTE:** Changes to an MQ Broker can occur when you change a parameter, such as `configuration` or `user`, and are reflected in the next maintenance window. Because of this, the provider may report a difference in its planning phase because a modification has not yet taken place. You can use the `apply_immediately` flag to instruct the service to apply the change immediately (see documentation below). Using `apply_immediately` can result in a brief downtime as the broker reboots.\n\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Basic Example\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\n\nconst example = new aws.mq.Broker(\"example\", {\n configuration: {\n id: aws_mq_configuration.test.id,\n revision: aws_mq_configuration.test.latest_revision,\n },\n engineType: \"ActiveMQ\",\n engineVersion: \"5.15.9\",\n hostInstanceType: \"mq.t2.micro\",\n securityGroups: [aws_security_group.test.id],\n users: [{\n username: \"ExampleUser\",\n password: \"MindTheGap\",\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\n\nexample = aws.mq.Broker(\"example\",\n configuration=aws.mq.BrokerConfigurationArgs(\n id=aws_mq_configuration[\"test\"][\"id\"],\n revision=aws_mq_configuration[\"test\"][\"latest_revision\"],\n ),\n engine_type=\"ActiveMQ\",\n engine_version=\"5.15.9\",\n host_instance_type=\"mq.t2.micro\",\n security_groups=[aws_security_group[\"test\"][\"id\"]],\n users=[aws.mq.BrokerUserArgs(\n username=\"ExampleUser\",\n password=\"MindTheGap\",\n )])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Aws = Pulumi.Aws;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Aws.Mq.Broker(\"example\", new()\n {\n Configuration = new Aws.Mq.Inputs.BrokerConfigurationArgs\n {\n Id = aws_mq_configuration.Test.Id,\n Revision = aws_mq_configuration.Test.Latest_revision,\n },\n EngineType = \"ActiveMQ\",\n EngineVersion = \"5.15.9\",\n HostInstanceType = \"mq.t2.micro\",\n SecurityGroups = new[]\n {\n aws_security_group.Test.Id,\n },\n Users = new[]\n {\n new Aws.Mq.Inputs.BrokerUserArgs\n {\n Username = \"ExampleUser\",\n Password = \"MindTheGap\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/mq\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := mq.NewBroker(ctx, \"example\", \u0026mq.BrokerArgs{\n\t\t\tConfiguration: \u0026mq.BrokerConfigurationArgs{\n\t\t\t\tId: pulumi.Any(aws_mq_configuration.Test.Id),\n\t\t\t\tRevision: pulumi.Any(aws_mq_configuration.Test.Latest_revision),\n\t\t\t},\n\t\t\tEngineType: pulumi.String(\"ActiveMQ\"),\n\t\t\tEngineVersion: pulumi.String(\"5.15.9\"),\n\t\t\tHostInstanceType: pulumi.String(\"mq.t2.micro\"),\n\t\t\tSecurityGroups: pulumi.StringArray{\n\t\t\t\taws_security_group.Test.Id,\n\t\t\t},\n\t\t\tUsers: mq.BrokerUserArray{\n\t\t\t\t\u0026mq.BrokerUserArgs{\n\t\t\t\t\tUsername: pulumi.String(\"ExampleUser\"),\n\t\t\t\t\tPassword: pulumi.String(\"MindTheGap\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.aws.mq.Broker;\nimport com.pulumi.aws.mq.BrokerArgs;\nimport com.pulumi.aws.mq.inputs.BrokerConfigurationArgs;\nimport com.pulumi.aws.mq.inputs.BrokerUserArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new Broker(\"example\", BrokerArgs.builder() \n .configuration(BrokerConfigurationArgs.builder()\n .id(aws_mq_configuration.test().id())\n .revision(aws_mq_configuration.test().latest_revision())\n .build())\n .engineType(\"ActiveMQ\")\n .engineVersion(\"5.15.9\")\n .hostInstanceType(\"mq.t2.micro\")\n .securityGroups(aws_security_group.test().id())\n .users(BrokerUserArgs.builder()\n .username(\"ExampleUser\")\n .password(\"MindTheGap\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: aws:mq:Broker\n properties:\n configuration:\n id: ${aws_mq_configuration.test.id}\n revision: ${aws_mq_configuration.test.latest_revision}\n engineType: ActiveMQ\n engineVersion: 5.15.9\n hostInstanceType: mq.t2.micro\n securityGroups:\n - ${aws_security_group.test.id}\n users:\n - username: ExampleUser\n password: MindTheGap\n```\n{{% /example %}}\n{{% example %}}\n### High-throughput Optimized Example\n\nThis example shows the use of EBS storage for high-throughput optimized performance.\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\n\nconst example = new aws.mq.Broker(\"example\", {\n configuration: {\n id: aws_mq_configuration.test.id,\n revision: aws_mq_configuration.test.latest_revision,\n },\n engineType: \"ActiveMQ\",\n engineVersion: \"5.15.9\",\n storageType: \"ebs\",\n hostInstanceType: \"mq.m5.large\",\n securityGroups: [aws_security_group.test.id],\n users: [{\n username: \"ExampleUser\",\n password: \"MindTheGap\",\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\n\nexample = aws.mq.Broker(\"example\",\n configuration=aws.mq.BrokerConfigurationArgs(\n id=aws_mq_configuration[\"test\"][\"id\"],\n revision=aws_mq_configuration[\"test\"][\"latest_revision\"],\n ),\n engine_type=\"ActiveMQ\",\n engine_version=\"5.15.9\",\n storage_type=\"ebs\",\n host_instance_type=\"mq.m5.large\",\n security_groups=[aws_security_group[\"test\"][\"id\"]],\n users=[aws.mq.BrokerUserArgs(\n username=\"ExampleUser\",\n password=\"MindTheGap\",\n )])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Aws = Pulumi.Aws;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Aws.Mq.Broker(\"example\", new()\n {\n Configuration = new Aws.Mq.Inputs.BrokerConfigurationArgs\n {\n Id = aws_mq_configuration.Test.Id,\n Revision = aws_mq_configuration.Test.Latest_revision,\n },\n EngineType = \"ActiveMQ\",\n EngineVersion = \"5.15.9\",\n StorageType = \"ebs\",\n HostInstanceType = \"mq.m5.large\",\n SecurityGroups = new[]\n {\n aws_security_group.Test.Id,\n },\n Users = new[]\n {\n new Aws.Mq.Inputs.BrokerUserArgs\n {\n Username = \"ExampleUser\",\n Password = \"MindTheGap\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/mq\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := mq.NewBroker(ctx, \"example\", \u0026mq.BrokerArgs{\n\t\t\tConfiguration: \u0026mq.BrokerConfigurationArgs{\n\t\t\t\tId: pulumi.Any(aws_mq_configuration.Test.Id),\n\t\t\t\tRevision: pulumi.Any(aws_mq_configuration.Test.Latest_revision),\n\t\t\t},\n\t\t\tEngineType: pulumi.String(\"ActiveMQ\"),\n\t\t\tEngineVersion: pulumi.String(\"5.15.9\"),\n\t\t\tStorageType: pulumi.String(\"ebs\"),\n\t\t\tHostInstanceType: pulumi.String(\"mq.m5.large\"),\n\t\t\tSecurityGroups: pulumi.StringArray{\n\t\t\t\taws_security_group.Test.Id,\n\t\t\t},\n\t\t\tUsers: mq.BrokerUserArray{\n\t\t\t\t\u0026mq.BrokerUserArgs{\n\t\t\t\t\tUsername: pulumi.String(\"ExampleUser\"),\n\t\t\t\t\tPassword: pulumi.String(\"MindTheGap\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.aws.mq.Broker;\nimport com.pulumi.aws.mq.BrokerArgs;\nimport com.pulumi.aws.mq.inputs.BrokerConfigurationArgs;\nimport com.pulumi.aws.mq.inputs.BrokerUserArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new Broker(\"example\", BrokerArgs.builder() \n .configuration(BrokerConfigurationArgs.builder()\n .id(aws_mq_configuration.test().id())\n .revision(aws_mq_configuration.test().latest_revision())\n .build())\n .engineType(\"ActiveMQ\")\n .engineVersion(\"5.15.9\")\n .storageType(\"ebs\")\n .hostInstanceType(\"mq.m5.large\")\n .securityGroups(aws_security_group.test().id())\n .users(BrokerUserArgs.builder()\n .username(\"ExampleUser\")\n .password(\"MindTheGap\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: aws:mq:Broker\n properties:\n configuration:\n id: ${aws_mq_configuration.test.id}\n revision: ${aws_mq_configuration.test.latest_revision}\n engineType: ActiveMQ\n engineVersion: 5.15.9\n storageType: ebs\n hostInstanceType: mq.m5.large\n securityGroups:\n - ${aws_security_group.test.id}\n users:\n - username: ExampleUser\n password: MindTheGap\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nUsing `pulumi import`, import MQ Brokers using their broker id. For example:\n\n```sh\n $ pulumi import aws:mq/broker:Broker example a1b2c3d4-d5f6-7777-8888-9999aaaabbbbcccc\n```\n ", + "description": "Provides an Amazon MQ broker resource. This resources also manages users for the broker.\n\n\u003e For more information on Amazon MQ, see [Amazon MQ documentation](https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/welcome.html).\n\n\u003e **NOTE:** Amazon MQ currently places limits on **RabbitMQ** brokers. For example, a RabbitMQ broker cannot have: instances with an associated IP address of an ENI attached to the broker, an associated LDAP server to authenticate and authorize broker connections, storage type `EFS`, or audit logging. Although this resource allows you to create RabbitMQ users, RabbitMQ users cannot have console access or groups. Also, Amazon MQ does not return information about RabbitMQ users so drift detection is not possible.\n\n\u003e **NOTE:** Changes to an MQ Broker can occur when you change a parameter, such as `configuration` or `user`, and are reflected in the next maintenance window. Because of this, the provider may report a difference in its planning phase because a modification has not yet taken place. You can use the `apply_immediately` flag to instruct the service to apply the change immediately (see documentation below). Using `apply_immediately` can result in a brief downtime as the broker reboots.\n\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Basic Example\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\n\nconst example = new aws.mq.Broker(\"example\", {\n configuration: {\n id: aws_mq_configuration.test.id,\n revision: aws_mq_configuration.test.latest_revision,\n },\n engineType: \"ActiveMQ\",\n engineVersion: \"5.15.9\",\n hostInstanceType: \"mq.t2.micro\",\n securityGroups: [aws_security_group.test.id],\n users: [{\n username: \"ExampleUser\",\n password: \"MindTheGap\",\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\n\nexample = aws.mq.Broker(\"example\",\n configuration=aws.mq.BrokerConfigurationArgs(\n id=aws_mq_configuration[\"test\"][\"id\"],\n revision=aws_mq_configuration[\"test\"][\"latest_revision\"],\n ),\n engine_type=\"ActiveMQ\",\n engine_version=\"5.15.9\",\n host_instance_type=\"mq.t2.micro\",\n security_groups=[aws_security_group[\"test\"][\"id\"]],\n users=[aws.mq.BrokerUserArgs(\n username=\"ExampleUser\",\n password=\"MindTheGap\",\n )])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Aws = Pulumi.Aws;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Aws.Mq.Broker(\"example\", new()\n {\n Configuration = new Aws.Mq.Inputs.BrokerConfigurationArgs\n {\n Id = aws_mq_configuration.Test.Id,\n Revision = aws_mq_configuration.Test.Latest_revision,\n },\n EngineType = \"ActiveMQ\",\n EngineVersion = \"5.15.9\",\n HostInstanceType = \"mq.t2.micro\",\n SecurityGroups = new[]\n {\n aws_security_group.Test.Id,\n },\n Users = new[]\n {\n new Aws.Mq.Inputs.BrokerUserArgs\n {\n Username = \"ExampleUser\",\n Password = \"MindTheGap\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/mq\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := mq.NewBroker(ctx, \"example\", \u0026mq.BrokerArgs{\n\t\t\tConfiguration: \u0026mq.BrokerConfigurationArgs{\n\t\t\t\tId: pulumi.Any(aws_mq_configuration.Test.Id),\n\t\t\t\tRevision: pulumi.Any(aws_mq_configuration.Test.Latest_revision),\n\t\t\t},\n\t\t\tEngineType: pulumi.String(\"ActiveMQ\"),\n\t\t\tEngineVersion: pulumi.String(\"5.15.9\"),\n\t\t\tHostInstanceType: pulumi.String(\"mq.t2.micro\"),\n\t\t\tSecurityGroups: pulumi.StringArray{\n\t\t\t\taws_security_group.Test.Id,\n\t\t\t},\n\t\t\tUsers: mq.BrokerUserArray{\n\t\t\t\t\u0026mq.BrokerUserArgs{\n\t\t\t\t\tUsername: pulumi.String(\"ExampleUser\"),\n\t\t\t\t\tPassword: pulumi.String(\"MindTheGap\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.aws.mq.Broker;\nimport com.pulumi.aws.mq.BrokerArgs;\nimport com.pulumi.aws.mq.inputs.BrokerConfigurationArgs;\nimport com.pulumi.aws.mq.inputs.BrokerUserArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new Broker(\"example\", BrokerArgs.builder() \n .configuration(BrokerConfigurationArgs.builder()\n .id(aws_mq_configuration.test().id())\n .revision(aws_mq_configuration.test().latest_revision())\n .build())\n .engineType(\"ActiveMQ\")\n .engineVersion(\"5.15.9\")\n .hostInstanceType(\"mq.t2.micro\")\n .securityGroups(aws_security_group.test().id())\n .users(BrokerUserArgs.builder()\n .username(\"ExampleUser\")\n .password(\"MindTheGap\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: aws:mq:Broker\n properties:\n configuration:\n id: ${aws_mq_configuration.test.id}\n revision: ${aws_mq_configuration.test.latest_revision}\n engineType: ActiveMQ\n engineVersion: 5.15.9\n hostInstanceType: mq.t2.micro\n securityGroups:\n - ${aws_security_group.test.id}\n users:\n - username: ExampleUser\n password: MindTheGap\n```\n{{% /example %}}\n{{% example %}}\n### High-throughput Optimized Example\n\nThis example shows the use of EBS storage for high-throughput optimized performance.\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\n\nconst example = new aws.mq.Broker(\"example\", {\n configuration: {\n id: aws_mq_configuration.test.id,\n revision: aws_mq_configuration.test.latest_revision,\n },\n engineType: \"ActiveMQ\",\n engineVersion: \"5.15.9\",\n storageType: \"ebs\",\n hostInstanceType: \"mq.m5.large\",\n securityGroups: [aws_security_group.test.id],\n users: [{\n username: \"ExampleUser\",\n password: \"MindTheGap\",\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\n\nexample = aws.mq.Broker(\"example\",\n configuration=aws.mq.BrokerConfigurationArgs(\n id=aws_mq_configuration[\"test\"][\"id\"],\n revision=aws_mq_configuration[\"test\"][\"latest_revision\"],\n ),\n engine_type=\"ActiveMQ\",\n engine_version=\"5.15.9\",\n storage_type=\"ebs\",\n host_instance_type=\"mq.m5.large\",\n security_groups=[aws_security_group[\"test\"][\"id\"]],\n users=[aws.mq.BrokerUserArgs(\n username=\"ExampleUser\",\n password=\"MindTheGap\",\n )])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Aws = Pulumi.Aws;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Aws.Mq.Broker(\"example\", new()\n {\n Configuration = new Aws.Mq.Inputs.BrokerConfigurationArgs\n {\n Id = aws_mq_configuration.Test.Id,\n Revision = aws_mq_configuration.Test.Latest_revision,\n },\n EngineType = \"ActiveMQ\",\n EngineVersion = \"5.15.9\",\n StorageType = \"ebs\",\n HostInstanceType = \"mq.m5.large\",\n SecurityGroups = new[]\n {\n aws_security_group.Test.Id,\n },\n Users = new[]\n {\n new Aws.Mq.Inputs.BrokerUserArgs\n {\n Username = \"ExampleUser\",\n Password = \"MindTheGap\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/mq\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := mq.NewBroker(ctx, \"example\", \u0026mq.BrokerArgs{\n\t\t\tConfiguration: \u0026mq.BrokerConfigurationArgs{\n\t\t\t\tId: pulumi.Any(aws_mq_configuration.Test.Id),\n\t\t\t\tRevision: pulumi.Any(aws_mq_configuration.Test.Latest_revision),\n\t\t\t},\n\t\t\tEngineType: pulumi.String(\"ActiveMQ\"),\n\t\t\tEngineVersion: pulumi.String(\"5.15.9\"),\n\t\t\tStorageType: pulumi.String(\"ebs\"),\n\t\t\tHostInstanceType: pulumi.String(\"mq.m5.large\"),\n\t\t\tSecurityGroups: pulumi.StringArray{\n\t\t\t\taws_security_group.Test.Id,\n\t\t\t},\n\t\t\tUsers: mq.BrokerUserArray{\n\t\t\t\t\u0026mq.BrokerUserArgs{\n\t\t\t\t\tUsername: pulumi.String(\"ExampleUser\"),\n\t\t\t\t\tPassword: pulumi.String(\"MindTheGap\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.aws.mq.Broker;\nimport com.pulumi.aws.mq.BrokerArgs;\nimport com.pulumi.aws.mq.inputs.BrokerConfigurationArgs;\nimport com.pulumi.aws.mq.inputs.BrokerUserArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new Broker(\"example\", BrokerArgs.builder() \n .configuration(BrokerConfigurationArgs.builder()\n .id(aws_mq_configuration.test().id())\n .revision(aws_mq_configuration.test().latest_revision())\n .build())\n .engineType(\"ActiveMQ\")\n .engineVersion(\"5.15.9\")\n .storageType(\"ebs\")\n .hostInstanceType(\"mq.m5.large\")\n .securityGroups(aws_security_group.test().id())\n .users(BrokerUserArgs.builder()\n .username(\"ExampleUser\")\n .password(\"MindTheGap\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: aws:mq:Broker\n properties:\n configuration:\n id: ${aws_mq_configuration.test.id}\n revision: ${aws_mq_configuration.test.latest_revision}\n engineType: ActiveMQ\n engineVersion: 5.15.9\n storageType: ebs\n hostInstanceType: mq.m5.large\n securityGroups:\n - ${aws_security_group.test.id}\n users:\n - username: ExampleUser\n password: MindTheGap\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nUsing `pulumi import`, import MQ Brokers using their broker id. For example:\n\n```sh\n $ pulumi import aws:mq/broker:Broker example a1b2c3d4-d5f6-7777-8888-9999aaaabbbbcccc\n```\n ", "properties": { "applyImmediately": { "type": "boolean", @@ -242344,7 +242806,7 @@ }, "configuration": { "$ref": "#/types/aws:mq/BrokerConfiguration:BrokerConfiguration", - "description": "Configuration block for broker configuration. Applies to `engine_type` of `ActiveMQ` only. Detailed below.\n" + "description": "Configuration block for broker configuration. Applies to `engine_type` of `ActiveMQ` and `RabbitMQ` only. Detailed below.\n" }, "deploymentMode": { "type": "string", @@ -242466,7 +242928,7 @@ }, "configuration": { "$ref": "#/types/aws:mq/BrokerConfiguration:BrokerConfiguration", - "description": "Configuration block for broker configuration. Applies to `engine_type` of `ActiveMQ` only. Detailed below.\n" + "description": "Configuration block for broker configuration. Applies to `engine_type` of `ActiveMQ` and `RabbitMQ` only. Detailed below.\n" }, "deploymentMode": { "type": "string", @@ -242575,7 +243037,7 @@ }, "configuration": { "$ref": "#/types/aws:mq/BrokerConfiguration:BrokerConfiguration", - "description": "Configuration block for broker configuration. Applies to `engine_type` of `ActiveMQ` only. Detailed below.\n" + "description": "Configuration block for broker configuration. Applies to `engine_type` of `ActiveMQ` and `RabbitMQ` only. Detailed below.\n" }, "deploymentMode": { "type": "string", @@ -242672,7 +243134,7 @@ } }, "aws:mq/configuration:Configuration": { - "description": "Provides an MQ Configuration Resource.\n\nFor more information on Amazon MQ, see [Amazon MQ documentation](https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/welcome.html).\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\n\nconst example = new aws.mq.Configuration(\"example\", {\n data: `\u003c?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?\u003e\n\u003cbroker xmlns=\"http://activemq.apache.org/schema/core\"\u003e\n \u003cplugins\u003e\n \u003cforcePersistencyModeBrokerPlugin persistenceFlag=\"true\"/\u003e\n \u003cstatisticsBrokerPlugin/\u003e\n \u003ctimeStampingBrokerPlugin ttlCeiling=\"86400000\" zeroExpirationOverride=\"86400000\"/\u003e\n \u003c/plugins\u003e\n\u003c/broker\u003e\n\n`,\n description: \"Example Configuration\",\n engineType: \"ActiveMQ\",\n engineVersion: \"5.15.0\",\n});\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\n\nexample = aws.mq.Configuration(\"example\",\n data=\"\"\"\u003c?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?\u003e\n\u003cbroker xmlns=\"http://activemq.apache.org/schema/core\"\u003e\n \u003cplugins\u003e\n \u003cforcePersistencyModeBrokerPlugin persistenceFlag=\"true\"/\u003e\n \u003cstatisticsBrokerPlugin/\u003e\n \u003ctimeStampingBrokerPlugin ttlCeiling=\"86400000\" zeroExpirationOverride=\"86400000\"/\u003e\n \u003c/plugins\u003e\n\u003c/broker\u003e\n\n\"\"\",\n description=\"Example Configuration\",\n engine_type=\"ActiveMQ\",\n engine_version=\"5.15.0\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Aws = Pulumi.Aws;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Aws.Mq.Configuration(\"example\", new()\n {\n Data = @\"\u003c?xml version=\"\"1.0\"\" encoding=\"\"UTF-8\"\" standalone=\"\"yes\"\"?\u003e\n\u003cbroker xmlns=\"\"http://activemq.apache.org/schema/core\"\"\u003e\n \u003cplugins\u003e\n \u003cforcePersistencyModeBrokerPlugin persistenceFlag=\"\"true\"\"/\u003e\n \u003cstatisticsBrokerPlugin/\u003e\n \u003ctimeStampingBrokerPlugin ttlCeiling=\"\"86400000\"\" zeroExpirationOverride=\"\"86400000\"\"/\u003e\n \u003c/plugins\u003e\n\u003c/broker\u003e\n\n\",\n Description = \"Example Configuration\",\n EngineType = \"ActiveMQ\",\n EngineVersion = \"5.15.0\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/mq\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := mq.NewConfiguration(ctx, \"example\", \u0026mq.ConfigurationArgs{\n\t\t\tData: pulumi.String(`\u003c?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?\u003e\n\u003cbroker xmlns=\"http://activemq.apache.org/schema/core\"\u003e\n \u003cplugins\u003e\n \u003cforcePersistencyModeBrokerPlugin persistenceFlag=\"true\"/\u003e\n \u003cstatisticsBrokerPlugin/\u003e\n \u003ctimeStampingBrokerPlugin ttlCeiling=\"86400000\" zeroExpirationOverride=\"86400000\"/\u003e\n \u003c/plugins\u003e\n\u003c/broker\u003e\n\n`),\n\t\t\tDescription: pulumi.String(\"Example Configuration\"),\n\t\t\tEngineType: pulumi.String(\"ActiveMQ\"),\n\t\t\tEngineVersion: pulumi.String(\"5.15.0\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.aws.mq.Configuration;\nimport com.pulumi.aws.mq.ConfigurationArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new Configuration(\"example\", ConfigurationArgs.builder() \n .data(\"\"\"\n\u003c?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?\u003e\n\u003cbroker xmlns=\"http://activemq.apache.org/schema/core\"\u003e\n \u003cplugins\u003e\n \u003cforcePersistencyModeBrokerPlugin persistenceFlag=\"true\"/\u003e\n \u003cstatisticsBrokerPlugin/\u003e\n \u003ctimeStampingBrokerPlugin ttlCeiling=\"86400000\" zeroExpirationOverride=\"86400000\"/\u003e\n \u003c/plugins\u003e\n\u003c/broker\u003e\n\n \"\"\")\n .description(\"Example Configuration\")\n .engineType(\"ActiveMQ\")\n .engineVersion(\"5.15.0\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: aws:mq:Configuration\n properties:\n data: |+\n \u003c?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?\u003e\n \u003cbroker xmlns=\"http://activemq.apache.org/schema/core\"\u003e\n \u003cplugins\u003e\n \u003cforcePersistencyModeBrokerPlugin persistenceFlag=\"true\"/\u003e\n \u003cstatisticsBrokerPlugin/\u003e\n \u003ctimeStampingBrokerPlugin ttlCeiling=\"86400000\" zeroExpirationOverride=\"86400000\"/\u003e\n \u003c/plugins\u003e\n \u003c/broker\u003e\n\n description: Example Configuration\n engineType: ActiveMQ\n engineVersion: 5.15.0\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nUsing `pulumi import`, import MQ Configurations using the configuration ID. For example:\n\n```sh\n $ pulumi import aws:mq/configuration:Configuration example c-0187d1eb-88c8-475a-9b79-16ef5a10c94f\n```\n ", + "description": "Provides an MQ Configuration Resource.\n\nFor more information on Amazon MQ, see [Amazon MQ documentation](https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/welcome.html).\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### ActiveMQ\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\n\nconst example = new aws.mq.Configuration(\"example\", {\n data: `\u003c?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?\u003e\n\u003cbroker xmlns=\"http://activemq.apache.org/schema/core\"\u003e\n \u003cplugins\u003e\n \u003cforcePersistencyModeBrokerPlugin persistenceFlag=\"true\"/\u003e\n \u003cstatisticsBrokerPlugin/\u003e\n \u003ctimeStampingBrokerPlugin ttlCeiling=\"86400000\" zeroExpirationOverride=\"86400000\"/\u003e\n \u003c/plugins\u003e\n\u003c/broker\u003e\n\n`,\n description: \"Example Configuration\",\n engineType: \"ActiveMQ\",\n engineVersion: \"5.15.0\",\n});\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\n\nexample = aws.mq.Configuration(\"example\",\n data=\"\"\"\u003c?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?\u003e\n\u003cbroker xmlns=\"http://activemq.apache.org/schema/core\"\u003e\n \u003cplugins\u003e\n \u003cforcePersistencyModeBrokerPlugin persistenceFlag=\"true\"/\u003e\n \u003cstatisticsBrokerPlugin/\u003e\n \u003ctimeStampingBrokerPlugin ttlCeiling=\"86400000\" zeroExpirationOverride=\"86400000\"/\u003e\n \u003c/plugins\u003e\n\u003c/broker\u003e\n\n\"\"\",\n description=\"Example Configuration\",\n engine_type=\"ActiveMQ\",\n engine_version=\"5.15.0\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Aws = Pulumi.Aws;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Aws.Mq.Configuration(\"example\", new()\n {\n Data = @\"\u003c?xml version=\"\"1.0\"\" encoding=\"\"UTF-8\"\" standalone=\"\"yes\"\"?\u003e\n\u003cbroker xmlns=\"\"http://activemq.apache.org/schema/core\"\"\u003e\n \u003cplugins\u003e\n \u003cforcePersistencyModeBrokerPlugin persistenceFlag=\"\"true\"\"/\u003e\n \u003cstatisticsBrokerPlugin/\u003e\n \u003ctimeStampingBrokerPlugin ttlCeiling=\"\"86400000\"\" zeroExpirationOverride=\"\"86400000\"\"/\u003e\n \u003c/plugins\u003e\n\u003c/broker\u003e\n\n\",\n Description = \"Example Configuration\",\n EngineType = \"ActiveMQ\",\n EngineVersion = \"5.15.0\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/mq\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := mq.NewConfiguration(ctx, \"example\", \u0026mq.ConfigurationArgs{\n\t\t\tData: pulumi.String(`\u003c?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?\u003e\n\u003cbroker xmlns=\"http://activemq.apache.org/schema/core\"\u003e\n \u003cplugins\u003e\n \u003cforcePersistencyModeBrokerPlugin persistenceFlag=\"true\"/\u003e\n \u003cstatisticsBrokerPlugin/\u003e\n \u003ctimeStampingBrokerPlugin ttlCeiling=\"86400000\" zeroExpirationOverride=\"86400000\"/\u003e\n \u003c/plugins\u003e\n\u003c/broker\u003e\n\n`),\n\t\t\tDescription: pulumi.String(\"Example Configuration\"),\n\t\t\tEngineType: pulumi.String(\"ActiveMQ\"),\n\t\t\tEngineVersion: pulumi.String(\"5.15.0\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.aws.mq.Configuration;\nimport com.pulumi.aws.mq.ConfigurationArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new Configuration(\"example\", ConfigurationArgs.builder() \n .data(\"\"\"\n\u003c?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?\u003e\n\u003cbroker xmlns=\"http://activemq.apache.org/schema/core\"\u003e\n \u003cplugins\u003e\n \u003cforcePersistencyModeBrokerPlugin persistenceFlag=\"true\"/\u003e\n \u003cstatisticsBrokerPlugin/\u003e\n \u003ctimeStampingBrokerPlugin ttlCeiling=\"86400000\" zeroExpirationOverride=\"86400000\"/\u003e\n \u003c/plugins\u003e\n\u003c/broker\u003e\n\n \"\"\")\n .description(\"Example Configuration\")\n .engineType(\"ActiveMQ\")\n .engineVersion(\"5.15.0\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: aws:mq:Configuration\n properties:\n data: |+\n \u003c?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?\u003e\n \u003cbroker xmlns=\"http://activemq.apache.org/schema/core\"\u003e\n \u003cplugins\u003e\n \u003cforcePersistencyModeBrokerPlugin persistenceFlag=\"true\"/\u003e\n \u003cstatisticsBrokerPlugin/\u003e\n \u003ctimeStampingBrokerPlugin ttlCeiling=\"86400000\" zeroExpirationOverride=\"86400000\"/\u003e\n \u003c/plugins\u003e\n \u003c/broker\u003e\n\n description: Example Configuration\n engineType: ActiveMQ\n engineVersion: 5.15.0\n```\n{{% /example %}}\n{{% example %}}\n### RabbitMQ\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\n\nconst example = new aws.mq.Configuration(\"example\", {\n data: `# Default RabbitMQ delivery acknowledgement timeout is 30 minutes in milliseconds\nconsumer_timeout = 1800000\n\n`,\n description: \"Example Configuration\",\n engineType: \"RabbitMQ\",\n engineVersion: \"3.11.16\",\n});\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\n\nexample = aws.mq.Configuration(\"example\",\n data=\"\"\"# Default RabbitMQ delivery acknowledgement timeout is 30 minutes in milliseconds\nconsumer_timeout = 1800000\n\n\"\"\",\n description=\"Example Configuration\",\n engine_type=\"RabbitMQ\",\n engine_version=\"3.11.16\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Aws = Pulumi.Aws;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Aws.Mq.Configuration(\"example\", new()\n {\n Data = @\"# Default RabbitMQ delivery acknowledgement timeout is 30 minutes in milliseconds\nconsumer_timeout = 1800000\n\n\",\n Description = \"Example Configuration\",\n EngineType = \"RabbitMQ\",\n EngineVersion = \"3.11.16\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/mq\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := mq.NewConfiguration(ctx, \"example\", \u0026mq.ConfigurationArgs{\n\t\t\tData: pulumi.String(\"# Default RabbitMQ delivery acknowledgement timeout is 30 minutes in milliseconds\\nconsumer_timeout = 1800000\\n\\n\"),\n\t\t\tDescription: pulumi.String(\"Example Configuration\"),\n\t\t\tEngineType: pulumi.String(\"RabbitMQ\"),\n\t\t\tEngineVersion: pulumi.String(\"3.11.16\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.aws.mq.Configuration;\nimport com.pulumi.aws.mq.ConfigurationArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new Configuration(\"example\", ConfigurationArgs.builder() \n .data(\"\"\"\n# Default RabbitMQ delivery acknowledgement timeout is 30 minutes in milliseconds\nconsumer_timeout = 1800000\n\n \"\"\")\n .description(\"Example Configuration\")\n .engineType(\"RabbitMQ\")\n .engineVersion(\"3.11.16\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: aws:mq:Configuration\n properties:\n data: |+\n # Default RabbitMQ delivery acknowledgement timeout is 30 minutes in milliseconds\n consumer_timeout = 1800000\n\n description: Example Configuration\n engineType: RabbitMQ\n engineVersion: 3.11.16\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nUsing `pulumi import`, import MQ Configurations using the configuration ID. For example:\n\n```sh\n $ pulumi import aws:mq/configuration:Configuration example c-0187d1eb-88c8-475a-9b79-16ef5a10c94f\n```\n ", "properties": { "arn": { "type": "string", @@ -242684,7 +243146,7 @@ }, "data": { "type": "string", - "description": "Broker configuration in XML format. See [official docs](https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/amazon-mq-broker-configuration-parameters.html) for supported parameters and format of the XML.\n" + "description": "Broker configuration in XML format for `ActiveMQ` or [Cuttlefish](https://github.com/Kyorai/cuttlefish) format for `RabbitMQ`. See [official docs](https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/amazon-mq-broker-configuration-parameters.html) for supported parameters and format of the XML.\n" }, "description": { "type": "string", @@ -242740,7 +243202,7 @@ }, "data": { "type": "string", - "description": "Broker configuration in XML format. See [official docs](https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/amazon-mq-broker-configuration-parameters.html) for supported parameters and format of the XML.\n" + "description": "Broker configuration in XML format for `ActiveMQ` or [Cuttlefish](https://github.com/Kyorai/cuttlefish) format for `RabbitMQ`. See [official docs](https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/amazon-mq-broker-configuration-parameters.html) for supported parameters and format of the XML.\n" }, "description": { "type": "string", @@ -242787,7 +243249,7 @@ }, "data": { "type": "string", - "description": "Broker configuration in XML format. See [official docs](https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/amazon-mq-broker-configuration-parameters.html) for supported parameters and format of the XML.\n" + "description": "Broker configuration in XML format for `ActiveMQ` or [Cuttlefish](https://github.com/Kyorai/cuttlefish) format for `RabbitMQ`. See [official docs](https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/amazon-mq-broker-configuration-parameters.html) for supported parameters and format of the XML.\n" }, "description": { "type": "string", @@ -250317,6 +250779,155 @@ "type": "object" } }, + "aws:opensearch/package:Package": { + "description": "Manages an AWS Opensearch Package.\n\n{{% examples %}}\n## Example Usage\n{{% /examples %}}\n\n## Import\n\nterraform import {\n\n to = aws_opensearch_package.example\n\n id = \"package-id\" } Using `pulumi import`, import AWS Opensearch Packages using the Package ID. For exampleconsole % pulumi import aws:opensearch/package:Package example package-id ", + "properties": { + "availablePackageVersion": { + "type": "string", + "description": "The current version of the package.\n" + }, + "packageDescription": { + "type": "string", + "description": "Description of the package.\n" + }, + "packageId": { + "type": "string" + }, + "packageName": { + "type": "string", + "description": "Unique name for the package.\n" + }, + "packageSource": { + "$ref": "#/types/aws:opensearch/PackagePackageSource:PackagePackageSource", + "description": "Configuration block for the package source options.\n" + }, + "packageType": { + "type": "string", + "description": "The type of package.\n" + } + }, + "required": [ + "availablePackageVersion", + "packageId", + "packageName", + "packageSource", + "packageType" + ], + "inputProperties": { + "packageDescription": { + "type": "string", + "description": "Description of the package.\n" + }, + "packageName": { + "type": "string", + "description": "Unique name for the package.\n", + "willReplaceOnChanges": true + }, + "packageSource": { + "$ref": "#/types/aws:opensearch/PackagePackageSource:PackagePackageSource", + "description": "Configuration block for the package source options.\n", + "willReplaceOnChanges": true + }, + "packageType": { + "type": "string", + "description": "The type of package.\n", + "willReplaceOnChanges": true + } + }, + "requiredInputs": [ + "packageName", + "packageSource", + "packageType" + ], + "stateInputs": { + "description": "Input properties used for looking up and filtering Package resources.\n", + "properties": { + "availablePackageVersion": { + "type": "string", + "description": "The current version of the package.\n" + }, + "packageDescription": { + "type": "string", + "description": "Description of the package.\n" + }, + "packageId": { + "type": "string" + }, + "packageName": { + "type": "string", + "description": "Unique name for the package.\n", + "willReplaceOnChanges": true + }, + "packageSource": { + "$ref": "#/types/aws:opensearch/PackagePackageSource:PackagePackageSource", + "description": "Configuration block for the package source options.\n", + "willReplaceOnChanges": true + }, + "packageType": { + "type": "string", + "description": "The type of package.\n", + "willReplaceOnChanges": true + } + }, + "type": "object" + } + }, + "aws:opensearch/packageAssociation:PackageAssociation": { + "description": "Manages an AWS Opensearch Package Association.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Basic Usage\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\n\nconst myDomain = new aws.opensearch.Domain(\"myDomain\", {\n engineVersion: \"Elasticsearch_7.10\",\n clusterConfig: {\n instanceType: \"r4.large.search\",\n },\n});\nconst examplePackage = new aws.opensearch.Package(\"examplePackage\", {\n packageName: \"example-txt\",\n packageSource: {\n s3BucketName: aws_s3_bucket.my_opensearch_packages.bucket,\n s3Key: aws_s3_object.example.key,\n },\n packageType: \"TXT-DICTIONARY\",\n});\nconst examplePackageAssociation = new aws.opensearch.PackageAssociation(\"examplePackageAssociation\", {\n packageId: examplePackage.id,\n domainName: myDomain.domainName,\n});\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\n\nmy_domain = aws.opensearch.Domain(\"myDomain\",\n engine_version=\"Elasticsearch_7.10\",\n cluster_config=aws.opensearch.DomainClusterConfigArgs(\n instance_type=\"r4.large.search\",\n ))\nexample_package = aws.opensearch.Package(\"examplePackage\",\n package_name=\"example-txt\",\n package_source=aws.opensearch.PackagePackageSourceArgs(\n s3_bucket_name=aws_s3_bucket[\"my_opensearch_packages\"][\"bucket\"],\n s3_key=aws_s3_object[\"example\"][\"key\"],\n ),\n package_type=\"TXT-DICTIONARY\")\nexample_package_association = aws.opensearch.PackageAssociation(\"examplePackageAssociation\",\n package_id=example_package.id,\n domain_name=my_domain.domain_name)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Aws = Pulumi.Aws;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var myDomain = new Aws.OpenSearch.Domain(\"myDomain\", new()\n {\n EngineVersion = \"Elasticsearch_7.10\",\n ClusterConfig = new Aws.OpenSearch.Inputs.DomainClusterConfigArgs\n {\n InstanceType = \"r4.large.search\",\n },\n });\n\n var examplePackage = new Aws.OpenSearch.Package(\"examplePackage\", new()\n {\n PackageName = \"example-txt\",\n PackageSource = new Aws.OpenSearch.Inputs.PackagePackageSourceArgs\n {\n S3BucketName = aws_s3_bucket.My_opensearch_packages.Bucket,\n S3Key = aws_s3_object.Example.Key,\n },\n PackageType = \"TXT-DICTIONARY\",\n });\n\n var examplePackageAssociation = new Aws.OpenSearch.PackageAssociation(\"examplePackageAssociation\", new()\n {\n PackageId = examplePackage.Id,\n DomainName = myDomain.DomainName,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/opensearch\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tmyDomain, err := opensearch.NewDomain(ctx, \"myDomain\", \u0026opensearch.DomainArgs{\n\t\t\tEngineVersion: pulumi.String(\"Elasticsearch_7.10\"),\n\t\t\tClusterConfig: \u0026opensearch.DomainClusterConfigArgs{\n\t\t\t\tInstanceType: pulumi.String(\"r4.large.search\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texamplePackage, err := opensearch.NewPackage(ctx, \"examplePackage\", \u0026opensearch.PackageArgs{\n\t\t\tPackageName: pulumi.String(\"example-txt\"),\n\t\t\tPackageSource: \u0026opensearch.PackagePackageSourceArgs{\n\t\t\t\tS3BucketName: pulumi.Any(aws_s3_bucket.My_opensearch_packages.Bucket),\n\t\t\t\tS3Key: pulumi.Any(aws_s3_object.Example.Key),\n\t\t\t},\n\t\t\tPackageType: pulumi.String(\"TXT-DICTIONARY\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = opensearch.NewPackageAssociation(ctx, \"examplePackageAssociation\", \u0026opensearch.PackageAssociationArgs{\n\t\t\tPackageId: examplePackage.ID(),\n\t\t\tDomainName: myDomain.DomainName,\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.aws.opensearch.Domain;\nimport com.pulumi.aws.opensearch.DomainArgs;\nimport com.pulumi.aws.opensearch.inputs.DomainClusterConfigArgs;\nimport com.pulumi.aws.opensearch.Package;\nimport com.pulumi.aws.opensearch.PackageArgs;\nimport com.pulumi.aws.opensearch.inputs.PackagePackageSourceArgs;\nimport com.pulumi.aws.opensearch.PackageAssociation;\nimport com.pulumi.aws.opensearch.PackageAssociationArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var myDomain = new Domain(\"myDomain\", DomainArgs.builder() \n .engineVersion(\"Elasticsearch_7.10\")\n .clusterConfig(DomainClusterConfigArgs.builder()\n .instanceType(\"r4.large.search\")\n .build())\n .build());\n\n var examplePackage = new Package(\"examplePackage\", PackageArgs.builder() \n .packageName(\"example-txt\")\n .packageSource(PackagePackageSourceArgs.builder()\n .s3BucketName(aws_s3_bucket.my_opensearch_packages().bucket())\n .s3Key(aws_s3_object.example().key())\n .build())\n .packageType(\"TXT-DICTIONARY\")\n .build());\n\n var examplePackageAssociation = new PackageAssociation(\"examplePackageAssociation\", PackageAssociationArgs.builder() \n .packageId(examplePackage.id())\n .domainName(myDomain.domainName())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n myDomain:\n type: aws:opensearch:Domain\n properties:\n engineVersion: Elasticsearch_7.10\n clusterConfig:\n instanceType: r4.large.search\n examplePackage:\n type: aws:opensearch:Package\n properties:\n packageName: example-txt\n packageSource:\n s3BucketName: ${aws_s3_bucket.my_opensearch_packages.bucket}\n s3Key: ${aws_s3_object.example.key}\n packageType: TXT-DICTIONARY\n examplePackageAssociation:\n type: aws:opensearch:PackageAssociation\n properties:\n packageId: ${examplePackage.id}\n domainName: ${myDomain.domainName}\n```\n{{% /example %}}\n{{% /examples %}}", + "properties": { + "domainName": { + "type": "string", + "description": "Name of the domain to associate the package with.\n" + }, + "packageId": { + "type": "string", + "description": "Internal ID of the package to associate with a domain.\n" + }, + "referencePath": { + "type": "string" + } + }, + "required": [ + "domainName", + "packageId", + "referencePath" + ], + "inputProperties": { + "domainName": { + "type": "string", + "description": "Name of the domain to associate the package with.\n", + "willReplaceOnChanges": true + }, + "packageId": { + "type": "string", + "description": "Internal ID of the package to associate with a domain.\n", + "willReplaceOnChanges": true + } + }, + "requiredInputs": [ + "domainName", + "packageId" + ], + "stateInputs": { + "description": "Input properties used for looking up and filtering PackageAssociation resources.\n", + "properties": { + "domainName": { + "type": "string", + "description": "Name of the domain to associate the package with.\n", + "willReplaceOnChanges": true + }, + "packageId": { + "type": "string", + "description": "Internal ID of the package to associate with a domain.\n", + "willReplaceOnChanges": true + }, + "referencePath": { + "type": "string" + } + }, + "type": "object" + } + }, "aws:opensearch/serverlessAccessPolicy:ServerlessAccessPolicy": { "description": "Resource for managing an AWS OpenSearch Serverless Access Policy. See AWS documentation for [data access policies](https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless-data-access.html) and [supported data access policy permissions](https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless-data-access.html#serverless-data-supported-permissions).\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Grant all collection and index permissions\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\n\nconst current = aws.getCallerIdentity({});\nconst example = new aws.opensearch.ServerlessAccessPolicy(\"example\", {\n type: \"data\",\n description: \"read and write permissions\",\n policy: current.then(current =\u003e JSON.stringify([{\n Rules: [\n {\n ResourceType: \"index\",\n Resource: [\"index/example-collection/*\"],\n Permission: [\"aoss:*\"],\n },\n {\n ResourceType: \"collection\",\n Resource: [\"collection/example-collection\"],\n Permission: [\"aoss:*\"],\n },\n ],\n Principal: [current.arn],\n }])),\n});\n```\n```python\nimport pulumi\nimport json\nimport pulumi_aws as aws\n\ncurrent = aws.get_caller_identity()\nexample = aws.opensearch.ServerlessAccessPolicy(\"example\",\n type=\"data\",\n description=\"read and write permissions\",\n policy=json.dumps([{\n \"Rules\": [\n {\n \"ResourceType\": \"index\",\n \"Resource\": [\"index/example-collection/*\"],\n \"Permission\": [\"aoss:*\"],\n },\n {\n \"ResourceType\": \"collection\",\n \"Resource\": [\"collection/example-collection\"],\n \"Permission\": [\"aoss:*\"],\n },\n ],\n \"Principal\": [current.arn],\n }]))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text.Json;\nusing Pulumi;\nusing Aws = Pulumi.Aws;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var current = Aws.GetCallerIdentity.Invoke();\n\n var example = new Aws.OpenSearch.ServerlessAccessPolicy(\"example\", new()\n {\n Type = \"data\",\n Description = \"read and write permissions\",\n Policy = JsonSerializer.Serialize(new[]\n {\n new Dictionary\u003cstring, object?\u003e\n {\n [\"Rules\"] = new[]\n {\n new Dictionary\u003cstring, object?\u003e\n {\n [\"ResourceType\"] = \"index\",\n [\"Resource\"] = new[]\n {\n \"index/example-collection/*\",\n },\n [\"Permission\"] = new[]\n {\n \"aoss:*\",\n },\n },\n new Dictionary\u003cstring, object?\u003e\n {\n [\"ResourceType\"] = \"collection\",\n [\"Resource\"] = new[]\n {\n \"collection/example-collection\",\n },\n [\"Permission\"] = new[]\n {\n \"aoss:*\",\n },\n },\n },\n [\"Principal\"] = new[]\n {\n current.Apply(getCallerIdentityResult =\u003e getCallerIdentityResult.Arn),\n },\n },\n }),\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"encoding/json\"\n\n\t\"github.com/pulumi/pulumi-aws/sdk/v6/go/aws\"\n\t\"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/opensearch\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tcurrent, err := aws.GetCallerIdentity(ctx, nil, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\ttmpJSON0, err := json.Marshal([]map[string]interface{}{\n\t\t\tmap[string]interface{}{\n\t\t\t\t\"Rules\": []map[string]interface{}{\n\t\t\t\t\tmap[string]interface{}{\n\t\t\t\t\t\t\"ResourceType\": \"index\",\n\t\t\t\t\t\t\"Resource\": []string{\n\t\t\t\t\t\t\t\"index/example-collection/*\",\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\"Permission\": []string{\n\t\t\t\t\t\t\t\"aoss:*\",\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\tmap[string]interface{}{\n\t\t\t\t\t\t\"ResourceType\": \"collection\",\n\t\t\t\t\t\t\"Resource\": []string{\n\t\t\t\t\t\t\t\"collection/example-collection\",\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\"Permission\": []string{\n\t\t\t\t\t\t\t\"aoss:*\",\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t\"Principal\": []*string{\n\t\t\t\t\tcurrent.Arn,\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tjson0 := string(tmpJSON0)\n\t\t_, err = opensearch.NewServerlessAccessPolicy(ctx, \"example\", \u0026opensearch.ServerlessAccessPolicyArgs{\n\t\t\tType: pulumi.String(\"data\"),\n\t\t\tDescription: pulumi.String(\"read and write permissions\"),\n\t\t\tPolicy: pulumi.String(json0),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.aws.AwsFunctions;\nimport com.pulumi.aws.inputs.GetCallerIdentityArgs;\nimport com.pulumi.aws.opensearch.ServerlessAccessPolicy;\nimport com.pulumi.aws.opensearch.ServerlessAccessPolicyArgs;\nimport static com.pulumi.codegen.internal.Serialization.*;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var current = AwsFunctions.getCallerIdentity();\n\n var example = new ServerlessAccessPolicy(\"example\", ServerlessAccessPolicyArgs.builder() \n .type(\"data\")\n .description(\"read and write permissions\")\n .policy(serializeJson(\n jsonArray(jsonObject(\n jsonProperty(\"Rules\", jsonArray(\n jsonObject(\n jsonProperty(\"ResourceType\", \"index\"),\n jsonProperty(\"Resource\", jsonArray(\"index/example-collection/*\")),\n jsonProperty(\"Permission\", jsonArray(\"aoss:*\"))\n ), \n jsonObject(\n jsonProperty(\"ResourceType\", \"collection\"),\n jsonProperty(\"Resource\", jsonArray(\"collection/example-collection\")),\n jsonProperty(\"Permission\", jsonArray(\"aoss:*\"))\n )\n )),\n jsonProperty(\"Principal\", jsonArray(current.applyValue(getCallerIdentityResult -\u003e getCallerIdentityResult.arn())))\n ))))\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: aws:opensearch:ServerlessAccessPolicy\n properties:\n type: data\n description: read and write permissions\n policy:\n fn::toJSON:\n - Rules:\n - ResourceType: index\n Resource:\n - index/example-collection/*\n Permission:\n - aoss:*\n - ResourceType: collection\n Resource:\n - collection/example-collection\n Permission:\n - aoss:*\n Principal:\n - ${current.arn}\nvariables:\n current:\n fn::invoke:\n Function: aws:getCallerIdentity\n Arguments: {}\n```\n{{% /example %}}\n{{% example %}}\n### Grant read-only collection and index permissions\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\n\nconst current = aws.getCallerIdentity({});\nconst example = new aws.opensearch.ServerlessAccessPolicy(\"example\", {\n type: \"data\",\n description: \"read-only permissions\",\n policy: current.then(current =\u003e JSON.stringify([{\n Rules: [\n {\n ResourceType: \"index\",\n Resource: [\"index/example-collection/*\"],\n Permission: [\n \"aoss:DescribeIndex\",\n \"aoss:ReadDocument\",\n ],\n },\n {\n ResourceType: \"collection\",\n Resource: [\"collection/example-collection\"],\n Permission: [\"aoss:DescribeCollectionItems\"],\n },\n ],\n Principal: [current.arn],\n }])),\n});\n```\n```python\nimport pulumi\nimport json\nimport pulumi_aws as aws\n\ncurrent = aws.get_caller_identity()\nexample = aws.opensearch.ServerlessAccessPolicy(\"example\",\n type=\"data\",\n description=\"read-only permissions\",\n policy=json.dumps([{\n \"Rules\": [\n {\n \"ResourceType\": \"index\",\n \"Resource\": [\"index/example-collection/*\"],\n \"Permission\": [\n \"aoss:DescribeIndex\",\n \"aoss:ReadDocument\",\n ],\n },\n {\n \"ResourceType\": \"collection\",\n \"Resource\": [\"collection/example-collection\"],\n \"Permission\": [\"aoss:DescribeCollectionItems\"],\n },\n ],\n \"Principal\": [current.arn],\n }]))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text.Json;\nusing Pulumi;\nusing Aws = Pulumi.Aws;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var current = Aws.GetCallerIdentity.Invoke();\n\n var example = new Aws.OpenSearch.ServerlessAccessPolicy(\"example\", new()\n {\n Type = \"data\",\n Description = \"read-only permissions\",\n Policy = JsonSerializer.Serialize(new[]\n {\n new Dictionary\u003cstring, object?\u003e\n {\n [\"Rules\"] = new[]\n {\n new Dictionary\u003cstring, object?\u003e\n {\n [\"ResourceType\"] = \"index\",\n [\"Resource\"] = new[]\n {\n \"index/example-collection/*\",\n },\n [\"Permission\"] = new[]\n {\n \"aoss:DescribeIndex\",\n \"aoss:ReadDocument\",\n },\n },\n new Dictionary\u003cstring, object?\u003e\n {\n [\"ResourceType\"] = \"collection\",\n [\"Resource\"] = new[]\n {\n \"collection/example-collection\",\n },\n [\"Permission\"] = new[]\n {\n \"aoss:DescribeCollectionItems\",\n },\n },\n },\n [\"Principal\"] = new[]\n {\n current.Apply(getCallerIdentityResult =\u003e getCallerIdentityResult.Arn),\n },\n },\n }),\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"encoding/json\"\n\n\t\"github.com/pulumi/pulumi-aws/sdk/v6/go/aws\"\n\t\"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/opensearch\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tcurrent, err := aws.GetCallerIdentity(ctx, nil, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\ttmpJSON0, err := json.Marshal([]map[string]interface{}{\n\t\t\tmap[string]interface{}{\n\t\t\t\t\"Rules\": []interface{}{\n\t\t\t\t\tmap[string]interface{}{\n\t\t\t\t\t\t\"ResourceType\": \"index\",\n\t\t\t\t\t\t\"Resource\": []string{\n\t\t\t\t\t\t\t\"index/example-collection/*\",\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\"Permission\": []string{\n\t\t\t\t\t\t\t\"aoss:DescribeIndex\",\n\t\t\t\t\t\t\t\"aoss:ReadDocument\",\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\tmap[string]interface{}{\n\t\t\t\t\t\t\"ResourceType\": \"collection\",\n\t\t\t\t\t\t\"Resource\": []string{\n\t\t\t\t\t\t\t\"collection/example-collection\",\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\"Permission\": []string{\n\t\t\t\t\t\t\t\"aoss:DescribeCollectionItems\",\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t\"Principal\": []*string{\n\t\t\t\t\tcurrent.Arn,\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tjson0 := string(tmpJSON0)\n\t\t_, err = opensearch.NewServerlessAccessPolicy(ctx, \"example\", \u0026opensearch.ServerlessAccessPolicyArgs{\n\t\t\tType: pulumi.String(\"data\"),\n\t\t\tDescription: pulumi.String(\"read-only permissions\"),\n\t\t\tPolicy: pulumi.String(json0),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.aws.AwsFunctions;\nimport com.pulumi.aws.inputs.GetCallerIdentityArgs;\nimport com.pulumi.aws.opensearch.ServerlessAccessPolicy;\nimport com.pulumi.aws.opensearch.ServerlessAccessPolicyArgs;\nimport static com.pulumi.codegen.internal.Serialization.*;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var current = AwsFunctions.getCallerIdentity();\n\n var example = new ServerlessAccessPolicy(\"example\", ServerlessAccessPolicyArgs.builder() \n .type(\"data\")\n .description(\"read-only permissions\")\n .policy(serializeJson(\n jsonArray(jsonObject(\n jsonProperty(\"Rules\", jsonArray(\n jsonObject(\n jsonProperty(\"ResourceType\", \"index\"),\n jsonProperty(\"Resource\", jsonArray(\"index/example-collection/*\")),\n jsonProperty(\"Permission\", jsonArray(\n \"aoss:DescribeIndex\", \n \"aoss:ReadDocument\"\n ))\n ), \n jsonObject(\n jsonProperty(\"ResourceType\", \"collection\"),\n jsonProperty(\"Resource\", jsonArray(\"collection/example-collection\")),\n jsonProperty(\"Permission\", jsonArray(\"aoss:DescribeCollectionItems\"))\n )\n )),\n jsonProperty(\"Principal\", jsonArray(current.applyValue(getCallerIdentityResult -\u003e getCallerIdentityResult.arn())))\n ))))\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: aws:opensearch:ServerlessAccessPolicy\n properties:\n type: data\n description: read-only permissions\n policy:\n fn::toJSON:\n - Rules:\n - ResourceType: index\n Resource:\n - index/example-collection/*\n Permission:\n - aoss:DescribeIndex\n - aoss:ReadDocument\n - ResourceType: collection\n Resource:\n - collection/example-collection\n Permission:\n - aoss:DescribeCollectionItems\n Principal:\n - ${current.arn}\nvariables:\n current:\n fn::invoke:\n Function: aws:getCallerIdentity\n Arguments: {}\n```\n{{% /example %}}\n{{% example %}}\n### Grant SAML identity permissions\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\n\nconst example = new aws.opensearch.ServerlessAccessPolicy(\"example\", {\n type: \"data\",\n description: \"saml permissions\",\n policy: JSON.stringify([{\n Rules: [\n {\n ResourceType: \"index\",\n Resource: [\"index/example-collection/*\"],\n Permission: [\"aoss:*\"],\n },\n {\n ResourceType: \"collection\",\n Resource: [\"collection/example-collection\"],\n Permission: [\"aoss:*\"],\n },\n ],\n Principal: [\n \"saml/123456789012/myprovider/user/Annie\",\n \"saml/123456789012/anotherprovider/group/Accounting\",\n ],\n }]),\n});\n```\n```python\nimport pulumi\nimport json\nimport pulumi_aws as aws\n\nexample = aws.opensearch.ServerlessAccessPolicy(\"example\",\n type=\"data\",\n description=\"saml permissions\",\n policy=json.dumps([{\n \"Rules\": [\n {\n \"ResourceType\": \"index\",\n \"Resource\": [\"index/example-collection/*\"],\n \"Permission\": [\"aoss:*\"],\n },\n {\n \"ResourceType\": \"collection\",\n \"Resource\": [\"collection/example-collection\"],\n \"Permission\": [\"aoss:*\"],\n },\n ],\n \"Principal\": [\n \"saml/123456789012/myprovider/user/Annie\",\n \"saml/123456789012/anotherprovider/group/Accounting\",\n ],\n }]))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text.Json;\nusing Pulumi;\nusing Aws = Pulumi.Aws;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Aws.OpenSearch.ServerlessAccessPolicy(\"example\", new()\n {\n Type = \"data\",\n Description = \"saml permissions\",\n Policy = JsonSerializer.Serialize(new[]\n {\n new Dictionary\u003cstring, object?\u003e\n {\n [\"Rules\"] = new[]\n {\n new Dictionary\u003cstring, object?\u003e\n {\n [\"ResourceType\"] = \"index\",\n [\"Resource\"] = new[]\n {\n \"index/example-collection/*\",\n },\n [\"Permission\"] = new[]\n {\n \"aoss:*\",\n },\n },\n new Dictionary\u003cstring, object?\u003e\n {\n [\"ResourceType\"] = \"collection\",\n [\"Resource\"] = new[]\n {\n \"collection/example-collection\",\n },\n [\"Permission\"] = new[]\n {\n \"aoss:*\",\n },\n },\n },\n [\"Principal\"] = new[]\n {\n \"saml/123456789012/myprovider/user/Annie\",\n \"saml/123456789012/anotherprovider/group/Accounting\",\n },\n },\n }),\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"encoding/json\"\n\n\t\"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/opensearch\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\ttmpJSON0, err := json.Marshal([]map[string]interface{}{\n\t\t\tmap[string]interface{}{\n\t\t\t\t\"Rules\": []map[string]interface{}{\n\t\t\t\t\tmap[string]interface{}{\n\t\t\t\t\t\t\"ResourceType\": \"index\",\n\t\t\t\t\t\t\"Resource\": []string{\n\t\t\t\t\t\t\t\"index/example-collection/*\",\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\"Permission\": []string{\n\t\t\t\t\t\t\t\"aoss:*\",\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\tmap[string]interface{}{\n\t\t\t\t\t\t\"ResourceType\": \"collection\",\n\t\t\t\t\t\t\"Resource\": []string{\n\t\t\t\t\t\t\t\"collection/example-collection\",\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\"Permission\": []string{\n\t\t\t\t\t\t\t\"aoss:*\",\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t\"Principal\": []string{\n\t\t\t\t\t\"saml/123456789012/myprovider/user/Annie\",\n\t\t\t\t\t\"saml/123456789012/anotherprovider/group/Accounting\",\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tjson0 := string(tmpJSON0)\n\t\t_, err = opensearch.NewServerlessAccessPolicy(ctx, \"example\", \u0026opensearch.ServerlessAccessPolicyArgs{\n\t\t\tType: pulumi.String(\"data\"),\n\t\t\tDescription: pulumi.String(\"saml permissions\"),\n\t\t\tPolicy: pulumi.String(json0),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.aws.opensearch.ServerlessAccessPolicy;\nimport com.pulumi.aws.opensearch.ServerlessAccessPolicyArgs;\nimport static com.pulumi.codegen.internal.Serialization.*;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new ServerlessAccessPolicy(\"example\", ServerlessAccessPolicyArgs.builder() \n .type(\"data\")\n .description(\"saml permissions\")\n .policy(serializeJson(\n jsonArray(jsonObject(\n jsonProperty(\"Rules\", jsonArray(\n jsonObject(\n jsonProperty(\"ResourceType\", \"index\"),\n jsonProperty(\"Resource\", jsonArray(\"index/example-collection/*\")),\n jsonProperty(\"Permission\", jsonArray(\"aoss:*\"))\n ), \n jsonObject(\n jsonProperty(\"ResourceType\", \"collection\"),\n jsonProperty(\"Resource\", jsonArray(\"collection/example-collection\")),\n jsonProperty(\"Permission\", jsonArray(\"aoss:*\"))\n )\n )),\n jsonProperty(\"Principal\", jsonArray(\n \"saml/123456789012/myprovider/user/Annie\", \n \"saml/123456789012/anotherprovider/group/Accounting\"\n ))\n ))))\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: aws:opensearch:ServerlessAccessPolicy\n properties:\n type: data\n description: saml permissions\n policy:\n fn::toJSON:\n - Rules:\n - ResourceType: index\n Resource:\n - index/example-collection/*\n Permission:\n - aoss:*\n - ResourceType: collection\n Resource:\n - collection/example-collection\n Permission:\n - aoss:*\n Principal:\n - saml/123456789012/myprovider/user/Annie\n - saml/123456789012/anotherprovider/group/Accounting\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nUsing `pulumi import`, import OpenSearchServerless Access Policy using the `name` and `type` arguments separated by a slash (`/`). For example:\n\n```sh\n $ pulumi import aws:opensearch/serverlessAccessPolicy:ServerlessAccessPolicy example example/data\n```\n ", "properties": { @@ -266473,11 +267084,11 @@ } }, "aws:rds/optionGroup:OptionGroup": { - "description": "Provides an RDS DB option group resource. Documentation of the available options for various RDS engines can be found at:\n\n* [MariaDB Options](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Appendix.MariaDB.Options.html)\n* [Microsoft SQL Server Options](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Appendix.SQLServer.Options.html)\n* [MySQL Options](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Appendix.MySQL.Options.html)\n* [Oracle Options](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Appendix.Oracle.Options.html)\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\n\nconst example = new aws.rds.OptionGroup(\"example\", {\n optionGroupDescription: \"Option Group\",\n engineName: \"sqlserver-ee\",\n majorEngineVersion: \"11.00\",\n options: [\n {\n optionName: \"Timezone\",\n optionSettings: [{\n name: \"TIME_ZONE\",\n value: \"UTC\",\n }],\n },\n {\n optionName: \"SQLSERVER_BACKUP_RESTORE\",\n optionSettings: [{\n name: \"IAM_ROLE_ARN\",\n value: aws_iam_role.example.arn,\n }],\n },\n {\n optionName: \"TDE\",\n },\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\n\nexample = aws.rds.OptionGroup(\"example\",\n option_group_description=\"Option Group\",\n engine_name=\"sqlserver-ee\",\n major_engine_version=\"11.00\",\n options=[\n aws.rds.OptionGroupOptionArgs(\n option_name=\"Timezone\",\n option_settings=[aws.rds.OptionGroupOptionOptionSettingArgs(\n name=\"TIME_ZONE\",\n value=\"UTC\",\n )],\n ),\n aws.rds.OptionGroupOptionArgs(\n option_name=\"SQLSERVER_BACKUP_RESTORE\",\n option_settings=[aws.rds.OptionGroupOptionOptionSettingArgs(\n name=\"IAM_ROLE_ARN\",\n value=aws_iam_role[\"example\"][\"arn\"],\n )],\n ),\n aws.rds.OptionGroupOptionArgs(\n option_name=\"TDE\",\n ),\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Aws = Pulumi.Aws;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Aws.Rds.OptionGroup(\"example\", new()\n {\n OptionGroupDescription = \"Option Group\",\n EngineName = \"sqlserver-ee\",\n MajorEngineVersion = \"11.00\",\n Options = new[]\n {\n new Aws.Rds.Inputs.OptionGroupOptionArgs\n {\n OptionName = \"Timezone\",\n OptionSettings = new[]\n {\n new Aws.Rds.Inputs.OptionGroupOptionOptionSettingArgs\n {\n Name = \"TIME_ZONE\",\n Value = \"UTC\",\n },\n },\n },\n new Aws.Rds.Inputs.OptionGroupOptionArgs\n {\n OptionName = \"SQLSERVER_BACKUP_RESTORE\",\n OptionSettings = new[]\n {\n new Aws.Rds.Inputs.OptionGroupOptionOptionSettingArgs\n {\n Name = \"IAM_ROLE_ARN\",\n Value = aws_iam_role.Example.Arn,\n },\n },\n },\n new Aws.Rds.Inputs.OptionGroupOptionArgs\n {\n OptionName = \"TDE\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/rds\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rds.NewOptionGroup(ctx, \"example\", \u0026rds.OptionGroupArgs{\n\t\t\tOptionGroupDescription: pulumi.String(\"Option Group\"),\n\t\t\tEngineName: pulumi.String(\"sqlserver-ee\"),\n\t\t\tMajorEngineVersion: pulumi.String(\"11.00\"),\n\t\t\tOptions: rds.OptionGroupOptionArray{\n\t\t\t\t\u0026rds.OptionGroupOptionArgs{\n\t\t\t\t\tOptionName: pulumi.String(\"Timezone\"),\n\t\t\t\t\tOptionSettings: rds.OptionGroupOptionOptionSettingArray{\n\t\t\t\t\t\t\u0026rds.OptionGroupOptionOptionSettingArgs{\n\t\t\t\t\t\t\tName: pulumi.String(\"TIME_ZONE\"),\n\t\t\t\t\t\t\tValue: pulumi.String(\"UTC\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t\u0026rds.OptionGroupOptionArgs{\n\t\t\t\t\tOptionName: pulumi.String(\"SQLSERVER_BACKUP_RESTORE\"),\n\t\t\t\t\tOptionSettings: rds.OptionGroupOptionOptionSettingArray{\n\t\t\t\t\t\t\u0026rds.OptionGroupOptionOptionSettingArgs{\n\t\t\t\t\t\t\tName: pulumi.String(\"IAM_ROLE_ARN\"),\n\t\t\t\t\t\t\tValue: pulumi.Any(aws_iam_role.Example.Arn),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t\u0026rds.OptionGroupOptionArgs{\n\t\t\t\t\tOptionName: pulumi.String(\"TDE\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.aws.rds.OptionGroup;\nimport com.pulumi.aws.rds.OptionGroupArgs;\nimport com.pulumi.aws.rds.inputs.OptionGroupOptionArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new OptionGroup(\"example\", OptionGroupArgs.builder() \n .optionGroupDescription(\"Option Group\")\n .engineName(\"sqlserver-ee\")\n .majorEngineVersion(\"11.00\")\n .options( \n OptionGroupOptionArgs.builder()\n .optionName(\"Timezone\")\n .optionSettings(OptionGroupOptionOptionSettingArgs.builder()\n .name(\"TIME_ZONE\")\n .value(\"UTC\")\n .build())\n .build(),\n OptionGroupOptionArgs.builder()\n .optionName(\"SQLSERVER_BACKUP_RESTORE\")\n .optionSettings(OptionGroupOptionOptionSettingArgs.builder()\n .name(\"IAM_ROLE_ARN\")\n .value(aws_iam_role.example().arn())\n .build())\n .build(),\n OptionGroupOptionArgs.builder()\n .optionName(\"TDE\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: aws:rds:OptionGroup\n properties:\n optionGroupDescription: Option Group\n engineName: sqlserver-ee\n majorEngineVersion: '11.00'\n options:\n - optionName: Timezone\n optionSettings:\n - name: TIME_ZONE\n value: UTC\n - optionName: SQLSERVER_BACKUP_RESTORE\n optionSettings:\n - name: IAM_ROLE_ARN\n value: ${aws_iam_role.example.arn}\n - optionName: TDE\n```\n\n\u003e **Note:** Any modifications to the `aws.rds.OptionGroup` are set to happen immediately as we default to applying immediately.\n\n\u003e **WARNING:** You can perform a destroy on a `aws.rds.OptionGroup`, as long as it is not associated with any Amazon RDS resource. An option group can be associated with a DB instance, a manual DB snapshot, or an automated DB snapshot.\n\nIf you try to delete an option group that is associated with an Amazon RDS resource, an error similar to the following is returned:\n\n\u003e An error occurred (InvalidOptionGroupStateFault) when calling the DeleteOptionGroup operation: The option group 'optionGroupName' cannot be deleted because it is in use.\n\nMore information about this can be found [here](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_WorkingWithOptionGroups.html#USER_WorkingWithOptionGroups.Delete).\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nUsing `pulumi import`, import DB Option groups using the `name`. For example:\n\n```sh\n $ pulumi import aws:rds/optionGroup:OptionGroup example mysql-option-group\n```\n ", + "description": "Provides an RDS DB option group resource. Documentation of the available options for various RDS engines can be found at:\n\n* [MariaDB Options](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Appendix.MariaDB.Options.html)\n* [Microsoft SQL Server Options](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Appendix.SQLServer.Options.html)\n* [MySQL Options](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Appendix.MySQL.Options.html)\n* [Oracle Options](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Appendix.Oracle.Options.html)\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\n\nconst example = new aws.rds.OptionGroup(\"example\", {\n optionGroupDescription: \"Option Group\",\n engineName: \"sqlserver-ee\",\n majorEngineVersion: \"11.00\",\n options: [\n {\n optionName: \"Timezone\",\n optionSettings: [{\n name: \"TIME_ZONE\",\n value: \"UTC\",\n }],\n },\n {\n optionName: \"SQLSERVER_BACKUP_RESTORE\",\n optionSettings: [{\n name: \"IAM_ROLE_ARN\",\n value: aws_iam_role.example.arn,\n }],\n },\n {\n optionName: \"TDE\",\n },\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\n\nexample = aws.rds.OptionGroup(\"example\",\n option_group_description=\"Option Group\",\n engine_name=\"sqlserver-ee\",\n major_engine_version=\"11.00\",\n options=[\n aws.rds.OptionGroupOptionArgs(\n option_name=\"Timezone\",\n option_settings=[aws.rds.OptionGroupOptionOptionSettingArgs(\n name=\"TIME_ZONE\",\n value=\"UTC\",\n )],\n ),\n aws.rds.OptionGroupOptionArgs(\n option_name=\"SQLSERVER_BACKUP_RESTORE\",\n option_settings=[aws.rds.OptionGroupOptionOptionSettingArgs(\n name=\"IAM_ROLE_ARN\",\n value=aws_iam_role[\"example\"][\"arn\"],\n )],\n ),\n aws.rds.OptionGroupOptionArgs(\n option_name=\"TDE\",\n ),\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Aws = Pulumi.Aws;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Aws.Rds.OptionGroup(\"example\", new()\n {\n OptionGroupDescription = \"Option Group\",\n EngineName = \"sqlserver-ee\",\n MajorEngineVersion = \"11.00\",\n Options = new[]\n {\n new Aws.Rds.Inputs.OptionGroupOptionArgs\n {\n OptionName = \"Timezone\",\n OptionSettings = new[]\n {\n new Aws.Rds.Inputs.OptionGroupOptionOptionSettingArgs\n {\n Name = \"TIME_ZONE\",\n Value = \"UTC\",\n },\n },\n },\n new Aws.Rds.Inputs.OptionGroupOptionArgs\n {\n OptionName = \"SQLSERVER_BACKUP_RESTORE\",\n OptionSettings = new[]\n {\n new Aws.Rds.Inputs.OptionGroupOptionOptionSettingArgs\n {\n Name = \"IAM_ROLE_ARN\",\n Value = aws_iam_role.Example.Arn,\n },\n },\n },\n new Aws.Rds.Inputs.OptionGroupOptionArgs\n {\n OptionName = \"TDE\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/rds\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rds.NewOptionGroup(ctx, \"example\", \u0026rds.OptionGroupArgs{\n\t\t\tOptionGroupDescription: pulumi.String(\"Option Group\"),\n\t\t\tEngineName: pulumi.String(\"sqlserver-ee\"),\n\t\t\tMajorEngineVersion: pulumi.String(\"11.00\"),\n\t\t\tOptions: rds.OptionGroupOptionArray{\n\t\t\t\t\u0026rds.OptionGroupOptionArgs{\n\t\t\t\t\tOptionName: pulumi.String(\"Timezone\"),\n\t\t\t\t\tOptionSettings: rds.OptionGroupOptionOptionSettingArray{\n\t\t\t\t\t\t\u0026rds.OptionGroupOptionOptionSettingArgs{\n\t\t\t\t\t\t\tName: pulumi.String(\"TIME_ZONE\"),\n\t\t\t\t\t\t\tValue: pulumi.String(\"UTC\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t\u0026rds.OptionGroupOptionArgs{\n\t\t\t\t\tOptionName: pulumi.String(\"SQLSERVER_BACKUP_RESTORE\"),\n\t\t\t\t\tOptionSettings: rds.OptionGroupOptionOptionSettingArray{\n\t\t\t\t\t\t\u0026rds.OptionGroupOptionOptionSettingArgs{\n\t\t\t\t\t\t\tName: pulumi.String(\"IAM_ROLE_ARN\"),\n\t\t\t\t\t\t\tValue: pulumi.Any(aws_iam_role.Example.Arn),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t\u0026rds.OptionGroupOptionArgs{\n\t\t\t\t\tOptionName: pulumi.String(\"TDE\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.aws.rds.OptionGroup;\nimport com.pulumi.aws.rds.OptionGroupArgs;\nimport com.pulumi.aws.rds.inputs.OptionGroupOptionArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new OptionGroup(\"example\", OptionGroupArgs.builder() \n .optionGroupDescription(\"Option Group\")\n .engineName(\"sqlserver-ee\")\n .majorEngineVersion(\"11.00\")\n .options( \n OptionGroupOptionArgs.builder()\n .optionName(\"Timezone\")\n .optionSettings(OptionGroupOptionOptionSettingArgs.builder()\n .name(\"TIME_ZONE\")\n .value(\"UTC\")\n .build())\n .build(),\n OptionGroupOptionArgs.builder()\n .optionName(\"SQLSERVER_BACKUP_RESTORE\")\n .optionSettings(OptionGroupOptionOptionSettingArgs.builder()\n .name(\"IAM_ROLE_ARN\")\n .value(aws_iam_role.example().arn())\n .build())\n .build(),\n OptionGroupOptionArgs.builder()\n .optionName(\"TDE\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: aws:rds:OptionGroup\n properties:\n optionGroupDescription: Option Group\n engineName: sqlserver-ee\n majorEngineVersion: '11.00'\n options:\n - optionName: Timezone\n optionSettings:\n - name: TIME_ZONE\n value: UTC\n - optionName: SQLSERVER_BACKUP_RESTORE\n optionSettings:\n - name: IAM_ROLE_ARN\n value: ${aws_iam_role.example.arn}\n - optionName: TDE\n```\n\n\u003e **Note:** Any modifications to the `aws.rds.OptionGroup` are set to happen immediately as we default to applying immediately.\n\n\u003e **WARNING:** You can perform a destroy on a `aws.rds.OptionGroup`, as long as it is not associated with any Amazon RDS resource. An option group can be associated with a DB instance, a manual DB snapshot, or an automated DB snapshot.\n\nIf you try to delete an option group that is associated with an Amazon RDS resource, an error similar to the following is returned:\n\n\u003e An error occurred (InvalidOptionGroupStateFault) when calling the DeleteOptionGroup operation: The option group 'optionGroupName' cannot be deleted because it is in use.\n\nMore information about this can be found [here](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_WorkingWithOptionGroups.html#USER_WorkingWithOptionGroups.Delete).\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nUsing `pulumi import`, import DB option groups using the `name`. For example:\n\n```sh\n $ pulumi import aws:rds/optionGroup:OptionGroup example mysql-option-group\n```\n ", "properties": { "arn": { "type": "string", - "description": "The ARN of the db option group.\n" + "description": "ARN of the DB option group.\n" }, "engineName": { "type": "string", @@ -266489,7 +267100,7 @@ }, "name": { "type": "string", - "description": "The Name of the setting.\n" + "description": "Name of the option group. If omitted, the provider will assign a random, unique name. Must be lowercase, to match as it is stored in AWS.\n" }, "namePrefix": { "type": "string", @@ -266497,7 +267108,7 @@ }, "optionGroupDescription": { "type": "string", - "description": "The description of the option group. Defaults to \"Managed by Pulumi\".\n", + "description": "Description of the option group.\n", "default": "Managed by Pulumi" }, "options": { @@ -266505,21 +267116,21 @@ "items": { "$ref": "#/types/aws:rds/OptionGroupOption:OptionGroupOption" }, - "description": "A list of Options to apply.\n" + "description": "List of options to apply.\n" }, "tags": { "type": "object", "additionalProperties": { "type": "string" }, - "description": "A map of tags to assign to the resource. .If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.\n" + "description": "Map of tags to assign to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.\n" }, "tagsAll": { "type": "object", "additionalProperties": { "type": "string" }, - "description": "A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.\n", + "description": "Map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.\n", "deprecationMessage": "Please use `tags` instead.", "secret": true } @@ -266546,7 +267157,7 @@ }, "name": { "type": "string", - "description": "The Name of the setting.\n", + "description": "Name of the option group. If omitted, the provider will assign a random, unique name. Must be lowercase, to match as it is stored in AWS.\n", "willReplaceOnChanges": true }, "namePrefix": { @@ -266556,7 +267167,7 @@ }, "optionGroupDescription": { "type": "string", - "description": "The description of the option group. Defaults to \"Managed by Pulumi\".\n", + "description": "Description of the option group.\n", "default": "Managed by Pulumi", "willReplaceOnChanges": true }, @@ -266565,14 +267176,14 @@ "items": { "$ref": "#/types/aws:rds/OptionGroupOption:OptionGroupOption" }, - "description": "A list of Options to apply.\n" + "description": "List of options to apply.\n" }, "tags": { "type": "object", "additionalProperties": { "type": "string" }, - "description": "A map of tags to assign to the resource. .If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.\n" + "description": "Map of tags to assign to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.\n" } }, "requiredInputs": [ @@ -266584,7 +267195,7 @@ "properties": { "arn": { "type": "string", - "description": "The ARN of the db option group.\n" + "description": "ARN of the DB option group.\n" }, "engineName": { "type": "string", @@ -266598,7 +267209,7 @@ }, "name": { "type": "string", - "description": "The Name of the setting.\n", + "description": "Name of the option group. If omitted, the provider will assign a random, unique name. Must be lowercase, to match as it is stored in AWS.\n", "willReplaceOnChanges": true }, "namePrefix": { @@ -266608,7 +267219,7 @@ }, "optionGroupDescription": { "type": "string", - "description": "The description of the option group. Defaults to \"Managed by Pulumi\".\n", + "description": "Description of the option group.\n", "default": "Managed by Pulumi", "willReplaceOnChanges": true }, @@ -266617,21 +267228,21 @@ "items": { "$ref": "#/types/aws:rds/OptionGroupOption:OptionGroupOption" }, - "description": "A list of Options to apply.\n" + "description": "List of options to apply.\n" }, "tags": { "type": "object", "additionalProperties": { "type": "string" }, - "description": "A map of tags to assign to the resource. .If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.\n" + "description": "Map of tags to assign to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.\n" }, "tagsAll": { "type": "object", "additionalProperties": { "type": "string" }, - "description": "A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.\n", + "description": "Map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.\n", "deprecationMessage": "Please use `tags` instead.", "secret": true } @@ -278460,6 +279071,26 @@ "type": "string", "description": "Caching behavior along the request/reply chain Read [w3c cache_control](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9) for further details.\n" }, + "checksumAlgorithm": { + "type": "string", + "description": "Indicates the algorithm used to create the checksum for the object. If a value is specified and the object is encrypted with KMS, you must have permission to use the `kms:Decrypt` action. Valid values: `CRC32`, `CRC32C`, `SHA1`, `SHA256`.\n" + }, + "checksumCrc32": { + "type": "string", + "description": "The base64-encoded, 32-bit CRC32 checksum of the object.\n" + }, + "checksumCrc32c": { + "type": "string", + "description": "The base64-encoded, 32-bit CRC32C checksum of the object.\n" + }, + "checksumSha1": { + "type": "string", + "description": "The base64-encoded, 160-bit SHA-1 digest of the object.\n" + }, + "checksumSha256": { + "type": "string", + "description": "The base64-encoded, 256-bit SHA-256 digest of the object.\n" + }, "content": { "type": "string", "description": "Literal string value to use as the object content, which will be uploaded as UTF-8-encoded text.\n" @@ -278564,6 +279195,10 @@ "acl", "bucket", "bucketKeyEnabled", + "checksumCrc32", + "checksumCrc32c", + "checksumSha1", + "checksumSha256", "contentType", "etag", "key", @@ -278600,6 +279235,10 @@ "type": "string", "description": "Caching behavior along the request/reply chain Read [w3c cache_control](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9) for further details.\n" }, + "checksumAlgorithm": { + "type": "string", + "description": "Indicates the algorithm used to create the checksum for the object. If a value is specified and the object is encrypted with KMS, you must have permission to use the `kms:Decrypt` action. Valid values: `CRC32`, `CRC32C`, `SHA1`, `SHA256`.\n" + }, "content": { "type": "string", "description": "Literal string value to use as the object content, which will be uploaded as UTF-8-encoded text.\n" @@ -278720,6 +279359,26 @@ "type": "string", "description": "Caching behavior along the request/reply chain Read [w3c cache_control](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9) for further details.\n" }, + "checksumAlgorithm": { + "type": "string", + "description": "Indicates the algorithm used to create the checksum for the object. If a value is specified and the object is encrypted with KMS, you must have permission to use the `kms:Decrypt` action. Valid values: `CRC32`, `CRC32C`, `SHA1`, `SHA256`.\n" + }, + "checksumCrc32": { + "type": "string", + "description": "The base64-encoded, 32-bit CRC32 checksum of the object.\n" + }, + "checksumCrc32c": { + "type": "string", + "description": "The base64-encoded, 32-bit CRC32C checksum of the object.\n" + }, + "checksumSha1": { + "type": "string", + "description": "The base64-encoded, 160-bit SHA-1 digest of the object.\n" + }, + "checksumSha256": { + "type": "string", + "description": "The base64-encoded, 256-bit SHA-256 digest of the object.\n" + }, "content": { "type": "string", "description": "Literal string value to use as the object content, which will be uploaded as UTF-8-encoded text.\n" @@ -280064,6 +280723,26 @@ "type": "string", "description": "Specifies caching behavior along the request/reply chain Read [w3c cache_control](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9) for further details.\n" }, + "checksumAlgorithm": { + "type": "string", + "description": "Indicates the algorithm used to create the checksum for the object. If a value is specified and the object is encrypted with KMS, you must have permission to use the `kms:Decrypt` action. Valid values: `CRC32`, `CRC32C`, `SHA1`, `SHA256`.\n" + }, + "checksumCrc32": { + "type": "string", + "description": "The base64-encoded, 32-bit CRC32 checksum of the object.\n" + }, + "checksumCrc32c": { + "type": "string", + "description": "The base64-encoded, 32-bit CRC32C checksum of the object.\n" + }, + "checksumSha1": { + "type": "string", + "description": "The base64-encoded, 160-bit SHA-1 digest of the object.\n" + }, + "checksumSha256": { + "type": "string", + "description": "The base64-encoded, 256-bit SHA-256 digest of the object.\n" + }, "contentDisposition": { "type": "string", "description": "Specifies presentational information for the object. Read [w3c content_disposition](http://www.w3.org/Protocols/rfc2616/rfc2616-sec19.html#sec19.5.1) for further information.\n" @@ -280252,6 +280931,10 @@ "bucket", "bucketKeyEnabled", "cacheControl", + "checksumCrc32", + "checksumCrc32c", + "checksumSha1", + "checksumSha256", "contentDisposition", "contentEncoding", "contentLanguage", @@ -280294,6 +280977,10 @@ "type": "string", "description": "Specifies caching behavior along the request/reply chain Read [w3c cache_control](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9) for further details.\n" }, + "checksumAlgorithm": { + "type": "string", + "description": "Indicates the algorithm used to create the checksum for the object. If a value is specified and the object is encrypted with KMS, you must have permission to use the `kms:Decrypt` action. Valid values: `CRC32`, `CRC32C`, `SHA1`, `SHA256`.\n" + }, "contentDisposition": { "type": "string", "description": "Specifies presentational information for the object. Read [w3c content_disposition](http://www.w3.org/Protocols/rfc2616/rfc2616-sec19.html#sec19.5.1) for further information.\n" @@ -280470,6 +281157,26 @@ "type": "string", "description": "Specifies caching behavior along the request/reply chain Read [w3c cache_control](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9) for further details.\n" }, + "checksumAlgorithm": { + "type": "string", + "description": "Indicates the algorithm used to create the checksum for the object. If a value is specified and the object is encrypted with KMS, you must have permission to use the `kms:Decrypt` action. Valid values: `CRC32`, `CRC32C`, `SHA1`, `SHA256`.\n" + }, + "checksumCrc32": { + "type": "string", + "description": "The base64-encoded, 32-bit CRC32 checksum of the object.\n" + }, + "checksumCrc32c": { + "type": "string", + "description": "The base64-encoded, 32-bit CRC32C checksum of the object.\n" + }, + "checksumSha1": { + "type": "string", + "description": "The base64-encoded, 160-bit SHA-1 digest of the object.\n" + }, + "checksumSha256": { + "type": "string", + "description": "The base64-encoded, 256-bit SHA-256 digest of the object.\n" + }, "contentDisposition": { "type": "string", "description": "Specifies presentational information for the object. Read [w3c content_disposition](http://www.w3.org/Protocols/rfc2616/rfc2616-sec19.html#sec19.5.1) for further information.\n" @@ -285794,7 +286501,7 @@ }, "type": { "type": "string", - "description": "The type of the schema. Valid values: `OpenApi3`.\n" + "description": "The type of the schema. Valid values: `OpenApi3` or `JSONSchemaDraft4`.\n" }, "version": { "type": "string", @@ -285844,7 +286551,7 @@ }, "type": { "type": "string", - "description": "The type of the schema. Valid values: `OpenApi3`.\n" + "description": "The type of the schema. Valid values: `OpenApi3` or `JSONSchemaDraft4`.\n" } }, "requiredInputs": [ @@ -285899,7 +286606,7 @@ }, "type": { "type": "string", - "description": "The type of the schema. Valid values: `OpenApi3`.\n" + "description": "The type of the schema. Valid values: `OpenApi3` or `JSONSchemaDraft4`.\n" }, "version": { "type": "string", @@ -291638,6 +292345,60 @@ "type": "object" } }, + "aws:shield/applicationLayerAutomaticResponse:ApplicationLayerAutomaticResponse": { + "description": "Resource for managing an AWS Shield Application Layer Automatic Response for automatic DDoS mitigation.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Basic Usage\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\n\nconst currentRegion = aws.getRegion({});\nconst currentCallerIdentity = aws.getCallerIdentity({});\nconst currentPartition = aws.getPartition({});\nconst example = new aws.shield.ApplicationLayerAutomaticResponse(\"example\", {\n action: \"COUNT\",\n resourceArn: Promise.all([currentPartition, currentCallerIdentity]).then(([currentPartition, currentCallerIdentity]) =\u003e `arn:${currentPartition.partition}:cloudfront:${currentCallerIdentity.accountId}:distribution/${_var.distribution_id}`),\n});\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\n\ncurrent_region = aws.get_region()\ncurrent_caller_identity = aws.get_caller_identity()\ncurrent_partition = aws.get_partition()\nexample = aws.shield.ApplicationLayerAutomaticResponse(\"example\",\n action=\"COUNT\",\n resource_arn=f\"arn:{current_partition.partition}:cloudfront:{current_caller_identity.account_id}:distribution/{var['distribution_id']}\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Aws = Pulumi.Aws;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var currentRegion = Aws.GetRegion.Invoke();\n\n var currentCallerIdentity = Aws.GetCallerIdentity.Invoke();\n\n var currentPartition = Aws.GetPartition.Invoke();\n\n var example = new Aws.Shield.ApplicationLayerAutomaticResponse(\"example\", new()\n {\n Action = \"COUNT\",\n ResourceArn = Output.Tuple(currentPartition, currentCallerIdentity).Apply(values =\u003e\n {\n var currentPartition = values.Item1;\n var currentCallerIdentity = values.Item2;\n return $\"arn:{currentPartition.Apply(getPartitionResult =\u003e getPartitionResult.Partition)}:cloudfront:{currentCallerIdentity.Apply(getCallerIdentityResult =\u003e getCallerIdentityResult.AccountId)}:distribution/{@var.Distribution_id}\";\n }),\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\n\t\"github.com/pulumi/pulumi-aws/sdk/v6/go/aws\"\n\t\"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/shield\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := aws.GetRegion(ctx, nil, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tcurrentCallerIdentity, err := aws.GetCallerIdentity(ctx, nil, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tcurrentPartition, err := aws.GetPartition(ctx, nil, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = shield.NewApplicationLayerAutomaticResponse(ctx, \"example\", \u0026shield.ApplicationLayerAutomaticResponseArgs{\n\t\t\tAction: pulumi.String(\"COUNT\"),\n\t\t\tResourceArn: pulumi.String(fmt.Sprintf(\"arn:%v:cloudfront:%v:distribution/%v\", currentPartition.Partition, currentCallerIdentity.AccountId, _var.Distribution_id)),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.aws.AwsFunctions;\nimport com.pulumi.aws.inputs.GetRegionArgs;\nimport com.pulumi.aws.inputs.GetCallerIdentityArgs;\nimport com.pulumi.aws.inputs.GetPartitionArgs;\nimport com.pulumi.aws.shield.ApplicationLayerAutomaticResponse;\nimport com.pulumi.aws.shield.ApplicationLayerAutomaticResponseArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var currentRegion = AwsFunctions.getRegion();\n\n final var currentCallerIdentity = AwsFunctions.getCallerIdentity();\n\n final var currentPartition = AwsFunctions.getPartition();\n\n var example = new ApplicationLayerAutomaticResponse(\"example\", ApplicationLayerAutomaticResponseArgs.builder() \n .action(\"COUNT\")\n .resourceArn(String.format(\"arn:%s:cloudfront:%s:distribution/%s\", currentPartition.applyValue(getPartitionResult -\u003e getPartitionResult.partition()),currentCallerIdentity.applyValue(getCallerIdentityResult -\u003e getCallerIdentityResult.accountId()),var_.distribution_id()))\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: aws:shield:ApplicationLayerAutomaticResponse\n properties:\n action: COUNT\n resourceArn: arn:${currentPartition.partition}:cloudfront:${currentCallerIdentity.accountId}:distribution/${var.distribution_id}\nvariables:\n currentRegion:\n fn::invoke:\n Function: aws:getRegion\n Arguments: {}\n currentCallerIdentity:\n fn::invoke:\n Function: aws:getCallerIdentity\n Arguments: {}\n currentPartition:\n fn::invoke:\n Function: aws:getPartition\n Arguments: {}\n```\n{{% /example %}}\n{{% /examples %}}", + "properties": { + "action": { + "type": "string", + "description": "One of `COUNT` or `BLOCK`\n" + }, + "resourceArn": { + "type": "string", + "description": "ARN of the resource to protect (Cloudfront Distributions and ALBs only at this time).\n" + }, + "timeouts": { + "$ref": "#/types/aws:shield/ApplicationLayerAutomaticResponseTimeouts:ApplicationLayerAutomaticResponseTimeouts" + } + }, + "required": [ + "action", + "resourceArn" + ], + "inputProperties": { + "action": { + "type": "string", + "description": "One of `COUNT` or `BLOCK`\n" + }, + "resourceArn": { + "type": "string", + "description": "ARN of the resource to protect (Cloudfront Distributions and ALBs only at this time).\n" + }, + "timeouts": { + "$ref": "#/types/aws:shield/ApplicationLayerAutomaticResponseTimeouts:ApplicationLayerAutomaticResponseTimeouts" + } + }, + "requiredInputs": [ + "action", + "resourceArn" + ], + "stateInputs": { + "description": "Input properties used for looking up and filtering ApplicationLayerAutomaticResponse resources.\n", + "properties": { + "action": { + "type": "string", + "description": "One of `COUNT` or `BLOCK`\n" + }, + "resourceArn": { + "type": "string", + "description": "ARN of the resource to protect (Cloudfront Distributions and ALBs only at this time).\n" + }, + "timeouts": { + "$ref": "#/types/aws:shield/ApplicationLayerAutomaticResponseTimeouts:ApplicationLayerAutomaticResponseTimeouts" + } + }, + "type": "object" + } + }, "aws:shield/drtAccessLogBucketAssociation:DrtAccessLogBucketAssociation": { "description": "Resource for managing an AWS Shield DRT Access Log Bucket Association. Up to 10 log buckets can be associated for DRT Access sharing with the Shield Response Team (SRT).\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Basic Usage\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\n\nconst testDrtAccessRoleArnAssociation = new aws.shield.DrtAccessRoleArnAssociation(\"testDrtAccessRoleArnAssociation\", {roleArn: `arn:aws:iam:${data.aws_region.current.name}:${data.aws_caller_identity.current.account_id}:${_var.shield_drt_access_role_name}`});\nconst testDrtAccessLogBucketAssociation = new aws.shield.DrtAccessLogBucketAssociation(\"testDrtAccessLogBucketAssociation\", {\n logBucket: _var.shield_drt_access_log_bucket,\n roleArnAssociationId: testDrtAccessRoleArnAssociation.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\n\ntest_drt_access_role_arn_association = aws.shield.DrtAccessRoleArnAssociation(\"testDrtAccessRoleArnAssociation\", role_arn=f\"arn:aws:iam:{data['aws_region']['current']['name']}:{data['aws_caller_identity']['current']['account_id']}:{var['shield_drt_access_role_name']}\")\ntest_drt_access_log_bucket_association = aws.shield.DrtAccessLogBucketAssociation(\"testDrtAccessLogBucketAssociation\",\n log_bucket=var[\"shield_drt_access_log_bucket\"],\n role_arn_association_id=test_drt_access_role_arn_association.id)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Aws = Pulumi.Aws;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var testDrtAccessRoleArnAssociation = new Aws.Shield.DrtAccessRoleArnAssociation(\"testDrtAccessRoleArnAssociation\", new()\n {\n RoleArn = $\"arn:aws:iam:{data.Aws_region.Current.Name}:{data.Aws_caller_identity.Current.Account_id}:{@var.Shield_drt_access_role_name}\",\n });\n\n var testDrtAccessLogBucketAssociation = new Aws.Shield.DrtAccessLogBucketAssociation(\"testDrtAccessLogBucketAssociation\", new()\n {\n LogBucket = @var.Shield_drt_access_log_bucket,\n RoleArnAssociationId = testDrtAccessRoleArnAssociation.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\n\t\"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/shield\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\ttestDrtAccessRoleArnAssociation, err := shield.NewDrtAccessRoleArnAssociation(ctx, \"testDrtAccessRoleArnAssociation\", \u0026shield.DrtAccessRoleArnAssociationArgs{\n\t\t\tRoleArn: pulumi.String(fmt.Sprintf(\"arn:aws:iam:%v:%v:%v\", data.Aws_region.Current.Name, data.Aws_caller_identity.Current.Account_id, _var.Shield_drt_access_role_name)),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = shield.NewDrtAccessLogBucketAssociation(ctx, \"testDrtAccessLogBucketAssociation\", \u0026shield.DrtAccessLogBucketAssociationArgs{\n\t\t\tLogBucket: pulumi.Any(_var.Shield_drt_access_log_bucket),\n\t\t\tRoleArnAssociationId: testDrtAccessRoleArnAssociation.ID(),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.aws.shield.DrtAccessRoleArnAssociation;\nimport com.pulumi.aws.shield.DrtAccessRoleArnAssociationArgs;\nimport com.pulumi.aws.shield.DrtAccessLogBucketAssociation;\nimport com.pulumi.aws.shield.DrtAccessLogBucketAssociationArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var testDrtAccessRoleArnAssociation = new DrtAccessRoleArnAssociation(\"testDrtAccessRoleArnAssociation\", DrtAccessRoleArnAssociationArgs.builder() \n .roleArn(String.format(\"arn:aws:iam:%s:%s:%s\", data.aws_region().current().name(),data.aws_caller_identity().current().account_id(),var_.shield_drt_access_role_name()))\n .build());\n\n var testDrtAccessLogBucketAssociation = new DrtAccessLogBucketAssociation(\"testDrtAccessLogBucketAssociation\", DrtAccessLogBucketAssociationArgs.builder() \n .logBucket(var_.shield_drt_access_log_bucket())\n .roleArnAssociationId(testDrtAccessRoleArnAssociation.id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n testDrtAccessRoleArnAssociation:\n type: aws:shield:DrtAccessRoleArnAssociation\n properties:\n roleArn: arn:aws:iam:${data.aws_region.current.name}:${data.aws_caller_identity.current.account_id}:${var.shield_drt_access_role_name}\n testDrtAccessLogBucketAssociation:\n type: aws:shield:DrtAccessLogBucketAssociation\n properties:\n logBucket: ${var.shield_drt_access_log_bucket}\n roleArnAssociationId: ${testDrtAccessRoleArnAssociation.id}\n```\n{{% /example %}}\n{{% /examples %}}", "properties": { @@ -300986,7 +301747,7 @@ } }, "aws:transfer/connector:Connector": { - "description": "Provides a AWS Transfer AS2 Connector resource.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Basic\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\n\nconst example = new aws.transfer.Connector(\"example\", {\n accessRole: aws_iam_role.test.arn,\n as2Config: {\n compression: \"DISABLED\",\n encryptionAlgorithm: \"AWS128_CBC\",\n messageSubject: \"For Connector\",\n localProfileId: aws_transfer_profile.local.profile_id,\n mdnResponse: \"NONE\",\n mdnSigningAlgorithm: \"NONE\",\n partnerProfileId: aws_transfer_profile.partner.profile_id,\n signingAlgorithm: \"NONE\",\n },\n url: \"http://www.test.com\",\n});\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\n\nexample = aws.transfer.Connector(\"example\",\n access_role=aws_iam_role[\"test\"][\"arn\"],\n as2_config=aws.transfer.ConnectorAs2ConfigArgs(\n compression=\"DISABLED\",\n encryption_algorithm=\"AWS128_CBC\",\n message_subject=\"For Connector\",\n local_profile_id=aws_transfer_profile[\"local\"][\"profile_id\"],\n mdn_response=\"NONE\",\n mdn_signing_algorithm=\"NONE\",\n partner_profile_id=aws_transfer_profile[\"partner\"][\"profile_id\"],\n signing_algorithm=\"NONE\",\n ),\n url=\"http://www.test.com\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Aws = Pulumi.Aws;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Aws.Transfer.Connector(\"example\", new()\n {\n AccessRole = aws_iam_role.Test.Arn,\n As2Config = new Aws.Transfer.Inputs.ConnectorAs2ConfigArgs\n {\n Compression = \"DISABLED\",\n EncryptionAlgorithm = \"AWS128_CBC\",\n MessageSubject = \"For Connector\",\n LocalProfileId = aws_transfer_profile.Local.Profile_id,\n MdnResponse = \"NONE\",\n MdnSigningAlgorithm = \"NONE\",\n PartnerProfileId = aws_transfer_profile.Partner.Profile_id,\n SigningAlgorithm = \"NONE\",\n },\n Url = \"http://www.test.com\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/transfer\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := transfer.NewConnector(ctx, \"example\", \u0026transfer.ConnectorArgs{\n\t\t\tAccessRole: pulumi.Any(aws_iam_role.Test.Arn),\n\t\t\tAs2Config: \u0026transfer.ConnectorAs2ConfigArgs{\n\t\t\t\tCompression: pulumi.String(\"DISABLED\"),\n\t\t\t\tEncryptionAlgorithm: pulumi.String(\"AWS128_CBC\"),\n\t\t\t\tMessageSubject: pulumi.String(\"For Connector\"),\n\t\t\t\tLocalProfileId: pulumi.Any(aws_transfer_profile.Local.Profile_id),\n\t\t\t\tMdnResponse: pulumi.String(\"NONE\"),\n\t\t\t\tMdnSigningAlgorithm: pulumi.String(\"NONE\"),\n\t\t\t\tPartnerProfileId: pulumi.Any(aws_transfer_profile.Partner.Profile_id),\n\t\t\t\tSigningAlgorithm: pulumi.String(\"NONE\"),\n\t\t\t},\n\t\t\tUrl: pulumi.String(\"http://www.test.com\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.aws.transfer.Connector;\nimport com.pulumi.aws.transfer.ConnectorArgs;\nimport com.pulumi.aws.transfer.inputs.ConnectorAs2ConfigArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new Connector(\"example\", ConnectorArgs.builder() \n .accessRole(aws_iam_role.test().arn())\n .as2Config(ConnectorAs2ConfigArgs.builder()\n .compression(\"DISABLED\")\n .encryptionAlgorithm(\"AWS128_CBC\")\n .messageSubject(\"For Connector\")\n .localProfileId(aws_transfer_profile.local().profile_id())\n .mdnResponse(\"NONE\")\n .mdnSigningAlgorithm(\"NONE\")\n .partnerProfileId(aws_transfer_profile.partner().profile_id())\n .signingAlgorithm(\"NONE\")\n .build())\n .url(\"http://www.test.com\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: aws:transfer:Connector\n properties:\n accessRole: ${aws_iam_role.test.arn}\n as2Config:\n compression: DISABLED\n encryptionAlgorithm: AWS128_CBC\n messageSubject: For Connector\n localProfileId: ${aws_transfer_profile.local.profile_id}\n mdnResponse: NONE\n mdnSigningAlgorithm: NONE\n partnerProfileId: ${aws_transfer_profile.partner.profile_id}\n signingAlgorithm: NONE\n url: http://www.test.com\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nUsing `pulumi import`, import Transfer AS2 Connector using the `connector_id`. For example:\n\n```sh\n $ pulumi import aws:transfer/connector:Connector example c-4221a88afd5f4362a\n```\n ", + "description": "Provides a AWS Transfer AS2 Connector resource.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Basic\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\n\nconst example = new aws.transfer.Connector(\"example\", {\n accessRole: aws_iam_role.test.arn,\n as2Config: {\n compression: \"DISABLED\",\n encryptionAlgorithm: \"AWS128_CBC\",\n messageSubject: \"For Connector\",\n localProfileId: aws_transfer_profile.local.profile_id,\n mdnResponse: \"NONE\",\n mdnSigningAlgorithm: \"NONE\",\n partnerProfileId: aws_transfer_profile.partner.profile_id,\n signingAlgorithm: \"NONE\",\n },\n url: \"http://www.test.com\",\n});\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\n\nexample = aws.transfer.Connector(\"example\",\n access_role=aws_iam_role[\"test\"][\"arn\"],\n as2_config=aws.transfer.ConnectorAs2ConfigArgs(\n compression=\"DISABLED\",\n encryption_algorithm=\"AWS128_CBC\",\n message_subject=\"For Connector\",\n local_profile_id=aws_transfer_profile[\"local\"][\"profile_id\"],\n mdn_response=\"NONE\",\n mdn_signing_algorithm=\"NONE\",\n partner_profile_id=aws_transfer_profile[\"partner\"][\"profile_id\"],\n signing_algorithm=\"NONE\",\n ),\n url=\"http://www.test.com\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Aws = Pulumi.Aws;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Aws.Transfer.Connector(\"example\", new()\n {\n AccessRole = aws_iam_role.Test.Arn,\n As2Config = new Aws.Transfer.Inputs.ConnectorAs2ConfigArgs\n {\n Compression = \"DISABLED\",\n EncryptionAlgorithm = \"AWS128_CBC\",\n MessageSubject = \"For Connector\",\n LocalProfileId = aws_transfer_profile.Local.Profile_id,\n MdnResponse = \"NONE\",\n MdnSigningAlgorithm = \"NONE\",\n PartnerProfileId = aws_transfer_profile.Partner.Profile_id,\n SigningAlgorithm = \"NONE\",\n },\n Url = \"http://www.test.com\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/transfer\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := transfer.NewConnector(ctx, \"example\", \u0026transfer.ConnectorArgs{\n\t\t\tAccessRole: pulumi.Any(aws_iam_role.Test.Arn),\n\t\t\tAs2Config: \u0026transfer.ConnectorAs2ConfigArgs{\n\t\t\t\tCompression: pulumi.String(\"DISABLED\"),\n\t\t\t\tEncryptionAlgorithm: pulumi.String(\"AWS128_CBC\"),\n\t\t\t\tMessageSubject: pulumi.String(\"For Connector\"),\n\t\t\t\tLocalProfileId: pulumi.Any(aws_transfer_profile.Local.Profile_id),\n\t\t\t\tMdnResponse: pulumi.String(\"NONE\"),\n\t\t\t\tMdnSigningAlgorithm: pulumi.String(\"NONE\"),\n\t\t\t\tPartnerProfileId: pulumi.Any(aws_transfer_profile.Partner.Profile_id),\n\t\t\t\tSigningAlgorithm: pulumi.String(\"NONE\"),\n\t\t\t},\n\t\t\tUrl: pulumi.String(\"http://www.test.com\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.aws.transfer.Connector;\nimport com.pulumi.aws.transfer.ConnectorArgs;\nimport com.pulumi.aws.transfer.inputs.ConnectorAs2ConfigArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new Connector(\"example\", ConnectorArgs.builder() \n .accessRole(aws_iam_role.test().arn())\n .as2Config(ConnectorAs2ConfigArgs.builder()\n .compression(\"DISABLED\")\n .encryptionAlgorithm(\"AWS128_CBC\")\n .messageSubject(\"For Connector\")\n .localProfileId(aws_transfer_profile.local().profile_id())\n .mdnResponse(\"NONE\")\n .mdnSigningAlgorithm(\"NONE\")\n .partnerProfileId(aws_transfer_profile.partner().profile_id())\n .signingAlgorithm(\"NONE\")\n .build())\n .url(\"http://www.test.com\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: aws:transfer:Connector\n properties:\n accessRole: ${aws_iam_role.test.arn}\n as2Config:\n compression: DISABLED\n encryptionAlgorithm: AWS128_CBC\n messageSubject: For Connector\n localProfileId: ${aws_transfer_profile.local.profile_id}\n mdnResponse: NONE\n mdnSigningAlgorithm: NONE\n partnerProfileId: ${aws_transfer_profile.partner.profile_id}\n signingAlgorithm: NONE\n url: http://www.test.com\n```\n{{% /example %}}\n{{% example %}}\n### SFTP Connector\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\n\nconst example = new aws.transfer.Connector(\"example\", {\n accessRole: aws_iam_role.test.arn,\n sftpConfig: {\n trustedHostKeys: [\"ssh-rsa AAAAB3NYourKeysHere\"],\n userSecretId: aws_secretsmanager_secret.example.id,\n },\n url: \"sftp://test.com\",\n});\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\n\nexample = aws.transfer.Connector(\"example\",\n access_role=aws_iam_role[\"test\"][\"arn\"],\n sftp_config=aws.transfer.ConnectorSftpConfigArgs(\n trusted_host_keys=[\"ssh-rsa AAAAB3NYourKeysHere\"],\n user_secret_id=aws_secretsmanager_secret[\"example\"][\"id\"],\n ),\n url=\"sftp://test.com\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Aws = Pulumi.Aws;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Aws.Transfer.Connector(\"example\", new()\n {\n AccessRole = aws_iam_role.Test.Arn,\n SftpConfig = new Aws.Transfer.Inputs.ConnectorSftpConfigArgs\n {\n TrustedHostKeys = new[]\n {\n \"ssh-rsa AAAAB3NYourKeysHere\",\n },\n UserSecretId = aws_secretsmanager_secret.Example.Id,\n },\n Url = \"sftp://test.com\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/transfer\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := transfer.NewConnector(ctx, \"example\", \u0026transfer.ConnectorArgs{\n\t\t\tAccessRole: pulumi.Any(aws_iam_role.Test.Arn),\n\t\t\tSftpConfig: \u0026transfer.ConnectorSftpConfigArgs{\n\t\t\t\tTrustedHostKeys: pulumi.StringArray{\n\t\t\t\t\tpulumi.String(\"ssh-rsa AAAAB3NYourKeysHere\"),\n\t\t\t\t},\n\t\t\t\tUserSecretId: pulumi.Any(aws_secretsmanager_secret.Example.Id),\n\t\t\t},\n\t\t\tUrl: pulumi.String(\"sftp://test.com\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.aws.transfer.Connector;\nimport com.pulumi.aws.transfer.ConnectorArgs;\nimport com.pulumi.aws.transfer.inputs.ConnectorSftpConfigArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new Connector(\"example\", ConnectorArgs.builder() \n .accessRole(aws_iam_role.test().arn())\n .sftpConfig(ConnectorSftpConfigArgs.builder()\n .trustedHostKeys(\"ssh-rsa AAAAB3NYourKeysHere\")\n .userSecretId(aws_secretsmanager_secret.example().id())\n .build())\n .url(\"sftp://test.com\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: aws:transfer:Connector\n properties:\n accessRole: ${aws_iam_role.test.arn}\n sftpConfig:\n trustedHostKeys:\n - ssh-rsa AAAAB3NYourKeysHere\n userSecretId: ${aws_secretsmanager_secret.example.id}\n url: sftp://test.com\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nUsing `pulumi import`, import Transfer AS2 Connector using the `connector_id`. For example:\n\n```sh\n $ pulumi import aws:transfer/connector:Connector example c-4221a88afd5f4362a\n```\n ", "properties": { "accessRole": { "type": "string", @@ -300998,16 +301759,20 @@ }, "as2Config": { "$ref": "#/types/aws:transfer/ConnectorAs2Config:ConnectorAs2Config", - "description": "The parameters to configure for the connector object. Fields documented below.\n" + "description": "Either SFTP or AS2 is configured.The parameters to configure for the connector object. Fields documented below.\n" }, "connectorId": { "type": "string", - "description": "The unique identifier for the AS2 profile.\n" + "description": "The unique identifier for the AS2 profile or SFTP Profile.\n" }, "loggingRole": { "type": "string", "description": "The IAM Role which is required for allowing the connector to turn on CloudWatch logging for Amazon S3 events.\n" }, + "sftpConfig": { + "$ref": "#/types/aws:transfer/ConnectorSftpConfig:ConnectorSftpConfig", + "description": "Either SFTP or AS2 is configured.The parameters to configure for the connector object. Fields documented below.\n" + }, "tags": { "type": "object", "additionalProperties": { @@ -301025,13 +301790,12 @@ }, "url": { "type": "string", - "description": "The URL of the partners AS2 endpoint.\n" + "description": "The URL of the partners AS2 endpoint or SFTP endpoint.\n" } }, "required": [ "accessRole", "arn", - "as2Config", "connectorId", "tagsAll", "url" @@ -301043,12 +301807,16 @@ }, "as2Config": { "$ref": "#/types/aws:transfer/ConnectorAs2Config:ConnectorAs2Config", - "description": "The parameters to configure for the connector object. Fields documented below.\n" + "description": "Either SFTP or AS2 is configured.The parameters to configure for the connector object. Fields documented below.\n" }, "loggingRole": { "type": "string", "description": "The IAM Role which is required for allowing the connector to turn on CloudWatch logging for Amazon S3 events.\n" }, + "sftpConfig": { + "$ref": "#/types/aws:transfer/ConnectorSftpConfig:ConnectorSftpConfig", + "description": "Either SFTP or AS2 is configured.The parameters to configure for the connector object. Fields documented below.\n" + }, "tags": { "type": "object", "additionalProperties": { @@ -301058,12 +301826,11 @@ }, "url": { "type": "string", - "description": "The URL of the partners AS2 endpoint.\n" + "description": "The URL of the partners AS2 endpoint or SFTP endpoint.\n" } }, "requiredInputs": [ "accessRole", - "as2Config", "url" ], "stateInputs": { @@ -301079,16 +301846,20 @@ }, "as2Config": { "$ref": "#/types/aws:transfer/ConnectorAs2Config:ConnectorAs2Config", - "description": "The parameters to configure for the connector object. Fields documented below.\n" + "description": "Either SFTP or AS2 is configured.The parameters to configure for the connector object. Fields documented below.\n" }, "connectorId": { "type": "string", - "description": "The unique identifier for the AS2 profile.\n" + "description": "The unique identifier for the AS2 profile or SFTP Profile.\n" }, "loggingRole": { "type": "string", "description": "The IAM Role which is required for allowing the connector to turn on CloudWatch logging for Amazon S3 events.\n" }, + "sftpConfig": { + "$ref": "#/types/aws:transfer/ConnectorSftpConfig:ConnectorSftpConfig", + "description": "Either SFTP or AS2 is configured.The parameters to configure for the connector object. Fields documented below.\n" + }, "tags": { "type": "object", "additionalProperties": { @@ -301106,7 +301877,7 @@ }, "url": { "type": "string", - "description": "The URL of the partners AS2 endpoint.\n" + "description": "The URL of the partners AS2 endpoint or SFTP endpoint.\n" } }, "type": "object" @@ -302018,6 +302789,104 @@ "type": "object" } }, + "aws:verifiedaccess/instance:Instance": { + "description": "Resource for managing a Verified Access Instance.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\n\nconst example = new aws.verifiedaccess.Instance(\"example\", {\n description: \"example\",\n tags: {\n Name: \"example\",\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\n\nexample = aws.verifiedaccess.Instance(\"example\",\n description=\"example\",\n tags={\n \"Name\": \"example\",\n })\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Aws = Pulumi.Aws;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Aws.VerifiedAccess.Instance(\"example\", new()\n {\n Description = \"example\",\n Tags = \n {\n { \"Name\", \"example\" },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/verifiedaccess\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := verifiedaccess.NewInstance(ctx, \"example\", \u0026verifiedaccess.InstanceArgs{\n\t\t\tDescription: pulumi.String(\"example\"),\n\t\t\tTags: pulumi.StringMap{\n\t\t\t\t\"Name\": pulumi.String(\"example\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.aws.verifiedaccess.Instance;\nimport com.pulumi.aws.verifiedaccess.InstanceArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new Instance(\"example\", InstanceArgs.builder() \n .description(\"example\")\n .tags(Map.of(\"Name\", \"example\"))\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: aws:verifiedaccess:Instance\n properties:\n description: example\n tags:\n Name: example\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nterraform import {\n\n to = aws_verifiedaccess_instance.example\n\n id = \"vai-1234567890abcdef0\" } Using `pulumi import`, import Transfer Workflows using the\n\n`id`. For exampleconsole % pulumi import aws:verifiedaccess/instance:Instance vai-1234567890abcdef0 ", + "properties": { + "creationTime": { + "type": "string", + "description": "The time that the Verified Access Instance was created.\n" + }, + "description": { + "type": "string", + "description": "A description for the AWS Verified Access Instance.\n" + }, + "lastUpdatedTime": { + "type": "string", + "description": "The time that the Verified Access Instance was last updated.\n" + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Key-value mapping of resource tags. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.\n" + }, + "tagsAll": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "deprecationMessage": "Please use `tags` instead.", + "secret": true + }, + "verifiedAccessTrustProviders": { + "type": "array", + "items": { + "$ref": "#/types/aws:verifiedaccess/InstanceVerifiedAccessTrustProvider:InstanceVerifiedAccessTrustProvider" + }, + "description": "One or more blocks of providing information about the AWS Verified Access Trust Providers. See verified_access_trust_providers below for details.One or more blocks\n" + } + }, + "required": [ + "creationTime", + "lastUpdatedTime", + "tagsAll", + "verifiedAccessTrustProviders" + ], + "inputProperties": { + "description": { + "type": "string", + "description": "A description for the AWS Verified Access Instance.\n" + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Key-value mapping of resource tags. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.\n" + } + }, + "stateInputs": { + "description": "Input properties used for looking up and filtering Instance resources.\n", + "properties": { + "creationTime": { + "type": "string", + "description": "The time that the Verified Access Instance was created.\n" + }, + "description": { + "type": "string", + "description": "A description for the AWS Verified Access Instance.\n" + }, + "lastUpdatedTime": { + "type": "string", + "description": "The time that the Verified Access Instance was last updated.\n" + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Key-value mapping of resource tags. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.\n" + }, + "tagsAll": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "deprecationMessage": "Please use `tags` instead.", + "secret": true + }, + "verifiedAccessTrustProviders": { + "type": "array", + "items": { + "$ref": "#/types/aws:verifiedaccess/InstanceVerifiedAccessTrustProvider:InstanceVerifiedAccessTrustProvider" + }, + "description": "One or more blocks of providing information about the AWS Verified Access Trust Providers. See verified_access_trust_providers below for details.One or more blocks\n" + } + }, + "type": "object" + } + }, "aws:verifiedaccess/trustProvider:TrustProvider": { "description": "Resource for managing a Verified Access Trust Provider.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\n\nconst example = new aws.verifiedaccess.TrustProvider(\"example\", {\n policyReferenceName: \"example\",\n trustProviderType: \"user\",\n userTrustProviderType: \"iam-identity-center\",\n});\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\n\nexample = aws.verifiedaccess.TrustProvider(\"example\",\n policy_reference_name=\"example\",\n trust_provider_type=\"user\",\n user_trust_provider_type=\"iam-identity-center\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Aws = Pulumi.Aws;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Aws.VerifiedAccess.TrustProvider(\"example\", new()\n {\n PolicyReferenceName = \"example\",\n TrustProviderType = \"user\",\n UserTrustProviderType = \"iam-identity-center\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/verifiedaccess\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := verifiedaccess.NewTrustProvider(ctx, \"example\", \u0026verifiedaccess.TrustProviderArgs{\n\t\t\tPolicyReferenceName: pulumi.String(\"example\"),\n\t\t\tTrustProviderType: pulumi.String(\"user\"),\n\t\t\tUserTrustProviderType: pulumi.String(\"iam-identity-center\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.aws.verifiedaccess.TrustProvider;\nimport com.pulumi.aws.verifiedaccess.TrustProviderArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new TrustProvider(\"example\", TrustProviderArgs.builder() \n .policyReferenceName(\"example\")\n .trustProviderType(\"user\")\n .userTrustProviderType(\"iam-identity-center\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: aws:verifiedaccess:TrustProvider\n properties:\n policyReferenceName: example\n trustProviderType: user\n userTrustProviderType: iam-identity-center\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nIn TODO v1.5.0 and later, use an `import` block to import Transfer Workflows using the `id`. For exampleterraform import {\n\n to = aws_verifiedaccess_trust_provider.example\n\n id = \"vatp-8012925589\" } Using `TODO import`, import Transfer Workflows using the\n\n`id`. For exampleconsole % TODO import aws_verifiedaccess_trust_provider.example vatp-8012925589 ", "properties": { @@ -306488,7 +307357,7 @@ "properties": { "resourceArn": { "type": "string", - "description": "The Amazon Resource Name (ARN) of the resource to associate with the web ACL. This must be an ARN of an Application Load Balancer, an Amazon API Gateway stage, or an Amazon Cognito User Pool.\n" + "description": "The Amazon Resource Name (ARN) of the resource to associate with the web ACL. This must be an ARN of an Application Load Balancer, an Amazon API Gateway stage, an Amazon Cognito User Pool, an Amazon AppSync GraphQL API, an Amazon App Runner service, or an Amazon Verified Access instance.\n" }, "webAclArn": { "type": "string", @@ -306502,7 +307371,7 @@ "inputProperties": { "resourceArn": { "type": "string", - "description": "The Amazon Resource Name (ARN) of the resource to associate with the web ACL. This must be an ARN of an Application Load Balancer, an Amazon API Gateway stage, or an Amazon Cognito User Pool.\n", + "description": "The Amazon Resource Name (ARN) of the resource to associate with the web ACL. This must be an ARN of an Application Load Balancer, an Amazon API Gateway stage, an Amazon Cognito User Pool, an Amazon AppSync GraphQL API, an Amazon App Runner service, or an Amazon Verified Access instance.\n", "willReplaceOnChanges": true }, "webAclArn": { @@ -306520,7 +307389,7 @@ "properties": { "resourceArn": { "type": "string", - "description": "The Amazon Resource Name (ARN) of the resource to associate with the web ACL. This must be an ARN of an Application Load Balancer, an Amazon API Gateway stage, or an Amazon Cognito User Pool.\n", + "description": "The Amazon Resource Name (ARN) of the resource to associate with the web ACL. This must be an ARN of an Application Load Balancer, an Amazon API Gateway stage, an Amazon Cognito User Pool, an Amazon AppSync GraphQL API, an Amazon App Runner service, or an Amazon Verified Access instance.\n", "willReplaceOnChanges": true }, "webAclArn": { @@ -327537,6 +328406,314 @@ ] } }, + "aws:fsx/getOntapFileSystem:getOntapFileSystem": { + "description": "Retrieve information on FSx ONTAP File System.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Basic Usage\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\n\nconst example = aws.fsx.getOntapFileSystem({\n id: \"fs-12345678\",\n});\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\n\nexample = aws.fsx.get_ontap_file_system(id=\"fs-12345678\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Aws = Pulumi.Aws;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = Aws.Fsx.GetOntapFileSystem.Invoke(new()\n {\n Id = \"fs-12345678\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/fsx\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := fsx.LookupOntapFileSystem(ctx, \u0026fsx.LookupOntapFileSystemArgs{\n\t\t\tId: \"fs-12345678\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.aws.fsx.FsxFunctions;\nimport com.pulumi.aws.fsx.inputs.GetOntapFileSystemArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var example = FsxFunctions.getOntapFileSystem(GetOntapFileSystemArgs.builder()\n .id(\"fs-12345678\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n example:\n fn::invoke:\n Function: aws:fsx:getOntapFileSystem\n Arguments:\n id: fs-12345678\n```\n{{% /example %}}\n{{% /examples %}}", + "inputs": { + "description": "A collection of arguments for invoking getOntapFileSystem.\n", + "properties": { + "id": { + "type": "string", + "description": "Identifier of the file system (e.g. `fs-12345678`).\n" + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "The tags associated with the file system.\n" + } + }, + "type": "object", + "required": [ + "id" + ] + }, + "outputs": { + "description": "A collection of values returned by getOntapFileSystem.\n", + "properties": { + "arn": { + "type": "string", + "description": "Amazon Resource Name of the file system.\n" + }, + "automaticBackupRetentionDays": { + "type": "integer", + "description": "The number of days to retain automatic backups.\n" + }, + "dailyAutomaticBackupStartTime": { + "type": "string", + "description": "The preferred time (in `HH:MM` format) to take daily automatic backups, in the UTC time zone.\n" + }, + "deploymentType": { + "type": "string", + "description": "The file system deployment type.\n" + }, + "diskIopsConfigurations": { + "type": "array", + "items": { + "$ref": "#/types/aws:fsx/getOntapFileSystemDiskIopsConfiguration:getOntapFileSystemDiskIopsConfiguration" + }, + "description": "The SSD IOPS configuration for the Amazon FSx for NetApp ONTAP file system, specifying the number of provisioned IOPS and the provision mode. See Disk IOPS Below.\n" + }, + "dnsName": { + "type": "string", + "description": "DNS name for the file system (e.g. `fs-12345678.corp.example.com`).\n" + }, + "endpointIpAddressRange": { + "type": "string", + "description": "(Multi-AZ only) Specifies the IP address range in which the endpoints to access your file system exist.\n" + }, + "endpoints": { + "type": "array", + "items": { + "$ref": "#/types/aws:fsx/getOntapFileSystemEndpoint:getOntapFileSystemEndpoint" + }, + "description": "The Management and Intercluster FileSystemEndpoints that are used to access data or to manage the file system using the NetApp ONTAP CLI, REST API, or NetApp SnapMirror. See FileSystemEndpoints below.\n" + }, + "id": { + "type": "string", + "description": "Identifier of the file system (e.g. `fs-12345678`).\n" + }, + "kmsKeyId": { + "type": "string", + "description": "ARN for the KMS Key to encrypt the file system at rest.\n" + }, + "networkInterfaceIds": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The IDs of the elastic network interfaces from which a specific file system is accessible.\n" + }, + "ownerId": { + "type": "string", + "description": "AWS account identifier that created the file system.\n" + }, + "preferredSubnetId": { + "type": "string", + "description": "Specifies the subnet in which you want the preferred file server to be located.\n" + }, + "routeTableIds": { + "type": "array", + "items": { + "type": "string" + }, + "description": "(Multi-AZ only) The VPC route tables in which your file system's endpoints exist.\n" + }, + "storageCapacity": { + "type": "integer", + "description": "The storage capacity of the file system in gibibytes (GiB).\n" + }, + "storageType": { + "type": "string", + "description": "The type of storage the file system is using. If set to `SSD`, the file system uses solid state drive storage. If set to `HDD`, the file system uses hard disk drive storage.\n" + }, + "subnetIds": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Specifies the IDs of the subnets that the file system is accessible from. For the MULTI_AZ_1 file system deployment type, there are two subnet IDs, one for the preferred file server and one for the standby file server. The preferred file server subnet identified in the `preferred_subnet_id` property.\n" + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "The tags associated with the file system.\n" + }, + "throughputCapacity": { + "type": "integer", + "description": "The sustained throughput of an Amazon FSx file system in Megabytes per second (MBps).\n" + }, + "vpcId": { + "type": "string", + "description": "The ID of the primary virtual private cloud (VPC) for the file system.\n" + }, + "weeklyMaintenanceStartTime": { + "type": "string", + "description": "The preferred start time (in `D:HH:MM` format) to perform weekly maintenance, in the UTC time zone.\n" + } + }, + "type": "object", + "required": [ + "arn", + "automaticBackupRetentionDays", + "dailyAutomaticBackupStartTime", + "deploymentType", + "diskIopsConfigurations", + "dnsName", + "endpointIpAddressRange", + "endpoints", + "id", + "kmsKeyId", + "networkInterfaceIds", + "ownerId", + "preferredSubnetId", + "routeTableIds", + "storageCapacity", + "storageType", + "subnetIds", + "tags", + "throughputCapacity", + "vpcId", + "weeklyMaintenanceStartTime" + ] + } + }, + "aws:fsx/getOntapStorageVirtualMachine:getOntapStorageVirtualMachine": { + "description": "Retrieve information on FSx ONTAP Storage Virtual Machine (SVM).\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Basic Usage\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\n\nconst example = aws.fsx.getOntapStorageVirtualMachine({\n id: \"svm-12345678\",\n});\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\n\nexample = aws.fsx.get_ontap_storage_virtual_machine(id=\"svm-12345678\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Aws = Pulumi.Aws;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = Aws.Fsx.GetOntapStorageVirtualMachine.Invoke(new()\n {\n Id = \"svm-12345678\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/fsx\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := fsx.LookupOntapStorageVirtualMachine(ctx, \u0026fsx.LookupOntapStorageVirtualMachineArgs{\n\t\t\tId: pulumi.StringRef(\"svm-12345678\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.aws.fsx.FsxFunctions;\nimport com.pulumi.aws.fsx.inputs.GetOntapStorageVirtualMachineArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var example = FsxFunctions.getOntapStorageVirtualMachine(GetOntapStorageVirtualMachineArgs.builder()\n .id(\"svm-12345678\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n example:\n fn::invoke:\n Function: aws:fsx:getOntapStorageVirtualMachine\n Arguments:\n id: svm-12345678\n```\n{{% /example %}}\n{{% example %}}\n### Filter Example\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\n\nconst example = aws.fsx.getOntapStorageVirtualMachine({\n filters: [{\n name: \"file-system-id\",\n values: [\"fs-12345678\"],\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\n\nexample = aws.fsx.get_ontap_storage_virtual_machine(filters=[aws.fsx.GetOntapStorageVirtualMachineFilterArgs(\n name=\"file-system-id\",\n values=[\"fs-12345678\"],\n)])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Aws = Pulumi.Aws;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = Aws.Fsx.GetOntapStorageVirtualMachine.Invoke(new()\n {\n Filters = new[]\n {\n new Aws.Fsx.Inputs.GetOntapStorageVirtualMachineFilterInputArgs\n {\n Name = \"file-system-id\",\n Values = new[]\n {\n \"fs-12345678\",\n },\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/fsx\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := fsx.LookupOntapStorageVirtualMachine(ctx, \u0026fsx.LookupOntapStorageVirtualMachineArgs{\n\t\t\tFilters: []fsx.GetOntapStorageVirtualMachineFilter{\n\t\t\t\t{\n\t\t\t\t\tName: \"file-system-id\",\n\t\t\t\t\tValues: []string{\n\t\t\t\t\t\t\"fs-12345678\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.aws.fsx.FsxFunctions;\nimport com.pulumi.aws.fsx.inputs.GetOntapStorageVirtualMachineArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var example = FsxFunctions.getOntapStorageVirtualMachine(GetOntapStorageVirtualMachineArgs.builder()\n .filters(GetOntapStorageVirtualMachineFilterArgs.builder()\n .name(\"file-system-id\")\n .values(\"fs-12345678\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n example:\n fn::invoke:\n Function: aws:fsx:getOntapStorageVirtualMachine\n Arguments:\n filters:\n - name: file-system-id\n values:\n - fs-12345678\n```\n{{% /example %}}\n{{% /examples %}}", + "inputs": { + "description": "A collection of arguments for invoking getOntapStorageVirtualMachine.\n", + "properties": { + "filters": { + "type": "array", + "items": { + "$ref": "#/types/aws:fsx/getOntapStorageVirtualMachineFilter:getOntapStorageVirtualMachineFilter" + }, + "description": "Configuration block. Detailed below.\n" + }, + "id": { + "type": "string", + "description": "Identifier of the storage virtual machine (e.g. `svm-12345678`).\n" + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "type": "object" + }, + "outputs": { + "description": "A collection of values returned by getOntapStorageVirtualMachine.\n", + "properties": { + "activeDirectoryConfigurations": { + "type": "array", + "items": { + "$ref": "#/types/aws:fsx/getOntapStorageVirtualMachineActiveDirectoryConfiguration:getOntapStorageVirtualMachineActiveDirectoryConfiguration" + }, + "description": "The Microsoft Active Directory configuration to which the SVM is joined, if applicable. See Active Directory Configuration below.\n" + }, + "arn": { + "type": "string", + "description": "Amazon Resource Name of the SVM.\n" + }, + "creationTime": { + "type": "string", + "description": "The time that the SVM was created.\n" + }, + "endpoints": { + "type": "array", + "items": { + "$ref": "#/types/aws:fsx/getOntapStorageVirtualMachineEndpoint:getOntapStorageVirtualMachineEndpoint" + }, + "description": "The endpoints that are used to access data or to manage the SVM using the NetApp ONTAP CLI, REST API, or NetApp CloudManager. They are the Iscsi, Management, Nfs, and Smb endpoints. See SVM Endpoints below.\n" + }, + "fileSystemId": { + "type": "string", + "description": "Identifier of the file system (e.g. `fs-12345678`).\n" + }, + "filters": { + "type": "array", + "items": { + "$ref": "#/types/aws:fsx/getOntapStorageVirtualMachineFilter:getOntapStorageVirtualMachineFilter" + } + }, + "id": { + "type": "string", + "description": "The SVM's system generated unique ID.\n" + }, + "lifecycleStatus": { + "type": "string", + "description": "The SVM's lifecycle status.\n" + }, + "lifecycleTransitionReasons": { + "type": "array", + "items": { + "$ref": "#/types/aws:fsx/getOntapStorageVirtualMachineLifecycleTransitionReason:getOntapStorageVirtualMachineLifecycleTransitionReason" + }, + "description": "Describes why the SVM lifecycle state changed. See Lifecycle Transition Reason below.\n" + }, + "name": { + "type": "string", + "description": "The name of the SVM, if provisioned.\n" + }, + "subtype": { + "type": "string", + "description": "The SVM's subtype.\n" + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "uuid": { + "type": "string", + "description": "The SVM's UUID.\n" + } + }, + "type": "object", + "required": [ + "activeDirectoryConfigurations", + "arn", + "creationTime", + "endpoints", + "fileSystemId", + "id", + "lifecycleStatus", + "lifecycleTransitionReasons", + "name", + "subtype", + "tags", + "uuid" + ] + } + }, + "aws:fsx/getOntapStorageVirtualMachines:getOntapStorageVirtualMachines": { + "description": "This resource can be useful for getting back a set of FSx ONTAP Storage Virtual Machine (SVM) IDs.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\nThe following shows outputting all SVM IDs for a given FSx ONTAP File System.\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\n\nconst example = aws.fsx.getOntapStorageVirtualMachines({\n filters: [{\n name: \"file-system-id\",\n values: [\"fs-12345678\"],\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\n\nexample = aws.fsx.get_ontap_storage_virtual_machines(filters=[aws.fsx.GetOntapStorageVirtualMachinesFilterArgs(\n name=\"file-system-id\",\n values=[\"fs-12345678\"],\n)])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Aws = Pulumi.Aws;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = Aws.Fsx.GetOntapStorageVirtualMachines.Invoke(new()\n {\n Filters = new[]\n {\n new Aws.Fsx.Inputs.GetOntapStorageVirtualMachinesFilterInputArgs\n {\n Name = \"file-system-id\",\n Values = new[]\n {\n \"fs-12345678\",\n },\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/fsx\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := fsx.GetOntapStorageVirtualMachines(ctx, \u0026fsx.GetOntapStorageVirtualMachinesArgs{\n\t\t\tFilters: []fsx.GetOntapStorageVirtualMachinesFilter{\n\t\t\t\t{\n\t\t\t\t\tName: \"file-system-id\",\n\t\t\t\t\tValues: []string{\n\t\t\t\t\t\t\"fs-12345678\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.aws.fsx.FsxFunctions;\nimport com.pulumi.aws.fsx.inputs.GetOntapStorageVirtualMachinesArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var example = FsxFunctions.getOntapStorageVirtualMachines(GetOntapStorageVirtualMachinesArgs.builder()\n .filters(GetOntapStorageVirtualMachinesFilterArgs.builder()\n .name(\"file-system-id\")\n .values(\"fs-12345678\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n example:\n fn::invoke:\n Function: aws:fsx:getOntapStorageVirtualMachines\n Arguments:\n filters:\n - name: file-system-id\n values:\n - fs-12345678\n```\n{{% /example %}}\n{{% /examples %}}", + "inputs": { + "description": "A collection of arguments for invoking getOntapStorageVirtualMachines.\n", + "properties": { + "filters": { + "type": "array", + "items": { + "$ref": "#/types/aws:fsx/getOntapStorageVirtualMachinesFilter:getOntapStorageVirtualMachinesFilter" + }, + "description": "Configuration block. Detailed below.\n" + } + }, + "type": "object" + }, + "outputs": { + "description": "A collection of values returned by getOntapStorageVirtualMachines.\n", + "properties": { + "filters": { + "type": "array", + "items": { + "$ref": "#/types/aws:fsx/getOntapStorageVirtualMachinesFilter:getOntapStorageVirtualMachinesFilter" + } + }, + "id": { + "type": "string", + "description": "The provider-assigned unique ID for this managed resource.\n" + }, + "ids": { + "type": "array", + "items": { + "type": "string" + }, + "description": "List of all SVM IDs found.\n" + } + }, + "type": "object", + "required": [ + "ids", + "id" + ] + } + }, "aws:fsx/getOpenZfsSnapshot:getOpenZfsSnapshot": { "description": "Use this data source to get information about an Amazon FSx for OpenZFS Snapshot for use when provisioning new Volumes.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Root volume Example\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\n\nconst example = aws.fsx.getOpenZfsSnapshot({\n filters: [{\n name: \"volume-id\",\n values: [\"fsvol-073a32b6098a73feb\"],\n }],\n mostRecent: true,\n});\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\n\nexample = aws.fsx.get_open_zfs_snapshot(filters=[aws.fsx.GetOpenZfsSnapshotFilterArgs(\n name=\"volume-id\",\n values=[\"fsvol-073a32b6098a73feb\"],\n )],\n most_recent=True)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Aws = Pulumi.Aws;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = Aws.Fsx.GetOpenZfsSnapshot.Invoke(new()\n {\n Filters = new[]\n {\n new Aws.Fsx.Inputs.GetOpenZfsSnapshotFilterInputArgs\n {\n Name = \"volume-id\",\n Values = new[]\n {\n \"fsvol-073a32b6098a73feb\",\n },\n },\n },\n MostRecent = true,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/fsx\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := fsx.LookupOpenZfsSnapshot(ctx, \u0026fsx.LookupOpenZfsSnapshotArgs{\n\t\t\tFilters: []fsx.GetOpenZfsSnapshotFilter{\n\t\t\t\t{\n\t\t\t\t\tName: \"volume-id\",\n\t\t\t\t\tValues: []string{\n\t\t\t\t\t\t\"fsvol-073a32b6098a73feb\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\tMostRecent: pulumi.BoolRef(true),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.aws.fsx.FsxFunctions;\nimport com.pulumi.aws.fsx.inputs.GetOpenZfsSnapshotArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var example = FsxFunctions.getOpenZfsSnapshot(GetOpenZfsSnapshotArgs.builder()\n .filters(GetOpenZfsSnapshotFilterArgs.builder()\n .name(\"volume-id\")\n .values(\"fsvol-073a32b6098a73feb\")\n .build())\n .mostRecent(true)\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n example:\n fn::invoke:\n Function: aws:fsx:getOpenZfsSnapshot\n Arguments:\n filters:\n - name: volume-id\n values:\n - fsvol-073a32b6098a73feb\n mostRecent: true\n```\n{{% /example %}}\n{{% /examples %}}", "inputs": { @@ -331760,7 +332937,7 @@ } }, "aws:iot/getEndpoint:getEndpoint": { - "description": "Returns a unique endpoint specific to the AWS account making the call.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\nimport * as kubernetes from \"@pulumi/kubernetes\";\n\nconst example = aws.iot.getEndpoint({});\nconst agent = new kubernetes.index.Kubernetes_pod(\"agent\", {\n metadata: [{\n name: \"my-device\",\n }],\n spec: [{\n container: [{\n image: \"gcr.io/my-project/image-name\",\n name: \"image-name\",\n env: [{\n name: \"IOT_ENDPOINT\",\n value: example.endpointAddress,\n }],\n }],\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\nimport pulumi_kubernetes as kubernetes\n\nexample = aws.iot.get_endpoint()\nagent = kubernetes.index.Kubernetes_pod(\"agent\",\n metadata=[{\n name: my-device,\n }],\n spec=[{\n container: [{\n image: gcr.io/my-project/image-name,\n name: image-name,\n env: [{\n name: IOT_ENDPOINT,\n value: example.endpoint_address,\n }],\n }],\n }])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Aws = Pulumi.Aws;\nusing Kubernetes = Pulumi.Kubernetes;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = Aws.Iot.GetEndpoint.Invoke();\n\n var agent = new Kubernetes.Index.Kubernetes_pod(\"agent\", new()\n {\n Metadata = new[]\n {\n \n {\n { \"name\", \"my-device\" },\n },\n },\n Spec = new[]\n {\n \n {\n { \"container\", new[]\n {\n \n {\n { \"image\", \"gcr.io/my-project/image-name\" },\n { \"name\", \"image-name\" },\n { \"env\", new[]\n {\n \n {\n { \"name\", \"IOT_ENDPOINT\" },\n { \"value\", example.Apply(getEndpointResult =\u003e getEndpointResult.EndpointAddress) },\n },\n } },\n },\n } },\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/iot\"\n\t\"github.com/pulumi/pulumi-kubernetes/sdk/v3/go/kubernetes\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texample, err := iot.GetEndpoint(ctx, nil, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = kubernetes.NewKubernetes_pod(ctx, \"agent\", \u0026kubernetes.Kubernetes_podArgs{\n\t\t\tMetadata: []map[string]interface{}{\n\t\t\t\tmap[string]interface{}{\n\t\t\t\t\t\"name\": \"my-device\",\n\t\t\t\t},\n\t\t\t},\n\t\t\tSpec: []map[string]interface{}{\n\t\t\t\tmap[string]interface{}{\n\t\t\t\t\t\"container\": []map[string]interface{}{\n\t\t\t\t\t\tmap[string]interface{}{\n\t\t\t\t\t\t\t\"image\": \"gcr.io/my-project/image-name\",\n\t\t\t\t\t\t\t\"name\": \"image-name\",\n\t\t\t\t\t\t\t\"env\": []map[string]interface{}{\n\t\t\t\t\t\t\t\tmap[string]interface{}{\n\t\t\t\t\t\t\t\t\t\"name\": \"IOT_ENDPOINT\",\n\t\t\t\t\t\t\t\t\t\"value\": example.EndpointAddress,\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.aws.iot.IotFunctions;\nimport com.pulumi.aws.iot.inputs.GetEndpointArgs;\nimport com.pulumi.kubernetes.kubernetes_pod;\nimport com.pulumi.kubernetes.Kubernetes_podArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var example = IotFunctions.getEndpoint();\n\n var agent = new Kubernetes_pod(\"agent\", Kubernetes_podArgs.builder() \n .metadata(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))\n .spec(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))\n .build());\n\n }\n}\n```\n```yaml\nresources:\n agent:\n type: kubernetes:kubernetes_pod\n properties:\n metadata:\n - name: my-device\n spec:\n - container:\n - image: gcr.io/my-project/image-name\n name: image-name\n env:\n - name: IOT_ENDPOINT\n value: ${example.endpointAddress}\nvariables:\n example:\n fn::invoke:\n Function: aws:iot:getEndpoint\n Arguments: {}\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Returns a unique endpoint specific to the AWS account making the call.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\nimport * as kubernetes from \"@pulumi/kubernetes\";\n\nconst example = aws.iot.getEndpoint({});\nconst agent = new kubernetes.index.Kubernetes_pod(\"agent\", {\n metadata: [{\n name: \"my-device\",\n }],\n spec: [{\n container: [{\n image: \"gcr.io/my-project/image-name\",\n name: \"image-name\",\n env: [{\n name: \"IOT_ENDPOINT\",\n value: example.endpointAddress,\n }],\n }],\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\nimport pulumi_kubernetes as kubernetes\n\nexample = aws.iot.get_endpoint()\nagent = kubernetes.index.Kubernetes_pod(\"agent\",\n metadata=[{\n name: my-device,\n }],\n spec=[{\n container: [{\n image: gcr.io/my-project/image-name,\n name: image-name,\n env: [{\n name: IOT_ENDPOINT,\n value: example.endpoint_address,\n }],\n }],\n }])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Aws = Pulumi.Aws;\nusing Kubernetes = Pulumi.Kubernetes;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = Aws.Iot.GetEndpoint.Invoke();\n\n var agent = new Kubernetes.Index.Kubernetes_pod(\"agent\", new()\n {\n Metadata = new[]\n {\n \n {\n { \"name\", \"my-device\" },\n },\n },\n Spec = new[]\n {\n \n {\n { \"container\", new[]\n {\n \n {\n { \"image\", \"gcr.io/my-project/image-name\" },\n { \"name\", \"image-name\" },\n { \"env\", new[]\n {\n \n {\n { \"name\", \"IOT_ENDPOINT\" },\n { \"value\", example.Apply(getEndpointResult =\u003e getEndpointResult.EndpointAddress) },\n },\n } },\n },\n } },\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/iot\"\n\t\"github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texample, err := iot.GetEndpoint(ctx, nil, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = kubernetes.NewKubernetes_pod(ctx, \"agent\", \u0026kubernetes.Kubernetes_podArgs{\n\t\t\tMetadata: []map[string]interface{}{\n\t\t\t\tmap[string]interface{}{\n\t\t\t\t\t\"name\": \"my-device\",\n\t\t\t\t},\n\t\t\t},\n\t\t\tSpec: []map[string]interface{}{\n\t\t\t\tmap[string]interface{}{\n\t\t\t\t\t\"container\": []map[string]interface{}{\n\t\t\t\t\t\tmap[string]interface{}{\n\t\t\t\t\t\t\t\"image\": \"gcr.io/my-project/image-name\",\n\t\t\t\t\t\t\t\"name\": \"image-name\",\n\t\t\t\t\t\t\t\"env\": []map[string]interface{}{\n\t\t\t\t\t\t\t\tmap[string]interface{}{\n\t\t\t\t\t\t\t\t\t\"name\": \"IOT_ENDPOINT\",\n\t\t\t\t\t\t\t\t\t\"value\": example.EndpointAddress,\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.aws.iot.IotFunctions;\nimport com.pulumi.aws.iot.inputs.GetEndpointArgs;\nimport com.pulumi.kubernetes.kubernetes_pod;\nimport com.pulumi.kubernetes.Kubernetes_podArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var example = IotFunctions.getEndpoint();\n\n var agent = new Kubernetes_pod(\"agent\", Kubernetes_podArgs.builder() \n .metadata(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))\n .spec(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))\n .build());\n\n }\n}\n```\n```yaml\nresources:\n agent:\n type: kubernetes:kubernetes_pod\n properties:\n metadata:\n - name: my-device\n spec:\n - container:\n - image: gcr.io/my-project/image-name\n name: image-name\n env:\n - name: IOT_ENDPOINT\n value: ${example.endpointAddress}\nvariables:\n example:\n fn::invoke:\n Function: aws:iot:getEndpoint\n Arguments: {}\n```\n{{% /example %}}\n{{% /examples %}}", "inputs": { "description": "A collection of arguments for invoking getEndpoint.\n", "properties": { @@ -338801,6 +339978,53 @@ ] } }, + "aws:organizations/getOrganizationalUnit:getOrganizationalUnit": { + "description": "Data source for getting an AWS Organizations Organizational Unit.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Basic Usage\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\n\nconst org = aws.organizations.getOrganization({});\nconst ou = org.then(org =\u003e aws.organizations.getOrganizationalUnit({\n parentId: org.roots?.[0]?.id,\n name: \"dev\",\n}));\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\n\norg = aws.organizations.get_organization()\nou = aws.organizations.get_organizational_unit(parent_id=org.roots[0].id,\n name=\"dev\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Aws = Pulumi.Aws;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var org = Aws.Organizations.GetOrganization.Invoke();\n\n var ou = Aws.Organizations.GetOrganizationalUnit.Invoke(new()\n {\n ParentId = org.Apply(getOrganizationResult =\u003e getOrganizationResult.Roots[0]?.Id),\n Name = \"dev\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/organizations\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\torg, err := organizations.LookupOrganization(ctx, nil, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = organizations.LookupOrganizationalUnit(ctx, \u0026organizations.LookupOrganizationalUnitArgs{\n\t\t\tParentId: org.Roots[0].Id,\n\t\t\tName: \"dev\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.aws.organizations.OrganizationsFunctions;\nimport com.pulumi.aws.organizations.inputs.GetOrganizationalUnitArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var org = OrganizationsFunctions.getOrganization();\n\n final var ou = OrganizationsFunctions.getOrganizationalUnit(GetOrganizationalUnitArgs.builder()\n .parentId(org.applyValue(getOrganizationResult -\u003e getOrganizationResult.roots()[0].id()))\n .name(\"dev\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n org:\n fn::invoke:\n Function: aws:organizations:getOrganization\n Arguments: {}\n ou:\n fn::invoke:\n Function: aws:organizations:getOrganizationalUnit\n Arguments:\n parentId: ${org.roots[0].id}\n name: dev\n```\n{{% /example %}}\n{{% /examples %}}", + "inputs": { + "description": "A collection of arguments for invoking getOrganizationalUnit.\n", + "properties": { + "name": { + "type": "string", + "description": "Name of the organizational unit\n" + }, + "parentId": { + "type": "string", + "description": "Parent ID of the organizational unit.\n" + } + }, + "type": "object", + "required": [ + "name", + "parentId" + ] + }, + "outputs": { + "description": "A collection of values returned by getOrganizationalUnit.\n", + "properties": { + "arn": { + "type": "string", + "description": "ARN of the organizational unit\n" + }, + "id": { + "type": "string", + "description": "The provider-assigned unique ID for this managed resource.\n" + }, + "name": { + "type": "string" + }, + "parentId": { + "type": "string" + } + }, + "type": "object", + "required": [ + "arn", + "name", + "parentId", + "id" + ] + } + }, "aws:organizations/getOrganizationalUnitChildAccounts:getOrganizationalUnitChildAccounts": { "description": "Get all direct child accounts under a parent organizational unit. This only provides immediate children, not all children.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\n\nconst org = aws.organizations.getOrganization({});\nconst accounts = org.then(org =\u003e aws.organizations.getOrganizationalUnitChildAccounts({\n parentId: org.roots?.[0]?.id,\n}));\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\n\norg = aws.organizations.get_organization()\naccounts = aws.organizations.get_organizational_unit_child_accounts(parent_id=org.roots[0].id)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Aws = Pulumi.Aws;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var org = Aws.Organizations.GetOrganization.Invoke();\n\n var accounts = Aws.Organizations.GetOrganizationalUnitChildAccounts.Invoke(new()\n {\n ParentId = org.Apply(getOrganizationResult =\u003e getOrganizationResult.Roots[0]?.Id),\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/organizations\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\torg, err := organizations.LookupOrganization(ctx, nil, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = organizations.GetOrganizationalUnitChildAccounts(ctx, \u0026organizations.GetOrganizationalUnitChildAccountsArgs{\n\t\t\tParentId: org.Roots[0].Id,\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.aws.organizations.OrganizationsFunctions;\nimport com.pulumi.aws.organizations.inputs.GetOrganizationalUnitChildAccountsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var org = OrganizationsFunctions.getOrganization();\n\n final var accounts = OrganizationsFunctions.getOrganizationalUnitChildAccounts(GetOrganizationalUnitChildAccountsArgs.builder()\n .parentId(org.applyValue(getOrganizationResult -\u003e getOrganizationResult.roots()[0].id()))\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n org:\n fn::invoke:\n Function: aws:organizations:getOrganization\n Arguments: {}\n accounts:\n fn::invoke:\n Function: aws:organizations:getOrganizationalUnitChildAccounts\n Arguments:\n parentId: ${org.roots[0].id}\n```\n{{% /example %}}\n{{% /examples %}}", "inputs": { @@ -343971,6 +345195,10 @@ "type": "string", "description": "Name of the bucket to read the object from. Alternatively, an [S3 access point](https://docs.aws.amazon.com/AmazonS3/latest/dev/using-access-points.html) ARN can be specified\n" }, + "checksumMode": { + "type": "string", + "description": "To retrieve the object's checksum, this argument must be `ENABLED`. If you enable `checksum_mode` and the object is encrypted with KMS, you must have permission to use the `kms:Decrypt` action. Valid values: `ENABLED`\n" + }, "key": { "type": "string", "description": "Full path to the object inside the bucket\n" @@ -344014,6 +345242,25 @@ "type": "string", "description": "Caching behavior along the request/reply chain.\n" }, + "checksumCrc32": { + "type": "string", + "description": "The base64-encoded, 32-bit CRC32 checksum of the object.\n" + }, + "checksumCrc32c": { + "type": "string", + "description": "The base64-encoded, 32-bit CRC32C checksum of the object.\n" + }, + "checksumMode": { + "type": "string" + }, + "checksumSha1": { + "type": "string", + "description": "The base64-encoded, 160-bit SHA-1 digest of the object.\n" + }, + "checksumSha256": { + "type": "string", + "description": "The base64-encoded, 256-bit SHA-256 digest of the object.\n" + }, "contentDisposition": { "type": "string", "description": "Presentational information for the object.\n" @@ -344113,6 +345360,10 @@ "bucket", "bucketKeyEnabled", "cacheControl", + "checksumCrc32", + "checksumCrc32c", + "checksumSha1", + "checksumSha256", "contentDisposition", "contentEncoding", "contentLanguage", diff --git a/sdk/dotnet/CleanRooms/Collaboration.cs b/sdk/dotnet/CleanRooms/Collaboration.cs index c4f913c74f7..458fb3e225d 100644 --- a/sdk/dotnet/CleanRooms/Collaboration.cs +++ b/sdk/dotnet/CleanRooms/Collaboration.cs @@ -58,20 +58,27 @@ namespace Pulumi.Aws.CleanRooms /// /// }); /// ``` + /// + /// ## Import + /// + /// terraform import { + /// + /// to = aws_cleanrooms_collaboration.collaboration + /// + /// id = "1234abcd-12ab-34cd-56ef-1234567890ab" } Using `pulumi import`, import `aws:cleanrooms/collaboration:Collaboration` using the `id`. For exampleconsole % pulumi import aws:cleanrooms/collaboration:Collaboration 1234abcd-12ab-34cd-56ef-1234567890ab /// [AwsResourceType("aws:cleanrooms/collaboration:Collaboration")] public partial class Collaboration : global::Pulumi.CustomResource { /// - /// The arn of the collaboration + /// The arn of the collaboration. /// [Output("arn")] public Output Arn { get; private set; } = null!; /// - /// The date and time the collaboration was created - /// * `member status` - For each member included in the collaboration an additional computed attribute of status is added. These values [may be - /// ound here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_MemberSummary.html#API-Type-MemberSummary-status) + /// The date and time the collaboration was created. + /// * `member status` - For each member included in the collaboration an additional computed attribute of status is added. These values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_MemberSummary.html#API-Type-MemberSummary-status). /// [Output("createTime")] public Output CreateTime { get; private set; } = null!; @@ -83,16 +90,13 @@ public partial class Collaboration : global::Pulumi.CustomResource public Output CreatorDisplayName { get; private set; } = null!; /// - /// The list of member abilities for the creator of the collaboration. Valid v - /// lues [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-re - /// uest-creatorMemberAbilities) + /// The list of member abilities for the creator of the collaboration. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-creatorMemberAbilities). /// [Output("creatorMemberAbilities")] public Output> CreatorMemberAbilities { get; private set; } = null!; /// - /// a collection of settings which determine how the [c3r client](https://docs - /// aws.amazon.com/clean-rooms/latest/userguide/crypto-computing.html) will encrypt data for use within this collaboration + /// a collection of settings which determine how the [c3r client](https://docs.aws.amazon.com/clean-rooms/latest/userguide/crypto-computing.html) will encrypt data for use within this collaboration. /// * `data_encryption_metadata.allow_clear_text` - (Required - Forces new resource) - Indicates whether encrypted tables can contain cleartext data. This is a boolea /// field. /// * `data_encryption_metadata.allow_duplicates` - (Required - Forces new resource ) - Indicates whether Fingerprint columns can contain duplicate entries. This is a @@ -113,10 +117,9 @@ public partial class Collaboration : global::Pulumi.CustomResource /// /// Additional members of the collaboration which will be invited to join the collaboration. - /// * `member.account_id` - (Required - Forces new resource) - The account id for the invited member - /// * `member.display_name` - (Required - Forces new resource) - The display name for the invited member - /// * `member.member_abilities` - (Required - Forces new resource) - The list of abilities for the invited member. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-creatorMemberAbiliti - /// s + /// * `member.account_id` - (Required - Forces new resource) - The account id for the invited member. + /// * `member.display_name` - (Required - Forces new resource) - The display name for the invited member. + /// * `member.member_abilities` - (Required - Forces new resource) - The list of abilities for the invited member. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-creatorMemberAbilities). /// [Output("members")] public Output> Members { get; private set; } = null!; @@ -128,9 +131,8 @@ public partial class Collaboration : global::Pulumi.CustomResource public Output Name { get; private set; } = null!; /// - /// Determines if members of the collaboration can enable query logs within their own - /// emberships. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-Cr - /// ateCollaboration-request-queryLogStatus). + /// Determines if members of the collaboration can enable query logs within their own. + /// emberships. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-queryLogStatus). /// [Output("queryLogStatus")] public Output QueryLogStatus { get; private set; } = null!; @@ -207,9 +209,7 @@ public sealed class CollaborationArgs : global::Pulumi.ResourceArgs private InputList? _creatorMemberAbilities; /// - /// The list of member abilities for the creator of the collaboration. Valid v - /// lues [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-re - /// uest-creatorMemberAbilities) + /// The list of member abilities for the creator of the collaboration. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-creatorMemberAbilities). /// public InputList CreatorMemberAbilities { @@ -218,8 +218,7 @@ public InputList CreatorMemberAbilities } /// - /// a collection of settings which determine how the [c3r client](https://docs - /// aws.amazon.com/clean-rooms/latest/userguide/crypto-computing.html) will encrypt data for use within this collaboration + /// a collection of settings which determine how the [c3r client](https://docs.aws.amazon.com/clean-rooms/latest/userguide/crypto-computing.html) will encrypt data for use within this collaboration. /// * `data_encryption_metadata.allow_clear_text` - (Required - Forces new resource) - Indicates whether encrypted tables can contain cleartext data. This is a boolea /// field. /// * `data_encryption_metadata.allow_duplicates` - (Required - Forces new resource ) - Indicates whether Fingerprint columns can contain duplicate entries. This is a @@ -243,10 +242,9 @@ public InputList CreatorMemberAbilities /// /// Additional members of the collaboration which will be invited to join the collaboration. - /// * `member.account_id` - (Required - Forces new resource) - The account id for the invited member - /// * `member.display_name` - (Required - Forces new resource) - The display name for the invited member - /// * `member.member_abilities` - (Required - Forces new resource) - The list of abilities for the invited member. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-creatorMemberAbiliti - /// s + /// * `member.account_id` - (Required - Forces new resource) - The account id for the invited member. + /// * `member.display_name` - (Required - Forces new resource) - The display name for the invited member. + /// * `member.member_abilities` - (Required - Forces new resource) - The list of abilities for the invited member. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-creatorMemberAbilities). /// public InputList Members { @@ -261,9 +259,8 @@ public InputList Members public Input? Name { get; set; } /// - /// Determines if members of the collaboration can enable query logs within their own - /// emberships. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-Cr - /// ateCollaboration-request-queryLogStatus). + /// Determines if members of the collaboration can enable query logs within their own. + /// emberships. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-queryLogStatus). /// [Input("queryLogStatus", required: true)] public Input QueryLogStatus { get; set; } = null!; @@ -289,15 +286,14 @@ public CollaborationArgs() public sealed class CollaborationState : global::Pulumi.ResourceArgs { /// - /// The arn of the collaboration + /// The arn of the collaboration. /// [Input("arn")] public Input? Arn { get; set; } /// - /// The date and time the collaboration was created - /// * `member status` - For each member included in the collaboration an additional computed attribute of status is added. These values [may be - /// ound here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_MemberSummary.html#API-Type-MemberSummary-status) + /// The date and time the collaboration was created. + /// * `member status` - For each member included in the collaboration an additional computed attribute of status is added. These values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_MemberSummary.html#API-Type-MemberSummary-status). /// [Input("createTime")] public Input? CreateTime { get; set; } @@ -312,9 +308,7 @@ public sealed class CollaborationState : global::Pulumi.ResourceArgs private InputList? _creatorMemberAbilities; /// - /// The list of member abilities for the creator of the collaboration. Valid v - /// lues [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-re - /// uest-creatorMemberAbilities) + /// The list of member abilities for the creator of the collaboration. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-creatorMemberAbilities). /// public InputList CreatorMemberAbilities { @@ -323,8 +317,7 @@ public InputList CreatorMemberAbilities } /// - /// a collection of settings which determine how the [c3r client](https://docs - /// aws.amazon.com/clean-rooms/latest/userguide/crypto-computing.html) will encrypt data for use within this collaboration + /// a collection of settings which determine how the [c3r client](https://docs.aws.amazon.com/clean-rooms/latest/userguide/crypto-computing.html) will encrypt data for use within this collaboration. /// * `data_encryption_metadata.allow_clear_text` - (Required - Forces new resource) - Indicates whether encrypted tables can contain cleartext data. This is a boolea /// field. /// * `data_encryption_metadata.allow_duplicates` - (Required - Forces new resource ) - Indicates whether Fingerprint columns can contain duplicate entries. This is a @@ -348,10 +341,9 @@ public InputList CreatorMemberAbilities /// /// Additional members of the collaboration which will be invited to join the collaboration. - /// * `member.account_id` - (Required - Forces new resource) - The account id for the invited member - /// * `member.display_name` - (Required - Forces new resource) - The display name for the invited member - /// * `member.member_abilities` - (Required - Forces new resource) - The list of abilities for the invited member. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-creatorMemberAbiliti - /// s + /// * `member.account_id` - (Required - Forces new resource) - The account id for the invited member. + /// * `member.display_name` - (Required - Forces new resource) - The display name for the invited member. + /// * `member.member_abilities` - (Required - Forces new resource) - The list of abilities for the invited member. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-creatorMemberAbilities). /// public InputList Members { @@ -366,9 +358,8 @@ public InputList Members public Input? Name { get; set; } /// - /// Determines if members of the collaboration can enable query logs within their own - /// emberships. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-Cr - /// ateCollaboration-request-queryLogStatus). + /// Determines if members of the collaboration can enable query logs within their own. + /// emberships. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-queryLogStatus). /// [Input("queryLogStatus")] public Input? QueryLogStatus { get; set; } diff --git a/sdk/dotnet/Ec2/NetworkInsightsPath.cs b/sdk/dotnet/Ec2/NetworkInsightsPath.cs index 177468484b9..723d333d294 100644 --- a/sdk/dotnet/Ec2/NetworkInsightsPath.cs +++ b/sdk/dotnet/Ec2/NetworkInsightsPath.cs @@ -50,7 +50,7 @@ public partial class NetworkInsightsPath : global::Pulumi.CustomResource public Output Arn { get; private set; } = null!; /// - /// ID or ARN of the resource which is the source of the path. Can be an Instance, Internet Gateway, Network Interface, Transit Gateway, VPC Endpoint, VPC Peering Connection or VPN Gateway. If the resource is in another account, you must specify an ARN. + /// ID or ARN of the resource which is the destination of the path. Can be an Instance, Internet Gateway, Network Interface, Transit Gateway, VPC Endpoint, VPC Peering Connection or VPN Gateway. If the resource is in another account, you must specify an ARN. /// [Output("destination")] public Output Destination { get; private set; } = null!; @@ -162,7 +162,7 @@ public static NetworkInsightsPath Get(string name, Input id, NetworkInsi public sealed class NetworkInsightsPathArgs : global::Pulumi.ResourceArgs { /// - /// ID or ARN of the resource which is the source of the path. Can be an Instance, Internet Gateway, Network Interface, Transit Gateway, VPC Endpoint, VPC Peering Connection or VPN Gateway. If the resource is in another account, you must specify an ARN. + /// ID or ARN of the resource which is the destination of the path. Can be an Instance, Internet Gateway, Network Interface, Transit Gateway, VPC Endpoint, VPC Peering Connection or VPN Gateway. If the resource is in another account, you must specify an ARN. /// [Input("destination", required: true)] public Input Destination { get; set; } = null!; @@ -226,7 +226,7 @@ public sealed class NetworkInsightsPathState : global::Pulumi.ResourceArgs public Input? Arn { get; set; } /// - /// ID or ARN of the resource which is the source of the path. Can be an Instance, Internet Gateway, Network Interface, Transit Gateway, VPC Endpoint, VPC Peering Connection or VPN Gateway. If the resource is in another account, you must specify an ARN. + /// ID or ARN of the resource which is the destination of the path. Can be an Instance, Internet Gateway, Network Interface, Transit Gateway, VPC Endpoint, VPC Peering Connection or VPN Gateway. If the resource is in another account, you must specify an ARN. /// [Input("destination")] public Input? Destination { get; set; } diff --git a/sdk/dotnet/ElastiCache/Cluster.cs b/sdk/dotnet/ElastiCache/Cluster.cs index d101c7bffe5..db9e417a067 100644 --- a/sdk/dotnet/ElastiCache/Cluster.cs +++ b/sdk/dotnet/ElastiCache/Cluster.cs @@ -364,7 +364,7 @@ public partial class Cluster : global::Pulumi.CustomResource /// Enable encryption in-transit. Supported only with Memcached versions `1.6.12` and later, running in a VPC. See the [ElastiCache in-transit encryption](https://docs.aws.amazon.com/AmazonElastiCache/latest/mem-ug/in-transit-encryption-mc.html) documentation for more details. /// [Output("transitEncryptionEnabled")] - public Output TransitEncryptionEnabled { get; private set; } = null!; + public Output TransitEncryptionEnabled { get; private set; } = null!; /// diff --git a/sdk/dotnet/Fsx/GetOntapFileSystem.cs b/sdk/dotnet/Fsx/GetOntapFileSystem.cs new file mode 100644 index 00000000000..e9fed3dc7bb --- /dev/null +++ b/sdk/dotnet/Fsx/GetOntapFileSystem.cs @@ -0,0 +1,282 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Aws.Fsx +{ + public static class GetOntapFileSystem + { + /// + /// Retrieve information on FSx ONTAP File System. + /// + /// {{% examples %}} + /// ## Example Usage + /// {{% example %}} + /// ### Basic Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Aws = Pulumi.Aws; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var example = Aws.Fsx.GetOntapFileSystem.Invoke(new() + /// { + /// Id = "fs-12345678", + /// }); + /// + /// }); + /// ``` + /// {{% /example %}} + /// {{% /examples %}} + /// + public static Task InvokeAsync(GetOntapFileSystemArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("aws:fsx/getOntapFileSystem:getOntapFileSystem", args ?? new GetOntapFileSystemArgs(), options.WithDefaults()); + + /// + /// Retrieve information on FSx ONTAP File System. + /// + /// {{% examples %}} + /// ## Example Usage + /// {{% example %}} + /// ### Basic Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Aws = Pulumi.Aws; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var example = Aws.Fsx.GetOntapFileSystem.Invoke(new() + /// { + /// Id = "fs-12345678", + /// }); + /// + /// }); + /// ``` + /// {{% /example %}} + /// {{% /examples %}} + /// + public static Output Invoke(GetOntapFileSystemInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("aws:fsx/getOntapFileSystem:getOntapFileSystem", args ?? new GetOntapFileSystemInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetOntapFileSystemArgs : global::Pulumi.InvokeArgs + { + /// + /// Identifier of the file system (e.g. `fs-12345678`). + /// + [Input("id", required: true)] + public string Id { get; set; } = null!; + + [Input("tags")] + private Dictionary? _tags; + + /// + /// The tags associated with the file system. + /// + public Dictionary Tags + { + get => _tags ?? (_tags = new Dictionary()); + set => _tags = value; + } + + public GetOntapFileSystemArgs() + { + } + public static new GetOntapFileSystemArgs Empty => new GetOntapFileSystemArgs(); + } + + public sealed class GetOntapFileSystemInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Identifier of the file system (e.g. `fs-12345678`). + /// + [Input("id", required: true)] + public Input Id { get; set; } = null!; + + [Input("tags")] + private InputMap? _tags; + + /// + /// The tags associated with the file system. + /// + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } + + public GetOntapFileSystemInvokeArgs() + { + } + public static new GetOntapFileSystemInvokeArgs Empty => new GetOntapFileSystemInvokeArgs(); + } + + + [OutputType] + public sealed class GetOntapFileSystemResult + { + /// + /// Amazon Resource Name of the file system. + /// + public readonly string Arn; + /// + /// The number of days to retain automatic backups. + /// + public readonly int AutomaticBackupRetentionDays; + /// + /// The preferred time (in `HH:MM` format) to take daily automatic backups, in the UTC time zone. + /// + public readonly string DailyAutomaticBackupStartTime; + /// + /// The file system deployment type. + /// + public readonly string DeploymentType; + /// + /// The SSD IOPS configuration for the Amazon FSx for NetApp ONTAP file system, specifying the number of provisioned IOPS and the provision mode. See Disk IOPS Below. + /// + public readonly ImmutableArray DiskIopsConfigurations; + /// + /// DNS name for the file system (e.g. `fs-12345678.corp.example.com`). + /// + public readonly string DnsName; + /// + /// (Multi-AZ only) Specifies the IP address range in which the endpoints to access your file system exist. + /// + public readonly string EndpointIpAddressRange; + /// + /// The Management and Intercluster FileSystemEndpoints that are used to access data or to manage the file system using the NetApp ONTAP CLI, REST API, or NetApp SnapMirror. See FileSystemEndpoints below. + /// + public readonly ImmutableArray Endpoints; + /// + /// Identifier of the file system (e.g. `fs-12345678`). + /// + public readonly string Id; + /// + /// ARN for the KMS Key to encrypt the file system at rest. + /// + public readonly string KmsKeyId; + /// + /// The IDs of the elastic network interfaces from which a specific file system is accessible. + /// + public readonly ImmutableArray NetworkInterfaceIds; + /// + /// AWS account identifier that created the file system. + /// + public readonly string OwnerId; + /// + /// Specifies the subnet in which you want the preferred file server to be located. + /// + public readonly string PreferredSubnetId; + /// + /// (Multi-AZ only) The VPC route tables in which your file system's endpoints exist. + /// + public readonly ImmutableArray RouteTableIds; + /// + /// The storage capacity of the file system in gibibytes (GiB). + /// + public readonly int StorageCapacity; + /// + /// The type of storage the file system is using. If set to `SSD`, the file system uses solid state drive storage. If set to `HDD`, the file system uses hard disk drive storage. + /// + public readonly string StorageType; + /// + /// Specifies the IDs of the subnets that the file system is accessible from. For the MULTI_AZ_1 file system deployment type, there are two subnet IDs, one for the preferred file server and one for the standby file server. The preferred file server subnet identified in the `preferred_subnet_id` property. + /// + public readonly ImmutableArray SubnetIds; + /// + /// The tags associated with the file system. + /// + public readonly ImmutableDictionary Tags; + /// + /// The sustained throughput of an Amazon FSx file system in Megabytes per second (MBps). + /// + public readonly int ThroughputCapacity; + /// + /// The ID of the primary virtual private cloud (VPC) for the file system. + /// + public readonly string VpcId; + /// + /// The preferred start time (in `D:HH:MM` format) to perform weekly maintenance, in the UTC time zone. + /// + public readonly string WeeklyMaintenanceStartTime; + + [OutputConstructor] + private GetOntapFileSystemResult( + string arn, + + int automaticBackupRetentionDays, + + string dailyAutomaticBackupStartTime, + + string deploymentType, + + ImmutableArray diskIopsConfigurations, + + string dnsName, + + string endpointIpAddressRange, + + ImmutableArray endpoints, + + string id, + + string kmsKeyId, + + ImmutableArray networkInterfaceIds, + + string ownerId, + + string preferredSubnetId, + + ImmutableArray routeTableIds, + + int storageCapacity, + + string storageType, + + ImmutableArray subnetIds, + + ImmutableDictionary tags, + + int throughputCapacity, + + string vpcId, + + string weeklyMaintenanceStartTime) + { + Arn = arn; + AutomaticBackupRetentionDays = automaticBackupRetentionDays; + DailyAutomaticBackupStartTime = dailyAutomaticBackupStartTime; + DeploymentType = deploymentType; + DiskIopsConfigurations = diskIopsConfigurations; + DnsName = dnsName; + EndpointIpAddressRange = endpointIpAddressRange; + Endpoints = endpoints; + Id = id; + KmsKeyId = kmsKeyId; + NetworkInterfaceIds = networkInterfaceIds; + OwnerId = ownerId; + PreferredSubnetId = preferredSubnetId; + RouteTableIds = routeTableIds; + StorageCapacity = storageCapacity; + StorageType = storageType; + SubnetIds = subnetIds; + Tags = tags; + ThroughputCapacity = throughputCapacity; + VpcId = vpcId; + WeeklyMaintenanceStartTime = weeklyMaintenanceStartTime; + } + } +} diff --git a/sdk/dotnet/Fsx/GetOntapStorageVirtualMachine.cs b/sdk/dotnet/Fsx/GetOntapStorageVirtualMachine.cs new file mode 100644 index 00000000000..895cdd72f09 --- /dev/null +++ b/sdk/dotnet/Fsx/GetOntapStorageVirtualMachine.cs @@ -0,0 +1,294 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Aws.Fsx +{ + public static class GetOntapStorageVirtualMachine + { + /// + /// Retrieve information on FSx ONTAP Storage Virtual Machine (SVM). + /// + /// {{% examples %}} + /// ## Example Usage + /// {{% example %}} + /// ### Basic Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Aws = Pulumi.Aws; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var example = Aws.Fsx.GetOntapStorageVirtualMachine.Invoke(new() + /// { + /// Id = "svm-12345678", + /// }); + /// + /// }); + /// ``` + /// {{% /example %}} + /// {{% example %}} + /// ### Filter Example + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Aws = Pulumi.Aws; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var example = Aws.Fsx.GetOntapStorageVirtualMachine.Invoke(new() + /// { + /// Filters = new[] + /// { + /// new Aws.Fsx.Inputs.GetOntapStorageVirtualMachineFilterInputArgs + /// { + /// Name = "file-system-id", + /// Values = new[] + /// { + /// "fs-12345678", + /// }, + /// }, + /// }, + /// }); + /// + /// }); + /// ``` + /// {{% /example %}} + /// {{% /examples %}} + /// + public static Task InvokeAsync(GetOntapStorageVirtualMachineArgs? args = null, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("aws:fsx/getOntapStorageVirtualMachine:getOntapStorageVirtualMachine", args ?? new GetOntapStorageVirtualMachineArgs(), options.WithDefaults()); + + /// + /// Retrieve information on FSx ONTAP Storage Virtual Machine (SVM). + /// + /// {{% examples %}} + /// ## Example Usage + /// {{% example %}} + /// ### Basic Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Aws = Pulumi.Aws; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var example = Aws.Fsx.GetOntapStorageVirtualMachine.Invoke(new() + /// { + /// Id = "svm-12345678", + /// }); + /// + /// }); + /// ``` + /// {{% /example %}} + /// {{% example %}} + /// ### Filter Example + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Aws = Pulumi.Aws; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var example = Aws.Fsx.GetOntapStorageVirtualMachine.Invoke(new() + /// { + /// Filters = new[] + /// { + /// new Aws.Fsx.Inputs.GetOntapStorageVirtualMachineFilterInputArgs + /// { + /// Name = "file-system-id", + /// Values = new[] + /// { + /// "fs-12345678", + /// }, + /// }, + /// }, + /// }); + /// + /// }); + /// ``` + /// {{% /example %}} + /// {{% /examples %}} + /// + public static Output Invoke(GetOntapStorageVirtualMachineInvokeArgs? args = null, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("aws:fsx/getOntapStorageVirtualMachine:getOntapStorageVirtualMachine", args ?? new GetOntapStorageVirtualMachineInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetOntapStorageVirtualMachineArgs : global::Pulumi.InvokeArgs + { + [Input("filters")] + private List? _filters; + + /// + /// Configuration block. Detailed below. + /// + public List Filters + { + get => _filters ?? (_filters = new List()); + set => _filters = value; + } + + /// + /// Identifier of the storage virtual machine (e.g. `svm-12345678`). + /// + [Input("id")] + public string? Id { get; set; } + + [Input("tags")] + private Dictionary? _tags; + public Dictionary Tags + { + get => _tags ?? (_tags = new Dictionary()); + set => _tags = value; + } + + public GetOntapStorageVirtualMachineArgs() + { + } + public static new GetOntapStorageVirtualMachineArgs Empty => new GetOntapStorageVirtualMachineArgs(); + } + + public sealed class GetOntapStorageVirtualMachineInvokeArgs : global::Pulumi.InvokeArgs + { + [Input("filters")] + private InputList? _filters; + + /// + /// Configuration block. Detailed below. + /// + public InputList Filters + { + get => _filters ?? (_filters = new InputList()); + set => _filters = value; + } + + /// + /// Identifier of the storage virtual machine (e.g. `svm-12345678`). + /// + [Input("id")] + public Input? Id { get; set; } + + [Input("tags")] + private InputMap? _tags; + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } + + public GetOntapStorageVirtualMachineInvokeArgs() + { + } + public static new GetOntapStorageVirtualMachineInvokeArgs Empty => new GetOntapStorageVirtualMachineInvokeArgs(); + } + + + [OutputType] + public sealed class GetOntapStorageVirtualMachineResult + { + /// + /// The Microsoft Active Directory configuration to which the SVM is joined, if applicable. See Active Directory Configuration below. + /// + public readonly ImmutableArray ActiveDirectoryConfigurations; + /// + /// Amazon Resource Name of the SVM. + /// + public readonly string Arn; + /// + /// The time that the SVM was created. + /// + public readonly string CreationTime; + /// + /// The endpoints that are used to access data or to manage the SVM using the NetApp ONTAP CLI, REST API, or NetApp CloudManager. They are the Iscsi, Management, Nfs, and Smb endpoints. See SVM Endpoints below. + /// + public readonly ImmutableArray Endpoints; + /// + /// Identifier of the file system (e.g. `fs-12345678`). + /// + public readonly string FileSystemId; + public readonly ImmutableArray Filters; + /// + /// The SVM's system generated unique ID. + /// + public readonly string Id; + /// + /// The SVM's lifecycle status. + /// + public readonly string LifecycleStatus; + /// + /// Describes why the SVM lifecycle state changed. See Lifecycle Transition Reason below. + /// + public readonly ImmutableArray LifecycleTransitionReasons; + /// + /// The name of the SVM, if provisioned. + /// + public readonly string Name; + /// + /// The SVM's subtype. + /// + public readonly string Subtype; + public readonly ImmutableDictionary Tags; + /// + /// The SVM's UUID. + /// + public readonly string Uuid; + + [OutputConstructor] + private GetOntapStorageVirtualMachineResult( + ImmutableArray activeDirectoryConfigurations, + + string arn, + + string creationTime, + + ImmutableArray endpoints, + + string fileSystemId, + + ImmutableArray filters, + + string id, + + string lifecycleStatus, + + ImmutableArray lifecycleTransitionReasons, + + string name, + + string subtype, + + ImmutableDictionary tags, + + string uuid) + { + ActiveDirectoryConfigurations = activeDirectoryConfigurations; + Arn = arn; + CreationTime = creationTime; + Endpoints = endpoints; + FileSystemId = fileSystemId; + Filters = filters; + Id = id; + LifecycleStatus = lifecycleStatus; + LifecycleTransitionReasons = lifecycleTransitionReasons; + Name = name; + Subtype = subtype; + Tags = tags; + Uuid = uuid; + } + } +} diff --git a/sdk/dotnet/Fsx/GetOntapStorageVirtualMachines.cs b/sdk/dotnet/Fsx/GetOntapStorageVirtualMachines.cs new file mode 100644 index 00000000000..b57df3ebda5 --- /dev/null +++ b/sdk/dotnet/Fsx/GetOntapStorageVirtualMachines.cs @@ -0,0 +1,163 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Aws.Fsx +{ + public static class GetOntapStorageVirtualMachines + { + /// + /// This resource can be useful for getting back a set of FSx ONTAP Storage Virtual Machine (SVM) IDs. + /// + /// {{% examples %}} + /// ## Example Usage + /// {{% example %}} + /// + /// The following shows outputting all SVM IDs for a given FSx ONTAP File System. + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Aws = Pulumi.Aws; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var example = Aws.Fsx.GetOntapStorageVirtualMachines.Invoke(new() + /// { + /// Filters = new[] + /// { + /// new Aws.Fsx.Inputs.GetOntapStorageVirtualMachinesFilterInputArgs + /// { + /// Name = "file-system-id", + /// Values = new[] + /// { + /// "fs-12345678", + /// }, + /// }, + /// }, + /// }); + /// + /// }); + /// ``` + /// {{% /example %}} + /// {{% /examples %}} + /// + public static Task InvokeAsync(GetOntapStorageVirtualMachinesArgs? args = null, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("aws:fsx/getOntapStorageVirtualMachines:getOntapStorageVirtualMachines", args ?? new GetOntapStorageVirtualMachinesArgs(), options.WithDefaults()); + + /// + /// This resource can be useful for getting back a set of FSx ONTAP Storage Virtual Machine (SVM) IDs. + /// + /// {{% examples %}} + /// ## Example Usage + /// {{% example %}} + /// + /// The following shows outputting all SVM IDs for a given FSx ONTAP File System. + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Aws = Pulumi.Aws; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var example = Aws.Fsx.GetOntapStorageVirtualMachines.Invoke(new() + /// { + /// Filters = new[] + /// { + /// new Aws.Fsx.Inputs.GetOntapStorageVirtualMachinesFilterInputArgs + /// { + /// Name = "file-system-id", + /// Values = new[] + /// { + /// "fs-12345678", + /// }, + /// }, + /// }, + /// }); + /// + /// }); + /// ``` + /// {{% /example %}} + /// {{% /examples %}} + /// + public static Output Invoke(GetOntapStorageVirtualMachinesInvokeArgs? args = null, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("aws:fsx/getOntapStorageVirtualMachines:getOntapStorageVirtualMachines", args ?? new GetOntapStorageVirtualMachinesInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetOntapStorageVirtualMachinesArgs : global::Pulumi.InvokeArgs + { + [Input("filters")] + private List? _filters; + + /// + /// Configuration block. Detailed below. + /// + public List Filters + { + get => _filters ?? (_filters = new List()); + set => _filters = value; + } + + public GetOntapStorageVirtualMachinesArgs() + { + } + public static new GetOntapStorageVirtualMachinesArgs Empty => new GetOntapStorageVirtualMachinesArgs(); + } + + public sealed class GetOntapStorageVirtualMachinesInvokeArgs : global::Pulumi.InvokeArgs + { + [Input("filters")] + private InputList? _filters; + + /// + /// Configuration block. Detailed below. + /// + public InputList Filters + { + get => _filters ?? (_filters = new InputList()); + set => _filters = value; + } + + public GetOntapStorageVirtualMachinesInvokeArgs() + { + } + public static new GetOntapStorageVirtualMachinesInvokeArgs Empty => new GetOntapStorageVirtualMachinesInvokeArgs(); + } + + + [OutputType] + public sealed class GetOntapStorageVirtualMachinesResult + { + public readonly ImmutableArray Filters; + /// + /// The provider-assigned unique ID for this managed resource. + /// + public readonly string Id; + /// + /// List of all SVM IDs found. + /// + public readonly ImmutableArray Ids; + + [OutputConstructor] + private GetOntapStorageVirtualMachinesResult( + ImmutableArray filters, + + string id, + + ImmutableArray ids) + { + Filters = filters; + Id = id; + Ids = ids; + } + } +} diff --git a/sdk/dotnet/Fsx/Inputs/GetOntapStorageVirtualMachineFilter.cs b/sdk/dotnet/Fsx/Inputs/GetOntapStorageVirtualMachineFilter.cs new file mode 100644 index 00000000000..44800340d06 --- /dev/null +++ b/sdk/dotnet/Fsx/Inputs/GetOntapStorageVirtualMachineFilter.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Aws.Fsx.Inputs +{ + + public sealed class GetOntapStorageVirtualMachineFilterArgs : global::Pulumi.InvokeArgs + { + /// + /// Name of the field to filter by, as defined by [the underlying AWS API](https://docs.aws.amazon.com/fsx/latest/APIReference/API_StorageVirtualMachineFilter.html). + /// + [Input("name", required: true)] + public string Name { get; set; } = null!; + + [Input("values", required: true)] + private List? _values; + + /// + /// Set of values that are accepted for the given field. An SVM will be selected if any one of the given values matches. + /// + public List Values + { + get => _values ?? (_values = new List()); + set => _values = value; + } + + public GetOntapStorageVirtualMachineFilterArgs() + { + } + public static new GetOntapStorageVirtualMachineFilterArgs Empty => new GetOntapStorageVirtualMachineFilterArgs(); + } +} diff --git a/sdk/dotnet/Fsx/Inputs/GetOntapStorageVirtualMachineFilterArgs.cs b/sdk/dotnet/Fsx/Inputs/GetOntapStorageVirtualMachineFilterArgs.cs new file mode 100644 index 00000000000..e63ed904dbc --- /dev/null +++ b/sdk/dotnet/Fsx/Inputs/GetOntapStorageVirtualMachineFilterArgs.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Aws.Fsx.Inputs +{ + + public sealed class GetOntapStorageVirtualMachineFilterInputArgs : global::Pulumi.ResourceArgs + { + /// + /// Name of the field to filter by, as defined by [the underlying AWS API](https://docs.aws.amazon.com/fsx/latest/APIReference/API_StorageVirtualMachineFilter.html). + /// + [Input("name", required: true)] + public Input Name { get; set; } = null!; + + [Input("values", required: true)] + private InputList? _values; + + /// + /// Set of values that are accepted for the given field. An SVM will be selected if any one of the given values matches. + /// + public InputList Values + { + get => _values ?? (_values = new InputList()); + set => _values = value; + } + + public GetOntapStorageVirtualMachineFilterInputArgs() + { + } + public static new GetOntapStorageVirtualMachineFilterInputArgs Empty => new GetOntapStorageVirtualMachineFilterInputArgs(); + } +} diff --git a/sdk/dotnet/Fsx/Inputs/GetOntapStorageVirtualMachinesFilter.cs b/sdk/dotnet/Fsx/Inputs/GetOntapStorageVirtualMachinesFilter.cs new file mode 100644 index 00000000000..dc356a9d434 --- /dev/null +++ b/sdk/dotnet/Fsx/Inputs/GetOntapStorageVirtualMachinesFilter.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Aws.Fsx.Inputs +{ + + public sealed class GetOntapStorageVirtualMachinesFilterArgs : global::Pulumi.InvokeArgs + { + /// + /// Name of the field to filter by, as defined by [the underlying AWS API](https://docs.aws.amazon.com/fsx/latest/APIReference/API_StorageVirtualMachineFilter.html). + /// + [Input("name", required: true)] + public string Name { get; set; } = null!; + + [Input("values", required: true)] + private List? _values; + + /// + /// Set of values that are accepted for the given field. An SVM will be selected if any one of the given values matches. + /// + public List Values + { + get => _values ?? (_values = new List()); + set => _values = value; + } + + public GetOntapStorageVirtualMachinesFilterArgs() + { + } + public static new GetOntapStorageVirtualMachinesFilterArgs Empty => new GetOntapStorageVirtualMachinesFilterArgs(); + } +} diff --git a/sdk/dotnet/Fsx/Inputs/GetOntapStorageVirtualMachinesFilterArgs.cs b/sdk/dotnet/Fsx/Inputs/GetOntapStorageVirtualMachinesFilterArgs.cs new file mode 100644 index 00000000000..12b06c28060 --- /dev/null +++ b/sdk/dotnet/Fsx/Inputs/GetOntapStorageVirtualMachinesFilterArgs.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Aws.Fsx.Inputs +{ + + public sealed class GetOntapStorageVirtualMachinesFilterInputArgs : global::Pulumi.ResourceArgs + { + /// + /// Name of the field to filter by, as defined by [the underlying AWS API](https://docs.aws.amazon.com/fsx/latest/APIReference/API_StorageVirtualMachineFilter.html). + /// + [Input("name", required: true)] + public Input Name { get; set; } = null!; + + [Input("values", required: true)] + private InputList? _values; + + /// + /// Set of values that are accepted for the given field. An SVM will be selected if any one of the given values matches. + /// + public InputList Values + { + get => _values ?? (_values = new InputList()); + set => _values = value; + } + + public GetOntapStorageVirtualMachinesFilterInputArgs() + { + } + public static new GetOntapStorageVirtualMachinesFilterInputArgs Empty => new GetOntapStorageVirtualMachinesFilterInputArgs(); + } +} diff --git a/sdk/dotnet/Fsx/Outputs/GetOntapFileSystemDiskIopsConfigurationResult.cs b/sdk/dotnet/Fsx/Outputs/GetOntapFileSystemDiskIopsConfigurationResult.cs new file mode 100644 index 00000000000..beaf052820b --- /dev/null +++ b/sdk/dotnet/Fsx/Outputs/GetOntapFileSystemDiskIopsConfigurationResult.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Aws.Fsx.Outputs +{ + + [OutputType] + public sealed class GetOntapFileSystemDiskIopsConfigurationResult + { + /// + /// The total number of SSD IOPS provisioned for the file system. + /// + public readonly int Iops; + /// + /// Specifies whether the file system is using the `AUTOMATIC` setting of SSD IOPS of 3 IOPS per GB of storage capacity, or if it using a `USER_PROVISIONED` value. + /// + public readonly string Mode; + + [OutputConstructor] + private GetOntapFileSystemDiskIopsConfigurationResult( + int iops, + + string mode) + { + Iops = iops; + Mode = mode; + } + } +} diff --git a/sdk/dotnet/Fsx/Outputs/GetOntapFileSystemEndpointInterclusterResult.cs b/sdk/dotnet/Fsx/Outputs/GetOntapFileSystemEndpointInterclusterResult.cs new file mode 100644 index 00000000000..b37482a36f2 --- /dev/null +++ b/sdk/dotnet/Fsx/Outputs/GetOntapFileSystemEndpointInterclusterResult.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Aws.Fsx.Outputs +{ + + [OutputType] + public sealed class GetOntapFileSystemEndpointInterclusterResult + { + /// + /// DNS name for the file system (e.g. `fs-12345678.corp.example.com`). + /// + public readonly string DnsName; + public readonly ImmutableArray IpAddresses; + + [OutputConstructor] + private GetOntapFileSystemEndpointInterclusterResult( + string dnsName, + + ImmutableArray ipAddresses) + { + DnsName = dnsName; + IpAddresses = ipAddresses; + } + } +} diff --git a/sdk/dotnet/Fsx/Outputs/GetOntapFileSystemEndpointManagementResult.cs b/sdk/dotnet/Fsx/Outputs/GetOntapFileSystemEndpointManagementResult.cs new file mode 100644 index 00000000000..32e2c2c6106 --- /dev/null +++ b/sdk/dotnet/Fsx/Outputs/GetOntapFileSystemEndpointManagementResult.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Aws.Fsx.Outputs +{ + + [OutputType] + public sealed class GetOntapFileSystemEndpointManagementResult + { + /// + /// DNS name for the file system (e.g. `fs-12345678.corp.example.com`). + /// + public readonly string DnsName; + public readonly ImmutableArray IpAddresses; + + [OutputConstructor] + private GetOntapFileSystemEndpointManagementResult( + string dnsName, + + ImmutableArray ipAddresses) + { + DnsName = dnsName; + IpAddresses = ipAddresses; + } + } +} diff --git a/sdk/dotnet/Fsx/Outputs/GetOntapFileSystemEndpointResult.cs b/sdk/dotnet/Fsx/Outputs/GetOntapFileSystemEndpointResult.cs new file mode 100644 index 00000000000..772fdec9a6b --- /dev/null +++ b/sdk/dotnet/Fsx/Outputs/GetOntapFileSystemEndpointResult.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Aws.Fsx.Outputs +{ + + [OutputType] + public sealed class GetOntapFileSystemEndpointResult + { + /// + /// A FileSystemEndpoint for managing your file system by setting up NetApp SnapMirror with other ONTAP systems. See FileSystemEndpoint below. + /// + public readonly ImmutableArray Interclusters; + /// + /// A FileSystemEndpoint for managing your file system using the NetApp ONTAP CLI and NetApp ONTAP API. See FileSystemEndpoint below. + /// + public readonly ImmutableArray Managements; + + [OutputConstructor] + private GetOntapFileSystemEndpointResult( + ImmutableArray interclusters, + + ImmutableArray managements) + { + Interclusters = interclusters; + Managements = managements; + } + } +} diff --git a/sdk/dotnet/Fsx/Outputs/GetOntapStorageVirtualMachineActiveDirectoryConfigurationResult.cs b/sdk/dotnet/Fsx/Outputs/GetOntapStorageVirtualMachineActiveDirectoryConfigurationResult.cs new file mode 100644 index 00000000000..705e9aebbe6 --- /dev/null +++ b/sdk/dotnet/Fsx/Outputs/GetOntapStorageVirtualMachineActiveDirectoryConfigurationResult.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Aws.Fsx.Outputs +{ + + [OutputType] + public sealed class GetOntapStorageVirtualMachineActiveDirectoryConfigurationResult + { + /// + /// The NetBIOS name of the AD computer object to which the SVM is joined. + /// + public readonly string NetbiosName; + public readonly ImmutableArray SelfManagedActiveDirectoryConfigurations; + + [OutputConstructor] + private GetOntapStorageVirtualMachineActiveDirectoryConfigurationResult( + string netbiosName, + + ImmutableArray selfManagedActiveDirectoryConfigurations) + { + NetbiosName = netbiosName; + SelfManagedActiveDirectoryConfigurations = selfManagedActiveDirectoryConfigurations; + } + } +} diff --git a/sdk/dotnet/Fsx/Outputs/GetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfigurationResult.cs b/sdk/dotnet/Fsx/Outputs/GetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfigurationResult.cs new file mode 100644 index 00000000000..794778a5640 --- /dev/null +++ b/sdk/dotnet/Fsx/Outputs/GetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfigurationResult.cs @@ -0,0 +1,56 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Aws.Fsx.Outputs +{ + + [OutputType] + public sealed class GetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfigurationResult + { + /// + /// A list of up to three IP addresses of DNS servers or domain controllers in the self-managed AD directory. + /// + public readonly ImmutableArray DnsIps; + /// + /// The fully qualified domain name of the self-managed AD directory. + /// + public readonly string DomainName; + /// + /// The name of the domain group whose members have administrative privileges for the FSx file system. + /// + public readonly string FileSystemAdministratorsGroup; + /// + /// The fully qualified distinguished name of the organizational unit within the self-managed AD directory to which the Windows File Server or ONTAP storage virtual machine (SVM) instance is joined. + /// + public readonly string OrganizationalUnitDistinguishedName; + /// + /// The user name for the service account on your self-managed AD domain that FSx uses to join to your AD domain. + /// + public readonly string Username; + + [OutputConstructor] + private GetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfigurationResult( + ImmutableArray dnsIps, + + string domainName, + + string fileSystemAdministratorsGroup, + + string organizationalUnitDistinguishedName, + + string username) + { + DnsIps = dnsIps; + DomainName = domainName; + FileSystemAdministratorsGroup = fileSystemAdministratorsGroup; + OrganizationalUnitDistinguishedName = organizationalUnitDistinguishedName; + Username = username; + } + } +} diff --git a/sdk/dotnet/Fsx/Outputs/GetOntapStorageVirtualMachineEndpointIscsiResult.cs b/sdk/dotnet/Fsx/Outputs/GetOntapStorageVirtualMachineEndpointIscsiResult.cs new file mode 100644 index 00000000000..4c9fa70ae96 --- /dev/null +++ b/sdk/dotnet/Fsx/Outputs/GetOntapStorageVirtualMachineEndpointIscsiResult.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Aws.Fsx.Outputs +{ + + [OutputType] + public sealed class GetOntapStorageVirtualMachineEndpointIscsiResult + { + public readonly string DnsName; + public readonly ImmutableArray IpAddresses; + + [OutputConstructor] + private GetOntapStorageVirtualMachineEndpointIscsiResult( + string dnsName, + + ImmutableArray ipAddresses) + { + DnsName = dnsName; + IpAddresses = ipAddresses; + } + } +} diff --git a/sdk/dotnet/Fsx/Outputs/GetOntapStorageVirtualMachineEndpointManagementResult.cs b/sdk/dotnet/Fsx/Outputs/GetOntapStorageVirtualMachineEndpointManagementResult.cs new file mode 100644 index 00000000000..d9187808da5 --- /dev/null +++ b/sdk/dotnet/Fsx/Outputs/GetOntapStorageVirtualMachineEndpointManagementResult.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Aws.Fsx.Outputs +{ + + [OutputType] + public sealed class GetOntapStorageVirtualMachineEndpointManagementResult + { + public readonly string DnsName; + public readonly ImmutableArray IpAddresses; + + [OutputConstructor] + private GetOntapStorageVirtualMachineEndpointManagementResult( + string dnsName, + + ImmutableArray ipAddresses) + { + DnsName = dnsName; + IpAddresses = ipAddresses; + } + } +} diff --git a/sdk/dotnet/Fsx/Outputs/GetOntapStorageVirtualMachineEndpointNfResult.cs b/sdk/dotnet/Fsx/Outputs/GetOntapStorageVirtualMachineEndpointNfResult.cs new file mode 100644 index 00000000000..da90ba42e9c --- /dev/null +++ b/sdk/dotnet/Fsx/Outputs/GetOntapStorageVirtualMachineEndpointNfResult.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Aws.Fsx.Outputs +{ + + [OutputType] + public sealed class GetOntapStorageVirtualMachineEndpointNfResult + { + public readonly string DnsName; + public readonly ImmutableArray IpAddresses; + + [OutputConstructor] + private GetOntapStorageVirtualMachineEndpointNfResult( + string dnsName, + + ImmutableArray ipAddresses) + { + DnsName = dnsName; + IpAddresses = ipAddresses; + } + } +} diff --git a/sdk/dotnet/Fsx/Outputs/GetOntapStorageVirtualMachineEndpointResult.cs b/sdk/dotnet/Fsx/Outputs/GetOntapStorageVirtualMachineEndpointResult.cs new file mode 100644 index 00000000000..da6afc26c3b --- /dev/null +++ b/sdk/dotnet/Fsx/Outputs/GetOntapStorageVirtualMachineEndpointResult.cs @@ -0,0 +1,46 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Aws.Fsx.Outputs +{ + + [OutputType] + public sealed class GetOntapStorageVirtualMachineEndpointResult + { + public readonly ImmutableArray Iscsis; + /// + /// An endpoint for managing SVMs using the NetApp ONTAP CLI, NetApp ONTAP API, or NetApp CloudManager. See SVM Endpoint below. + /// + public readonly ImmutableArray Managements; + /// + /// An endpoint for connecting using the Network File System (NFS) protocol. See SVM Endpoint below. + /// + public readonly ImmutableArray Nfs; + /// + /// An endpoint for connecting using the Server Message Block (SMB) protocol. See SVM Endpoint below. + /// + public readonly ImmutableArray Smbs; + + [OutputConstructor] + private GetOntapStorageVirtualMachineEndpointResult( + ImmutableArray iscsis, + + ImmutableArray managements, + + ImmutableArray nfs, + + ImmutableArray smbs) + { + Iscsis = iscsis; + Managements = managements; + Nfs = nfs; + Smbs = smbs; + } + } +} diff --git a/sdk/dotnet/Fsx/Outputs/GetOntapStorageVirtualMachineEndpointSmbResult.cs b/sdk/dotnet/Fsx/Outputs/GetOntapStorageVirtualMachineEndpointSmbResult.cs new file mode 100644 index 00000000000..2ebd52898cd --- /dev/null +++ b/sdk/dotnet/Fsx/Outputs/GetOntapStorageVirtualMachineEndpointSmbResult.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Aws.Fsx.Outputs +{ + + [OutputType] + public sealed class GetOntapStorageVirtualMachineEndpointSmbResult + { + public readonly string DnsName; + public readonly ImmutableArray IpAddresses; + + [OutputConstructor] + private GetOntapStorageVirtualMachineEndpointSmbResult( + string dnsName, + + ImmutableArray ipAddresses) + { + DnsName = dnsName; + IpAddresses = ipAddresses; + } + } +} diff --git a/sdk/dotnet/Fsx/Outputs/GetOntapStorageVirtualMachineFilterResult.cs b/sdk/dotnet/Fsx/Outputs/GetOntapStorageVirtualMachineFilterResult.cs new file mode 100644 index 00000000000..094d6b0e9c4 --- /dev/null +++ b/sdk/dotnet/Fsx/Outputs/GetOntapStorageVirtualMachineFilterResult.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Aws.Fsx.Outputs +{ + + [OutputType] + public sealed class GetOntapStorageVirtualMachineFilterResult + { + /// + /// Name of the field to filter by, as defined by [the underlying AWS API](https://docs.aws.amazon.com/fsx/latest/APIReference/API_StorageVirtualMachineFilter.html). + /// + public readonly string Name; + /// + /// Set of values that are accepted for the given field. An SVM will be selected if any one of the given values matches. + /// + public readonly ImmutableArray Values; + + [OutputConstructor] + private GetOntapStorageVirtualMachineFilterResult( + string name, + + ImmutableArray values) + { + Name = name; + Values = values; + } + } +} diff --git a/sdk/dotnet/Fsx/Outputs/GetOntapStorageVirtualMachineLifecycleTransitionReasonResult.cs b/sdk/dotnet/Fsx/Outputs/GetOntapStorageVirtualMachineLifecycleTransitionReasonResult.cs new file mode 100644 index 00000000000..8101570df81 --- /dev/null +++ b/sdk/dotnet/Fsx/Outputs/GetOntapStorageVirtualMachineLifecycleTransitionReasonResult.cs @@ -0,0 +1,27 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Aws.Fsx.Outputs +{ + + [OutputType] + public sealed class GetOntapStorageVirtualMachineLifecycleTransitionReasonResult + { + /// + /// A detailed message. + /// + public readonly string Message; + + [OutputConstructor] + private GetOntapStorageVirtualMachineLifecycleTransitionReasonResult(string message) + { + Message = message; + } + } +} diff --git a/sdk/dotnet/Fsx/Outputs/GetOntapStorageVirtualMachinesFilterResult.cs b/sdk/dotnet/Fsx/Outputs/GetOntapStorageVirtualMachinesFilterResult.cs new file mode 100644 index 00000000000..a96eda4d49d --- /dev/null +++ b/sdk/dotnet/Fsx/Outputs/GetOntapStorageVirtualMachinesFilterResult.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Aws.Fsx.Outputs +{ + + [OutputType] + public sealed class GetOntapStorageVirtualMachinesFilterResult + { + /// + /// Name of the field to filter by, as defined by [the underlying AWS API](https://docs.aws.amazon.com/fsx/latest/APIReference/API_StorageVirtualMachineFilter.html). + /// + public readonly string Name; + /// + /// Set of values that are accepted for the given field. An SVM will be selected if any one of the given values matches. + /// + public readonly ImmutableArray Values; + + [OutputConstructor] + private GetOntapStorageVirtualMachinesFilterResult( + string name, + + ImmutableArray values) + { + Name = name; + Values = values; + } + } +} diff --git a/sdk/dotnet/Mq/Broker.cs b/sdk/dotnet/Mq/Broker.cs index 3c2fe59fbce..9c67759adf9 100644 --- a/sdk/dotnet/Mq/Broker.cs +++ b/sdk/dotnet/Mq/Broker.cs @@ -14,7 +14,7 @@ namespace Pulumi.Aws.Mq /// /// > For more information on Amazon MQ, see [Amazon MQ documentation](https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/welcome.html). /// - /// > **NOTE:** Amazon MQ currently places limits on **RabbitMQ** brokers. For example, a RabbitMQ broker cannot have: instances with an associated IP address of an ENI attached to the broker, an associated LDAP server to authenticate and authorize broker connections, storage type `EFS`, audit logging, or `configuration` blocks. Although this resource allows you to create RabbitMQ users, RabbitMQ users cannot have console access or groups. Also, Amazon MQ does not return information about RabbitMQ users so drift detection is not possible. + /// > **NOTE:** Amazon MQ currently places limits on **RabbitMQ** brokers. For example, a RabbitMQ broker cannot have: instances with an associated IP address of an ENI attached to the broker, an associated LDAP server to authenticate and authorize broker connections, storage type `EFS`, or audit logging. Although this resource allows you to create RabbitMQ users, RabbitMQ users cannot have console access or groups. Also, Amazon MQ does not return information about RabbitMQ users so drift detection is not possible. /// /// > **NOTE:** Changes to an MQ Broker can occur when you change a parameter, such as `configuration` or `user`, and are reflected in the next maintenance window. Because of this, the provider may report a difference in its planning phase because a modification has not yet taken place. You can use the `apply_immediately` flag to instruct the service to apply the change immediately (see documentation below). Using `apply_immediately` can result in a brief downtime as the broker reboots. /// @@ -137,7 +137,7 @@ public partial class Broker : global::Pulumi.CustomResource public Output BrokerName { get; private set; } = null!; /// - /// Configuration block for broker configuration. Applies to `engine_type` of `ActiveMQ` only. Detailed below. + /// Configuration block for broker configuration. Applies to `engine_type` of `ActiveMQ` and `RabbitMQ` only. Detailed below. /// [Output("configuration")] public Output Configuration { get; private set; } = null!; @@ -326,7 +326,7 @@ public sealed class BrokerArgs : global::Pulumi.ResourceArgs public Input? BrokerName { get; set; } /// - /// Configuration block for broker configuration. Applies to `engine_type` of `ActiveMQ` only. Detailed below. + /// Configuration block for broker configuration. Applies to `engine_type` of `ActiveMQ` and `RabbitMQ` only. Detailed below. /// [Input("configuration")] public Input? Configuration { get; set; } @@ -480,7 +480,7 @@ public sealed class BrokerState : global::Pulumi.ResourceArgs public Input? BrokerName { get; set; } /// - /// Configuration block for broker configuration. Applies to `engine_type` of `ActiveMQ` only. Detailed below. + /// Configuration block for broker configuration. Applies to `engine_type` of `ActiveMQ` and `RabbitMQ` only. Detailed below. /// [Input("configuration")] public Input? Configuration { get; set; } diff --git a/sdk/dotnet/Mq/Configuration.cs b/sdk/dotnet/Mq/Configuration.cs index 42325f83d80..3e4c0dc9bb7 100644 --- a/sdk/dotnet/Mq/Configuration.cs +++ b/sdk/dotnet/Mq/Configuration.cs @@ -15,6 +15,7 @@ namespace Pulumi.Aws.Mq /// For more information on Amazon MQ, see [Amazon MQ documentation](https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/welcome.html). /// /// ## Example Usage + /// ### ActiveMQ /// /// ```csharp /// using System.Collections.Generic; @@ -43,6 +44,29 @@ namespace Pulumi.Aws.Mq /// /// }); /// ``` + /// ### RabbitMQ + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Aws = Pulumi.Aws; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var example = new Aws.Mq.Configuration("example", new() + /// { + /// Data = @"# Default RabbitMQ delivery acknowledgement timeout is 30 minutes in milliseconds + /// consumer_timeout = 1800000 + /// + /// ", + /// Description = "Example Configuration", + /// EngineType = "RabbitMQ", + /// EngineVersion = "3.11.16", + /// }); + /// + /// }); + /// ``` /// /// ## Import /// @@ -68,7 +92,7 @@ public partial class Configuration : global::Pulumi.CustomResource public Output AuthenticationStrategy { get; private set; } = null!; /// - /// Broker configuration in XML format. See [official docs](https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/amazon-mq-broker-configuration-parameters.html) for supported parameters and format of the XML. + /// Broker configuration in XML format for `ActiveMQ` or [Cuttlefish](https://github.com/Kyorai/cuttlefish) format for `RabbitMQ`. See [official docs](https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/amazon-mq-broker-configuration-parameters.html) for supported parameters and format of the XML. /// [Output("data")] public Output Data { get; private set; } = null!; @@ -174,7 +198,7 @@ public sealed class ConfigurationArgs : global::Pulumi.ResourceArgs public Input? AuthenticationStrategy { get; set; } /// - /// Broker configuration in XML format. See [official docs](https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/amazon-mq-broker-configuration-parameters.html) for supported parameters and format of the XML. + /// Broker configuration in XML format for `ActiveMQ` or [Cuttlefish](https://github.com/Kyorai/cuttlefish) format for `RabbitMQ`. See [official docs](https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/amazon-mq-broker-configuration-parameters.html) for supported parameters and format of the XML. /// [Input("data", required: true)] public Input Data { get; set; } = null!; @@ -238,7 +262,7 @@ public sealed class ConfigurationState : global::Pulumi.ResourceArgs public Input? AuthenticationStrategy { get; set; } /// - /// Broker configuration in XML format. See [official docs](https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/amazon-mq-broker-configuration-parameters.html) for supported parameters and format of the XML. + /// Broker configuration in XML format for `ActiveMQ` or [Cuttlefish](https://github.com/Kyorai/cuttlefish) format for `RabbitMQ`. See [official docs](https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/amazon-mq-broker-configuration-parameters.html) for supported parameters and format of the XML. /// [Input("data")] public Input? Data { get; set; } diff --git a/sdk/dotnet/OpenSearch/Inputs/PackagePackageSourceArgs.cs b/sdk/dotnet/OpenSearch/Inputs/PackagePackageSourceArgs.cs new file mode 100644 index 00000000000..324ea6d3680 --- /dev/null +++ b/sdk/dotnet/OpenSearch/Inputs/PackagePackageSourceArgs.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Aws.OpenSearch.Inputs +{ + + public sealed class PackagePackageSourceArgs : global::Pulumi.ResourceArgs + { + /// + /// The name of the Amazon S3 bucket containing the package. + /// + [Input("s3BucketName", required: true)] + public Input S3BucketName { get; set; } = null!; + + /// + /// Key (file name) of the package. + /// + [Input("s3Key", required: true)] + public Input S3Key { get; set; } = null!; + + public PackagePackageSourceArgs() + { + } + public static new PackagePackageSourceArgs Empty => new PackagePackageSourceArgs(); + } +} diff --git a/sdk/dotnet/OpenSearch/Inputs/PackagePackageSourceGetArgs.cs b/sdk/dotnet/OpenSearch/Inputs/PackagePackageSourceGetArgs.cs new file mode 100644 index 00000000000..f3de417a3a4 --- /dev/null +++ b/sdk/dotnet/OpenSearch/Inputs/PackagePackageSourceGetArgs.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Aws.OpenSearch.Inputs +{ + + public sealed class PackagePackageSourceGetArgs : global::Pulumi.ResourceArgs + { + /// + /// The name of the Amazon S3 bucket containing the package. + /// + [Input("s3BucketName", required: true)] + public Input S3BucketName { get; set; } = null!; + + /// + /// Key (file name) of the package. + /// + [Input("s3Key", required: true)] + public Input S3Key { get; set; } = null!; + + public PackagePackageSourceGetArgs() + { + } + public static new PackagePackageSourceGetArgs Empty => new PackagePackageSourceGetArgs(); + } +} diff --git a/sdk/dotnet/OpenSearch/Outputs/PackagePackageSource.cs b/sdk/dotnet/OpenSearch/Outputs/PackagePackageSource.cs new file mode 100644 index 00000000000..f1ef50c1fa8 --- /dev/null +++ b/sdk/dotnet/OpenSearch/Outputs/PackagePackageSource.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Aws.OpenSearch.Outputs +{ + + [OutputType] + public sealed class PackagePackageSource + { + /// + /// The name of the Amazon S3 bucket containing the package. + /// + public readonly string S3BucketName; + /// + /// Key (file name) of the package. + /// + public readonly string S3Key; + + [OutputConstructor] + private PackagePackageSource( + string s3BucketName, + + string s3Key) + { + S3BucketName = s3BucketName; + S3Key = s3Key; + } + } +} diff --git a/sdk/dotnet/OpenSearch/Package.cs b/sdk/dotnet/OpenSearch/Package.cs new file mode 100644 index 00000000000..2ee1fa25166 --- /dev/null +++ b/sdk/dotnet/OpenSearch/Package.cs @@ -0,0 +1,177 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Aws.OpenSearch +{ + /// + /// Manages an AWS Opensearch Package. + /// + /// ## Example Usage + /// + /// ## Import + /// + /// terraform import { + /// + /// to = aws_opensearch_package.example + /// + /// id = "package-id" } Using `pulumi import`, import AWS Opensearch Packages using the Package ID. For exampleconsole % pulumi import aws:opensearch/package:Package example package-id + /// + [AwsResourceType("aws:opensearch/package:Package")] + public partial class Package : global::Pulumi.CustomResource + { + /// + /// The current version of the package. + /// + [Output("availablePackageVersion")] + public Output AvailablePackageVersion { get; private set; } = null!; + + /// + /// Description of the package. + /// + [Output("packageDescription")] + public Output PackageDescription { get; private set; } = null!; + + [Output("packageId")] + public Output PackageId { get; private set; } = null!; + + /// + /// Unique name for the package. + /// + [Output("packageName")] + public Output PackageName { get; private set; } = null!; + + /// + /// Configuration block for the package source options. + /// + [Output("packageSource")] + public Output PackageSource { get; private set; } = null!; + + /// + /// The type of package. + /// + [Output("packageType")] + public Output PackageType { get; private set; } = null!; + + + /// + /// Create a Package resource with the given unique name, arguments, and options. + /// + /// + /// The unique name of the resource + /// The arguments used to populate this resource's properties + /// A bag of options that control this resource's behavior + public Package(string name, PackageArgs args, CustomResourceOptions? options = null) + : base("aws:opensearch/package:Package", name, args ?? new PackageArgs(), MakeResourceOptions(options, "")) + { + } + + private Package(string name, Input id, PackageState? state = null, CustomResourceOptions? options = null) + : base("aws:opensearch/package:Package", name, state, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + }; + var merged = CustomResourceOptions.Merge(defaultOptions, options); + // Override the ID if one was specified for consistency with other language SDKs. + merged.Id = id ?? merged.Id; + return merged; + } + /// + /// Get an existing Package resource's state with the given name, ID, and optional extra + /// properties used to qualify the lookup. + /// + /// + /// The unique name of the resulting resource. + /// The unique provider ID of the resource to lookup. + /// Any extra arguments used during the lookup. + /// A bag of options that control this resource's behavior + public static Package Get(string name, Input id, PackageState? state = null, CustomResourceOptions? options = null) + { + return new Package(name, id, state, options); + } + } + + public sealed class PackageArgs : global::Pulumi.ResourceArgs + { + /// + /// Description of the package. + /// + [Input("packageDescription")] + public Input? PackageDescription { get; set; } + + /// + /// Unique name for the package. + /// + [Input("packageName", required: true)] + public Input PackageName { get; set; } = null!; + + /// + /// Configuration block for the package source options. + /// + [Input("packageSource", required: true)] + public Input PackageSource { get; set; } = null!; + + /// + /// The type of package. + /// + [Input("packageType", required: true)] + public Input PackageType { get; set; } = null!; + + public PackageArgs() + { + } + public static new PackageArgs Empty => new PackageArgs(); + } + + public sealed class PackageState : global::Pulumi.ResourceArgs + { + /// + /// The current version of the package. + /// + [Input("availablePackageVersion")] + public Input? AvailablePackageVersion { get; set; } + + /// + /// Description of the package. + /// + [Input("packageDescription")] + public Input? PackageDescription { get; set; } + + [Input("packageId")] + public Input? PackageId { get; set; } + + /// + /// Unique name for the package. + /// + [Input("packageName")] + public Input? PackageName { get; set; } + + /// + /// Configuration block for the package source options. + /// + [Input("packageSource")] + public Input? PackageSource { get; set; } + + /// + /// The type of package. + /// + [Input("packageType")] + public Input? PackageType { get; set; } + + public PackageState() + { + } + public static new PackageState Empty => new PackageState(); + } +} diff --git a/sdk/dotnet/OpenSearch/PackageAssociation.cs b/sdk/dotnet/OpenSearch/PackageAssociation.cs new file mode 100644 index 00000000000..d5f640f0f91 --- /dev/null +++ b/sdk/dotnet/OpenSearch/PackageAssociation.cs @@ -0,0 +1,159 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Aws.OpenSearch +{ + /// + /// Manages an AWS Opensearch Package Association. + /// + /// ## Example Usage + /// ### Basic Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Aws = Pulumi.Aws; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var myDomain = new Aws.OpenSearch.Domain("myDomain", new() + /// { + /// EngineVersion = "Elasticsearch_7.10", + /// ClusterConfig = new Aws.OpenSearch.Inputs.DomainClusterConfigArgs + /// { + /// InstanceType = "r4.large.search", + /// }, + /// }); + /// + /// var examplePackage = new Aws.OpenSearch.Package("examplePackage", new() + /// { + /// PackageName = "example-txt", + /// PackageSource = new Aws.OpenSearch.Inputs.PackagePackageSourceArgs + /// { + /// S3BucketName = aws_s3_bucket.My_opensearch_packages.Bucket, + /// S3Key = aws_s3_object.Example.Key, + /// }, + /// PackageType = "TXT-DICTIONARY", + /// }); + /// + /// var examplePackageAssociation = new Aws.OpenSearch.PackageAssociation("examplePackageAssociation", new() + /// { + /// PackageId = examplePackage.Id, + /// DomainName = myDomain.DomainName, + /// }); + /// + /// }); + /// ``` + /// + [AwsResourceType("aws:opensearch/packageAssociation:PackageAssociation")] + public partial class PackageAssociation : global::Pulumi.CustomResource + { + /// + /// Name of the domain to associate the package with. + /// + [Output("domainName")] + public Output DomainName { get; private set; } = null!; + + /// + /// Internal ID of the package to associate with a domain. + /// + [Output("packageId")] + public Output PackageId { get; private set; } = null!; + + [Output("referencePath")] + public Output ReferencePath { get; private set; } = null!; + + + /// + /// Create a PackageAssociation resource with the given unique name, arguments, and options. + /// + /// + /// The unique name of the resource + /// The arguments used to populate this resource's properties + /// A bag of options that control this resource's behavior + public PackageAssociation(string name, PackageAssociationArgs args, CustomResourceOptions? options = null) + : base("aws:opensearch/packageAssociation:PackageAssociation", name, args ?? new PackageAssociationArgs(), MakeResourceOptions(options, "")) + { + } + + private PackageAssociation(string name, Input id, PackageAssociationState? state = null, CustomResourceOptions? options = null) + : base("aws:opensearch/packageAssociation:PackageAssociation", name, state, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + }; + var merged = CustomResourceOptions.Merge(defaultOptions, options); + // Override the ID if one was specified for consistency with other language SDKs. + merged.Id = id ?? merged.Id; + return merged; + } + /// + /// Get an existing PackageAssociation resource's state with the given name, ID, and optional extra + /// properties used to qualify the lookup. + /// + /// + /// The unique name of the resulting resource. + /// The unique provider ID of the resource to lookup. + /// Any extra arguments used during the lookup. + /// A bag of options that control this resource's behavior + public static PackageAssociation Get(string name, Input id, PackageAssociationState? state = null, CustomResourceOptions? options = null) + { + return new PackageAssociation(name, id, state, options); + } + } + + public sealed class PackageAssociationArgs : global::Pulumi.ResourceArgs + { + /// + /// Name of the domain to associate the package with. + /// + [Input("domainName", required: true)] + public Input DomainName { get; set; } = null!; + + /// + /// Internal ID of the package to associate with a domain. + /// + [Input("packageId", required: true)] + public Input PackageId { get; set; } = null!; + + public PackageAssociationArgs() + { + } + public static new PackageAssociationArgs Empty => new PackageAssociationArgs(); + } + + public sealed class PackageAssociationState : global::Pulumi.ResourceArgs + { + /// + /// Name of the domain to associate the package with. + /// + [Input("domainName")] + public Input? DomainName { get; set; } + + /// + /// Internal ID of the package to associate with a domain. + /// + [Input("packageId")] + public Input? PackageId { get; set; } + + [Input("referencePath")] + public Input? ReferencePath { get; set; } + + public PackageAssociationState() + { + } + public static new PackageAssociationState Empty => new PackageAssociationState(); + } +} diff --git a/sdk/dotnet/Organizations/GetOrganizationalUnit.cs b/sdk/dotnet/Organizations/GetOrganizationalUnit.cs new file mode 100644 index 00000000000..78abc364961 --- /dev/null +++ b/sdk/dotnet/Organizations/GetOrganizationalUnit.cs @@ -0,0 +1,151 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Aws.Organizations +{ + public static class GetOrganizationalUnit + { + /// + /// Data source for getting an AWS Organizations Organizational Unit. + /// + /// {{% examples %}} + /// ## Example Usage + /// {{% example %}} + /// ### Basic Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Aws = Pulumi.Aws; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var org = Aws.Organizations.GetOrganization.Invoke(); + /// + /// var ou = Aws.Organizations.GetOrganizationalUnit.Invoke(new() + /// { + /// ParentId = org.Apply(getOrganizationResult => getOrganizationResult.Roots[0]?.Id), + /// Name = "dev", + /// }); + /// + /// }); + /// ``` + /// {{% /example %}} + /// {{% /examples %}} + /// + public static Task InvokeAsync(GetOrganizationalUnitArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("aws:organizations/getOrganizationalUnit:getOrganizationalUnit", args ?? new GetOrganizationalUnitArgs(), options.WithDefaults()); + + /// + /// Data source for getting an AWS Organizations Organizational Unit. + /// + /// {{% examples %}} + /// ## Example Usage + /// {{% example %}} + /// ### Basic Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Aws = Pulumi.Aws; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var org = Aws.Organizations.GetOrganization.Invoke(); + /// + /// var ou = Aws.Organizations.GetOrganizationalUnit.Invoke(new() + /// { + /// ParentId = org.Apply(getOrganizationResult => getOrganizationResult.Roots[0]?.Id), + /// Name = "dev", + /// }); + /// + /// }); + /// ``` + /// {{% /example %}} + /// {{% /examples %}} + /// + public static Output Invoke(GetOrganizationalUnitInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("aws:organizations/getOrganizationalUnit:getOrganizationalUnit", args ?? new GetOrganizationalUnitInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetOrganizationalUnitArgs : global::Pulumi.InvokeArgs + { + /// + /// Name of the organizational unit + /// + [Input("name", required: true)] + public string Name { get; set; } = null!; + + /// + /// Parent ID of the organizational unit. + /// + [Input("parentId", required: true)] + public string ParentId { get; set; } = null!; + + public GetOrganizationalUnitArgs() + { + } + public static new GetOrganizationalUnitArgs Empty => new GetOrganizationalUnitArgs(); + } + + public sealed class GetOrganizationalUnitInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Name of the organizational unit + /// + [Input("name", required: true)] + public Input Name { get; set; } = null!; + + /// + /// Parent ID of the organizational unit. + /// + [Input("parentId", required: true)] + public Input ParentId { get; set; } = null!; + + public GetOrganizationalUnitInvokeArgs() + { + } + public static new GetOrganizationalUnitInvokeArgs Empty => new GetOrganizationalUnitInvokeArgs(); + } + + + [OutputType] + public sealed class GetOrganizationalUnitResult + { + /// + /// ARN of the organizational unit + /// + public readonly string Arn; + /// + /// The provider-assigned unique ID for this managed resource. + /// + public readonly string Id; + public readonly string Name; + public readonly string ParentId; + + [OutputConstructor] + private GetOrganizationalUnitResult( + string arn, + + string id, + + string name, + + string parentId) + { + Arn = arn; + Id = id; + Name = name; + ParentId = parentId; + } + } +} diff --git a/sdk/dotnet/Rds/Inputs/OptionGroupOptionArgs.cs b/sdk/dotnet/Rds/Inputs/OptionGroupOptionArgs.cs index 8f424cde84f..e89c605b5ea 100644 --- a/sdk/dotnet/Rds/Inputs/OptionGroupOptionArgs.cs +++ b/sdk/dotnet/Rds/Inputs/OptionGroupOptionArgs.cs @@ -16,7 +16,7 @@ public sealed class OptionGroupOptionArgs : global::Pulumi.ResourceArgs private InputList? _dbSecurityGroupMemberships; /// - /// A list of DB Security Groups for which the option is enabled. + /// List of DB Security Groups for which the option is enabled. /// public InputList DbSecurityGroupMemberships { @@ -25,7 +25,7 @@ public InputList DbSecurityGroupMemberships } /// - /// The Name of the Option (e.g., MEMCACHED). + /// Name of the option (e.g., MEMCACHED). /// [Input("optionName", required: true)] public Input OptionName { get; set; } = null!; @@ -34,7 +34,7 @@ public InputList DbSecurityGroupMemberships private InputList? _optionSettings; /// - /// A list of option settings to apply. + /// List of option settings to apply. /// public InputList OptionSettings { @@ -43,13 +43,13 @@ public InputList OptionSettings } /// - /// The Port number when connecting to the Option (e.g., 11211). + /// Port number when connecting to the option (e.g., 11211). Leaving out or removing `port` from your configuration does not remove or clear a port from the option in AWS. AWS may assign a default port. Not including `port` in your configuration means that the AWS provider will ignore a previously set value, a value set by AWS, and any port changes. /// [Input("port")] public Input? Port { get; set; } /// - /// The version of the option (e.g., 13.1.0.0). + /// Version of the option (e.g., 13.1.0.0). Leaving out or removing `version` from your configuration does not remove or clear a version from the option in AWS. AWS may assign a default version. Not including `version` in your configuration means that the AWS provider will ignore a previously set value, a value set by AWS, and any version changes. /// [Input("version")] public Input? Version { get; set; } @@ -58,7 +58,7 @@ public InputList OptionSettings private InputList? _vpcSecurityGroupMemberships; /// - /// A list of VPC Security Groups for which the option is enabled. + /// List of VPC Security Groups for which the option is enabled. /// public InputList VpcSecurityGroupMemberships { diff --git a/sdk/dotnet/Rds/Inputs/OptionGroupOptionGetArgs.cs b/sdk/dotnet/Rds/Inputs/OptionGroupOptionGetArgs.cs index 40897f4f8e9..dacfa665c5c 100644 --- a/sdk/dotnet/Rds/Inputs/OptionGroupOptionGetArgs.cs +++ b/sdk/dotnet/Rds/Inputs/OptionGroupOptionGetArgs.cs @@ -16,7 +16,7 @@ public sealed class OptionGroupOptionGetArgs : global::Pulumi.ResourceArgs private InputList? _dbSecurityGroupMemberships; /// - /// A list of DB Security Groups for which the option is enabled. + /// List of DB Security Groups for which the option is enabled. /// public InputList DbSecurityGroupMemberships { @@ -25,7 +25,7 @@ public InputList DbSecurityGroupMemberships } /// - /// The Name of the Option (e.g., MEMCACHED). + /// Name of the option (e.g., MEMCACHED). /// [Input("optionName", required: true)] public Input OptionName { get; set; } = null!; @@ -34,7 +34,7 @@ public InputList DbSecurityGroupMemberships private InputList? _optionSettings; /// - /// A list of option settings to apply. + /// List of option settings to apply. /// public InputList OptionSettings { @@ -43,13 +43,13 @@ public InputList OptionSettings } /// - /// The Port number when connecting to the Option (e.g., 11211). + /// Port number when connecting to the option (e.g., 11211). Leaving out or removing `port` from your configuration does not remove or clear a port from the option in AWS. AWS may assign a default port. Not including `port` in your configuration means that the AWS provider will ignore a previously set value, a value set by AWS, and any port changes. /// [Input("port")] public Input? Port { get; set; } /// - /// The version of the option (e.g., 13.1.0.0). + /// Version of the option (e.g., 13.1.0.0). Leaving out or removing `version` from your configuration does not remove or clear a version from the option in AWS. AWS may assign a default version. Not including `version` in your configuration means that the AWS provider will ignore a previously set value, a value set by AWS, and any version changes. /// [Input("version")] public Input? Version { get; set; } @@ -58,7 +58,7 @@ public InputList OptionSettings private InputList? _vpcSecurityGroupMemberships; /// - /// A list of VPC Security Groups for which the option is enabled. + /// List of VPC Security Groups for which the option is enabled. /// public InputList VpcSecurityGroupMemberships { diff --git a/sdk/dotnet/Rds/Inputs/OptionGroupOptionOptionSettingArgs.cs b/sdk/dotnet/Rds/Inputs/OptionGroupOptionOptionSettingArgs.cs index 4c3810e22cf..107280049c4 100644 --- a/sdk/dotnet/Rds/Inputs/OptionGroupOptionOptionSettingArgs.cs +++ b/sdk/dotnet/Rds/Inputs/OptionGroupOptionOptionSettingArgs.cs @@ -13,13 +13,13 @@ namespace Pulumi.Aws.Rds.Inputs public sealed class OptionGroupOptionOptionSettingArgs : global::Pulumi.ResourceArgs { /// - /// The Name of the setting. + /// Name of the setting. /// [Input("name", required: true)] public Input Name { get; set; } = null!; /// - /// The Value of the setting. + /// Value of the setting. /// [Input("value", required: true)] public Input Value { get; set; } = null!; diff --git a/sdk/dotnet/Rds/Inputs/OptionGroupOptionOptionSettingGetArgs.cs b/sdk/dotnet/Rds/Inputs/OptionGroupOptionOptionSettingGetArgs.cs index 70db87bdb17..60ffe42e15e 100644 --- a/sdk/dotnet/Rds/Inputs/OptionGroupOptionOptionSettingGetArgs.cs +++ b/sdk/dotnet/Rds/Inputs/OptionGroupOptionOptionSettingGetArgs.cs @@ -13,13 +13,13 @@ namespace Pulumi.Aws.Rds.Inputs public sealed class OptionGroupOptionOptionSettingGetArgs : global::Pulumi.ResourceArgs { /// - /// The Name of the setting. + /// Name of the setting. /// [Input("name", required: true)] public Input Name { get; set; } = null!; /// - /// The Value of the setting. + /// Value of the setting. /// [Input("value", required: true)] public Input Value { get; set; } = null!; diff --git a/sdk/dotnet/Rds/OptionGroup.cs b/sdk/dotnet/Rds/OptionGroup.cs index 00f376a993a..43c2cfc9816 100644 --- a/sdk/dotnet/Rds/OptionGroup.cs +++ b/sdk/dotnet/Rds/OptionGroup.cs @@ -80,7 +80,7 @@ namespace Pulumi.Aws.Rds /// /// ## Import /// - /// Using `pulumi import`, import DB Option groups using the `name`. For example: + /// Using `pulumi import`, import DB option groups using the `name`. For example: /// /// ```sh /// $ pulumi import aws:rds/optionGroup:OptionGroup example mysql-option-group @@ -90,7 +90,7 @@ namespace Pulumi.Aws.Rds public partial class OptionGroup : global::Pulumi.CustomResource { /// - /// The ARN of the db option group. + /// ARN of the DB option group. /// [Output("arn")] public Output Arn { get; private set; } = null!; @@ -108,7 +108,7 @@ public partial class OptionGroup : global::Pulumi.CustomResource public Output MajorEngineVersion { get; private set; } = null!; /// - /// The Name of the setting. + /// Name of the option group. If omitted, the provider will assign a random, unique name. Must be lowercase, to match as it is stored in AWS. /// [Output("name")] public Output Name { get; private set; } = null!; @@ -120,25 +120,25 @@ public partial class OptionGroup : global::Pulumi.CustomResource public Output NamePrefix { get; private set; } = null!; /// - /// The description of the option group. Defaults to "Managed by Pulumi". + /// Description of the option group. /// [Output("optionGroupDescription")] public Output OptionGroupDescription { get; private set; } = null!; /// - /// A list of Options to apply. + /// List of options to apply. /// [Output("options")] public Output> Options { get; private set; } = null!; /// - /// A map of tags to assign to the resource. .If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. + /// Map of tags to assign to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. /// [Output("tags")] public Output?> Tags { get; private set; } = null!; /// - /// A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block. + /// Map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block. /// [Output("tagsAll")] public Output> TagsAll { get; private set; } = null!; @@ -206,7 +206,7 @@ public sealed class OptionGroupArgs : global::Pulumi.ResourceArgs public Input MajorEngineVersion { get; set; } = null!; /// - /// The Name of the setting. + /// Name of the option group. If omitted, the provider will assign a random, unique name. Must be lowercase, to match as it is stored in AWS. /// [Input("name")] public Input? Name { get; set; } @@ -218,7 +218,7 @@ public sealed class OptionGroupArgs : global::Pulumi.ResourceArgs public Input? NamePrefix { get; set; } /// - /// The description of the option group. Defaults to "Managed by Pulumi". + /// Description of the option group. /// [Input("optionGroupDescription")] public Input? OptionGroupDescription { get; set; } @@ -227,7 +227,7 @@ public sealed class OptionGroupArgs : global::Pulumi.ResourceArgs private InputList? _options; /// - /// A list of Options to apply. + /// List of options to apply. /// public InputList Options { @@ -239,7 +239,7 @@ public InputList Options private InputMap? _tags; /// - /// A map of tags to assign to the resource. .If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. + /// Map of tags to assign to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. /// public InputMap Tags { @@ -257,7 +257,7 @@ public OptionGroupArgs() public sealed class OptionGroupState : global::Pulumi.ResourceArgs { /// - /// The ARN of the db option group. + /// ARN of the DB option group. /// [Input("arn")] public Input? Arn { get; set; } @@ -275,7 +275,7 @@ public sealed class OptionGroupState : global::Pulumi.ResourceArgs public Input? MajorEngineVersion { get; set; } /// - /// The Name of the setting. + /// Name of the option group. If omitted, the provider will assign a random, unique name. Must be lowercase, to match as it is stored in AWS. /// [Input("name")] public Input? Name { get; set; } @@ -287,7 +287,7 @@ public sealed class OptionGroupState : global::Pulumi.ResourceArgs public Input? NamePrefix { get; set; } /// - /// The description of the option group. Defaults to "Managed by Pulumi". + /// Description of the option group. /// [Input("optionGroupDescription")] public Input? OptionGroupDescription { get; set; } @@ -296,7 +296,7 @@ public sealed class OptionGroupState : global::Pulumi.ResourceArgs private InputList? _options; /// - /// A list of Options to apply. + /// List of options to apply. /// public InputList Options { @@ -308,7 +308,7 @@ public InputList Options private InputMap? _tags; /// - /// A map of tags to assign to the resource. .If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. + /// Map of tags to assign to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. /// public InputMap Tags { @@ -320,7 +320,7 @@ public InputMap Tags private InputMap? _tagsAll; /// - /// A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block. + /// Map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block. /// [Obsolete(@"Please use `tags` instead.")] public InputMap TagsAll diff --git a/sdk/dotnet/Rds/Outputs/OptionGroupOption.cs b/sdk/dotnet/Rds/Outputs/OptionGroupOption.cs index 3faed960f4b..6c7ae935269 100644 --- a/sdk/dotnet/Rds/Outputs/OptionGroupOption.cs +++ b/sdk/dotnet/Rds/Outputs/OptionGroupOption.cs @@ -14,27 +14,27 @@ namespace Pulumi.Aws.Rds.Outputs public sealed class OptionGroupOption { /// - /// A list of DB Security Groups for which the option is enabled. + /// List of DB Security Groups for which the option is enabled. /// public readonly ImmutableArray DbSecurityGroupMemberships; /// - /// The Name of the Option (e.g., MEMCACHED). + /// Name of the option (e.g., MEMCACHED). /// public readonly string OptionName; /// - /// A list of option settings to apply. + /// List of option settings to apply. /// public readonly ImmutableArray OptionSettings; /// - /// The Port number when connecting to the Option (e.g., 11211). + /// Port number when connecting to the option (e.g., 11211). Leaving out or removing `port` from your configuration does not remove or clear a port from the option in AWS. AWS may assign a default port. Not including `port` in your configuration means that the AWS provider will ignore a previously set value, a value set by AWS, and any port changes. /// public readonly int? Port; /// - /// The version of the option (e.g., 13.1.0.0). + /// Version of the option (e.g., 13.1.0.0). Leaving out or removing `version` from your configuration does not remove or clear a version from the option in AWS. AWS may assign a default version. Not including `version` in your configuration means that the AWS provider will ignore a previously set value, a value set by AWS, and any version changes. /// public readonly string? Version; /// - /// A list of VPC Security Groups for which the option is enabled. + /// List of VPC Security Groups for which the option is enabled. /// public readonly ImmutableArray VpcSecurityGroupMemberships; diff --git a/sdk/dotnet/Rds/Outputs/OptionGroupOptionOptionSetting.cs b/sdk/dotnet/Rds/Outputs/OptionGroupOptionOptionSetting.cs index db9bbaff34a..fb66a3f8048 100644 --- a/sdk/dotnet/Rds/Outputs/OptionGroupOptionOptionSetting.cs +++ b/sdk/dotnet/Rds/Outputs/OptionGroupOptionOptionSetting.cs @@ -14,11 +14,11 @@ namespace Pulumi.Aws.Rds.Outputs public sealed class OptionGroupOptionOptionSetting { /// - /// The Name of the setting. + /// Name of the setting. /// public readonly string Name; /// - /// The Value of the setting. + /// Value of the setting. /// public readonly string Value; diff --git a/sdk/dotnet/S3/BucketObjectv2.cs b/sdk/dotnet/S3/BucketObjectv2.cs index 23c398603d4..f8997d111b9 100644 --- a/sdk/dotnet/S3/BucketObjectv2.cs +++ b/sdk/dotnet/S3/BucketObjectv2.cs @@ -199,6 +199,36 @@ public partial class BucketObjectv2 : global::Pulumi.CustomResource [Output("cacheControl")] public Output CacheControl { get; private set; } = null!; + /// + /// Indicates the algorithm used to create the checksum for the object. If a value is specified and the object is encrypted with KMS, you must have permission to use the `kms:Decrypt` action. Valid values: `CRC32`, `CRC32C`, `SHA1`, `SHA256`. + /// + [Output("checksumAlgorithm")] + public Output ChecksumAlgorithm { get; private set; } = null!; + + /// + /// The base64-encoded, 32-bit CRC32 checksum of the object. + /// + [Output("checksumCrc32")] + public Output ChecksumCrc32 { get; private set; } = null!; + + /// + /// The base64-encoded, 32-bit CRC32C checksum of the object. + /// + [Output("checksumCrc32c")] + public Output ChecksumCrc32c { get; private set; } = null!; + + /// + /// The base64-encoded, 160-bit SHA-1 digest of the object. + /// + [Output("checksumSha1")] + public Output ChecksumSha1 { get; private set; } = null!; + + /// + /// The base64-encoded, 256-bit SHA-256 digest of the object. + /// + [Output("checksumSha256")] + public Output ChecksumSha256 { get; private set; } = null!; + /// /// Literal string value to use as the object content, which will be uploaded as UTF-8-encoded text. /// @@ -415,6 +445,12 @@ public sealed class BucketObjectv2Args : global::Pulumi.ResourceArgs [Input("cacheControl")] public Input? CacheControl { get; set; } + /// + /// Indicates the algorithm used to create the checksum for the object. If a value is specified and the object is encrypted with KMS, you must have permission to use the `kms:Decrypt` action. Valid values: `CRC32`, `CRC32C`, `SHA1`, `SHA256`. + /// + [Input("checksumAlgorithm")] + public Input? ChecksumAlgorithm { get; set; } + /// /// Literal string value to use as the object content, which will be uploaded as UTF-8-encoded text. /// @@ -585,6 +621,36 @@ public sealed class BucketObjectv2State : global::Pulumi.ResourceArgs [Input("cacheControl")] public Input? CacheControl { get; set; } + /// + /// Indicates the algorithm used to create the checksum for the object. If a value is specified and the object is encrypted with KMS, you must have permission to use the `kms:Decrypt` action. Valid values: `CRC32`, `CRC32C`, `SHA1`, `SHA256`. + /// + [Input("checksumAlgorithm")] + public Input? ChecksumAlgorithm { get; set; } + + /// + /// The base64-encoded, 32-bit CRC32 checksum of the object. + /// + [Input("checksumCrc32")] + public Input? ChecksumCrc32 { get; set; } + + /// + /// The base64-encoded, 32-bit CRC32C checksum of the object. + /// + [Input("checksumCrc32c")] + public Input? ChecksumCrc32c { get; set; } + + /// + /// The base64-encoded, 160-bit SHA-1 digest of the object. + /// + [Input("checksumSha1")] + public Input? ChecksumSha1 { get; set; } + + /// + /// The base64-encoded, 256-bit SHA-256 digest of the object. + /// + [Input("checksumSha256")] + public Input? ChecksumSha256 { get; set; } + /// /// Literal string value to use as the object content, which will be uploaded as UTF-8-encoded text. /// diff --git a/sdk/dotnet/S3/GetObject.cs b/sdk/dotnet/S3/GetObject.cs index 3df1c16376e..2405ad95a63 100644 --- a/sdk/dotnet/S3/GetObject.cs +++ b/sdk/dotnet/S3/GetObject.cs @@ -169,6 +169,12 @@ public sealed class GetObjectArgs : global::Pulumi.InvokeArgs [Input("bucket", required: true)] public string Bucket { get; set; } = null!; + /// + /// To retrieve the object's checksum, this argument must be `ENABLED`. If you enable `checksum_mode` and the object is encrypted with KMS, you must have permission to use the `kms:Decrypt` action. Valid values: `ENABLED` + /// + [Input("checksumMode")] + public string? ChecksumMode { get; set; } + /// /// Full path to the object inside the bucket /// @@ -210,6 +216,12 @@ public sealed class GetObjectInvokeArgs : global::Pulumi.InvokeArgs [Input("bucket", required: true)] public Input Bucket { get; set; } = null!; + /// + /// To retrieve the object's checksum, this argument must be `ENABLED`. If you enable `checksum_mode` and the object is encrypted with KMS, you must have permission to use the `kms:Decrypt` action. Valid values: `ENABLED` + /// + [Input("checksumMode")] + public Input? ChecksumMode { get; set; } + /// /// Full path to the object inside the bucket /// @@ -261,6 +273,23 @@ public sealed class GetObjectResult /// public readonly string CacheControl; /// + /// The base64-encoded, 32-bit CRC32 checksum of the object. + /// + public readonly string ChecksumCrc32; + /// + /// The base64-encoded, 32-bit CRC32C checksum of the object. + /// + public readonly string ChecksumCrc32c; + public readonly string? ChecksumMode; + /// + /// The base64-encoded, 160-bit SHA-1 digest of the object. + /// + public readonly string ChecksumSha1; + /// + /// The base64-encoded, 256-bit SHA-256 digest of the object. + /// + public readonly string ChecksumSha256; + /// /// Presentational information for the object. /// public readonly string ContentDisposition; @@ -353,6 +382,16 @@ private GetObjectResult( string cacheControl, + string checksumCrc32, + + string checksumCrc32c, + + string? checksumMode, + + string checksumSha1, + + string checksumSha256, + string contentDisposition, string contentEncoding, @@ -401,6 +440,11 @@ private GetObjectResult( Bucket = bucket; BucketKeyEnabled = bucketKeyEnabled; CacheControl = cacheControl; + ChecksumCrc32 = checksumCrc32; + ChecksumCrc32c = checksumCrc32c; + ChecksumMode = checksumMode; + ChecksumSha1 = checksumSha1; + ChecksumSha256 = checksumSha256; ContentDisposition = contentDisposition; ContentEncoding = contentEncoding; ContentLanguage = contentLanguage; diff --git a/sdk/dotnet/S3/ObjectCopy.cs b/sdk/dotnet/S3/ObjectCopy.cs index f76e015e052..64b7ea30215 100644 --- a/sdk/dotnet/S3/ObjectCopy.cs +++ b/sdk/dotnet/S3/ObjectCopy.cs @@ -68,6 +68,36 @@ public partial class ObjectCopy : global::Pulumi.CustomResource [Output("cacheControl")] public Output CacheControl { get; private set; } = null!; + /// + /// Indicates the algorithm used to create the checksum for the object. If a value is specified and the object is encrypted with KMS, you must have permission to use the `kms:Decrypt` action. Valid values: `CRC32`, `CRC32C`, `SHA1`, `SHA256`. + /// + [Output("checksumAlgorithm")] + public Output ChecksumAlgorithm { get; private set; } = null!; + + /// + /// The base64-encoded, 32-bit CRC32 checksum of the object. + /// + [Output("checksumCrc32")] + public Output ChecksumCrc32 { get; private set; } = null!; + + /// + /// The base64-encoded, 32-bit CRC32C checksum of the object. + /// + [Output("checksumCrc32c")] + public Output ChecksumCrc32c { get; private set; } = null!; + + /// + /// The base64-encoded, 160-bit SHA-1 digest of the object. + /// + [Output("checksumSha1")] + public Output ChecksumSha1 { get; private set; } = null!; + + /// + /// The base64-encoded, 256-bit SHA-256 digest of the object. + /// + [Output("checksumSha256")] + public Output ChecksumSha256 { get; private set; } = null!; + /// /// Specifies presentational information for the object. Read [w3c content_disposition](http://www.w3.org/Protocols/rfc2616/rfc2616-sec19.html#sec19.5.1) for further information. /// @@ -391,6 +421,12 @@ public sealed class ObjectCopyArgs : global::Pulumi.ResourceArgs [Input("cacheControl")] public Input? CacheControl { get; set; } + /// + /// Indicates the algorithm used to create the checksum for the object. If a value is specified and the object is encrypted with KMS, you must have permission to use the `kms:Decrypt` action. Valid values: `CRC32`, `CRC32C`, `SHA1`, `SHA256`. + /// + [Input("checksumAlgorithm")] + public Input? ChecksumAlgorithm { get; set; } + /// /// Specifies presentational information for the object. Read [w3c content_disposition](http://www.w3.org/Protocols/rfc2616/rfc2616-sec19.html#sec19.5.1) for further information. /// @@ -684,6 +720,36 @@ public sealed class ObjectCopyState : global::Pulumi.ResourceArgs [Input("cacheControl")] public Input? CacheControl { get; set; } + /// + /// Indicates the algorithm used to create the checksum for the object. If a value is specified and the object is encrypted with KMS, you must have permission to use the `kms:Decrypt` action. Valid values: `CRC32`, `CRC32C`, `SHA1`, `SHA256`. + /// + [Input("checksumAlgorithm")] + public Input? ChecksumAlgorithm { get; set; } + + /// + /// The base64-encoded, 32-bit CRC32 checksum of the object. + /// + [Input("checksumCrc32")] + public Input? ChecksumCrc32 { get; set; } + + /// + /// The base64-encoded, 32-bit CRC32C checksum of the object. + /// + [Input("checksumCrc32c")] + public Input? ChecksumCrc32c { get; set; } + + /// + /// The base64-encoded, 160-bit SHA-1 digest of the object. + /// + [Input("checksumSha1")] + public Input? ChecksumSha1 { get; set; } + + /// + /// The base64-encoded, 256-bit SHA-256 digest of the object. + /// + [Input("checksumSha256")] + public Input? ChecksumSha256 { get; set; } + /// /// Specifies presentational information for the object. Read [w3c content_disposition](http://www.w3.org/Protocols/rfc2616/rfc2616-sec19.html#sec19.5.1) for further information. /// diff --git a/sdk/dotnet/S3Control/Inputs/MultiRegionAccessPointDetailsRegionArgs.cs b/sdk/dotnet/S3Control/Inputs/MultiRegionAccessPointDetailsRegionArgs.cs index e5e5f25383f..1eafe9e4ebe 100644 --- a/sdk/dotnet/S3Control/Inputs/MultiRegionAccessPointDetailsRegionArgs.cs +++ b/sdk/dotnet/S3Control/Inputs/MultiRegionAccessPointDetailsRegionArgs.cs @@ -15,6 +15,12 @@ public sealed class MultiRegionAccessPointDetailsRegionArgs : global::Pulumi.Res [Input("bucket", required: true)] public Input Bucket { get; set; } = null!; + [Input("bucketAccountId")] + public Input? BucketAccountId { get; set; } + + [Input("region")] + public Input? Region { get; set; } + public MultiRegionAccessPointDetailsRegionArgs() { } diff --git a/sdk/dotnet/S3Control/Inputs/MultiRegionAccessPointDetailsRegionGetArgs.cs b/sdk/dotnet/S3Control/Inputs/MultiRegionAccessPointDetailsRegionGetArgs.cs index 3fc3074f63f..db983663113 100644 --- a/sdk/dotnet/S3Control/Inputs/MultiRegionAccessPointDetailsRegionGetArgs.cs +++ b/sdk/dotnet/S3Control/Inputs/MultiRegionAccessPointDetailsRegionGetArgs.cs @@ -15,6 +15,12 @@ public sealed class MultiRegionAccessPointDetailsRegionGetArgs : global::Pulumi. [Input("bucket", required: true)] public Input Bucket { get; set; } = null!; + [Input("bucketAccountId")] + public Input? BucketAccountId { get; set; } + + [Input("region")] + public Input? Region { get; set; } + public MultiRegionAccessPointDetailsRegionGetArgs() { } diff --git a/sdk/dotnet/S3Control/Outputs/GetMultiRegionAccessPointRegionResult.cs b/sdk/dotnet/S3Control/Outputs/GetMultiRegionAccessPointRegionResult.cs index fc106844545..2f351b95e3e 100644 --- a/sdk/dotnet/S3Control/Outputs/GetMultiRegionAccessPointRegionResult.cs +++ b/sdk/dotnet/S3Control/Outputs/GetMultiRegionAccessPointRegionResult.cs @@ -18,6 +18,10 @@ public sealed class GetMultiRegionAccessPointRegionResult /// public readonly string Bucket; /// + /// The AWS account ID that owns the bucket. + /// + public readonly string BucketAccountId; + /// /// The name of the region. /// public readonly string Region; @@ -26,9 +30,12 @@ public sealed class GetMultiRegionAccessPointRegionResult private GetMultiRegionAccessPointRegionResult( string bucket, + string bucketAccountId, + string region) { Bucket = bucket; + BucketAccountId = bucketAccountId; Region = region; } } diff --git a/sdk/dotnet/S3Control/Outputs/MultiRegionAccessPointDetailsRegion.cs b/sdk/dotnet/S3Control/Outputs/MultiRegionAccessPointDetailsRegion.cs index c1accb6c901..a0d5ef28c11 100644 --- a/sdk/dotnet/S3Control/Outputs/MultiRegionAccessPointDetailsRegion.cs +++ b/sdk/dotnet/S3Control/Outputs/MultiRegionAccessPointDetailsRegion.cs @@ -14,11 +14,20 @@ namespace Pulumi.Aws.S3Control.Outputs public sealed class MultiRegionAccessPointDetailsRegion { public readonly string Bucket; + public readonly string? BucketAccountId; + public readonly string? Region; [OutputConstructor] - private MultiRegionAccessPointDetailsRegion(string bucket) + private MultiRegionAccessPointDetailsRegion( + string bucket, + + string? bucketAccountId, + + string? region) { Bucket = bucket; + BucketAccountId = bucketAccountId; + Region = region; } } } diff --git a/sdk/dotnet/Schemas/Schema.cs b/sdk/dotnet/Schemas/Schema.cs index c99cdeae9ac..c63e4d5ea58 100644 --- a/sdk/dotnet/Schemas/Schema.cs +++ b/sdk/dotnet/Schemas/Schema.cs @@ -126,7 +126,7 @@ public partial class Schema : global::Pulumi.CustomResource public Output> TagsAll { get; private set; } = null!; /// - /// The type of the schema. Valid values: `OpenApi3`. + /// The type of the schema. Valid values: `OpenApi3` or `JSONSchemaDraft4`. /// [Output("type")] public Output Type { get; private set; } = null!; @@ -230,7 +230,7 @@ public InputMap Tags } /// - /// The type of the schema. Valid values: `OpenApi3`. + /// The type of the schema. Valid values: `OpenApi3` or `JSONSchemaDraft4`. /// [Input("type", required: true)] public Input Type { get; set; } = null!; @@ -309,7 +309,7 @@ public InputMap TagsAll } /// - /// The type of the schema. Valid values: `OpenApi3`. + /// The type of the schema. Valid values: `OpenApi3` or `JSONSchemaDraft4`. /// [Input("type")] public Input? Type { get; set; } diff --git a/sdk/dotnet/SesV2/Inputs/EmailIdentityDkimSigningAttributesArgs.cs b/sdk/dotnet/SesV2/Inputs/EmailIdentityDkimSigningAttributesArgs.cs index 1c217e94d9a..33f759f372f 100644 --- a/sdk/dotnet/SesV2/Inputs/EmailIdentityDkimSigningAttributesArgs.cs +++ b/sdk/dotnet/SesV2/Inputs/EmailIdentityDkimSigningAttributesArgs.cs @@ -18,13 +18,23 @@ public sealed class EmailIdentityDkimSigningAttributesArgs : global::Pulumi.Reso [Input("currentSigningKeyLength")] public Input? CurrentSigningKeyLength { get; set; } + [Input("domainSigningPrivateKey")] + private Input? _domainSigningPrivateKey; + /// /// [Bring Your Own DKIM] A private key that's used to generate a DKIM signature. The private key must use 1024 or 2048-bit RSA encryption, and must be encoded using base64 encoding. /// /// > **NOTE:** You have to delete the first and last lines ('-----BEGIN PRIVATE KEY-----' and '-----END PRIVATE KEY-----', respectively) of the generated private key. Additionally, you have to remove the line breaks in the generated private key. The resulting value is a string of characters with no spaces or line breaks. /// - [Input("domainSigningPrivateKey")] - public Input? DomainSigningPrivateKey { get; set; } + public Input? DomainSigningPrivateKey + { + get => _domainSigningPrivateKey; + set + { + var emptySecret = Output.CreateSecret(0); + _domainSigningPrivateKey = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// [Bring Your Own DKIM] A string that's used to identify a public key in the DNS configuration for a domain. diff --git a/sdk/dotnet/SesV2/Inputs/EmailIdentityDkimSigningAttributesGetArgs.cs b/sdk/dotnet/SesV2/Inputs/EmailIdentityDkimSigningAttributesGetArgs.cs index 258e14fe0e9..0210ff65ae8 100644 --- a/sdk/dotnet/SesV2/Inputs/EmailIdentityDkimSigningAttributesGetArgs.cs +++ b/sdk/dotnet/SesV2/Inputs/EmailIdentityDkimSigningAttributesGetArgs.cs @@ -18,13 +18,23 @@ public sealed class EmailIdentityDkimSigningAttributesGetArgs : global::Pulumi.R [Input("currentSigningKeyLength")] public Input? CurrentSigningKeyLength { get; set; } + [Input("domainSigningPrivateKey")] + private Input? _domainSigningPrivateKey; + /// /// [Bring Your Own DKIM] A private key that's used to generate a DKIM signature. The private key must use 1024 or 2048-bit RSA encryption, and must be encoded using base64 encoding. /// /// > **NOTE:** You have to delete the first and last lines ('-----BEGIN PRIVATE KEY-----' and '-----END PRIVATE KEY-----', respectively) of the generated private key. Additionally, you have to remove the line breaks in the generated private key. The resulting value is a string of characters with no spaces or line breaks. /// - [Input("domainSigningPrivateKey")] - public Input? DomainSigningPrivateKey { get; set; } + public Input? DomainSigningPrivateKey + { + get => _domainSigningPrivateKey; + set + { + var emptySecret = Output.CreateSecret(0); + _domainSigningPrivateKey = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// [Bring Your Own DKIM] A string that's used to identify a public key in the DNS configuration for a domain. diff --git a/sdk/dotnet/Shield/ApplicationLayerAutomaticResponse.cs b/sdk/dotnet/Shield/ApplicationLayerAutomaticResponse.cs new file mode 100644 index 00000000000..08f777e68fd --- /dev/null +++ b/sdk/dotnet/Shield/ApplicationLayerAutomaticResponse.cs @@ -0,0 +1,153 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Aws.Shield +{ + /// + /// Resource for managing an AWS Shield Application Layer Automatic Response for automatic DDoS mitigation. + /// + /// ## Example Usage + /// ### Basic Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Aws = Pulumi.Aws; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var currentRegion = Aws.GetRegion.Invoke(); + /// + /// var currentCallerIdentity = Aws.GetCallerIdentity.Invoke(); + /// + /// var currentPartition = Aws.GetPartition.Invoke(); + /// + /// var example = new Aws.Shield.ApplicationLayerAutomaticResponse("example", new() + /// { + /// Action = "COUNT", + /// ResourceArn = Output.Tuple(currentPartition, currentCallerIdentity).Apply(values => + /// { + /// var currentPartition = values.Item1; + /// var currentCallerIdentity = values.Item2; + /// return $"arn:{currentPartition.Apply(getPartitionResult => getPartitionResult.Partition)}:cloudfront:{currentCallerIdentity.Apply(getCallerIdentityResult => getCallerIdentityResult.AccountId)}:distribution/{@var.Distribution_id}"; + /// }), + /// }); + /// + /// }); + /// ``` + /// + [AwsResourceType("aws:shield/applicationLayerAutomaticResponse:ApplicationLayerAutomaticResponse")] + public partial class ApplicationLayerAutomaticResponse : global::Pulumi.CustomResource + { + /// + /// One of `COUNT` or `BLOCK` + /// + [Output("action")] + public Output Action { get; private set; } = null!; + + /// + /// ARN of the resource to protect (Cloudfront Distributions and ALBs only at this time). + /// + [Output("resourceArn")] + public Output ResourceArn { get; private set; } = null!; + + [Output("timeouts")] + public Output Timeouts { get; private set; } = null!; + + + /// + /// Create a ApplicationLayerAutomaticResponse resource with the given unique name, arguments, and options. + /// + /// + /// The unique name of the resource + /// The arguments used to populate this resource's properties + /// A bag of options that control this resource's behavior + public ApplicationLayerAutomaticResponse(string name, ApplicationLayerAutomaticResponseArgs args, CustomResourceOptions? options = null) + : base("aws:shield/applicationLayerAutomaticResponse:ApplicationLayerAutomaticResponse", name, args ?? new ApplicationLayerAutomaticResponseArgs(), MakeResourceOptions(options, "")) + { + } + + private ApplicationLayerAutomaticResponse(string name, Input id, ApplicationLayerAutomaticResponseState? state = null, CustomResourceOptions? options = null) + : base("aws:shield/applicationLayerAutomaticResponse:ApplicationLayerAutomaticResponse", name, state, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + }; + var merged = CustomResourceOptions.Merge(defaultOptions, options); + // Override the ID if one was specified for consistency with other language SDKs. + merged.Id = id ?? merged.Id; + return merged; + } + /// + /// Get an existing ApplicationLayerAutomaticResponse resource's state with the given name, ID, and optional extra + /// properties used to qualify the lookup. + /// + /// + /// The unique name of the resulting resource. + /// The unique provider ID of the resource to lookup. + /// Any extra arguments used during the lookup. + /// A bag of options that control this resource's behavior + public static ApplicationLayerAutomaticResponse Get(string name, Input id, ApplicationLayerAutomaticResponseState? state = null, CustomResourceOptions? options = null) + { + return new ApplicationLayerAutomaticResponse(name, id, state, options); + } + } + + public sealed class ApplicationLayerAutomaticResponseArgs : global::Pulumi.ResourceArgs + { + /// + /// One of `COUNT` or `BLOCK` + /// + [Input("action", required: true)] + public Input Action { get; set; } = null!; + + /// + /// ARN of the resource to protect (Cloudfront Distributions and ALBs only at this time). + /// + [Input("resourceArn", required: true)] + public Input ResourceArn { get; set; } = null!; + + [Input("timeouts")] + public Input? Timeouts { get; set; } + + public ApplicationLayerAutomaticResponseArgs() + { + } + public static new ApplicationLayerAutomaticResponseArgs Empty => new ApplicationLayerAutomaticResponseArgs(); + } + + public sealed class ApplicationLayerAutomaticResponseState : global::Pulumi.ResourceArgs + { + /// + /// One of `COUNT` or `BLOCK` + /// + [Input("action")] + public Input? Action { get; set; } + + /// + /// ARN of the resource to protect (Cloudfront Distributions and ALBs only at this time). + /// + [Input("resourceArn")] + public Input? ResourceArn { get; set; } + + [Input("timeouts")] + public Input? Timeouts { get; set; } + + public ApplicationLayerAutomaticResponseState() + { + } + public static new ApplicationLayerAutomaticResponseState Empty => new ApplicationLayerAutomaticResponseState(); + } +} diff --git a/sdk/dotnet/Shield/Inputs/ApplicationLayerAutomaticResponseTimeoutsArgs.cs b/sdk/dotnet/Shield/Inputs/ApplicationLayerAutomaticResponseTimeoutsArgs.cs new file mode 100644 index 00000000000..89da3dc129d --- /dev/null +++ b/sdk/dotnet/Shield/Inputs/ApplicationLayerAutomaticResponseTimeoutsArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Aws.Shield.Inputs +{ + + public sealed class ApplicationLayerAutomaticResponseTimeoutsArgs : global::Pulumi.ResourceArgs + { + [Input("create")] + public Input? Create { get; set; } + + [Input("delete")] + public Input? Delete { get; set; } + + [Input("update")] + public Input? Update { get; set; } + + public ApplicationLayerAutomaticResponseTimeoutsArgs() + { + } + public static new ApplicationLayerAutomaticResponseTimeoutsArgs Empty => new ApplicationLayerAutomaticResponseTimeoutsArgs(); + } +} diff --git a/sdk/dotnet/Shield/Inputs/ApplicationLayerAutomaticResponseTimeoutsGetArgs.cs b/sdk/dotnet/Shield/Inputs/ApplicationLayerAutomaticResponseTimeoutsGetArgs.cs new file mode 100644 index 00000000000..dae19052a31 --- /dev/null +++ b/sdk/dotnet/Shield/Inputs/ApplicationLayerAutomaticResponseTimeoutsGetArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Aws.Shield.Inputs +{ + + public sealed class ApplicationLayerAutomaticResponseTimeoutsGetArgs : global::Pulumi.ResourceArgs + { + [Input("create")] + public Input? Create { get; set; } + + [Input("delete")] + public Input? Delete { get; set; } + + [Input("update")] + public Input? Update { get; set; } + + public ApplicationLayerAutomaticResponseTimeoutsGetArgs() + { + } + public static new ApplicationLayerAutomaticResponseTimeoutsGetArgs Empty => new ApplicationLayerAutomaticResponseTimeoutsGetArgs(); + } +} diff --git a/sdk/dotnet/Shield/Outputs/ApplicationLayerAutomaticResponseTimeouts.cs b/sdk/dotnet/Shield/Outputs/ApplicationLayerAutomaticResponseTimeouts.cs new file mode 100644 index 00000000000..204f98175d9 --- /dev/null +++ b/sdk/dotnet/Shield/Outputs/ApplicationLayerAutomaticResponseTimeouts.cs @@ -0,0 +1,33 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Aws.Shield.Outputs +{ + + [OutputType] + public sealed class ApplicationLayerAutomaticResponseTimeouts + { + public readonly string? Create; + public readonly string? Delete; + public readonly string? Update; + + [OutputConstructor] + private ApplicationLayerAutomaticResponseTimeouts( + string? create, + + string? delete, + + string? update) + { + Create = create; + Delete = delete; + Update = update; + } + } +} diff --git a/sdk/dotnet/Transfer/Connector.cs b/sdk/dotnet/Transfer/Connector.cs index ed1fd4181ee..07c820a7bdf 100644 --- a/sdk/dotnet/Transfer/Connector.cs +++ b/sdk/dotnet/Transfer/Connector.cs @@ -42,6 +42,32 @@ namespace Pulumi.Aws.Transfer /// /// }); /// ``` + /// ### SFTP Connector + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Aws = Pulumi.Aws; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var example = new Aws.Transfer.Connector("example", new() + /// { + /// AccessRole = aws_iam_role.Test.Arn, + /// SftpConfig = new Aws.Transfer.Inputs.ConnectorSftpConfigArgs + /// { + /// TrustedHostKeys = new[] + /// { + /// "ssh-rsa AAAAB3NYourKeysHere", + /// }, + /// UserSecretId = aws_secretsmanager_secret.Example.Id, + /// }, + /// Url = "sftp://test.com", + /// }); + /// + /// }); + /// ``` /// /// ## Import /// @@ -67,13 +93,13 @@ public partial class Connector : global::Pulumi.CustomResource public Output Arn { get; private set; } = null!; /// - /// The parameters to configure for the connector object. Fields documented below. + /// Either SFTP or AS2 is configured.The parameters to configure for the connector object. Fields documented below. /// [Output("as2Config")] - public Output As2Config { get; private set; } = null!; + public Output As2Config { get; private set; } = null!; /// - /// The unique identifier for the AS2 profile. + /// The unique identifier for the AS2 profile or SFTP Profile. /// [Output("connectorId")] public Output ConnectorId { get; private set; } = null!; @@ -84,6 +110,12 @@ public partial class Connector : global::Pulumi.CustomResource [Output("loggingRole")] public Output LoggingRole { get; private set; } = null!; + /// + /// Either SFTP or AS2 is configured.The parameters to configure for the connector object. Fields documented below. + /// + [Output("sftpConfig")] + public Output SftpConfig { get; private set; } = null!; + /// /// A map of tags to assign to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. /// @@ -94,7 +126,7 @@ public partial class Connector : global::Pulumi.CustomResource public Output> TagsAll { get; private set; } = null!; /// - /// The URL of the partners AS2 endpoint. + /// The URL of the partners AS2 endpoint or SFTP endpoint. /// [Output("url")] public Output Url { get; private set; } = null!; @@ -156,10 +188,10 @@ public sealed class ConnectorArgs : global::Pulumi.ResourceArgs public Input AccessRole { get; set; } = null!; /// - /// The parameters to configure for the connector object. Fields documented below. + /// Either SFTP or AS2 is configured.The parameters to configure for the connector object. Fields documented below. /// - [Input("as2Config", required: true)] - public Input As2Config { get; set; } = null!; + [Input("as2Config")] + public Input? As2Config { get; set; } /// /// The IAM Role which is required for allowing the connector to turn on CloudWatch logging for Amazon S3 events. @@ -167,6 +199,12 @@ public sealed class ConnectorArgs : global::Pulumi.ResourceArgs [Input("loggingRole")] public Input? LoggingRole { get; set; } + /// + /// Either SFTP or AS2 is configured.The parameters to configure for the connector object. Fields documented below. + /// + [Input("sftpConfig")] + public Input? SftpConfig { get; set; } + [Input("tags")] private InputMap? _tags; @@ -180,7 +218,7 @@ public InputMap Tags } /// - /// The URL of the partners AS2 endpoint. + /// The URL of the partners AS2 endpoint or SFTP endpoint. /// [Input("url", required: true)] public Input Url { get; set; } = null!; @@ -206,13 +244,13 @@ public sealed class ConnectorState : global::Pulumi.ResourceArgs public Input? Arn { get; set; } /// - /// The parameters to configure for the connector object. Fields documented below. + /// Either SFTP or AS2 is configured.The parameters to configure for the connector object. Fields documented below. /// [Input("as2Config")] public Input? As2Config { get; set; } /// - /// The unique identifier for the AS2 profile. + /// The unique identifier for the AS2 profile or SFTP Profile. /// [Input("connectorId")] public Input? ConnectorId { get; set; } @@ -223,6 +261,12 @@ public sealed class ConnectorState : global::Pulumi.ResourceArgs [Input("loggingRole")] public Input? LoggingRole { get; set; } + /// + /// Either SFTP or AS2 is configured.The parameters to configure for the connector object. Fields documented below. + /// + [Input("sftpConfig")] + public Input? SftpConfig { get; set; } + [Input("tags")] private InputMap? _tags; @@ -249,7 +293,7 @@ public InputMap TagsAll } /// - /// The URL of the partners AS2 endpoint. + /// The URL of the partners AS2 endpoint or SFTP endpoint. /// [Input("url")] public Input? Url { get; set; } diff --git a/sdk/dotnet/Transfer/Inputs/ConnectorSftpConfigArgs.cs b/sdk/dotnet/Transfer/Inputs/ConnectorSftpConfigArgs.cs new file mode 100644 index 00000000000..bfebca6cbe3 --- /dev/null +++ b/sdk/dotnet/Transfer/Inputs/ConnectorSftpConfigArgs.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Aws.Transfer.Inputs +{ + + public sealed class ConnectorSftpConfigArgs : global::Pulumi.ResourceArgs + { + [Input("trustedHostKeys")] + private InputList? _trustedHostKeys; + + /// + /// A list of public portion of the host key, or keys, that are used to authenticate the user to the external server to which you are connecting.(https://docs.aws.amazon.com/transfer/latest/userguide/API_SftpConnectorConfig.html) + /// + public InputList TrustedHostKeys + { + get => _trustedHostKeys ?? (_trustedHostKeys = new InputList()); + set => _trustedHostKeys = value; + } + + /// + /// The identifier for the secret (in AWS Secrets Manager) that contains the SFTP user's private key, password, or both. The identifier can be either the Amazon Resource Name (ARN) or the name of the secret. + /// + [Input("userSecretId")] + public Input? UserSecretId { get; set; } + + public ConnectorSftpConfigArgs() + { + } + public static new ConnectorSftpConfigArgs Empty => new ConnectorSftpConfigArgs(); + } +} diff --git a/sdk/dotnet/Transfer/Inputs/ConnectorSftpConfigGetArgs.cs b/sdk/dotnet/Transfer/Inputs/ConnectorSftpConfigGetArgs.cs new file mode 100644 index 00000000000..a6ddfeeb7a9 --- /dev/null +++ b/sdk/dotnet/Transfer/Inputs/ConnectorSftpConfigGetArgs.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Aws.Transfer.Inputs +{ + + public sealed class ConnectorSftpConfigGetArgs : global::Pulumi.ResourceArgs + { + [Input("trustedHostKeys")] + private InputList? _trustedHostKeys; + + /// + /// A list of public portion of the host key, or keys, that are used to authenticate the user to the external server to which you are connecting.(https://docs.aws.amazon.com/transfer/latest/userguide/API_SftpConnectorConfig.html) + /// + public InputList TrustedHostKeys + { + get => _trustedHostKeys ?? (_trustedHostKeys = new InputList()); + set => _trustedHostKeys = value; + } + + /// + /// The identifier for the secret (in AWS Secrets Manager) that contains the SFTP user's private key, password, or both. The identifier can be either the Amazon Resource Name (ARN) or the name of the secret. + /// + [Input("userSecretId")] + public Input? UserSecretId { get; set; } + + public ConnectorSftpConfigGetArgs() + { + } + public static new ConnectorSftpConfigGetArgs Empty => new ConnectorSftpConfigGetArgs(); + } +} diff --git a/sdk/dotnet/Transfer/Outputs/ConnectorSftpConfig.cs b/sdk/dotnet/Transfer/Outputs/ConnectorSftpConfig.cs new file mode 100644 index 00000000000..b99f2eaee7b --- /dev/null +++ b/sdk/dotnet/Transfer/Outputs/ConnectorSftpConfig.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Aws.Transfer.Outputs +{ + + [OutputType] + public sealed class ConnectorSftpConfig + { + /// + /// A list of public portion of the host key, or keys, that are used to authenticate the user to the external server to which you are connecting.(https://docs.aws.amazon.com/transfer/latest/userguide/API_SftpConnectorConfig.html) + /// + public readonly ImmutableArray TrustedHostKeys; + /// + /// The identifier for the secret (in AWS Secrets Manager) that contains the SFTP user's private key, password, or both. The identifier can be either the Amazon Resource Name (ARN) or the name of the secret. + /// + public readonly string? UserSecretId; + + [OutputConstructor] + private ConnectorSftpConfig( + ImmutableArray trustedHostKeys, + + string? userSecretId) + { + TrustedHostKeys = trustedHostKeys; + UserSecretId = userSecretId; + } + } +} diff --git a/sdk/dotnet/VerifiedAccess/Inputs/InstanceVerifiedAccessTrustProviderArgs.cs b/sdk/dotnet/VerifiedAccess/Inputs/InstanceVerifiedAccessTrustProviderArgs.cs new file mode 100644 index 00000000000..f0b47b5817e --- /dev/null +++ b/sdk/dotnet/VerifiedAccess/Inputs/InstanceVerifiedAccessTrustProviderArgs.cs @@ -0,0 +1,50 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Aws.VerifiedAccess.Inputs +{ + + public sealed class InstanceVerifiedAccessTrustProviderArgs : global::Pulumi.ResourceArgs + { + /// + /// A description for the AWS Verified Access Instance. + /// + [Input("description")] + public Input? Description { get; set; } + + /// + /// The type of device-based trust provider. + /// + [Input("deviceTrustProviderType")] + public Input? DeviceTrustProviderType { get; set; } + + /// + /// The type of trust provider (user- or device-based). + /// + [Input("trustProviderType")] + public Input? TrustProviderType { get; set; } + + /// + /// The type of user-based trust provider. + /// + [Input("userTrustProviderType")] + public Input? UserTrustProviderType { get; set; } + + /// + /// The ID of the trust provider. + /// + [Input("verifiedAccessTrustProviderId")] + public Input? VerifiedAccessTrustProviderId { get; set; } + + public InstanceVerifiedAccessTrustProviderArgs() + { + } + public static new InstanceVerifiedAccessTrustProviderArgs Empty => new InstanceVerifiedAccessTrustProviderArgs(); + } +} diff --git a/sdk/dotnet/VerifiedAccess/Inputs/InstanceVerifiedAccessTrustProviderGetArgs.cs b/sdk/dotnet/VerifiedAccess/Inputs/InstanceVerifiedAccessTrustProviderGetArgs.cs new file mode 100644 index 00000000000..be275fca64b --- /dev/null +++ b/sdk/dotnet/VerifiedAccess/Inputs/InstanceVerifiedAccessTrustProviderGetArgs.cs @@ -0,0 +1,50 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Aws.VerifiedAccess.Inputs +{ + + public sealed class InstanceVerifiedAccessTrustProviderGetArgs : global::Pulumi.ResourceArgs + { + /// + /// A description for the AWS Verified Access Instance. + /// + [Input("description")] + public Input? Description { get; set; } + + /// + /// The type of device-based trust provider. + /// + [Input("deviceTrustProviderType")] + public Input? DeviceTrustProviderType { get; set; } + + /// + /// The type of trust provider (user- or device-based). + /// + [Input("trustProviderType")] + public Input? TrustProviderType { get; set; } + + /// + /// The type of user-based trust provider. + /// + [Input("userTrustProviderType")] + public Input? UserTrustProviderType { get; set; } + + /// + /// The ID of the trust provider. + /// + [Input("verifiedAccessTrustProviderId")] + public Input? VerifiedAccessTrustProviderId { get; set; } + + public InstanceVerifiedAccessTrustProviderGetArgs() + { + } + public static new InstanceVerifiedAccessTrustProviderGetArgs Empty => new InstanceVerifiedAccessTrustProviderGetArgs(); + } +} diff --git a/sdk/dotnet/VerifiedAccess/Instance.cs b/sdk/dotnet/VerifiedAccess/Instance.cs new file mode 100644 index 00000000000..028e065f71e --- /dev/null +++ b/sdk/dotnet/VerifiedAccess/Instance.cs @@ -0,0 +1,219 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Aws.VerifiedAccess +{ + /// + /// Resource for managing a Verified Access Instance. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Aws = Pulumi.Aws; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var example = new Aws.VerifiedAccess.Instance("example", new() + /// { + /// Description = "example", + /// Tags = + /// { + /// { "Name", "example" }, + /// }, + /// }); + /// + /// }); + /// ``` + /// + /// ## Import + /// + /// terraform import { + /// + /// to = aws_verifiedaccess_instance.example + /// + /// id = "vai-1234567890abcdef0" } Using `pulumi import`, import Transfer Workflows using the + /// + /// `id`. For exampleconsole % pulumi import aws:verifiedaccess/instance:Instance vai-1234567890abcdef0 + /// + [AwsResourceType("aws:verifiedaccess/instance:Instance")] + public partial class Instance : global::Pulumi.CustomResource + { + /// + /// The time that the Verified Access Instance was created. + /// + [Output("creationTime")] + public Output CreationTime { get; private set; } = null!; + + /// + /// A description for the AWS Verified Access Instance. + /// + [Output("description")] + public Output Description { get; private set; } = null!; + + /// + /// The time that the Verified Access Instance was last updated. + /// + [Output("lastUpdatedTime")] + public Output LastUpdatedTime { get; private set; } = null!; + + /// + /// Key-value mapping of resource tags. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. + /// + [Output("tags")] + public Output?> Tags { get; private set; } = null!; + + [Output("tagsAll")] + public Output> TagsAll { get; private set; } = null!; + + /// + /// One or more blocks of providing information about the AWS Verified Access Trust Providers. See verified_access_trust_providers below for details.One or more blocks + /// + [Output("verifiedAccessTrustProviders")] + public Output> VerifiedAccessTrustProviders { get; private set; } = null!; + + + /// + /// Create a Instance resource with the given unique name, arguments, and options. + /// + /// + /// The unique name of the resource + /// The arguments used to populate this resource's properties + /// A bag of options that control this resource's behavior + public Instance(string name, InstanceArgs? args = null, CustomResourceOptions? options = null) + : base("aws:verifiedaccess/instance:Instance", name, args ?? new InstanceArgs(), MakeResourceOptions(options, "")) + { + } + + private Instance(string name, Input id, InstanceState? state = null, CustomResourceOptions? options = null) + : base("aws:verifiedaccess/instance:Instance", name, state, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + AdditionalSecretOutputs = + { + "tagsAll", + }, + }; + var merged = CustomResourceOptions.Merge(defaultOptions, options); + // Override the ID if one was specified for consistency with other language SDKs. + merged.Id = id ?? merged.Id; + return merged; + } + /// + /// Get an existing Instance resource's state with the given name, ID, and optional extra + /// properties used to qualify the lookup. + /// + /// + /// The unique name of the resulting resource. + /// The unique provider ID of the resource to lookup. + /// Any extra arguments used during the lookup. + /// A bag of options that control this resource's behavior + public static Instance Get(string name, Input id, InstanceState? state = null, CustomResourceOptions? options = null) + { + return new Instance(name, id, state, options); + } + } + + public sealed class InstanceArgs : global::Pulumi.ResourceArgs + { + /// + /// A description for the AWS Verified Access Instance. + /// + [Input("description")] + public Input? Description { get; set; } + + [Input("tags")] + private InputMap? _tags; + + /// + /// Key-value mapping of resource tags. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. + /// + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } + + public InstanceArgs() + { + } + public static new InstanceArgs Empty => new InstanceArgs(); + } + + public sealed class InstanceState : global::Pulumi.ResourceArgs + { + /// + /// The time that the Verified Access Instance was created. + /// + [Input("creationTime")] + public Input? CreationTime { get; set; } + + /// + /// A description for the AWS Verified Access Instance. + /// + [Input("description")] + public Input? Description { get; set; } + + /// + /// The time that the Verified Access Instance was last updated. + /// + [Input("lastUpdatedTime")] + public Input? LastUpdatedTime { get; set; } + + [Input("tags")] + private InputMap? _tags; + + /// + /// Key-value mapping of resource tags. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. + /// + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } + + [Input("tagsAll")] + private InputMap? _tagsAll; + [Obsolete(@"Please use `tags` instead.")] + public InputMap TagsAll + { + get => _tagsAll ?? (_tagsAll = new InputMap()); + set + { + var emptySecret = Output.CreateSecret(ImmutableDictionary.Create()); + _tagsAll = Output.All(value, emptySecret).Apply(v => v[0]); + } + } + + [Input("verifiedAccessTrustProviders")] + private InputList? _verifiedAccessTrustProviders; + + /// + /// One or more blocks of providing information about the AWS Verified Access Trust Providers. See verified_access_trust_providers below for details.One or more blocks + /// + public InputList VerifiedAccessTrustProviders + { + get => _verifiedAccessTrustProviders ?? (_verifiedAccessTrustProviders = new InputList()); + set => _verifiedAccessTrustProviders = value; + } + + public InstanceState() + { + } + public static new InstanceState Empty => new InstanceState(); + } +} diff --git a/sdk/dotnet/VerifiedAccess/Outputs/InstanceVerifiedAccessTrustProvider.cs b/sdk/dotnet/VerifiedAccess/Outputs/InstanceVerifiedAccessTrustProvider.cs new file mode 100644 index 00000000000..f4a0721c413 --- /dev/null +++ b/sdk/dotnet/VerifiedAccess/Outputs/InstanceVerifiedAccessTrustProvider.cs @@ -0,0 +1,56 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Aws.VerifiedAccess.Outputs +{ + + [OutputType] + public sealed class InstanceVerifiedAccessTrustProvider + { + /// + /// A description for the AWS Verified Access Instance. + /// + public readonly string? Description; + /// + /// The type of device-based trust provider. + /// + public readonly string? DeviceTrustProviderType; + /// + /// The type of trust provider (user- or device-based). + /// + public readonly string? TrustProviderType; + /// + /// The type of user-based trust provider. + /// + public readonly string? UserTrustProviderType; + /// + /// The ID of the trust provider. + /// + public readonly string? VerifiedAccessTrustProviderId; + + [OutputConstructor] + private InstanceVerifiedAccessTrustProvider( + string? description, + + string? deviceTrustProviderType, + + string? trustProviderType, + + string? userTrustProviderType, + + string? verifiedAccessTrustProviderId) + { + Description = description; + DeviceTrustProviderType = deviceTrustProviderType; + TrustProviderType = trustProviderType; + UserTrustProviderType = userTrustProviderType; + VerifiedAccessTrustProviderId = verifiedAccessTrustProviderId; + } + } +} diff --git a/sdk/dotnet/WafV2/WebAclAssociation.cs b/sdk/dotnet/WafV2/WebAclAssociation.cs index e85c47497bd..32d70d903d7 100644 --- a/sdk/dotnet/WafV2/WebAclAssociation.cs +++ b/sdk/dotnet/WafV2/WebAclAssociation.cs @@ -116,7 +116,7 @@ namespace Pulumi.Aws.WafV2 public partial class WebAclAssociation : global::Pulumi.CustomResource { /// - /// The Amazon Resource Name (ARN) of the resource to associate with the web ACL. This must be an ARN of an Application Load Balancer, an Amazon API Gateway stage, or an Amazon Cognito User Pool. + /// The Amazon Resource Name (ARN) of the resource to associate with the web ACL. This must be an ARN of an Application Load Balancer, an Amazon API Gateway stage, an Amazon Cognito User Pool, an Amazon AppSync GraphQL API, an Amazon App Runner service, or an Amazon Verified Access instance. /// [Output("resourceArn")] public Output ResourceArn { get; private set; } = null!; @@ -174,7 +174,7 @@ public static WebAclAssociation Get(string name, Input id, WebAclAssocia public sealed class WebAclAssociationArgs : global::Pulumi.ResourceArgs { /// - /// The Amazon Resource Name (ARN) of the resource to associate with the web ACL. This must be an ARN of an Application Load Balancer, an Amazon API Gateway stage, or an Amazon Cognito User Pool. + /// The Amazon Resource Name (ARN) of the resource to associate with the web ACL. This must be an ARN of an Application Load Balancer, an Amazon API Gateway stage, an Amazon Cognito User Pool, an Amazon AppSync GraphQL API, an Amazon App Runner service, or an Amazon Verified Access instance. /// [Input("resourceArn", required: true)] public Input ResourceArn { get; set; } = null!; @@ -194,7 +194,7 @@ public WebAclAssociationArgs() public sealed class WebAclAssociationState : global::Pulumi.ResourceArgs { /// - /// The Amazon Resource Name (ARN) of the resource to associate with the web ACL. This must be an ARN of an Application Load Balancer, an Amazon API Gateway stage, or an Amazon Cognito User Pool. + /// The Amazon Resource Name (ARN) of the resource to associate with the web ACL. This must be an ARN of an Application Load Balancer, an Amazon API Gateway stage, an Amazon Cognito User Pool, an Amazon AppSync GraphQL API, an Amazon App Runner service, or an Amazon Verified Access instance. /// [Input("resourceArn")] public Input? ResourceArn { get; set; } diff --git a/sdk/go/aws/cleanrooms/collaboration.go b/sdk/go/aws/cleanrooms/collaboration.go index 24503be699b..73d65173476 100644 --- a/sdk/go/aws/cleanrooms/collaboration.go +++ b/sdk/go/aws/cleanrooms/collaboration.go @@ -64,23 +64,27 @@ import ( // } // // ``` +// +// ## Import +// +// terraform import { +// +// to = aws_cleanrooms_collaboration.collaboration +// +// id = "1234abcd-12ab-34cd-56ef-1234567890ab" } Using `pulumi import`, import `aws:cleanrooms/collaboration:Collaboration` using the `id`. For exampleconsole % pulumi import aws:cleanrooms/collaboration:Collaboration 1234abcd-12ab-34cd-56ef-1234567890ab type Collaboration struct { pulumi.CustomResourceState - // The arn of the collaboration + // The arn of the collaboration. Arn pulumi.StringOutput `pulumi:"arn"` - // The date and time the collaboration was created - // * `member status` - For each member included in the collaboration an additional computed attribute of status is added. These values [may be - // ound here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_MemberSummary.html#API-Type-MemberSummary-status) + // The date and time the collaboration was created. + // * `member status` - For each member included in the collaboration an additional computed attribute of status is added. These values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_MemberSummary.html#API-Type-MemberSummary-status). CreateTime pulumi.StringOutput `pulumi:"createTime"` // The name for the member record for the collaboration creator. CreatorDisplayName pulumi.StringOutput `pulumi:"creatorDisplayName"` - // The list of member abilities for the creator of the collaboration. Valid v - // lues [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-re - // uest-creatorMemberAbilities) + // The list of member abilities for the creator of the collaboration. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-creatorMemberAbilities). CreatorMemberAbilities pulumi.StringArrayOutput `pulumi:"creatorMemberAbilities"` - // a collection of settings which determine how the [c3r client](https://docs - // aws.amazon.com/clean-rooms/latest/userguide/crypto-computing.html) will encrypt data for use within this collaboration + // a collection of settings which determine how the [c3r client](https://docs.aws.amazon.com/clean-rooms/latest/userguide/crypto-computing.html) will encrypt data for use within this collaboration. // * `data_encryption_metadata.allow_clear_text` - (Required - Forces new resource) - Indicates whether encrypted tables can contain cleartext data. This is a boolea // field. // * `data_encryption_metadata.allow_duplicates` - (Required - Forces new resource ) - Indicates whether Fingerprint columns can contain duplicate entries. This is a @@ -93,16 +97,14 @@ type Collaboration struct { // A description for a collaboration. Description pulumi.StringOutput `pulumi:"description"` // Additional members of the collaboration which will be invited to join the collaboration. - // * `member.account_id` - (Required - Forces new resource) - The account id for the invited member - // * `member.display_name` - (Required - Forces new resource) - The display name for the invited member - // * `member.member_abilities` - (Required - Forces new resource) - The list of abilities for the invited member. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-creatorMemberAbiliti - // s + // * `member.account_id` - (Required - Forces new resource) - The account id for the invited member. + // * `member.display_name` - (Required - Forces new resource) - The display name for the invited member. + // * `member.member_abilities` - (Required - Forces new resource) - The list of abilities for the invited member. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-creatorMemberAbilities). Members CollaborationMemberArrayOutput `pulumi:"members"` // The name of the collaboration. Collaboration names do not need to be unique. Name pulumi.StringOutput `pulumi:"name"` - // Determines if members of the collaboration can enable query logs within their own - // emberships. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-Cr - // ateCollaboration-request-queryLogStatus). + // Determines if members of the collaboration can enable query logs within their own. + // emberships. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-queryLogStatus). QueryLogStatus pulumi.StringOutput `pulumi:"queryLogStatus"` // Key value pairs which tag the collaboration. Tags pulumi.StringMapOutput `pulumi:"tags"` @@ -157,20 +159,16 @@ func GetCollaboration(ctx *pulumi.Context, // Input properties used for looking up and filtering Collaboration resources. type collaborationState struct { - // The arn of the collaboration + // The arn of the collaboration. Arn *string `pulumi:"arn"` - // The date and time the collaboration was created - // * `member status` - For each member included in the collaboration an additional computed attribute of status is added. These values [may be - // ound here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_MemberSummary.html#API-Type-MemberSummary-status) + // The date and time the collaboration was created. + // * `member status` - For each member included in the collaboration an additional computed attribute of status is added. These values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_MemberSummary.html#API-Type-MemberSummary-status). CreateTime *string `pulumi:"createTime"` // The name for the member record for the collaboration creator. CreatorDisplayName *string `pulumi:"creatorDisplayName"` - // The list of member abilities for the creator of the collaboration. Valid v - // lues [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-re - // uest-creatorMemberAbilities) + // The list of member abilities for the creator of the collaboration. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-creatorMemberAbilities). CreatorMemberAbilities []string `pulumi:"creatorMemberAbilities"` - // a collection of settings which determine how the [c3r client](https://docs - // aws.amazon.com/clean-rooms/latest/userguide/crypto-computing.html) will encrypt data for use within this collaboration + // a collection of settings which determine how the [c3r client](https://docs.aws.amazon.com/clean-rooms/latest/userguide/crypto-computing.html) will encrypt data for use within this collaboration. // * `data_encryption_metadata.allow_clear_text` - (Required - Forces new resource) - Indicates whether encrypted tables can contain cleartext data. This is a boolea // field. // * `data_encryption_metadata.allow_duplicates` - (Required - Forces new resource ) - Indicates whether Fingerprint columns can contain duplicate entries. This is a @@ -183,16 +181,14 @@ type collaborationState struct { // A description for a collaboration. Description *string `pulumi:"description"` // Additional members of the collaboration which will be invited to join the collaboration. - // * `member.account_id` - (Required - Forces new resource) - The account id for the invited member - // * `member.display_name` - (Required - Forces new resource) - The display name for the invited member - // * `member.member_abilities` - (Required - Forces new resource) - The list of abilities for the invited member. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-creatorMemberAbiliti - // s + // * `member.account_id` - (Required - Forces new resource) - The account id for the invited member. + // * `member.display_name` - (Required - Forces new resource) - The display name for the invited member. + // * `member.member_abilities` - (Required - Forces new resource) - The list of abilities for the invited member. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-creatorMemberAbilities). Members []CollaborationMember `pulumi:"members"` // The name of the collaboration. Collaboration names do not need to be unique. Name *string `pulumi:"name"` - // Determines if members of the collaboration can enable query logs within their own - // emberships. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-Cr - // ateCollaboration-request-queryLogStatus). + // Determines if members of the collaboration can enable query logs within their own. + // emberships. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-queryLogStatus). QueryLogStatus *string `pulumi:"queryLogStatus"` // Key value pairs which tag the collaboration. Tags map[string]string `pulumi:"tags"` @@ -202,20 +198,16 @@ type collaborationState struct { } type CollaborationState struct { - // The arn of the collaboration + // The arn of the collaboration. Arn pulumi.StringPtrInput - // The date and time the collaboration was created - // * `member status` - For each member included in the collaboration an additional computed attribute of status is added. These values [may be - // ound here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_MemberSummary.html#API-Type-MemberSummary-status) + // The date and time the collaboration was created. + // * `member status` - For each member included in the collaboration an additional computed attribute of status is added. These values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_MemberSummary.html#API-Type-MemberSummary-status). CreateTime pulumi.StringPtrInput // The name for the member record for the collaboration creator. CreatorDisplayName pulumi.StringPtrInput - // The list of member abilities for the creator of the collaboration. Valid v - // lues [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-re - // uest-creatorMemberAbilities) + // The list of member abilities for the creator of the collaboration. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-creatorMemberAbilities). CreatorMemberAbilities pulumi.StringArrayInput - // a collection of settings which determine how the [c3r client](https://docs - // aws.amazon.com/clean-rooms/latest/userguide/crypto-computing.html) will encrypt data for use within this collaboration + // a collection of settings which determine how the [c3r client](https://docs.aws.amazon.com/clean-rooms/latest/userguide/crypto-computing.html) will encrypt data for use within this collaboration. // * `data_encryption_metadata.allow_clear_text` - (Required - Forces new resource) - Indicates whether encrypted tables can contain cleartext data. This is a boolea // field. // * `data_encryption_metadata.allow_duplicates` - (Required - Forces new resource ) - Indicates whether Fingerprint columns can contain duplicate entries. This is a @@ -228,16 +220,14 @@ type CollaborationState struct { // A description for a collaboration. Description pulumi.StringPtrInput // Additional members of the collaboration which will be invited to join the collaboration. - // * `member.account_id` - (Required - Forces new resource) - The account id for the invited member - // * `member.display_name` - (Required - Forces new resource) - The display name for the invited member - // * `member.member_abilities` - (Required - Forces new resource) - The list of abilities for the invited member. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-creatorMemberAbiliti - // s + // * `member.account_id` - (Required - Forces new resource) - The account id for the invited member. + // * `member.display_name` - (Required - Forces new resource) - The display name for the invited member. + // * `member.member_abilities` - (Required - Forces new resource) - The list of abilities for the invited member. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-creatorMemberAbilities). Members CollaborationMemberArrayInput // The name of the collaboration. Collaboration names do not need to be unique. Name pulumi.StringPtrInput - // Determines if members of the collaboration can enable query logs within their own - // emberships. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-Cr - // ateCollaboration-request-queryLogStatus). + // Determines if members of the collaboration can enable query logs within their own. + // emberships. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-queryLogStatus). QueryLogStatus pulumi.StringPtrInput // Key value pairs which tag the collaboration. Tags pulumi.StringMapInput @@ -253,12 +243,9 @@ func (CollaborationState) ElementType() reflect.Type { type collaborationArgs struct { // The name for the member record for the collaboration creator. CreatorDisplayName string `pulumi:"creatorDisplayName"` - // The list of member abilities for the creator of the collaboration. Valid v - // lues [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-re - // uest-creatorMemberAbilities) + // The list of member abilities for the creator of the collaboration. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-creatorMemberAbilities). CreatorMemberAbilities []string `pulumi:"creatorMemberAbilities"` - // a collection of settings which determine how the [c3r client](https://docs - // aws.amazon.com/clean-rooms/latest/userguide/crypto-computing.html) will encrypt data for use within this collaboration + // a collection of settings which determine how the [c3r client](https://docs.aws.amazon.com/clean-rooms/latest/userguide/crypto-computing.html) will encrypt data for use within this collaboration. // * `data_encryption_metadata.allow_clear_text` - (Required - Forces new resource) - Indicates whether encrypted tables can contain cleartext data. This is a boolea // field. // * `data_encryption_metadata.allow_duplicates` - (Required - Forces new resource ) - Indicates whether Fingerprint columns can contain duplicate entries. This is a @@ -271,16 +258,14 @@ type collaborationArgs struct { // A description for a collaboration. Description string `pulumi:"description"` // Additional members of the collaboration which will be invited to join the collaboration. - // * `member.account_id` - (Required - Forces new resource) - The account id for the invited member - // * `member.display_name` - (Required - Forces new resource) - The display name for the invited member - // * `member.member_abilities` - (Required - Forces new resource) - The list of abilities for the invited member. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-creatorMemberAbiliti - // s + // * `member.account_id` - (Required - Forces new resource) - The account id for the invited member. + // * `member.display_name` - (Required - Forces new resource) - The display name for the invited member. + // * `member.member_abilities` - (Required - Forces new resource) - The list of abilities for the invited member. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-creatorMemberAbilities). Members []CollaborationMember `pulumi:"members"` // The name of the collaboration. Collaboration names do not need to be unique. Name *string `pulumi:"name"` - // Determines if members of the collaboration can enable query logs within their own - // emberships. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-Cr - // ateCollaboration-request-queryLogStatus). + // Determines if members of the collaboration can enable query logs within their own. + // emberships. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-queryLogStatus). QueryLogStatus string `pulumi:"queryLogStatus"` // Key value pairs which tag the collaboration. Tags map[string]string `pulumi:"tags"` @@ -290,12 +275,9 @@ type collaborationArgs struct { type CollaborationArgs struct { // The name for the member record for the collaboration creator. CreatorDisplayName pulumi.StringInput - // The list of member abilities for the creator of the collaboration. Valid v - // lues [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-re - // uest-creatorMemberAbilities) + // The list of member abilities for the creator of the collaboration. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-creatorMemberAbilities). CreatorMemberAbilities pulumi.StringArrayInput - // a collection of settings which determine how the [c3r client](https://docs - // aws.amazon.com/clean-rooms/latest/userguide/crypto-computing.html) will encrypt data for use within this collaboration + // a collection of settings which determine how the [c3r client](https://docs.aws.amazon.com/clean-rooms/latest/userguide/crypto-computing.html) will encrypt data for use within this collaboration. // * `data_encryption_metadata.allow_clear_text` - (Required - Forces new resource) - Indicates whether encrypted tables can contain cleartext data. This is a boolea // field. // * `data_encryption_metadata.allow_duplicates` - (Required - Forces new resource ) - Indicates whether Fingerprint columns can contain duplicate entries. This is a @@ -308,16 +290,14 @@ type CollaborationArgs struct { // A description for a collaboration. Description pulumi.StringInput // Additional members of the collaboration which will be invited to join the collaboration. - // * `member.account_id` - (Required - Forces new resource) - The account id for the invited member - // * `member.display_name` - (Required - Forces new resource) - The display name for the invited member - // * `member.member_abilities` - (Required - Forces new resource) - The list of abilities for the invited member. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-creatorMemberAbiliti - // s + // * `member.account_id` - (Required - Forces new resource) - The account id for the invited member. + // * `member.display_name` - (Required - Forces new resource) - The display name for the invited member. + // * `member.member_abilities` - (Required - Forces new resource) - The list of abilities for the invited member. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-creatorMemberAbilities). Members CollaborationMemberArrayInput // The name of the collaboration. Collaboration names do not need to be unique. Name pulumi.StringPtrInput - // Determines if members of the collaboration can enable query logs within their own - // emberships. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-Cr - // ateCollaboration-request-queryLogStatus). + // Determines if members of the collaboration can enable query logs within their own. + // emberships. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-queryLogStatus). QueryLogStatus pulumi.StringInput // Key value pairs which tag the collaboration. Tags pulumi.StringMapInput @@ -434,14 +414,13 @@ func (o CollaborationOutput) ToOutput(ctx context.Context) pulumix.Output[*Colla } } -// The arn of the collaboration +// The arn of the collaboration. func (o CollaborationOutput) Arn() pulumi.StringOutput { return o.ApplyT(func(v *Collaboration) pulumi.StringOutput { return v.Arn }).(pulumi.StringOutput) } -// The date and time the collaboration was created -// - `member status` - For each member included in the collaboration an additional computed attribute of status is added. These values [may be -// ound here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_MemberSummary.html#API-Type-MemberSummary-status) +// The date and time the collaboration was created. +// * `member status` - For each member included in the collaboration an additional computed attribute of status is added. These values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_MemberSummary.html#API-Type-MemberSummary-status). func (o CollaborationOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *Collaboration) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) } @@ -451,15 +430,12 @@ func (o CollaborationOutput) CreatorDisplayName() pulumi.StringOutput { return o.ApplyT(func(v *Collaboration) pulumi.StringOutput { return v.CreatorDisplayName }).(pulumi.StringOutput) } -// The list of member abilities for the creator of the collaboration. Valid v -// lues [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-re -// uest-creatorMemberAbilities) +// The list of member abilities for the creator of the collaboration. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-creatorMemberAbilities). func (o CollaborationOutput) CreatorMemberAbilities() pulumi.StringArrayOutput { return o.ApplyT(func(v *Collaboration) pulumi.StringArrayOutput { return v.CreatorMemberAbilities }).(pulumi.StringArrayOutput) } -// a collection of settings which determine how the [c3r client](https://docs -// aws.amazon.com/clean-rooms/latest/userguide/crypto-computing.html) will encrypt data for use within this collaboration +// a collection of settings which determine how the [c3r client](https://docs.aws.amazon.com/clean-rooms/latest/userguide/crypto-computing.html) will encrypt data for use within this collaboration. // - `data_encryption_metadata.allow_clear_text` - (Required - Forces new resource) - Indicates whether encrypted tables can contain cleartext data. This is a boolea // field. // - `data_encryption_metadata.allow_duplicates` - (Required - Forces new resource ) - Indicates whether Fingerprint columns can contain duplicate entries. This is a @@ -478,10 +454,9 @@ func (o CollaborationOutput) Description() pulumi.StringOutput { } // Additional members of the collaboration which will be invited to join the collaboration. -// - `member.account_id` - (Required - Forces new resource) - The account id for the invited member -// - `member.display_name` - (Required - Forces new resource) - The display name for the invited member -// - `member.member_abilities` - (Required - Forces new resource) - The list of abilities for the invited member. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-creatorMemberAbiliti -// s +// * `member.account_id` - (Required - Forces new resource) - The account id for the invited member. +// * `member.display_name` - (Required - Forces new resource) - The display name for the invited member. +// * `member.member_abilities` - (Required - Forces new resource) - The list of abilities for the invited member. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-creatorMemberAbilities). func (o CollaborationOutput) Members() CollaborationMemberArrayOutput { return o.ApplyT(func(v *Collaboration) CollaborationMemberArrayOutput { return v.Members }).(CollaborationMemberArrayOutput) } @@ -491,9 +466,8 @@ func (o CollaborationOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v *Collaboration) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) } -// Determines if members of the collaboration can enable query logs within their own -// emberships. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-Cr -// ateCollaboration-request-queryLogStatus). +// Determines if members of the collaboration can enable query logs within their own. +// emberships. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-queryLogStatus). func (o CollaborationOutput) QueryLogStatus() pulumi.StringOutput { return o.ApplyT(func(v *Collaboration) pulumi.StringOutput { return v.QueryLogStatus }).(pulumi.StringOutput) } diff --git a/sdk/go/aws/ec2/networkInsightsPath.go b/sdk/go/aws/ec2/networkInsightsPath.go index e8c074a4b93..45aeaa78b8b 100644 --- a/sdk/go/aws/ec2/networkInsightsPath.go +++ b/sdk/go/aws/ec2/networkInsightsPath.go @@ -57,7 +57,7 @@ type NetworkInsightsPath struct { // ARN of the Network Insights Path. Arn pulumi.StringOutput `pulumi:"arn"` - // ID or ARN of the resource which is the source of the path. Can be an Instance, Internet Gateway, Network Interface, Transit Gateway, VPC Endpoint, VPC Peering Connection or VPN Gateway. If the resource is in another account, you must specify an ARN. + // ID or ARN of the resource which is the destination of the path. Can be an Instance, Internet Gateway, Network Interface, Transit Gateway, VPC Endpoint, VPC Peering Connection or VPN Gateway. If the resource is in another account, you must specify an ARN. Destination pulumi.StringOutput `pulumi:"destination"` // ARN of the destination. DestinationArn pulumi.StringOutput `pulumi:"destinationArn"` @@ -128,7 +128,7 @@ func GetNetworkInsightsPath(ctx *pulumi.Context, type networkInsightsPathState struct { // ARN of the Network Insights Path. Arn *string `pulumi:"arn"` - // ID or ARN of the resource which is the source of the path. Can be an Instance, Internet Gateway, Network Interface, Transit Gateway, VPC Endpoint, VPC Peering Connection or VPN Gateway. If the resource is in another account, you must specify an ARN. + // ID or ARN of the resource which is the destination of the path. Can be an Instance, Internet Gateway, Network Interface, Transit Gateway, VPC Endpoint, VPC Peering Connection or VPN Gateway. If the resource is in another account, you must specify an ARN. Destination *string `pulumi:"destination"` // ARN of the destination. DestinationArn *string `pulumi:"destinationArn"` @@ -157,7 +157,7 @@ type networkInsightsPathState struct { type NetworkInsightsPathState struct { // ARN of the Network Insights Path. Arn pulumi.StringPtrInput - // ID or ARN of the resource which is the source of the path. Can be an Instance, Internet Gateway, Network Interface, Transit Gateway, VPC Endpoint, VPC Peering Connection or VPN Gateway. If the resource is in another account, you must specify an ARN. + // ID or ARN of the resource which is the destination of the path. Can be an Instance, Internet Gateway, Network Interface, Transit Gateway, VPC Endpoint, VPC Peering Connection or VPN Gateway. If the resource is in another account, you must specify an ARN. Destination pulumi.StringPtrInput // ARN of the destination. DestinationArn pulumi.StringPtrInput @@ -188,7 +188,7 @@ func (NetworkInsightsPathState) ElementType() reflect.Type { } type networkInsightsPathArgs struct { - // ID or ARN of the resource which is the source of the path. Can be an Instance, Internet Gateway, Network Interface, Transit Gateway, VPC Endpoint, VPC Peering Connection or VPN Gateway. If the resource is in another account, you must specify an ARN. + // ID or ARN of the resource which is the destination of the path. Can be an Instance, Internet Gateway, Network Interface, Transit Gateway, VPC Endpoint, VPC Peering Connection or VPN Gateway. If the resource is in another account, you must specify an ARN. Destination string `pulumi:"destination"` // IP address of the destination resource. DestinationIp *string `pulumi:"destinationIp"` @@ -208,7 +208,7 @@ type networkInsightsPathArgs struct { // The set of arguments for constructing a NetworkInsightsPath resource. type NetworkInsightsPathArgs struct { - // ID or ARN of the resource which is the source of the path. Can be an Instance, Internet Gateway, Network Interface, Transit Gateway, VPC Endpoint, VPC Peering Connection or VPN Gateway. If the resource is in another account, you must specify an ARN. + // ID or ARN of the resource which is the destination of the path. Can be an Instance, Internet Gateway, Network Interface, Transit Gateway, VPC Endpoint, VPC Peering Connection or VPN Gateway. If the resource is in another account, you must specify an ARN. Destination pulumi.StringInput // IP address of the destination resource. DestinationIp pulumi.StringPtrInput @@ -342,7 +342,7 @@ func (o NetworkInsightsPathOutput) Arn() pulumi.StringOutput { return o.ApplyT(func(v *NetworkInsightsPath) pulumi.StringOutput { return v.Arn }).(pulumi.StringOutput) } -// ID or ARN of the resource which is the source of the path. Can be an Instance, Internet Gateway, Network Interface, Transit Gateway, VPC Endpoint, VPC Peering Connection or VPN Gateway. If the resource is in another account, you must specify an ARN. +// ID or ARN of the resource which is the destination of the path. Can be an Instance, Internet Gateway, Network Interface, Transit Gateway, VPC Endpoint, VPC Peering Connection or VPN Gateway. If the resource is in another account, you must specify an ARN. func (o NetworkInsightsPathOutput) Destination() pulumi.StringOutput { return o.ApplyT(func(v *NetworkInsightsPath) pulumi.StringOutput { return v.Destination }).(pulumi.StringOutput) } diff --git a/sdk/go/aws/elasticache/cluster.go b/sdk/go/aws/elasticache/cluster.go index b2434caa888..932e67e99d4 100644 --- a/sdk/go/aws/elasticache/cluster.go +++ b/sdk/go/aws/elasticache/cluster.go @@ -259,7 +259,7 @@ type Cluster struct { // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"` // Enable encryption in-transit. Supported only with Memcached versions `1.6.12` and later, running in a VPC. See the [ElastiCache in-transit encryption](https://docs.aws.amazon.com/AmazonElastiCache/latest/mem-ug/in-transit-encryption-mc.html) documentation for more details. - TransitEncryptionEnabled pulumi.BoolPtrOutput `pulumi:"transitEncryptionEnabled"` + TransitEncryptionEnabled pulumi.BoolOutput `pulumi:"transitEncryptionEnabled"` } // NewCluster registers a new resource with the given unique name, arguments, and options. @@ -921,8 +921,8 @@ func (o ClusterOutput) TagsAll() pulumi.StringMapOutput { } // Enable encryption in-transit. Supported only with Memcached versions `1.6.12` and later, running in a VPC. See the [ElastiCache in-transit encryption](https://docs.aws.amazon.com/AmazonElastiCache/latest/mem-ug/in-transit-encryption-mc.html) documentation for more details. -func (o ClusterOutput) TransitEncryptionEnabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *Cluster) pulumi.BoolPtrOutput { return v.TransitEncryptionEnabled }).(pulumi.BoolPtrOutput) +func (o ClusterOutput) TransitEncryptionEnabled() pulumi.BoolOutput { + return o.ApplyT(func(v *Cluster) pulumi.BoolOutput { return v.TransitEncryptionEnabled }).(pulumi.BoolOutput) } type ClusterArrayOutput struct{ *pulumi.OutputState } diff --git a/sdk/go/aws/fsx/getOntapFileSystem.go b/sdk/go/aws/fsx/getOntapFileSystem.go new file mode 100644 index 00000000000..0fe7f7ab2e4 --- /dev/null +++ b/sdk/go/aws/fsx/getOntapFileSystem.go @@ -0,0 +1,262 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package fsx + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-aws/sdk/v6/go/aws/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" +) + +// Retrieve information on FSx ONTAP File System. +// +// ## Example Usage +// ### Basic Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-aws/sdk/v6/go/aws/fsx" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := fsx.LookupOntapFileSystem(ctx, &fsx.LookupOntapFileSystemArgs{ +// Id: "fs-12345678", +// }, nil) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +func LookupOntapFileSystem(ctx *pulumi.Context, args *LookupOntapFileSystemArgs, opts ...pulumi.InvokeOption) (*LookupOntapFileSystemResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupOntapFileSystemResult + err := ctx.Invoke("aws:fsx/getOntapFileSystem:getOntapFileSystem", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getOntapFileSystem. +type LookupOntapFileSystemArgs struct { + // Identifier of the file system (e.g. `fs-12345678`). + Id string `pulumi:"id"` + // The tags associated with the file system. + Tags map[string]string `pulumi:"tags"` +} + +// A collection of values returned by getOntapFileSystem. +type LookupOntapFileSystemResult struct { + // Amazon Resource Name of the file system. + Arn string `pulumi:"arn"` + // The number of days to retain automatic backups. + AutomaticBackupRetentionDays int `pulumi:"automaticBackupRetentionDays"` + // The preferred time (in `HH:MM` format) to take daily automatic backups, in the UTC time zone. + DailyAutomaticBackupStartTime string `pulumi:"dailyAutomaticBackupStartTime"` + // The file system deployment type. + DeploymentType string `pulumi:"deploymentType"` + // The SSD IOPS configuration for the Amazon FSx for NetApp ONTAP file system, specifying the number of provisioned IOPS and the provision mode. See Disk IOPS Below. + DiskIopsConfigurations []GetOntapFileSystemDiskIopsConfiguration `pulumi:"diskIopsConfigurations"` + // DNS name for the file system (e.g. `fs-12345678.corp.example.com`). + DnsName string `pulumi:"dnsName"` + // (Multi-AZ only) Specifies the IP address range in which the endpoints to access your file system exist. + EndpointIpAddressRange string `pulumi:"endpointIpAddressRange"` + // The Management and Intercluster FileSystemEndpoints that are used to access data or to manage the file system using the NetApp ONTAP CLI, REST API, or NetApp SnapMirror. See FileSystemEndpoints below. + Endpoints []GetOntapFileSystemEndpoint `pulumi:"endpoints"` + // Identifier of the file system (e.g. `fs-12345678`). + Id string `pulumi:"id"` + // ARN for the KMS Key to encrypt the file system at rest. + KmsKeyId string `pulumi:"kmsKeyId"` + // The IDs of the elastic network interfaces from which a specific file system is accessible. + NetworkInterfaceIds []string `pulumi:"networkInterfaceIds"` + // AWS account identifier that created the file system. + OwnerId string `pulumi:"ownerId"` + // Specifies the subnet in which you want the preferred file server to be located. + PreferredSubnetId string `pulumi:"preferredSubnetId"` + // (Multi-AZ only) The VPC route tables in which your file system's endpoints exist. + RouteTableIds []string `pulumi:"routeTableIds"` + // The storage capacity of the file system in gibibytes (GiB). + StorageCapacity int `pulumi:"storageCapacity"` + // The type of storage the file system is using. If set to `SSD`, the file system uses solid state drive storage. If set to `HDD`, the file system uses hard disk drive storage. + StorageType string `pulumi:"storageType"` + // Specifies the IDs of the subnets that the file system is accessible from. For the MULTI_AZ_1 file system deployment type, there are two subnet IDs, one for the preferred file server and one for the standby file server. The preferred file server subnet identified in the `preferredSubnetId` property. + SubnetIds []string `pulumi:"subnetIds"` + // The tags associated with the file system. + Tags map[string]string `pulumi:"tags"` + // The sustained throughput of an Amazon FSx file system in Megabytes per second (MBps). + ThroughputCapacity int `pulumi:"throughputCapacity"` + // The ID of the primary virtual private cloud (VPC) for the file system. + VpcId string `pulumi:"vpcId"` + // The preferred start time (in `D:HH:MM` format) to perform weekly maintenance, in the UTC time zone. + WeeklyMaintenanceStartTime string `pulumi:"weeklyMaintenanceStartTime"` +} + +func LookupOntapFileSystemOutput(ctx *pulumi.Context, args LookupOntapFileSystemOutputArgs, opts ...pulumi.InvokeOption) LookupOntapFileSystemResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (LookupOntapFileSystemResult, error) { + args := v.(LookupOntapFileSystemArgs) + r, err := LookupOntapFileSystem(ctx, &args, opts...) + var s LookupOntapFileSystemResult + if r != nil { + s = *r + } + return s, err + }).(LookupOntapFileSystemResultOutput) +} + +// A collection of arguments for invoking getOntapFileSystem. +type LookupOntapFileSystemOutputArgs struct { + // Identifier of the file system (e.g. `fs-12345678`). + Id pulumi.StringInput `pulumi:"id"` + // The tags associated with the file system. + Tags pulumi.StringMapInput `pulumi:"tags"` +} + +func (LookupOntapFileSystemOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupOntapFileSystemArgs)(nil)).Elem() +} + +// A collection of values returned by getOntapFileSystem. +type LookupOntapFileSystemResultOutput struct{ *pulumi.OutputState } + +func (LookupOntapFileSystemResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupOntapFileSystemResult)(nil)).Elem() +} + +func (o LookupOntapFileSystemResultOutput) ToLookupOntapFileSystemResultOutput() LookupOntapFileSystemResultOutput { + return o +} + +func (o LookupOntapFileSystemResultOutput) ToLookupOntapFileSystemResultOutputWithContext(ctx context.Context) LookupOntapFileSystemResultOutput { + return o +} + +func (o LookupOntapFileSystemResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupOntapFileSystemResult] { + return pulumix.Output[LookupOntapFileSystemResult]{ + OutputState: o.OutputState, + } +} + +// Amazon Resource Name of the file system. +func (o LookupOntapFileSystemResultOutput) Arn() pulumi.StringOutput { + return o.ApplyT(func(v LookupOntapFileSystemResult) string { return v.Arn }).(pulumi.StringOutput) +} + +// The number of days to retain automatic backups. +func (o LookupOntapFileSystemResultOutput) AutomaticBackupRetentionDays() pulumi.IntOutput { + return o.ApplyT(func(v LookupOntapFileSystemResult) int { return v.AutomaticBackupRetentionDays }).(pulumi.IntOutput) +} + +// The preferred time (in `HH:MM` format) to take daily automatic backups, in the UTC time zone. +func (o LookupOntapFileSystemResultOutput) DailyAutomaticBackupStartTime() pulumi.StringOutput { + return o.ApplyT(func(v LookupOntapFileSystemResult) string { return v.DailyAutomaticBackupStartTime }).(pulumi.StringOutput) +} + +// The file system deployment type. +func (o LookupOntapFileSystemResultOutput) DeploymentType() pulumi.StringOutput { + return o.ApplyT(func(v LookupOntapFileSystemResult) string { return v.DeploymentType }).(pulumi.StringOutput) +} + +// The SSD IOPS configuration for the Amazon FSx for NetApp ONTAP file system, specifying the number of provisioned IOPS and the provision mode. See Disk IOPS Below. +func (o LookupOntapFileSystemResultOutput) DiskIopsConfigurations() GetOntapFileSystemDiskIopsConfigurationArrayOutput { + return o.ApplyT(func(v LookupOntapFileSystemResult) []GetOntapFileSystemDiskIopsConfiguration { + return v.DiskIopsConfigurations + }).(GetOntapFileSystemDiskIopsConfigurationArrayOutput) +} + +// DNS name for the file system (e.g. `fs-12345678.corp.example.com`). +func (o LookupOntapFileSystemResultOutput) DnsName() pulumi.StringOutput { + return o.ApplyT(func(v LookupOntapFileSystemResult) string { return v.DnsName }).(pulumi.StringOutput) +} + +// (Multi-AZ only) Specifies the IP address range in which the endpoints to access your file system exist. +func (o LookupOntapFileSystemResultOutput) EndpointIpAddressRange() pulumi.StringOutput { + return o.ApplyT(func(v LookupOntapFileSystemResult) string { return v.EndpointIpAddressRange }).(pulumi.StringOutput) +} + +// The Management and Intercluster FileSystemEndpoints that are used to access data or to manage the file system using the NetApp ONTAP CLI, REST API, or NetApp SnapMirror. See FileSystemEndpoints below. +func (o LookupOntapFileSystemResultOutput) Endpoints() GetOntapFileSystemEndpointArrayOutput { + return o.ApplyT(func(v LookupOntapFileSystemResult) []GetOntapFileSystemEndpoint { return v.Endpoints }).(GetOntapFileSystemEndpointArrayOutput) +} + +// Identifier of the file system (e.g. `fs-12345678`). +func (o LookupOntapFileSystemResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupOntapFileSystemResult) string { return v.Id }).(pulumi.StringOutput) +} + +// ARN for the KMS Key to encrypt the file system at rest. +func (o LookupOntapFileSystemResultOutput) KmsKeyId() pulumi.StringOutput { + return o.ApplyT(func(v LookupOntapFileSystemResult) string { return v.KmsKeyId }).(pulumi.StringOutput) +} + +// The IDs of the elastic network interfaces from which a specific file system is accessible. +func (o LookupOntapFileSystemResultOutput) NetworkInterfaceIds() pulumi.StringArrayOutput { + return o.ApplyT(func(v LookupOntapFileSystemResult) []string { return v.NetworkInterfaceIds }).(pulumi.StringArrayOutput) +} + +// AWS account identifier that created the file system. +func (o LookupOntapFileSystemResultOutput) OwnerId() pulumi.StringOutput { + return o.ApplyT(func(v LookupOntapFileSystemResult) string { return v.OwnerId }).(pulumi.StringOutput) +} + +// Specifies the subnet in which you want the preferred file server to be located. +func (o LookupOntapFileSystemResultOutput) PreferredSubnetId() pulumi.StringOutput { + return o.ApplyT(func(v LookupOntapFileSystemResult) string { return v.PreferredSubnetId }).(pulumi.StringOutput) +} + +// (Multi-AZ only) The VPC route tables in which your file system's endpoints exist. +func (o LookupOntapFileSystemResultOutput) RouteTableIds() pulumi.StringArrayOutput { + return o.ApplyT(func(v LookupOntapFileSystemResult) []string { return v.RouteTableIds }).(pulumi.StringArrayOutput) +} + +// The storage capacity of the file system in gibibytes (GiB). +func (o LookupOntapFileSystemResultOutput) StorageCapacity() pulumi.IntOutput { + return o.ApplyT(func(v LookupOntapFileSystemResult) int { return v.StorageCapacity }).(pulumi.IntOutput) +} + +// The type of storage the file system is using. If set to `SSD`, the file system uses solid state drive storage. If set to `HDD`, the file system uses hard disk drive storage. +func (o LookupOntapFileSystemResultOutput) StorageType() pulumi.StringOutput { + return o.ApplyT(func(v LookupOntapFileSystemResult) string { return v.StorageType }).(pulumi.StringOutput) +} + +// Specifies the IDs of the subnets that the file system is accessible from. For the MULTI_AZ_1 file system deployment type, there are two subnet IDs, one for the preferred file server and one for the standby file server. The preferred file server subnet identified in the `preferredSubnetId` property. +func (o LookupOntapFileSystemResultOutput) SubnetIds() pulumi.StringArrayOutput { + return o.ApplyT(func(v LookupOntapFileSystemResult) []string { return v.SubnetIds }).(pulumi.StringArrayOutput) +} + +// The tags associated with the file system. +func (o LookupOntapFileSystemResultOutput) Tags() pulumi.StringMapOutput { + return o.ApplyT(func(v LookupOntapFileSystemResult) map[string]string { return v.Tags }).(pulumi.StringMapOutput) +} + +// The sustained throughput of an Amazon FSx file system in Megabytes per second (MBps). +func (o LookupOntapFileSystemResultOutput) ThroughputCapacity() pulumi.IntOutput { + return o.ApplyT(func(v LookupOntapFileSystemResult) int { return v.ThroughputCapacity }).(pulumi.IntOutput) +} + +// The ID of the primary virtual private cloud (VPC) for the file system. +func (o LookupOntapFileSystemResultOutput) VpcId() pulumi.StringOutput { + return o.ApplyT(func(v LookupOntapFileSystemResult) string { return v.VpcId }).(pulumi.StringOutput) +} + +// The preferred start time (in `D:HH:MM` format) to perform weekly maintenance, in the UTC time zone. +func (o LookupOntapFileSystemResultOutput) WeeklyMaintenanceStartTime() pulumi.StringOutput { + return o.ApplyT(func(v LookupOntapFileSystemResult) string { return v.WeeklyMaintenanceStartTime }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupOntapFileSystemResultOutput{}) +} diff --git a/sdk/go/aws/fsx/getOntapStorageVirtualMachine.go b/sdk/go/aws/fsx/getOntapStorageVirtualMachine.go new file mode 100644 index 00000000000..490f1d0dad4 --- /dev/null +++ b/sdk/go/aws/fsx/getOntapStorageVirtualMachine.go @@ -0,0 +1,240 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package fsx + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-aws/sdk/v6/go/aws/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" +) + +// Retrieve information on FSx ONTAP Storage Virtual Machine (SVM). +// +// ## Example Usage +// ### Basic Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-aws/sdk/v6/go/aws/fsx" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := fsx.LookupOntapStorageVirtualMachine(ctx, &fsx.LookupOntapStorageVirtualMachineArgs{ +// Id: pulumi.StringRef("svm-12345678"), +// }, nil) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +// ### Filter Example +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-aws/sdk/v6/go/aws/fsx" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := fsx.LookupOntapStorageVirtualMachine(ctx, &fsx.LookupOntapStorageVirtualMachineArgs{ +// Filters: []fsx.GetOntapStorageVirtualMachineFilter{ +// { +// Name: "file-system-id", +// Values: []string{ +// "fs-12345678", +// }, +// }, +// }, +// }, nil) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +func LookupOntapStorageVirtualMachine(ctx *pulumi.Context, args *LookupOntapStorageVirtualMachineArgs, opts ...pulumi.InvokeOption) (*LookupOntapStorageVirtualMachineResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupOntapStorageVirtualMachineResult + err := ctx.Invoke("aws:fsx/getOntapStorageVirtualMachine:getOntapStorageVirtualMachine", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getOntapStorageVirtualMachine. +type LookupOntapStorageVirtualMachineArgs struct { + // Configuration block. Detailed below. + Filters []GetOntapStorageVirtualMachineFilter `pulumi:"filters"` + // Identifier of the storage virtual machine (e.g. `svm-12345678`). + Id *string `pulumi:"id"` + Tags map[string]string `pulumi:"tags"` +} + +// A collection of values returned by getOntapStorageVirtualMachine. +type LookupOntapStorageVirtualMachineResult struct { + // The Microsoft Active Directory configuration to which the SVM is joined, if applicable. See Active Directory Configuration below. + ActiveDirectoryConfigurations []GetOntapStorageVirtualMachineActiveDirectoryConfiguration `pulumi:"activeDirectoryConfigurations"` + // Amazon Resource Name of the SVM. + Arn string `pulumi:"arn"` + // The time that the SVM was created. + CreationTime string `pulumi:"creationTime"` + // The endpoints that are used to access data or to manage the SVM using the NetApp ONTAP CLI, REST API, or NetApp CloudManager. They are the Iscsi, Management, Nfs, and Smb endpoints. See SVM Endpoints below. + Endpoints []GetOntapStorageVirtualMachineEndpoint `pulumi:"endpoints"` + // Identifier of the file system (e.g. `fs-12345678`). + FileSystemId string `pulumi:"fileSystemId"` + Filters []GetOntapStorageVirtualMachineFilter `pulumi:"filters"` + // The SVM's system generated unique ID. + Id string `pulumi:"id"` + // The SVM's lifecycle status. + LifecycleStatus string `pulumi:"lifecycleStatus"` + // Describes why the SVM lifecycle state changed. See Lifecycle Transition Reason below. + LifecycleTransitionReasons []GetOntapStorageVirtualMachineLifecycleTransitionReason `pulumi:"lifecycleTransitionReasons"` + // The name of the SVM, if provisioned. + Name string `pulumi:"name"` + // The SVM's subtype. + Subtype string `pulumi:"subtype"` + Tags map[string]string `pulumi:"tags"` + // The SVM's UUID. + Uuid string `pulumi:"uuid"` +} + +func LookupOntapStorageVirtualMachineOutput(ctx *pulumi.Context, args LookupOntapStorageVirtualMachineOutputArgs, opts ...pulumi.InvokeOption) LookupOntapStorageVirtualMachineResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (LookupOntapStorageVirtualMachineResult, error) { + args := v.(LookupOntapStorageVirtualMachineArgs) + r, err := LookupOntapStorageVirtualMachine(ctx, &args, opts...) + var s LookupOntapStorageVirtualMachineResult + if r != nil { + s = *r + } + return s, err + }).(LookupOntapStorageVirtualMachineResultOutput) +} + +// A collection of arguments for invoking getOntapStorageVirtualMachine. +type LookupOntapStorageVirtualMachineOutputArgs struct { + // Configuration block. Detailed below. + Filters GetOntapStorageVirtualMachineFilterArrayInput `pulumi:"filters"` + // Identifier of the storage virtual machine (e.g. `svm-12345678`). + Id pulumi.StringPtrInput `pulumi:"id"` + Tags pulumi.StringMapInput `pulumi:"tags"` +} + +func (LookupOntapStorageVirtualMachineOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupOntapStorageVirtualMachineArgs)(nil)).Elem() +} + +// A collection of values returned by getOntapStorageVirtualMachine. +type LookupOntapStorageVirtualMachineResultOutput struct{ *pulumi.OutputState } + +func (LookupOntapStorageVirtualMachineResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupOntapStorageVirtualMachineResult)(nil)).Elem() +} + +func (o LookupOntapStorageVirtualMachineResultOutput) ToLookupOntapStorageVirtualMachineResultOutput() LookupOntapStorageVirtualMachineResultOutput { + return o +} + +func (o LookupOntapStorageVirtualMachineResultOutput) ToLookupOntapStorageVirtualMachineResultOutputWithContext(ctx context.Context) LookupOntapStorageVirtualMachineResultOutput { + return o +} + +func (o LookupOntapStorageVirtualMachineResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupOntapStorageVirtualMachineResult] { + return pulumix.Output[LookupOntapStorageVirtualMachineResult]{ + OutputState: o.OutputState, + } +} + +// The Microsoft Active Directory configuration to which the SVM is joined, if applicable. See Active Directory Configuration below. +func (o LookupOntapStorageVirtualMachineResultOutput) ActiveDirectoryConfigurations() GetOntapStorageVirtualMachineActiveDirectoryConfigurationArrayOutput { + return o.ApplyT(func(v LookupOntapStorageVirtualMachineResult) []GetOntapStorageVirtualMachineActiveDirectoryConfiguration { + return v.ActiveDirectoryConfigurations + }).(GetOntapStorageVirtualMachineActiveDirectoryConfigurationArrayOutput) +} + +// Amazon Resource Name of the SVM. +func (o LookupOntapStorageVirtualMachineResultOutput) Arn() pulumi.StringOutput { + return o.ApplyT(func(v LookupOntapStorageVirtualMachineResult) string { return v.Arn }).(pulumi.StringOutput) +} + +// The time that the SVM was created. +func (o LookupOntapStorageVirtualMachineResultOutput) CreationTime() pulumi.StringOutput { + return o.ApplyT(func(v LookupOntapStorageVirtualMachineResult) string { return v.CreationTime }).(pulumi.StringOutput) +} + +// The endpoints that are used to access data or to manage the SVM using the NetApp ONTAP CLI, REST API, or NetApp CloudManager. They are the Iscsi, Management, Nfs, and Smb endpoints. See SVM Endpoints below. +func (o LookupOntapStorageVirtualMachineResultOutput) Endpoints() GetOntapStorageVirtualMachineEndpointArrayOutput { + return o.ApplyT(func(v LookupOntapStorageVirtualMachineResult) []GetOntapStorageVirtualMachineEndpoint { + return v.Endpoints + }).(GetOntapStorageVirtualMachineEndpointArrayOutput) +} + +// Identifier of the file system (e.g. `fs-12345678`). +func (o LookupOntapStorageVirtualMachineResultOutput) FileSystemId() pulumi.StringOutput { + return o.ApplyT(func(v LookupOntapStorageVirtualMachineResult) string { return v.FileSystemId }).(pulumi.StringOutput) +} + +func (o LookupOntapStorageVirtualMachineResultOutput) Filters() GetOntapStorageVirtualMachineFilterArrayOutput { + return o.ApplyT(func(v LookupOntapStorageVirtualMachineResult) []GetOntapStorageVirtualMachineFilter { return v.Filters }).(GetOntapStorageVirtualMachineFilterArrayOutput) +} + +// The SVM's system generated unique ID. +func (o LookupOntapStorageVirtualMachineResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupOntapStorageVirtualMachineResult) string { return v.Id }).(pulumi.StringOutput) +} + +// The SVM's lifecycle status. +func (o LookupOntapStorageVirtualMachineResultOutput) LifecycleStatus() pulumi.StringOutput { + return o.ApplyT(func(v LookupOntapStorageVirtualMachineResult) string { return v.LifecycleStatus }).(pulumi.StringOutput) +} + +// Describes why the SVM lifecycle state changed. See Lifecycle Transition Reason below. +func (o LookupOntapStorageVirtualMachineResultOutput) LifecycleTransitionReasons() GetOntapStorageVirtualMachineLifecycleTransitionReasonArrayOutput { + return o.ApplyT(func(v LookupOntapStorageVirtualMachineResult) []GetOntapStorageVirtualMachineLifecycleTransitionReason { + return v.LifecycleTransitionReasons + }).(GetOntapStorageVirtualMachineLifecycleTransitionReasonArrayOutput) +} + +// The name of the SVM, if provisioned. +func (o LookupOntapStorageVirtualMachineResultOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v LookupOntapStorageVirtualMachineResult) string { return v.Name }).(pulumi.StringOutput) +} + +// The SVM's subtype. +func (o LookupOntapStorageVirtualMachineResultOutput) Subtype() pulumi.StringOutput { + return o.ApplyT(func(v LookupOntapStorageVirtualMachineResult) string { return v.Subtype }).(pulumi.StringOutput) +} + +func (o LookupOntapStorageVirtualMachineResultOutput) Tags() pulumi.StringMapOutput { + return o.ApplyT(func(v LookupOntapStorageVirtualMachineResult) map[string]string { return v.Tags }).(pulumi.StringMapOutput) +} + +// The SVM's UUID. +func (o LookupOntapStorageVirtualMachineResultOutput) Uuid() pulumi.StringOutput { + return o.ApplyT(func(v LookupOntapStorageVirtualMachineResult) string { return v.Uuid }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupOntapStorageVirtualMachineResultOutput{}) +} diff --git a/sdk/go/aws/fsx/getOntapStorageVirtualMachines.go b/sdk/go/aws/fsx/getOntapStorageVirtualMachines.go new file mode 100644 index 00000000000..dd8565dee2c --- /dev/null +++ b/sdk/go/aws/fsx/getOntapStorageVirtualMachines.go @@ -0,0 +1,136 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package fsx + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-aws/sdk/v6/go/aws/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" +) + +// This resource can be useful for getting back a set of FSx ONTAP Storage Virtual Machine (SVM) IDs. +// +// ## Example Usage +// +// The following shows outputting all SVM IDs for a given FSx ONTAP File System. +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-aws/sdk/v6/go/aws/fsx" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := fsx.GetOntapStorageVirtualMachines(ctx, &fsx.GetOntapStorageVirtualMachinesArgs{ +// Filters: []fsx.GetOntapStorageVirtualMachinesFilter{ +// { +// Name: "file-system-id", +// Values: []string{ +// "fs-12345678", +// }, +// }, +// }, +// }, nil) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +func GetOntapStorageVirtualMachines(ctx *pulumi.Context, args *GetOntapStorageVirtualMachinesArgs, opts ...pulumi.InvokeOption) (*GetOntapStorageVirtualMachinesResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetOntapStorageVirtualMachinesResult + err := ctx.Invoke("aws:fsx/getOntapStorageVirtualMachines:getOntapStorageVirtualMachines", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getOntapStorageVirtualMachines. +type GetOntapStorageVirtualMachinesArgs struct { + // Configuration block. Detailed below. + Filters []GetOntapStorageVirtualMachinesFilter `pulumi:"filters"` +} + +// A collection of values returned by getOntapStorageVirtualMachines. +type GetOntapStorageVirtualMachinesResult struct { + Filters []GetOntapStorageVirtualMachinesFilter `pulumi:"filters"` + // The provider-assigned unique ID for this managed resource. + Id string `pulumi:"id"` + // List of all SVM IDs found. + Ids []string `pulumi:"ids"` +} + +func GetOntapStorageVirtualMachinesOutput(ctx *pulumi.Context, args GetOntapStorageVirtualMachinesOutputArgs, opts ...pulumi.InvokeOption) GetOntapStorageVirtualMachinesResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (GetOntapStorageVirtualMachinesResult, error) { + args := v.(GetOntapStorageVirtualMachinesArgs) + r, err := GetOntapStorageVirtualMachines(ctx, &args, opts...) + var s GetOntapStorageVirtualMachinesResult + if r != nil { + s = *r + } + return s, err + }).(GetOntapStorageVirtualMachinesResultOutput) +} + +// A collection of arguments for invoking getOntapStorageVirtualMachines. +type GetOntapStorageVirtualMachinesOutputArgs struct { + // Configuration block. Detailed below. + Filters GetOntapStorageVirtualMachinesFilterArrayInput `pulumi:"filters"` +} + +func (GetOntapStorageVirtualMachinesOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetOntapStorageVirtualMachinesArgs)(nil)).Elem() +} + +// A collection of values returned by getOntapStorageVirtualMachines. +type GetOntapStorageVirtualMachinesResultOutput struct{ *pulumi.OutputState } + +func (GetOntapStorageVirtualMachinesResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetOntapStorageVirtualMachinesResult)(nil)).Elem() +} + +func (o GetOntapStorageVirtualMachinesResultOutput) ToGetOntapStorageVirtualMachinesResultOutput() GetOntapStorageVirtualMachinesResultOutput { + return o +} + +func (o GetOntapStorageVirtualMachinesResultOutput) ToGetOntapStorageVirtualMachinesResultOutputWithContext(ctx context.Context) GetOntapStorageVirtualMachinesResultOutput { + return o +} + +func (o GetOntapStorageVirtualMachinesResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetOntapStorageVirtualMachinesResult] { + return pulumix.Output[GetOntapStorageVirtualMachinesResult]{ + OutputState: o.OutputState, + } +} + +func (o GetOntapStorageVirtualMachinesResultOutput) Filters() GetOntapStorageVirtualMachinesFilterArrayOutput { + return o.ApplyT(func(v GetOntapStorageVirtualMachinesResult) []GetOntapStorageVirtualMachinesFilter { return v.Filters }).(GetOntapStorageVirtualMachinesFilterArrayOutput) +} + +// The provider-assigned unique ID for this managed resource. +func (o GetOntapStorageVirtualMachinesResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetOntapStorageVirtualMachinesResult) string { return v.Id }).(pulumi.StringOutput) +} + +// List of all SVM IDs found. +func (o GetOntapStorageVirtualMachinesResultOutput) Ids() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetOntapStorageVirtualMachinesResult) []string { return v.Ids }).(pulumi.StringArrayOutput) +} + +func init() { + pulumi.RegisterOutputType(GetOntapStorageVirtualMachinesResultOutput{}) +} diff --git a/sdk/go/aws/fsx/pulumiTypes.go b/sdk/go/aws/fsx/pulumiTypes.go index 3c760de1e45..a06f2f8fd70 100644 --- a/sdk/go/aws/fsx/pulumiTypes.go +++ b/sdk/go/aws/fsx/pulumiTypes.go @@ -5595,6 +5595,1844 @@ func (o WindowsFileSystemSelfManagedActiveDirectoryPtrOutput) Username() pulumi. }).(pulumi.StringPtrOutput) } +type GetOntapFileSystemDiskIopsConfiguration struct { + // The total number of SSD IOPS provisioned for the file system. + Iops int `pulumi:"iops"` + // Specifies whether the file system is using the `AUTOMATIC` setting of SSD IOPS of 3 IOPS per GB of storage capacity, or if it using a `USER_PROVISIONED` value. + Mode string `pulumi:"mode"` +} + +// GetOntapFileSystemDiskIopsConfigurationInput is an input type that accepts GetOntapFileSystemDiskIopsConfigurationArgs and GetOntapFileSystemDiskIopsConfigurationOutput values. +// You can construct a concrete instance of `GetOntapFileSystemDiskIopsConfigurationInput` via: +// +// GetOntapFileSystemDiskIopsConfigurationArgs{...} +type GetOntapFileSystemDiskIopsConfigurationInput interface { + pulumi.Input + + ToGetOntapFileSystemDiskIopsConfigurationOutput() GetOntapFileSystemDiskIopsConfigurationOutput + ToGetOntapFileSystemDiskIopsConfigurationOutputWithContext(context.Context) GetOntapFileSystemDiskIopsConfigurationOutput +} + +type GetOntapFileSystemDiskIopsConfigurationArgs struct { + // The total number of SSD IOPS provisioned for the file system. + Iops pulumi.IntInput `pulumi:"iops"` + // Specifies whether the file system is using the `AUTOMATIC` setting of SSD IOPS of 3 IOPS per GB of storage capacity, or if it using a `USER_PROVISIONED` value. + Mode pulumi.StringInput `pulumi:"mode"` +} + +func (GetOntapFileSystemDiskIopsConfigurationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetOntapFileSystemDiskIopsConfiguration)(nil)).Elem() +} + +func (i GetOntapFileSystemDiskIopsConfigurationArgs) ToGetOntapFileSystemDiskIopsConfigurationOutput() GetOntapFileSystemDiskIopsConfigurationOutput { + return i.ToGetOntapFileSystemDiskIopsConfigurationOutputWithContext(context.Background()) +} + +func (i GetOntapFileSystemDiskIopsConfigurationArgs) ToGetOntapFileSystemDiskIopsConfigurationOutputWithContext(ctx context.Context) GetOntapFileSystemDiskIopsConfigurationOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetOntapFileSystemDiskIopsConfigurationOutput) +} + +func (i GetOntapFileSystemDiskIopsConfigurationArgs) ToOutput(ctx context.Context) pulumix.Output[GetOntapFileSystemDiskIopsConfiguration] { + return pulumix.Output[GetOntapFileSystemDiskIopsConfiguration]{ + OutputState: i.ToGetOntapFileSystemDiskIopsConfigurationOutputWithContext(ctx).OutputState, + } +} + +// GetOntapFileSystemDiskIopsConfigurationArrayInput is an input type that accepts GetOntapFileSystemDiskIopsConfigurationArray and GetOntapFileSystemDiskIopsConfigurationArrayOutput values. +// You can construct a concrete instance of `GetOntapFileSystemDiskIopsConfigurationArrayInput` via: +// +// GetOntapFileSystemDiskIopsConfigurationArray{ GetOntapFileSystemDiskIopsConfigurationArgs{...} } +type GetOntapFileSystemDiskIopsConfigurationArrayInput interface { + pulumi.Input + + ToGetOntapFileSystemDiskIopsConfigurationArrayOutput() GetOntapFileSystemDiskIopsConfigurationArrayOutput + ToGetOntapFileSystemDiskIopsConfigurationArrayOutputWithContext(context.Context) GetOntapFileSystemDiskIopsConfigurationArrayOutput +} + +type GetOntapFileSystemDiskIopsConfigurationArray []GetOntapFileSystemDiskIopsConfigurationInput + +func (GetOntapFileSystemDiskIopsConfigurationArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetOntapFileSystemDiskIopsConfiguration)(nil)).Elem() +} + +func (i GetOntapFileSystemDiskIopsConfigurationArray) ToGetOntapFileSystemDiskIopsConfigurationArrayOutput() GetOntapFileSystemDiskIopsConfigurationArrayOutput { + return i.ToGetOntapFileSystemDiskIopsConfigurationArrayOutputWithContext(context.Background()) +} + +func (i GetOntapFileSystemDiskIopsConfigurationArray) ToGetOntapFileSystemDiskIopsConfigurationArrayOutputWithContext(ctx context.Context) GetOntapFileSystemDiskIopsConfigurationArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetOntapFileSystemDiskIopsConfigurationArrayOutput) +} + +func (i GetOntapFileSystemDiskIopsConfigurationArray) ToOutput(ctx context.Context) pulumix.Output[[]GetOntapFileSystemDiskIopsConfiguration] { + return pulumix.Output[[]GetOntapFileSystemDiskIopsConfiguration]{ + OutputState: i.ToGetOntapFileSystemDiskIopsConfigurationArrayOutputWithContext(ctx).OutputState, + } +} + +type GetOntapFileSystemDiskIopsConfigurationOutput struct{ *pulumi.OutputState } + +func (GetOntapFileSystemDiskIopsConfigurationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetOntapFileSystemDiskIopsConfiguration)(nil)).Elem() +} + +func (o GetOntapFileSystemDiskIopsConfigurationOutput) ToGetOntapFileSystemDiskIopsConfigurationOutput() GetOntapFileSystemDiskIopsConfigurationOutput { + return o +} + +func (o GetOntapFileSystemDiskIopsConfigurationOutput) ToGetOntapFileSystemDiskIopsConfigurationOutputWithContext(ctx context.Context) GetOntapFileSystemDiskIopsConfigurationOutput { + return o +} + +func (o GetOntapFileSystemDiskIopsConfigurationOutput) ToOutput(ctx context.Context) pulumix.Output[GetOntapFileSystemDiskIopsConfiguration] { + return pulumix.Output[GetOntapFileSystemDiskIopsConfiguration]{ + OutputState: o.OutputState, + } +} + +// The total number of SSD IOPS provisioned for the file system. +func (o GetOntapFileSystemDiskIopsConfigurationOutput) Iops() pulumi.IntOutput { + return o.ApplyT(func(v GetOntapFileSystemDiskIopsConfiguration) int { return v.Iops }).(pulumi.IntOutput) +} + +// Specifies whether the file system is using the `AUTOMATIC` setting of SSD IOPS of 3 IOPS per GB of storage capacity, or if it using a `USER_PROVISIONED` value. +func (o GetOntapFileSystemDiskIopsConfigurationOutput) Mode() pulumi.StringOutput { + return o.ApplyT(func(v GetOntapFileSystemDiskIopsConfiguration) string { return v.Mode }).(pulumi.StringOutput) +} + +type GetOntapFileSystemDiskIopsConfigurationArrayOutput struct{ *pulumi.OutputState } + +func (GetOntapFileSystemDiskIopsConfigurationArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetOntapFileSystemDiskIopsConfiguration)(nil)).Elem() +} + +func (o GetOntapFileSystemDiskIopsConfigurationArrayOutput) ToGetOntapFileSystemDiskIopsConfigurationArrayOutput() GetOntapFileSystemDiskIopsConfigurationArrayOutput { + return o +} + +func (o GetOntapFileSystemDiskIopsConfigurationArrayOutput) ToGetOntapFileSystemDiskIopsConfigurationArrayOutputWithContext(ctx context.Context) GetOntapFileSystemDiskIopsConfigurationArrayOutput { + return o +} + +func (o GetOntapFileSystemDiskIopsConfigurationArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetOntapFileSystemDiskIopsConfiguration] { + return pulumix.Output[[]GetOntapFileSystemDiskIopsConfiguration]{ + OutputState: o.OutputState, + } +} + +func (o GetOntapFileSystemDiskIopsConfigurationArrayOutput) Index(i pulumi.IntInput) GetOntapFileSystemDiskIopsConfigurationOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetOntapFileSystemDiskIopsConfiguration { + return vs[0].([]GetOntapFileSystemDiskIopsConfiguration)[vs[1].(int)] + }).(GetOntapFileSystemDiskIopsConfigurationOutput) +} + +type GetOntapFileSystemEndpoint struct { + // A FileSystemEndpoint for managing your file system by setting up NetApp SnapMirror with other ONTAP systems. See FileSystemEndpoint below. + Interclusters []GetOntapFileSystemEndpointIntercluster `pulumi:"interclusters"` + // A FileSystemEndpoint for managing your file system using the NetApp ONTAP CLI and NetApp ONTAP API. See FileSystemEndpoint below. + Managements []GetOntapFileSystemEndpointManagement `pulumi:"managements"` +} + +// GetOntapFileSystemEndpointInput is an input type that accepts GetOntapFileSystemEndpointArgs and GetOntapFileSystemEndpointOutput values. +// You can construct a concrete instance of `GetOntapFileSystemEndpointInput` via: +// +// GetOntapFileSystemEndpointArgs{...} +type GetOntapFileSystemEndpointInput interface { + pulumi.Input + + ToGetOntapFileSystemEndpointOutput() GetOntapFileSystemEndpointOutput + ToGetOntapFileSystemEndpointOutputWithContext(context.Context) GetOntapFileSystemEndpointOutput +} + +type GetOntapFileSystemEndpointArgs struct { + // A FileSystemEndpoint for managing your file system by setting up NetApp SnapMirror with other ONTAP systems. See FileSystemEndpoint below. + Interclusters GetOntapFileSystemEndpointInterclusterArrayInput `pulumi:"interclusters"` + // A FileSystemEndpoint for managing your file system using the NetApp ONTAP CLI and NetApp ONTAP API. See FileSystemEndpoint below. + Managements GetOntapFileSystemEndpointManagementArrayInput `pulumi:"managements"` +} + +func (GetOntapFileSystemEndpointArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetOntapFileSystemEndpoint)(nil)).Elem() +} + +func (i GetOntapFileSystemEndpointArgs) ToGetOntapFileSystemEndpointOutput() GetOntapFileSystemEndpointOutput { + return i.ToGetOntapFileSystemEndpointOutputWithContext(context.Background()) +} + +func (i GetOntapFileSystemEndpointArgs) ToGetOntapFileSystemEndpointOutputWithContext(ctx context.Context) GetOntapFileSystemEndpointOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetOntapFileSystemEndpointOutput) +} + +func (i GetOntapFileSystemEndpointArgs) ToOutput(ctx context.Context) pulumix.Output[GetOntapFileSystemEndpoint] { + return pulumix.Output[GetOntapFileSystemEndpoint]{ + OutputState: i.ToGetOntapFileSystemEndpointOutputWithContext(ctx).OutputState, + } +} + +// GetOntapFileSystemEndpointArrayInput is an input type that accepts GetOntapFileSystemEndpointArray and GetOntapFileSystemEndpointArrayOutput values. +// You can construct a concrete instance of `GetOntapFileSystemEndpointArrayInput` via: +// +// GetOntapFileSystemEndpointArray{ GetOntapFileSystemEndpointArgs{...} } +type GetOntapFileSystemEndpointArrayInput interface { + pulumi.Input + + ToGetOntapFileSystemEndpointArrayOutput() GetOntapFileSystemEndpointArrayOutput + ToGetOntapFileSystemEndpointArrayOutputWithContext(context.Context) GetOntapFileSystemEndpointArrayOutput +} + +type GetOntapFileSystemEndpointArray []GetOntapFileSystemEndpointInput + +func (GetOntapFileSystemEndpointArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetOntapFileSystemEndpoint)(nil)).Elem() +} + +func (i GetOntapFileSystemEndpointArray) ToGetOntapFileSystemEndpointArrayOutput() GetOntapFileSystemEndpointArrayOutput { + return i.ToGetOntapFileSystemEndpointArrayOutputWithContext(context.Background()) +} + +func (i GetOntapFileSystemEndpointArray) ToGetOntapFileSystemEndpointArrayOutputWithContext(ctx context.Context) GetOntapFileSystemEndpointArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetOntapFileSystemEndpointArrayOutput) +} + +func (i GetOntapFileSystemEndpointArray) ToOutput(ctx context.Context) pulumix.Output[[]GetOntapFileSystemEndpoint] { + return pulumix.Output[[]GetOntapFileSystemEndpoint]{ + OutputState: i.ToGetOntapFileSystemEndpointArrayOutputWithContext(ctx).OutputState, + } +} + +type GetOntapFileSystemEndpointOutput struct{ *pulumi.OutputState } + +func (GetOntapFileSystemEndpointOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetOntapFileSystemEndpoint)(nil)).Elem() +} + +func (o GetOntapFileSystemEndpointOutput) ToGetOntapFileSystemEndpointOutput() GetOntapFileSystemEndpointOutput { + return o +} + +func (o GetOntapFileSystemEndpointOutput) ToGetOntapFileSystemEndpointOutputWithContext(ctx context.Context) GetOntapFileSystemEndpointOutput { + return o +} + +func (o GetOntapFileSystemEndpointOutput) ToOutput(ctx context.Context) pulumix.Output[GetOntapFileSystemEndpoint] { + return pulumix.Output[GetOntapFileSystemEndpoint]{ + OutputState: o.OutputState, + } +} + +// A FileSystemEndpoint for managing your file system by setting up NetApp SnapMirror with other ONTAP systems. See FileSystemEndpoint below. +func (o GetOntapFileSystemEndpointOutput) Interclusters() GetOntapFileSystemEndpointInterclusterArrayOutput { + return o.ApplyT(func(v GetOntapFileSystemEndpoint) []GetOntapFileSystemEndpointIntercluster { return v.Interclusters }).(GetOntapFileSystemEndpointInterclusterArrayOutput) +} + +// A FileSystemEndpoint for managing your file system using the NetApp ONTAP CLI and NetApp ONTAP API. See FileSystemEndpoint below. +func (o GetOntapFileSystemEndpointOutput) Managements() GetOntapFileSystemEndpointManagementArrayOutput { + return o.ApplyT(func(v GetOntapFileSystemEndpoint) []GetOntapFileSystemEndpointManagement { return v.Managements }).(GetOntapFileSystemEndpointManagementArrayOutput) +} + +type GetOntapFileSystemEndpointArrayOutput struct{ *pulumi.OutputState } + +func (GetOntapFileSystemEndpointArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetOntapFileSystemEndpoint)(nil)).Elem() +} + +func (o GetOntapFileSystemEndpointArrayOutput) ToGetOntapFileSystemEndpointArrayOutput() GetOntapFileSystemEndpointArrayOutput { + return o +} + +func (o GetOntapFileSystemEndpointArrayOutput) ToGetOntapFileSystemEndpointArrayOutputWithContext(ctx context.Context) GetOntapFileSystemEndpointArrayOutput { + return o +} + +func (o GetOntapFileSystemEndpointArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetOntapFileSystemEndpoint] { + return pulumix.Output[[]GetOntapFileSystemEndpoint]{ + OutputState: o.OutputState, + } +} + +func (o GetOntapFileSystemEndpointArrayOutput) Index(i pulumi.IntInput) GetOntapFileSystemEndpointOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetOntapFileSystemEndpoint { + return vs[0].([]GetOntapFileSystemEndpoint)[vs[1].(int)] + }).(GetOntapFileSystemEndpointOutput) +} + +type GetOntapFileSystemEndpointIntercluster struct { + // DNS name for the file system (e.g. `fs-12345678.corp.example.com`). + DnsName string `pulumi:"dnsName"` + IpAddresses []string `pulumi:"ipAddresses"` +} + +// GetOntapFileSystemEndpointInterclusterInput is an input type that accepts GetOntapFileSystemEndpointInterclusterArgs and GetOntapFileSystemEndpointInterclusterOutput values. +// You can construct a concrete instance of `GetOntapFileSystemEndpointInterclusterInput` via: +// +// GetOntapFileSystemEndpointInterclusterArgs{...} +type GetOntapFileSystemEndpointInterclusterInput interface { + pulumi.Input + + ToGetOntapFileSystemEndpointInterclusterOutput() GetOntapFileSystemEndpointInterclusterOutput + ToGetOntapFileSystemEndpointInterclusterOutputWithContext(context.Context) GetOntapFileSystemEndpointInterclusterOutput +} + +type GetOntapFileSystemEndpointInterclusterArgs struct { + // DNS name for the file system (e.g. `fs-12345678.corp.example.com`). + DnsName pulumi.StringInput `pulumi:"dnsName"` + IpAddresses pulumi.StringArrayInput `pulumi:"ipAddresses"` +} + +func (GetOntapFileSystemEndpointInterclusterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetOntapFileSystemEndpointIntercluster)(nil)).Elem() +} + +func (i GetOntapFileSystemEndpointInterclusterArgs) ToGetOntapFileSystemEndpointInterclusterOutput() GetOntapFileSystemEndpointInterclusterOutput { + return i.ToGetOntapFileSystemEndpointInterclusterOutputWithContext(context.Background()) +} + +func (i GetOntapFileSystemEndpointInterclusterArgs) ToGetOntapFileSystemEndpointInterclusterOutputWithContext(ctx context.Context) GetOntapFileSystemEndpointInterclusterOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetOntapFileSystemEndpointInterclusterOutput) +} + +func (i GetOntapFileSystemEndpointInterclusterArgs) ToOutput(ctx context.Context) pulumix.Output[GetOntapFileSystemEndpointIntercluster] { + return pulumix.Output[GetOntapFileSystemEndpointIntercluster]{ + OutputState: i.ToGetOntapFileSystemEndpointInterclusterOutputWithContext(ctx).OutputState, + } +} + +// GetOntapFileSystemEndpointInterclusterArrayInput is an input type that accepts GetOntapFileSystemEndpointInterclusterArray and GetOntapFileSystemEndpointInterclusterArrayOutput values. +// You can construct a concrete instance of `GetOntapFileSystemEndpointInterclusterArrayInput` via: +// +// GetOntapFileSystemEndpointInterclusterArray{ GetOntapFileSystemEndpointInterclusterArgs{...} } +type GetOntapFileSystemEndpointInterclusterArrayInput interface { + pulumi.Input + + ToGetOntapFileSystemEndpointInterclusterArrayOutput() GetOntapFileSystemEndpointInterclusterArrayOutput + ToGetOntapFileSystemEndpointInterclusterArrayOutputWithContext(context.Context) GetOntapFileSystemEndpointInterclusterArrayOutput +} + +type GetOntapFileSystemEndpointInterclusterArray []GetOntapFileSystemEndpointInterclusterInput + +func (GetOntapFileSystemEndpointInterclusterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetOntapFileSystemEndpointIntercluster)(nil)).Elem() +} + +func (i GetOntapFileSystemEndpointInterclusterArray) ToGetOntapFileSystemEndpointInterclusterArrayOutput() GetOntapFileSystemEndpointInterclusterArrayOutput { + return i.ToGetOntapFileSystemEndpointInterclusterArrayOutputWithContext(context.Background()) +} + +func (i GetOntapFileSystemEndpointInterclusterArray) ToGetOntapFileSystemEndpointInterclusterArrayOutputWithContext(ctx context.Context) GetOntapFileSystemEndpointInterclusterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetOntapFileSystemEndpointInterclusterArrayOutput) +} + +func (i GetOntapFileSystemEndpointInterclusterArray) ToOutput(ctx context.Context) pulumix.Output[[]GetOntapFileSystemEndpointIntercluster] { + return pulumix.Output[[]GetOntapFileSystemEndpointIntercluster]{ + OutputState: i.ToGetOntapFileSystemEndpointInterclusterArrayOutputWithContext(ctx).OutputState, + } +} + +type GetOntapFileSystemEndpointInterclusterOutput struct{ *pulumi.OutputState } + +func (GetOntapFileSystemEndpointInterclusterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetOntapFileSystemEndpointIntercluster)(nil)).Elem() +} + +func (o GetOntapFileSystemEndpointInterclusterOutput) ToGetOntapFileSystemEndpointInterclusterOutput() GetOntapFileSystemEndpointInterclusterOutput { + return o +} + +func (o GetOntapFileSystemEndpointInterclusterOutput) ToGetOntapFileSystemEndpointInterclusterOutputWithContext(ctx context.Context) GetOntapFileSystemEndpointInterclusterOutput { + return o +} + +func (o GetOntapFileSystemEndpointInterclusterOutput) ToOutput(ctx context.Context) pulumix.Output[GetOntapFileSystemEndpointIntercluster] { + return pulumix.Output[GetOntapFileSystemEndpointIntercluster]{ + OutputState: o.OutputState, + } +} + +// DNS name for the file system (e.g. `fs-12345678.corp.example.com`). +func (o GetOntapFileSystemEndpointInterclusterOutput) DnsName() pulumi.StringOutput { + return o.ApplyT(func(v GetOntapFileSystemEndpointIntercluster) string { return v.DnsName }).(pulumi.StringOutput) +} + +func (o GetOntapFileSystemEndpointInterclusterOutput) IpAddresses() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetOntapFileSystemEndpointIntercluster) []string { return v.IpAddresses }).(pulumi.StringArrayOutput) +} + +type GetOntapFileSystemEndpointInterclusterArrayOutput struct{ *pulumi.OutputState } + +func (GetOntapFileSystemEndpointInterclusterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetOntapFileSystemEndpointIntercluster)(nil)).Elem() +} + +func (o GetOntapFileSystemEndpointInterclusterArrayOutput) ToGetOntapFileSystemEndpointInterclusterArrayOutput() GetOntapFileSystemEndpointInterclusterArrayOutput { + return o +} + +func (o GetOntapFileSystemEndpointInterclusterArrayOutput) ToGetOntapFileSystemEndpointInterclusterArrayOutputWithContext(ctx context.Context) GetOntapFileSystemEndpointInterclusterArrayOutput { + return o +} + +func (o GetOntapFileSystemEndpointInterclusterArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetOntapFileSystemEndpointIntercluster] { + return pulumix.Output[[]GetOntapFileSystemEndpointIntercluster]{ + OutputState: o.OutputState, + } +} + +func (o GetOntapFileSystemEndpointInterclusterArrayOutput) Index(i pulumi.IntInput) GetOntapFileSystemEndpointInterclusterOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetOntapFileSystemEndpointIntercluster { + return vs[0].([]GetOntapFileSystemEndpointIntercluster)[vs[1].(int)] + }).(GetOntapFileSystemEndpointInterclusterOutput) +} + +type GetOntapFileSystemEndpointManagement struct { + // DNS name for the file system (e.g. `fs-12345678.corp.example.com`). + DnsName string `pulumi:"dnsName"` + IpAddresses []string `pulumi:"ipAddresses"` +} + +// GetOntapFileSystemEndpointManagementInput is an input type that accepts GetOntapFileSystemEndpointManagementArgs and GetOntapFileSystemEndpointManagementOutput values. +// You can construct a concrete instance of `GetOntapFileSystemEndpointManagementInput` via: +// +// GetOntapFileSystemEndpointManagementArgs{...} +type GetOntapFileSystemEndpointManagementInput interface { + pulumi.Input + + ToGetOntapFileSystemEndpointManagementOutput() GetOntapFileSystemEndpointManagementOutput + ToGetOntapFileSystemEndpointManagementOutputWithContext(context.Context) GetOntapFileSystemEndpointManagementOutput +} + +type GetOntapFileSystemEndpointManagementArgs struct { + // DNS name for the file system (e.g. `fs-12345678.corp.example.com`). + DnsName pulumi.StringInput `pulumi:"dnsName"` + IpAddresses pulumi.StringArrayInput `pulumi:"ipAddresses"` +} + +func (GetOntapFileSystemEndpointManagementArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetOntapFileSystemEndpointManagement)(nil)).Elem() +} + +func (i GetOntapFileSystemEndpointManagementArgs) ToGetOntapFileSystemEndpointManagementOutput() GetOntapFileSystemEndpointManagementOutput { + return i.ToGetOntapFileSystemEndpointManagementOutputWithContext(context.Background()) +} + +func (i GetOntapFileSystemEndpointManagementArgs) ToGetOntapFileSystemEndpointManagementOutputWithContext(ctx context.Context) GetOntapFileSystemEndpointManagementOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetOntapFileSystemEndpointManagementOutput) +} + +func (i GetOntapFileSystemEndpointManagementArgs) ToOutput(ctx context.Context) pulumix.Output[GetOntapFileSystemEndpointManagement] { + return pulumix.Output[GetOntapFileSystemEndpointManagement]{ + OutputState: i.ToGetOntapFileSystemEndpointManagementOutputWithContext(ctx).OutputState, + } +} + +// GetOntapFileSystemEndpointManagementArrayInput is an input type that accepts GetOntapFileSystemEndpointManagementArray and GetOntapFileSystemEndpointManagementArrayOutput values. +// You can construct a concrete instance of `GetOntapFileSystemEndpointManagementArrayInput` via: +// +// GetOntapFileSystemEndpointManagementArray{ GetOntapFileSystemEndpointManagementArgs{...} } +type GetOntapFileSystemEndpointManagementArrayInput interface { + pulumi.Input + + ToGetOntapFileSystemEndpointManagementArrayOutput() GetOntapFileSystemEndpointManagementArrayOutput + ToGetOntapFileSystemEndpointManagementArrayOutputWithContext(context.Context) GetOntapFileSystemEndpointManagementArrayOutput +} + +type GetOntapFileSystemEndpointManagementArray []GetOntapFileSystemEndpointManagementInput + +func (GetOntapFileSystemEndpointManagementArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetOntapFileSystemEndpointManagement)(nil)).Elem() +} + +func (i GetOntapFileSystemEndpointManagementArray) ToGetOntapFileSystemEndpointManagementArrayOutput() GetOntapFileSystemEndpointManagementArrayOutput { + return i.ToGetOntapFileSystemEndpointManagementArrayOutputWithContext(context.Background()) +} + +func (i GetOntapFileSystemEndpointManagementArray) ToGetOntapFileSystemEndpointManagementArrayOutputWithContext(ctx context.Context) GetOntapFileSystemEndpointManagementArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetOntapFileSystemEndpointManagementArrayOutput) +} + +func (i GetOntapFileSystemEndpointManagementArray) ToOutput(ctx context.Context) pulumix.Output[[]GetOntapFileSystemEndpointManagement] { + return pulumix.Output[[]GetOntapFileSystemEndpointManagement]{ + OutputState: i.ToGetOntapFileSystemEndpointManagementArrayOutputWithContext(ctx).OutputState, + } +} + +type GetOntapFileSystemEndpointManagementOutput struct{ *pulumi.OutputState } + +func (GetOntapFileSystemEndpointManagementOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetOntapFileSystemEndpointManagement)(nil)).Elem() +} + +func (o GetOntapFileSystemEndpointManagementOutput) ToGetOntapFileSystemEndpointManagementOutput() GetOntapFileSystemEndpointManagementOutput { + return o +} + +func (o GetOntapFileSystemEndpointManagementOutput) ToGetOntapFileSystemEndpointManagementOutputWithContext(ctx context.Context) GetOntapFileSystemEndpointManagementOutput { + return o +} + +func (o GetOntapFileSystemEndpointManagementOutput) ToOutput(ctx context.Context) pulumix.Output[GetOntapFileSystemEndpointManagement] { + return pulumix.Output[GetOntapFileSystemEndpointManagement]{ + OutputState: o.OutputState, + } +} + +// DNS name for the file system (e.g. `fs-12345678.corp.example.com`). +func (o GetOntapFileSystemEndpointManagementOutput) DnsName() pulumi.StringOutput { + return o.ApplyT(func(v GetOntapFileSystemEndpointManagement) string { return v.DnsName }).(pulumi.StringOutput) +} + +func (o GetOntapFileSystemEndpointManagementOutput) IpAddresses() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetOntapFileSystemEndpointManagement) []string { return v.IpAddresses }).(pulumi.StringArrayOutput) +} + +type GetOntapFileSystemEndpointManagementArrayOutput struct{ *pulumi.OutputState } + +func (GetOntapFileSystemEndpointManagementArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetOntapFileSystemEndpointManagement)(nil)).Elem() +} + +func (o GetOntapFileSystemEndpointManagementArrayOutput) ToGetOntapFileSystemEndpointManagementArrayOutput() GetOntapFileSystemEndpointManagementArrayOutput { + return o +} + +func (o GetOntapFileSystemEndpointManagementArrayOutput) ToGetOntapFileSystemEndpointManagementArrayOutputWithContext(ctx context.Context) GetOntapFileSystemEndpointManagementArrayOutput { + return o +} + +func (o GetOntapFileSystemEndpointManagementArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetOntapFileSystemEndpointManagement] { + return pulumix.Output[[]GetOntapFileSystemEndpointManagement]{ + OutputState: o.OutputState, + } +} + +func (o GetOntapFileSystemEndpointManagementArrayOutput) Index(i pulumi.IntInput) GetOntapFileSystemEndpointManagementOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetOntapFileSystemEndpointManagement { + return vs[0].([]GetOntapFileSystemEndpointManagement)[vs[1].(int)] + }).(GetOntapFileSystemEndpointManagementOutput) +} + +type GetOntapStorageVirtualMachineActiveDirectoryConfiguration struct { + // The NetBIOS name of the AD computer object to which the SVM is joined. + NetbiosName string `pulumi:"netbiosName"` + SelfManagedActiveDirectoryConfigurations []GetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfiguration `pulumi:"selfManagedActiveDirectoryConfigurations"` +} + +// GetOntapStorageVirtualMachineActiveDirectoryConfigurationInput is an input type that accepts GetOntapStorageVirtualMachineActiveDirectoryConfigurationArgs and GetOntapStorageVirtualMachineActiveDirectoryConfigurationOutput values. +// You can construct a concrete instance of `GetOntapStorageVirtualMachineActiveDirectoryConfigurationInput` via: +// +// GetOntapStorageVirtualMachineActiveDirectoryConfigurationArgs{...} +type GetOntapStorageVirtualMachineActiveDirectoryConfigurationInput interface { + pulumi.Input + + ToGetOntapStorageVirtualMachineActiveDirectoryConfigurationOutput() GetOntapStorageVirtualMachineActiveDirectoryConfigurationOutput + ToGetOntapStorageVirtualMachineActiveDirectoryConfigurationOutputWithContext(context.Context) GetOntapStorageVirtualMachineActiveDirectoryConfigurationOutput +} + +type GetOntapStorageVirtualMachineActiveDirectoryConfigurationArgs struct { + // The NetBIOS name of the AD computer object to which the SVM is joined. + NetbiosName pulumi.StringInput `pulumi:"netbiosName"` + SelfManagedActiveDirectoryConfigurations GetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfigurationArrayInput `pulumi:"selfManagedActiveDirectoryConfigurations"` +} + +func (GetOntapStorageVirtualMachineActiveDirectoryConfigurationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetOntapStorageVirtualMachineActiveDirectoryConfiguration)(nil)).Elem() +} + +func (i GetOntapStorageVirtualMachineActiveDirectoryConfigurationArgs) ToGetOntapStorageVirtualMachineActiveDirectoryConfigurationOutput() GetOntapStorageVirtualMachineActiveDirectoryConfigurationOutput { + return i.ToGetOntapStorageVirtualMachineActiveDirectoryConfigurationOutputWithContext(context.Background()) +} + +func (i GetOntapStorageVirtualMachineActiveDirectoryConfigurationArgs) ToGetOntapStorageVirtualMachineActiveDirectoryConfigurationOutputWithContext(ctx context.Context) GetOntapStorageVirtualMachineActiveDirectoryConfigurationOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetOntapStorageVirtualMachineActiveDirectoryConfigurationOutput) +} + +func (i GetOntapStorageVirtualMachineActiveDirectoryConfigurationArgs) ToOutput(ctx context.Context) pulumix.Output[GetOntapStorageVirtualMachineActiveDirectoryConfiguration] { + return pulumix.Output[GetOntapStorageVirtualMachineActiveDirectoryConfiguration]{ + OutputState: i.ToGetOntapStorageVirtualMachineActiveDirectoryConfigurationOutputWithContext(ctx).OutputState, + } +} + +// GetOntapStorageVirtualMachineActiveDirectoryConfigurationArrayInput is an input type that accepts GetOntapStorageVirtualMachineActiveDirectoryConfigurationArray and GetOntapStorageVirtualMachineActiveDirectoryConfigurationArrayOutput values. +// You can construct a concrete instance of `GetOntapStorageVirtualMachineActiveDirectoryConfigurationArrayInput` via: +// +// GetOntapStorageVirtualMachineActiveDirectoryConfigurationArray{ GetOntapStorageVirtualMachineActiveDirectoryConfigurationArgs{...} } +type GetOntapStorageVirtualMachineActiveDirectoryConfigurationArrayInput interface { + pulumi.Input + + ToGetOntapStorageVirtualMachineActiveDirectoryConfigurationArrayOutput() GetOntapStorageVirtualMachineActiveDirectoryConfigurationArrayOutput + ToGetOntapStorageVirtualMachineActiveDirectoryConfigurationArrayOutputWithContext(context.Context) GetOntapStorageVirtualMachineActiveDirectoryConfigurationArrayOutput +} + +type GetOntapStorageVirtualMachineActiveDirectoryConfigurationArray []GetOntapStorageVirtualMachineActiveDirectoryConfigurationInput + +func (GetOntapStorageVirtualMachineActiveDirectoryConfigurationArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetOntapStorageVirtualMachineActiveDirectoryConfiguration)(nil)).Elem() +} + +func (i GetOntapStorageVirtualMachineActiveDirectoryConfigurationArray) ToGetOntapStorageVirtualMachineActiveDirectoryConfigurationArrayOutput() GetOntapStorageVirtualMachineActiveDirectoryConfigurationArrayOutput { + return i.ToGetOntapStorageVirtualMachineActiveDirectoryConfigurationArrayOutputWithContext(context.Background()) +} + +func (i GetOntapStorageVirtualMachineActiveDirectoryConfigurationArray) ToGetOntapStorageVirtualMachineActiveDirectoryConfigurationArrayOutputWithContext(ctx context.Context) GetOntapStorageVirtualMachineActiveDirectoryConfigurationArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetOntapStorageVirtualMachineActiveDirectoryConfigurationArrayOutput) +} + +func (i GetOntapStorageVirtualMachineActiveDirectoryConfigurationArray) ToOutput(ctx context.Context) pulumix.Output[[]GetOntapStorageVirtualMachineActiveDirectoryConfiguration] { + return pulumix.Output[[]GetOntapStorageVirtualMachineActiveDirectoryConfiguration]{ + OutputState: i.ToGetOntapStorageVirtualMachineActiveDirectoryConfigurationArrayOutputWithContext(ctx).OutputState, + } +} + +type GetOntapStorageVirtualMachineActiveDirectoryConfigurationOutput struct{ *pulumi.OutputState } + +func (GetOntapStorageVirtualMachineActiveDirectoryConfigurationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetOntapStorageVirtualMachineActiveDirectoryConfiguration)(nil)).Elem() +} + +func (o GetOntapStorageVirtualMachineActiveDirectoryConfigurationOutput) ToGetOntapStorageVirtualMachineActiveDirectoryConfigurationOutput() GetOntapStorageVirtualMachineActiveDirectoryConfigurationOutput { + return o +} + +func (o GetOntapStorageVirtualMachineActiveDirectoryConfigurationOutput) ToGetOntapStorageVirtualMachineActiveDirectoryConfigurationOutputWithContext(ctx context.Context) GetOntapStorageVirtualMachineActiveDirectoryConfigurationOutput { + return o +} + +func (o GetOntapStorageVirtualMachineActiveDirectoryConfigurationOutput) ToOutput(ctx context.Context) pulumix.Output[GetOntapStorageVirtualMachineActiveDirectoryConfiguration] { + return pulumix.Output[GetOntapStorageVirtualMachineActiveDirectoryConfiguration]{ + OutputState: o.OutputState, + } +} + +// The NetBIOS name of the AD computer object to which the SVM is joined. +func (o GetOntapStorageVirtualMachineActiveDirectoryConfigurationOutput) NetbiosName() pulumi.StringOutput { + return o.ApplyT(func(v GetOntapStorageVirtualMachineActiveDirectoryConfiguration) string { return v.NetbiosName }).(pulumi.StringOutput) +} + +func (o GetOntapStorageVirtualMachineActiveDirectoryConfigurationOutput) SelfManagedActiveDirectoryConfigurations() GetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfigurationArrayOutput { + return o.ApplyT(func(v GetOntapStorageVirtualMachineActiveDirectoryConfiguration) []GetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfiguration { + return v.SelfManagedActiveDirectoryConfigurations + }).(GetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfigurationArrayOutput) +} + +type GetOntapStorageVirtualMachineActiveDirectoryConfigurationArrayOutput struct{ *pulumi.OutputState } + +func (GetOntapStorageVirtualMachineActiveDirectoryConfigurationArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetOntapStorageVirtualMachineActiveDirectoryConfiguration)(nil)).Elem() +} + +func (o GetOntapStorageVirtualMachineActiveDirectoryConfigurationArrayOutput) ToGetOntapStorageVirtualMachineActiveDirectoryConfigurationArrayOutput() GetOntapStorageVirtualMachineActiveDirectoryConfigurationArrayOutput { + return o +} + +func (o GetOntapStorageVirtualMachineActiveDirectoryConfigurationArrayOutput) ToGetOntapStorageVirtualMachineActiveDirectoryConfigurationArrayOutputWithContext(ctx context.Context) GetOntapStorageVirtualMachineActiveDirectoryConfigurationArrayOutput { + return o +} + +func (o GetOntapStorageVirtualMachineActiveDirectoryConfigurationArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetOntapStorageVirtualMachineActiveDirectoryConfiguration] { + return pulumix.Output[[]GetOntapStorageVirtualMachineActiveDirectoryConfiguration]{ + OutputState: o.OutputState, + } +} + +func (o GetOntapStorageVirtualMachineActiveDirectoryConfigurationArrayOutput) Index(i pulumi.IntInput) GetOntapStorageVirtualMachineActiveDirectoryConfigurationOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetOntapStorageVirtualMachineActiveDirectoryConfiguration { + return vs[0].([]GetOntapStorageVirtualMachineActiveDirectoryConfiguration)[vs[1].(int)] + }).(GetOntapStorageVirtualMachineActiveDirectoryConfigurationOutput) +} + +type GetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfiguration struct { + // A list of up to three IP addresses of DNS servers or domain controllers in the self-managed AD directory. + DnsIps []string `pulumi:"dnsIps"` + // The fully qualified domain name of the self-managed AD directory. + DomainName string `pulumi:"domainName"` + // The name of the domain group whose members have administrative privileges for the FSx file system. + FileSystemAdministratorsGroup string `pulumi:"fileSystemAdministratorsGroup"` + // The fully qualified distinguished name of the organizational unit within the self-managed AD directory to which the Windows File Server or ONTAP storage virtual machine (SVM) instance is joined. + OrganizationalUnitDistinguishedName string `pulumi:"organizationalUnitDistinguishedName"` + // The user name for the service account on your self-managed AD domain that FSx uses to join to your AD domain. + Username string `pulumi:"username"` +} + +// GetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfigurationInput is an input type that accepts GetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfigurationArgs and GetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfigurationOutput values. +// You can construct a concrete instance of `GetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfigurationInput` via: +// +// GetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfigurationArgs{...} +type GetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfigurationInput interface { + pulumi.Input + + ToGetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfigurationOutput() GetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfigurationOutput + ToGetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfigurationOutputWithContext(context.Context) GetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfigurationOutput +} + +type GetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfigurationArgs struct { + // A list of up to three IP addresses of DNS servers or domain controllers in the self-managed AD directory. + DnsIps pulumi.StringArrayInput `pulumi:"dnsIps"` + // The fully qualified domain name of the self-managed AD directory. + DomainName pulumi.StringInput `pulumi:"domainName"` + // The name of the domain group whose members have administrative privileges for the FSx file system. + FileSystemAdministratorsGroup pulumi.StringInput `pulumi:"fileSystemAdministratorsGroup"` + // The fully qualified distinguished name of the organizational unit within the self-managed AD directory to which the Windows File Server or ONTAP storage virtual machine (SVM) instance is joined. + OrganizationalUnitDistinguishedName pulumi.StringInput `pulumi:"organizationalUnitDistinguishedName"` + // The user name for the service account on your self-managed AD domain that FSx uses to join to your AD domain. + Username pulumi.StringInput `pulumi:"username"` +} + +func (GetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfigurationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfiguration)(nil)).Elem() +} + +func (i GetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfigurationArgs) ToGetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfigurationOutput() GetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfigurationOutput { + return i.ToGetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfigurationOutputWithContext(context.Background()) +} + +func (i GetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfigurationArgs) ToGetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfigurationOutputWithContext(ctx context.Context) GetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfigurationOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfigurationOutput) +} + +func (i GetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfigurationArgs) ToOutput(ctx context.Context) pulumix.Output[GetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfiguration] { + return pulumix.Output[GetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfiguration]{ + OutputState: i.ToGetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfigurationOutputWithContext(ctx).OutputState, + } +} + +// GetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfigurationArrayInput is an input type that accepts GetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfigurationArray and GetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfigurationArrayOutput values. +// You can construct a concrete instance of `GetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfigurationArrayInput` via: +// +// GetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfigurationArray{ GetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfigurationArgs{...} } +type GetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfigurationArrayInput interface { + pulumi.Input + + ToGetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfigurationArrayOutput() GetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfigurationArrayOutput + ToGetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfigurationArrayOutputWithContext(context.Context) GetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfigurationArrayOutput +} + +type GetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfigurationArray []GetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfigurationInput + +func (GetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfigurationArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfiguration)(nil)).Elem() +} + +func (i GetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfigurationArray) ToGetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfigurationArrayOutput() GetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfigurationArrayOutput { + return i.ToGetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfigurationArrayOutputWithContext(context.Background()) +} + +func (i GetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfigurationArray) ToGetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfigurationArrayOutputWithContext(ctx context.Context) GetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfigurationArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfigurationArrayOutput) +} + +func (i GetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfigurationArray) ToOutput(ctx context.Context) pulumix.Output[[]GetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfiguration] { + return pulumix.Output[[]GetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfiguration]{ + OutputState: i.ToGetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfigurationArrayOutputWithContext(ctx).OutputState, + } +} + +type GetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfigurationOutput struct{ *pulumi.OutputState } + +func (GetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfigurationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfiguration)(nil)).Elem() +} + +func (o GetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfigurationOutput) ToGetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfigurationOutput() GetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfigurationOutput { + return o +} + +func (o GetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfigurationOutput) ToGetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfigurationOutputWithContext(ctx context.Context) GetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfigurationOutput { + return o +} + +func (o GetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfigurationOutput) ToOutput(ctx context.Context) pulumix.Output[GetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfiguration] { + return pulumix.Output[GetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfiguration]{ + OutputState: o.OutputState, + } +} + +// A list of up to three IP addresses of DNS servers or domain controllers in the self-managed AD directory. +func (o GetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfigurationOutput) DnsIps() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfiguration) []string { + return v.DnsIps + }).(pulumi.StringArrayOutput) +} + +// The fully qualified domain name of the self-managed AD directory. +func (o GetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfigurationOutput) DomainName() pulumi.StringOutput { + return o.ApplyT(func(v GetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfiguration) string { + return v.DomainName + }).(pulumi.StringOutput) +} + +// The name of the domain group whose members have administrative privileges for the FSx file system. +func (o GetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfigurationOutput) FileSystemAdministratorsGroup() pulumi.StringOutput { + return o.ApplyT(func(v GetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfiguration) string { + return v.FileSystemAdministratorsGroup + }).(pulumi.StringOutput) +} + +// The fully qualified distinguished name of the organizational unit within the self-managed AD directory to which the Windows File Server or ONTAP storage virtual machine (SVM) instance is joined. +func (o GetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfigurationOutput) OrganizationalUnitDistinguishedName() pulumi.StringOutput { + return o.ApplyT(func(v GetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfiguration) string { + return v.OrganizationalUnitDistinguishedName + }).(pulumi.StringOutput) +} + +// The user name for the service account on your self-managed AD domain that FSx uses to join to your AD domain. +func (o GetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfigurationOutput) Username() pulumi.StringOutput { + return o.ApplyT(func(v GetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfiguration) string { + return v.Username + }).(pulumi.StringOutput) +} + +type GetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfigurationArrayOutput struct{ *pulumi.OutputState } + +func (GetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfigurationArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfiguration)(nil)).Elem() +} + +func (o GetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfigurationArrayOutput) ToGetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfigurationArrayOutput() GetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfigurationArrayOutput { + return o +} + +func (o GetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfigurationArrayOutput) ToGetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfigurationArrayOutputWithContext(ctx context.Context) GetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfigurationArrayOutput { + return o +} + +func (o GetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfigurationArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfiguration] { + return pulumix.Output[[]GetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfiguration]{ + OutputState: o.OutputState, + } +} + +func (o GetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfigurationArrayOutput) Index(i pulumi.IntInput) GetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfigurationOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfiguration { + return vs[0].([]GetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfiguration)[vs[1].(int)] + }).(GetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfigurationOutput) +} + +type GetOntapStorageVirtualMachineEndpoint struct { + Iscsis []GetOntapStorageVirtualMachineEndpointIscsi `pulumi:"iscsis"` + // An endpoint for managing SVMs using the NetApp ONTAP CLI, NetApp ONTAP API, or NetApp CloudManager. See SVM Endpoint below. + Managements []GetOntapStorageVirtualMachineEndpointManagement `pulumi:"managements"` + // An endpoint for connecting using the Network File System (NFS) protocol. See SVM Endpoint below. + Nfs []GetOntapStorageVirtualMachineEndpointNf `pulumi:"nfs"` + // An endpoint for connecting using the Server Message Block (SMB) protocol. See SVM Endpoint below. + Smbs []GetOntapStorageVirtualMachineEndpointSmb `pulumi:"smbs"` +} + +// GetOntapStorageVirtualMachineEndpointInput is an input type that accepts GetOntapStorageVirtualMachineEndpointArgs and GetOntapStorageVirtualMachineEndpointOutput values. +// You can construct a concrete instance of `GetOntapStorageVirtualMachineEndpointInput` via: +// +// GetOntapStorageVirtualMachineEndpointArgs{...} +type GetOntapStorageVirtualMachineEndpointInput interface { + pulumi.Input + + ToGetOntapStorageVirtualMachineEndpointOutput() GetOntapStorageVirtualMachineEndpointOutput + ToGetOntapStorageVirtualMachineEndpointOutputWithContext(context.Context) GetOntapStorageVirtualMachineEndpointOutput +} + +type GetOntapStorageVirtualMachineEndpointArgs struct { + Iscsis GetOntapStorageVirtualMachineEndpointIscsiArrayInput `pulumi:"iscsis"` + // An endpoint for managing SVMs using the NetApp ONTAP CLI, NetApp ONTAP API, or NetApp CloudManager. See SVM Endpoint below. + Managements GetOntapStorageVirtualMachineEndpointManagementArrayInput `pulumi:"managements"` + // An endpoint for connecting using the Network File System (NFS) protocol. See SVM Endpoint below. + Nfs GetOntapStorageVirtualMachineEndpointNfArrayInput `pulumi:"nfs"` + // An endpoint for connecting using the Server Message Block (SMB) protocol. See SVM Endpoint below. + Smbs GetOntapStorageVirtualMachineEndpointSmbArrayInput `pulumi:"smbs"` +} + +func (GetOntapStorageVirtualMachineEndpointArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetOntapStorageVirtualMachineEndpoint)(nil)).Elem() +} + +func (i GetOntapStorageVirtualMachineEndpointArgs) ToGetOntapStorageVirtualMachineEndpointOutput() GetOntapStorageVirtualMachineEndpointOutput { + return i.ToGetOntapStorageVirtualMachineEndpointOutputWithContext(context.Background()) +} + +func (i GetOntapStorageVirtualMachineEndpointArgs) ToGetOntapStorageVirtualMachineEndpointOutputWithContext(ctx context.Context) GetOntapStorageVirtualMachineEndpointOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetOntapStorageVirtualMachineEndpointOutput) +} + +func (i GetOntapStorageVirtualMachineEndpointArgs) ToOutput(ctx context.Context) pulumix.Output[GetOntapStorageVirtualMachineEndpoint] { + return pulumix.Output[GetOntapStorageVirtualMachineEndpoint]{ + OutputState: i.ToGetOntapStorageVirtualMachineEndpointOutputWithContext(ctx).OutputState, + } +} + +// GetOntapStorageVirtualMachineEndpointArrayInput is an input type that accepts GetOntapStorageVirtualMachineEndpointArray and GetOntapStorageVirtualMachineEndpointArrayOutput values. +// You can construct a concrete instance of `GetOntapStorageVirtualMachineEndpointArrayInput` via: +// +// GetOntapStorageVirtualMachineEndpointArray{ GetOntapStorageVirtualMachineEndpointArgs{...} } +type GetOntapStorageVirtualMachineEndpointArrayInput interface { + pulumi.Input + + ToGetOntapStorageVirtualMachineEndpointArrayOutput() GetOntapStorageVirtualMachineEndpointArrayOutput + ToGetOntapStorageVirtualMachineEndpointArrayOutputWithContext(context.Context) GetOntapStorageVirtualMachineEndpointArrayOutput +} + +type GetOntapStorageVirtualMachineEndpointArray []GetOntapStorageVirtualMachineEndpointInput + +func (GetOntapStorageVirtualMachineEndpointArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetOntapStorageVirtualMachineEndpoint)(nil)).Elem() +} + +func (i GetOntapStorageVirtualMachineEndpointArray) ToGetOntapStorageVirtualMachineEndpointArrayOutput() GetOntapStorageVirtualMachineEndpointArrayOutput { + return i.ToGetOntapStorageVirtualMachineEndpointArrayOutputWithContext(context.Background()) +} + +func (i GetOntapStorageVirtualMachineEndpointArray) ToGetOntapStorageVirtualMachineEndpointArrayOutputWithContext(ctx context.Context) GetOntapStorageVirtualMachineEndpointArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetOntapStorageVirtualMachineEndpointArrayOutput) +} + +func (i GetOntapStorageVirtualMachineEndpointArray) ToOutput(ctx context.Context) pulumix.Output[[]GetOntapStorageVirtualMachineEndpoint] { + return pulumix.Output[[]GetOntapStorageVirtualMachineEndpoint]{ + OutputState: i.ToGetOntapStorageVirtualMachineEndpointArrayOutputWithContext(ctx).OutputState, + } +} + +type GetOntapStorageVirtualMachineEndpointOutput struct{ *pulumi.OutputState } + +func (GetOntapStorageVirtualMachineEndpointOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetOntapStorageVirtualMachineEndpoint)(nil)).Elem() +} + +func (o GetOntapStorageVirtualMachineEndpointOutput) ToGetOntapStorageVirtualMachineEndpointOutput() GetOntapStorageVirtualMachineEndpointOutput { + return o +} + +func (o GetOntapStorageVirtualMachineEndpointOutput) ToGetOntapStorageVirtualMachineEndpointOutputWithContext(ctx context.Context) GetOntapStorageVirtualMachineEndpointOutput { + return o +} + +func (o GetOntapStorageVirtualMachineEndpointOutput) ToOutput(ctx context.Context) pulumix.Output[GetOntapStorageVirtualMachineEndpoint] { + return pulumix.Output[GetOntapStorageVirtualMachineEndpoint]{ + OutputState: o.OutputState, + } +} + +func (o GetOntapStorageVirtualMachineEndpointOutput) Iscsis() GetOntapStorageVirtualMachineEndpointIscsiArrayOutput { + return o.ApplyT(func(v GetOntapStorageVirtualMachineEndpoint) []GetOntapStorageVirtualMachineEndpointIscsi { + return v.Iscsis + }).(GetOntapStorageVirtualMachineEndpointIscsiArrayOutput) +} + +// An endpoint for managing SVMs using the NetApp ONTAP CLI, NetApp ONTAP API, or NetApp CloudManager. See SVM Endpoint below. +func (o GetOntapStorageVirtualMachineEndpointOutput) Managements() GetOntapStorageVirtualMachineEndpointManagementArrayOutput { + return o.ApplyT(func(v GetOntapStorageVirtualMachineEndpoint) []GetOntapStorageVirtualMachineEndpointManagement { + return v.Managements + }).(GetOntapStorageVirtualMachineEndpointManagementArrayOutput) +} + +// An endpoint for connecting using the Network File System (NFS) protocol. See SVM Endpoint below. +func (o GetOntapStorageVirtualMachineEndpointOutput) Nfs() GetOntapStorageVirtualMachineEndpointNfArrayOutput { + return o.ApplyT(func(v GetOntapStorageVirtualMachineEndpoint) []GetOntapStorageVirtualMachineEndpointNf { return v.Nfs }).(GetOntapStorageVirtualMachineEndpointNfArrayOutput) +} + +// An endpoint for connecting using the Server Message Block (SMB) protocol. See SVM Endpoint below. +func (o GetOntapStorageVirtualMachineEndpointOutput) Smbs() GetOntapStorageVirtualMachineEndpointSmbArrayOutput { + return o.ApplyT(func(v GetOntapStorageVirtualMachineEndpoint) []GetOntapStorageVirtualMachineEndpointSmb { + return v.Smbs + }).(GetOntapStorageVirtualMachineEndpointSmbArrayOutput) +} + +type GetOntapStorageVirtualMachineEndpointArrayOutput struct{ *pulumi.OutputState } + +func (GetOntapStorageVirtualMachineEndpointArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetOntapStorageVirtualMachineEndpoint)(nil)).Elem() +} + +func (o GetOntapStorageVirtualMachineEndpointArrayOutput) ToGetOntapStorageVirtualMachineEndpointArrayOutput() GetOntapStorageVirtualMachineEndpointArrayOutput { + return o +} + +func (o GetOntapStorageVirtualMachineEndpointArrayOutput) ToGetOntapStorageVirtualMachineEndpointArrayOutputWithContext(ctx context.Context) GetOntapStorageVirtualMachineEndpointArrayOutput { + return o +} + +func (o GetOntapStorageVirtualMachineEndpointArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetOntapStorageVirtualMachineEndpoint] { + return pulumix.Output[[]GetOntapStorageVirtualMachineEndpoint]{ + OutputState: o.OutputState, + } +} + +func (o GetOntapStorageVirtualMachineEndpointArrayOutput) Index(i pulumi.IntInput) GetOntapStorageVirtualMachineEndpointOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetOntapStorageVirtualMachineEndpoint { + return vs[0].([]GetOntapStorageVirtualMachineEndpoint)[vs[1].(int)] + }).(GetOntapStorageVirtualMachineEndpointOutput) +} + +type GetOntapStorageVirtualMachineEndpointIscsi struct { + DnsName string `pulumi:"dnsName"` + IpAddresses []string `pulumi:"ipAddresses"` +} + +// GetOntapStorageVirtualMachineEndpointIscsiInput is an input type that accepts GetOntapStorageVirtualMachineEndpointIscsiArgs and GetOntapStorageVirtualMachineEndpointIscsiOutput values. +// You can construct a concrete instance of `GetOntapStorageVirtualMachineEndpointIscsiInput` via: +// +// GetOntapStorageVirtualMachineEndpointIscsiArgs{...} +type GetOntapStorageVirtualMachineEndpointIscsiInput interface { + pulumi.Input + + ToGetOntapStorageVirtualMachineEndpointIscsiOutput() GetOntapStorageVirtualMachineEndpointIscsiOutput + ToGetOntapStorageVirtualMachineEndpointIscsiOutputWithContext(context.Context) GetOntapStorageVirtualMachineEndpointIscsiOutput +} + +type GetOntapStorageVirtualMachineEndpointIscsiArgs struct { + DnsName pulumi.StringInput `pulumi:"dnsName"` + IpAddresses pulumi.StringArrayInput `pulumi:"ipAddresses"` +} + +func (GetOntapStorageVirtualMachineEndpointIscsiArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetOntapStorageVirtualMachineEndpointIscsi)(nil)).Elem() +} + +func (i GetOntapStorageVirtualMachineEndpointIscsiArgs) ToGetOntapStorageVirtualMachineEndpointIscsiOutput() GetOntapStorageVirtualMachineEndpointIscsiOutput { + return i.ToGetOntapStorageVirtualMachineEndpointIscsiOutputWithContext(context.Background()) +} + +func (i GetOntapStorageVirtualMachineEndpointIscsiArgs) ToGetOntapStorageVirtualMachineEndpointIscsiOutputWithContext(ctx context.Context) GetOntapStorageVirtualMachineEndpointIscsiOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetOntapStorageVirtualMachineEndpointIscsiOutput) +} + +func (i GetOntapStorageVirtualMachineEndpointIscsiArgs) ToOutput(ctx context.Context) pulumix.Output[GetOntapStorageVirtualMachineEndpointIscsi] { + return pulumix.Output[GetOntapStorageVirtualMachineEndpointIscsi]{ + OutputState: i.ToGetOntapStorageVirtualMachineEndpointIscsiOutputWithContext(ctx).OutputState, + } +} + +// GetOntapStorageVirtualMachineEndpointIscsiArrayInput is an input type that accepts GetOntapStorageVirtualMachineEndpointIscsiArray and GetOntapStorageVirtualMachineEndpointIscsiArrayOutput values. +// You can construct a concrete instance of `GetOntapStorageVirtualMachineEndpointIscsiArrayInput` via: +// +// GetOntapStorageVirtualMachineEndpointIscsiArray{ GetOntapStorageVirtualMachineEndpointIscsiArgs{...} } +type GetOntapStorageVirtualMachineEndpointIscsiArrayInput interface { + pulumi.Input + + ToGetOntapStorageVirtualMachineEndpointIscsiArrayOutput() GetOntapStorageVirtualMachineEndpointIscsiArrayOutput + ToGetOntapStorageVirtualMachineEndpointIscsiArrayOutputWithContext(context.Context) GetOntapStorageVirtualMachineEndpointIscsiArrayOutput +} + +type GetOntapStorageVirtualMachineEndpointIscsiArray []GetOntapStorageVirtualMachineEndpointIscsiInput + +func (GetOntapStorageVirtualMachineEndpointIscsiArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetOntapStorageVirtualMachineEndpointIscsi)(nil)).Elem() +} + +func (i GetOntapStorageVirtualMachineEndpointIscsiArray) ToGetOntapStorageVirtualMachineEndpointIscsiArrayOutput() GetOntapStorageVirtualMachineEndpointIscsiArrayOutput { + return i.ToGetOntapStorageVirtualMachineEndpointIscsiArrayOutputWithContext(context.Background()) +} + +func (i GetOntapStorageVirtualMachineEndpointIscsiArray) ToGetOntapStorageVirtualMachineEndpointIscsiArrayOutputWithContext(ctx context.Context) GetOntapStorageVirtualMachineEndpointIscsiArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetOntapStorageVirtualMachineEndpointIscsiArrayOutput) +} + +func (i GetOntapStorageVirtualMachineEndpointIscsiArray) ToOutput(ctx context.Context) pulumix.Output[[]GetOntapStorageVirtualMachineEndpointIscsi] { + return pulumix.Output[[]GetOntapStorageVirtualMachineEndpointIscsi]{ + OutputState: i.ToGetOntapStorageVirtualMachineEndpointIscsiArrayOutputWithContext(ctx).OutputState, + } +} + +type GetOntapStorageVirtualMachineEndpointIscsiOutput struct{ *pulumi.OutputState } + +func (GetOntapStorageVirtualMachineEndpointIscsiOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetOntapStorageVirtualMachineEndpointIscsi)(nil)).Elem() +} + +func (o GetOntapStorageVirtualMachineEndpointIscsiOutput) ToGetOntapStorageVirtualMachineEndpointIscsiOutput() GetOntapStorageVirtualMachineEndpointIscsiOutput { + return o +} + +func (o GetOntapStorageVirtualMachineEndpointIscsiOutput) ToGetOntapStorageVirtualMachineEndpointIscsiOutputWithContext(ctx context.Context) GetOntapStorageVirtualMachineEndpointIscsiOutput { + return o +} + +func (o GetOntapStorageVirtualMachineEndpointIscsiOutput) ToOutput(ctx context.Context) pulumix.Output[GetOntapStorageVirtualMachineEndpointIscsi] { + return pulumix.Output[GetOntapStorageVirtualMachineEndpointIscsi]{ + OutputState: o.OutputState, + } +} + +func (o GetOntapStorageVirtualMachineEndpointIscsiOutput) DnsName() pulumi.StringOutput { + return o.ApplyT(func(v GetOntapStorageVirtualMachineEndpointIscsi) string { return v.DnsName }).(pulumi.StringOutput) +} + +func (o GetOntapStorageVirtualMachineEndpointIscsiOutput) IpAddresses() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetOntapStorageVirtualMachineEndpointIscsi) []string { return v.IpAddresses }).(pulumi.StringArrayOutput) +} + +type GetOntapStorageVirtualMachineEndpointIscsiArrayOutput struct{ *pulumi.OutputState } + +func (GetOntapStorageVirtualMachineEndpointIscsiArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetOntapStorageVirtualMachineEndpointIscsi)(nil)).Elem() +} + +func (o GetOntapStorageVirtualMachineEndpointIscsiArrayOutput) ToGetOntapStorageVirtualMachineEndpointIscsiArrayOutput() GetOntapStorageVirtualMachineEndpointIscsiArrayOutput { + return o +} + +func (o GetOntapStorageVirtualMachineEndpointIscsiArrayOutput) ToGetOntapStorageVirtualMachineEndpointIscsiArrayOutputWithContext(ctx context.Context) GetOntapStorageVirtualMachineEndpointIscsiArrayOutput { + return o +} + +func (o GetOntapStorageVirtualMachineEndpointIscsiArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetOntapStorageVirtualMachineEndpointIscsi] { + return pulumix.Output[[]GetOntapStorageVirtualMachineEndpointIscsi]{ + OutputState: o.OutputState, + } +} + +func (o GetOntapStorageVirtualMachineEndpointIscsiArrayOutput) Index(i pulumi.IntInput) GetOntapStorageVirtualMachineEndpointIscsiOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetOntapStorageVirtualMachineEndpointIscsi { + return vs[0].([]GetOntapStorageVirtualMachineEndpointIscsi)[vs[1].(int)] + }).(GetOntapStorageVirtualMachineEndpointIscsiOutput) +} + +type GetOntapStorageVirtualMachineEndpointManagement struct { + DnsName string `pulumi:"dnsName"` + IpAddresses []string `pulumi:"ipAddresses"` +} + +// GetOntapStorageVirtualMachineEndpointManagementInput is an input type that accepts GetOntapStorageVirtualMachineEndpointManagementArgs and GetOntapStorageVirtualMachineEndpointManagementOutput values. +// You can construct a concrete instance of `GetOntapStorageVirtualMachineEndpointManagementInput` via: +// +// GetOntapStorageVirtualMachineEndpointManagementArgs{...} +type GetOntapStorageVirtualMachineEndpointManagementInput interface { + pulumi.Input + + ToGetOntapStorageVirtualMachineEndpointManagementOutput() GetOntapStorageVirtualMachineEndpointManagementOutput + ToGetOntapStorageVirtualMachineEndpointManagementOutputWithContext(context.Context) GetOntapStorageVirtualMachineEndpointManagementOutput +} + +type GetOntapStorageVirtualMachineEndpointManagementArgs struct { + DnsName pulumi.StringInput `pulumi:"dnsName"` + IpAddresses pulumi.StringArrayInput `pulumi:"ipAddresses"` +} + +func (GetOntapStorageVirtualMachineEndpointManagementArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetOntapStorageVirtualMachineEndpointManagement)(nil)).Elem() +} + +func (i GetOntapStorageVirtualMachineEndpointManagementArgs) ToGetOntapStorageVirtualMachineEndpointManagementOutput() GetOntapStorageVirtualMachineEndpointManagementOutput { + return i.ToGetOntapStorageVirtualMachineEndpointManagementOutputWithContext(context.Background()) +} + +func (i GetOntapStorageVirtualMachineEndpointManagementArgs) ToGetOntapStorageVirtualMachineEndpointManagementOutputWithContext(ctx context.Context) GetOntapStorageVirtualMachineEndpointManagementOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetOntapStorageVirtualMachineEndpointManagementOutput) +} + +func (i GetOntapStorageVirtualMachineEndpointManagementArgs) ToOutput(ctx context.Context) pulumix.Output[GetOntapStorageVirtualMachineEndpointManagement] { + return pulumix.Output[GetOntapStorageVirtualMachineEndpointManagement]{ + OutputState: i.ToGetOntapStorageVirtualMachineEndpointManagementOutputWithContext(ctx).OutputState, + } +} + +// GetOntapStorageVirtualMachineEndpointManagementArrayInput is an input type that accepts GetOntapStorageVirtualMachineEndpointManagementArray and GetOntapStorageVirtualMachineEndpointManagementArrayOutput values. +// You can construct a concrete instance of `GetOntapStorageVirtualMachineEndpointManagementArrayInput` via: +// +// GetOntapStorageVirtualMachineEndpointManagementArray{ GetOntapStorageVirtualMachineEndpointManagementArgs{...} } +type GetOntapStorageVirtualMachineEndpointManagementArrayInput interface { + pulumi.Input + + ToGetOntapStorageVirtualMachineEndpointManagementArrayOutput() GetOntapStorageVirtualMachineEndpointManagementArrayOutput + ToGetOntapStorageVirtualMachineEndpointManagementArrayOutputWithContext(context.Context) GetOntapStorageVirtualMachineEndpointManagementArrayOutput +} + +type GetOntapStorageVirtualMachineEndpointManagementArray []GetOntapStorageVirtualMachineEndpointManagementInput + +func (GetOntapStorageVirtualMachineEndpointManagementArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetOntapStorageVirtualMachineEndpointManagement)(nil)).Elem() +} + +func (i GetOntapStorageVirtualMachineEndpointManagementArray) ToGetOntapStorageVirtualMachineEndpointManagementArrayOutput() GetOntapStorageVirtualMachineEndpointManagementArrayOutput { + return i.ToGetOntapStorageVirtualMachineEndpointManagementArrayOutputWithContext(context.Background()) +} + +func (i GetOntapStorageVirtualMachineEndpointManagementArray) ToGetOntapStorageVirtualMachineEndpointManagementArrayOutputWithContext(ctx context.Context) GetOntapStorageVirtualMachineEndpointManagementArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetOntapStorageVirtualMachineEndpointManagementArrayOutput) +} + +func (i GetOntapStorageVirtualMachineEndpointManagementArray) ToOutput(ctx context.Context) pulumix.Output[[]GetOntapStorageVirtualMachineEndpointManagement] { + return pulumix.Output[[]GetOntapStorageVirtualMachineEndpointManagement]{ + OutputState: i.ToGetOntapStorageVirtualMachineEndpointManagementArrayOutputWithContext(ctx).OutputState, + } +} + +type GetOntapStorageVirtualMachineEndpointManagementOutput struct{ *pulumi.OutputState } + +func (GetOntapStorageVirtualMachineEndpointManagementOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetOntapStorageVirtualMachineEndpointManagement)(nil)).Elem() +} + +func (o GetOntapStorageVirtualMachineEndpointManagementOutput) ToGetOntapStorageVirtualMachineEndpointManagementOutput() GetOntapStorageVirtualMachineEndpointManagementOutput { + return o +} + +func (o GetOntapStorageVirtualMachineEndpointManagementOutput) ToGetOntapStorageVirtualMachineEndpointManagementOutputWithContext(ctx context.Context) GetOntapStorageVirtualMachineEndpointManagementOutput { + return o +} + +func (o GetOntapStorageVirtualMachineEndpointManagementOutput) ToOutput(ctx context.Context) pulumix.Output[GetOntapStorageVirtualMachineEndpointManagement] { + return pulumix.Output[GetOntapStorageVirtualMachineEndpointManagement]{ + OutputState: o.OutputState, + } +} + +func (o GetOntapStorageVirtualMachineEndpointManagementOutput) DnsName() pulumi.StringOutput { + return o.ApplyT(func(v GetOntapStorageVirtualMachineEndpointManagement) string { return v.DnsName }).(pulumi.StringOutput) +} + +func (o GetOntapStorageVirtualMachineEndpointManagementOutput) IpAddresses() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetOntapStorageVirtualMachineEndpointManagement) []string { return v.IpAddresses }).(pulumi.StringArrayOutput) +} + +type GetOntapStorageVirtualMachineEndpointManagementArrayOutput struct{ *pulumi.OutputState } + +func (GetOntapStorageVirtualMachineEndpointManagementArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetOntapStorageVirtualMachineEndpointManagement)(nil)).Elem() +} + +func (o GetOntapStorageVirtualMachineEndpointManagementArrayOutput) ToGetOntapStorageVirtualMachineEndpointManagementArrayOutput() GetOntapStorageVirtualMachineEndpointManagementArrayOutput { + return o +} + +func (o GetOntapStorageVirtualMachineEndpointManagementArrayOutput) ToGetOntapStorageVirtualMachineEndpointManagementArrayOutputWithContext(ctx context.Context) GetOntapStorageVirtualMachineEndpointManagementArrayOutput { + return o +} + +func (o GetOntapStorageVirtualMachineEndpointManagementArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetOntapStorageVirtualMachineEndpointManagement] { + return pulumix.Output[[]GetOntapStorageVirtualMachineEndpointManagement]{ + OutputState: o.OutputState, + } +} + +func (o GetOntapStorageVirtualMachineEndpointManagementArrayOutput) Index(i pulumi.IntInput) GetOntapStorageVirtualMachineEndpointManagementOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetOntapStorageVirtualMachineEndpointManagement { + return vs[0].([]GetOntapStorageVirtualMachineEndpointManagement)[vs[1].(int)] + }).(GetOntapStorageVirtualMachineEndpointManagementOutput) +} + +type GetOntapStorageVirtualMachineEndpointNf struct { + DnsName string `pulumi:"dnsName"` + IpAddresses []string `pulumi:"ipAddresses"` +} + +// GetOntapStorageVirtualMachineEndpointNfInput is an input type that accepts GetOntapStorageVirtualMachineEndpointNfArgs and GetOntapStorageVirtualMachineEndpointNfOutput values. +// You can construct a concrete instance of `GetOntapStorageVirtualMachineEndpointNfInput` via: +// +// GetOntapStorageVirtualMachineEndpointNfArgs{...} +type GetOntapStorageVirtualMachineEndpointNfInput interface { + pulumi.Input + + ToGetOntapStorageVirtualMachineEndpointNfOutput() GetOntapStorageVirtualMachineEndpointNfOutput + ToGetOntapStorageVirtualMachineEndpointNfOutputWithContext(context.Context) GetOntapStorageVirtualMachineEndpointNfOutput +} + +type GetOntapStorageVirtualMachineEndpointNfArgs struct { + DnsName pulumi.StringInput `pulumi:"dnsName"` + IpAddresses pulumi.StringArrayInput `pulumi:"ipAddresses"` +} + +func (GetOntapStorageVirtualMachineEndpointNfArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetOntapStorageVirtualMachineEndpointNf)(nil)).Elem() +} + +func (i GetOntapStorageVirtualMachineEndpointNfArgs) ToGetOntapStorageVirtualMachineEndpointNfOutput() GetOntapStorageVirtualMachineEndpointNfOutput { + return i.ToGetOntapStorageVirtualMachineEndpointNfOutputWithContext(context.Background()) +} + +func (i GetOntapStorageVirtualMachineEndpointNfArgs) ToGetOntapStorageVirtualMachineEndpointNfOutputWithContext(ctx context.Context) GetOntapStorageVirtualMachineEndpointNfOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetOntapStorageVirtualMachineEndpointNfOutput) +} + +func (i GetOntapStorageVirtualMachineEndpointNfArgs) ToOutput(ctx context.Context) pulumix.Output[GetOntapStorageVirtualMachineEndpointNf] { + return pulumix.Output[GetOntapStorageVirtualMachineEndpointNf]{ + OutputState: i.ToGetOntapStorageVirtualMachineEndpointNfOutputWithContext(ctx).OutputState, + } +} + +// GetOntapStorageVirtualMachineEndpointNfArrayInput is an input type that accepts GetOntapStorageVirtualMachineEndpointNfArray and GetOntapStorageVirtualMachineEndpointNfArrayOutput values. +// You can construct a concrete instance of `GetOntapStorageVirtualMachineEndpointNfArrayInput` via: +// +// GetOntapStorageVirtualMachineEndpointNfArray{ GetOntapStorageVirtualMachineEndpointNfArgs{...} } +type GetOntapStorageVirtualMachineEndpointNfArrayInput interface { + pulumi.Input + + ToGetOntapStorageVirtualMachineEndpointNfArrayOutput() GetOntapStorageVirtualMachineEndpointNfArrayOutput + ToGetOntapStorageVirtualMachineEndpointNfArrayOutputWithContext(context.Context) GetOntapStorageVirtualMachineEndpointNfArrayOutput +} + +type GetOntapStorageVirtualMachineEndpointNfArray []GetOntapStorageVirtualMachineEndpointNfInput + +func (GetOntapStorageVirtualMachineEndpointNfArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetOntapStorageVirtualMachineEndpointNf)(nil)).Elem() +} + +func (i GetOntapStorageVirtualMachineEndpointNfArray) ToGetOntapStorageVirtualMachineEndpointNfArrayOutput() GetOntapStorageVirtualMachineEndpointNfArrayOutput { + return i.ToGetOntapStorageVirtualMachineEndpointNfArrayOutputWithContext(context.Background()) +} + +func (i GetOntapStorageVirtualMachineEndpointNfArray) ToGetOntapStorageVirtualMachineEndpointNfArrayOutputWithContext(ctx context.Context) GetOntapStorageVirtualMachineEndpointNfArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetOntapStorageVirtualMachineEndpointNfArrayOutput) +} + +func (i GetOntapStorageVirtualMachineEndpointNfArray) ToOutput(ctx context.Context) pulumix.Output[[]GetOntapStorageVirtualMachineEndpointNf] { + return pulumix.Output[[]GetOntapStorageVirtualMachineEndpointNf]{ + OutputState: i.ToGetOntapStorageVirtualMachineEndpointNfArrayOutputWithContext(ctx).OutputState, + } +} + +type GetOntapStorageVirtualMachineEndpointNfOutput struct{ *pulumi.OutputState } + +func (GetOntapStorageVirtualMachineEndpointNfOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetOntapStorageVirtualMachineEndpointNf)(nil)).Elem() +} + +func (o GetOntapStorageVirtualMachineEndpointNfOutput) ToGetOntapStorageVirtualMachineEndpointNfOutput() GetOntapStorageVirtualMachineEndpointNfOutput { + return o +} + +func (o GetOntapStorageVirtualMachineEndpointNfOutput) ToGetOntapStorageVirtualMachineEndpointNfOutputWithContext(ctx context.Context) GetOntapStorageVirtualMachineEndpointNfOutput { + return o +} + +func (o GetOntapStorageVirtualMachineEndpointNfOutput) ToOutput(ctx context.Context) pulumix.Output[GetOntapStorageVirtualMachineEndpointNf] { + return pulumix.Output[GetOntapStorageVirtualMachineEndpointNf]{ + OutputState: o.OutputState, + } +} + +func (o GetOntapStorageVirtualMachineEndpointNfOutput) DnsName() pulumi.StringOutput { + return o.ApplyT(func(v GetOntapStorageVirtualMachineEndpointNf) string { return v.DnsName }).(pulumi.StringOutput) +} + +func (o GetOntapStorageVirtualMachineEndpointNfOutput) IpAddresses() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetOntapStorageVirtualMachineEndpointNf) []string { return v.IpAddresses }).(pulumi.StringArrayOutput) +} + +type GetOntapStorageVirtualMachineEndpointNfArrayOutput struct{ *pulumi.OutputState } + +func (GetOntapStorageVirtualMachineEndpointNfArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetOntapStorageVirtualMachineEndpointNf)(nil)).Elem() +} + +func (o GetOntapStorageVirtualMachineEndpointNfArrayOutput) ToGetOntapStorageVirtualMachineEndpointNfArrayOutput() GetOntapStorageVirtualMachineEndpointNfArrayOutput { + return o +} + +func (o GetOntapStorageVirtualMachineEndpointNfArrayOutput) ToGetOntapStorageVirtualMachineEndpointNfArrayOutputWithContext(ctx context.Context) GetOntapStorageVirtualMachineEndpointNfArrayOutput { + return o +} + +func (o GetOntapStorageVirtualMachineEndpointNfArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetOntapStorageVirtualMachineEndpointNf] { + return pulumix.Output[[]GetOntapStorageVirtualMachineEndpointNf]{ + OutputState: o.OutputState, + } +} + +func (o GetOntapStorageVirtualMachineEndpointNfArrayOutput) Index(i pulumi.IntInput) GetOntapStorageVirtualMachineEndpointNfOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetOntapStorageVirtualMachineEndpointNf { + return vs[0].([]GetOntapStorageVirtualMachineEndpointNf)[vs[1].(int)] + }).(GetOntapStorageVirtualMachineEndpointNfOutput) +} + +type GetOntapStorageVirtualMachineEndpointSmb struct { + DnsName string `pulumi:"dnsName"` + IpAddresses []string `pulumi:"ipAddresses"` +} + +// GetOntapStorageVirtualMachineEndpointSmbInput is an input type that accepts GetOntapStorageVirtualMachineEndpointSmbArgs and GetOntapStorageVirtualMachineEndpointSmbOutput values. +// You can construct a concrete instance of `GetOntapStorageVirtualMachineEndpointSmbInput` via: +// +// GetOntapStorageVirtualMachineEndpointSmbArgs{...} +type GetOntapStorageVirtualMachineEndpointSmbInput interface { + pulumi.Input + + ToGetOntapStorageVirtualMachineEndpointSmbOutput() GetOntapStorageVirtualMachineEndpointSmbOutput + ToGetOntapStorageVirtualMachineEndpointSmbOutputWithContext(context.Context) GetOntapStorageVirtualMachineEndpointSmbOutput +} + +type GetOntapStorageVirtualMachineEndpointSmbArgs struct { + DnsName pulumi.StringInput `pulumi:"dnsName"` + IpAddresses pulumi.StringArrayInput `pulumi:"ipAddresses"` +} + +func (GetOntapStorageVirtualMachineEndpointSmbArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetOntapStorageVirtualMachineEndpointSmb)(nil)).Elem() +} + +func (i GetOntapStorageVirtualMachineEndpointSmbArgs) ToGetOntapStorageVirtualMachineEndpointSmbOutput() GetOntapStorageVirtualMachineEndpointSmbOutput { + return i.ToGetOntapStorageVirtualMachineEndpointSmbOutputWithContext(context.Background()) +} + +func (i GetOntapStorageVirtualMachineEndpointSmbArgs) ToGetOntapStorageVirtualMachineEndpointSmbOutputWithContext(ctx context.Context) GetOntapStorageVirtualMachineEndpointSmbOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetOntapStorageVirtualMachineEndpointSmbOutput) +} + +func (i GetOntapStorageVirtualMachineEndpointSmbArgs) ToOutput(ctx context.Context) pulumix.Output[GetOntapStorageVirtualMachineEndpointSmb] { + return pulumix.Output[GetOntapStorageVirtualMachineEndpointSmb]{ + OutputState: i.ToGetOntapStorageVirtualMachineEndpointSmbOutputWithContext(ctx).OutputState, + } +} + +// GetOntapStorageVirtualMachineEndpointSmbArrayInput is an input type that accepts GetOntapStorageVirtualMachineEndpointSmbArray and GetOntapStorageVirtualMachineEndpointSmbArrayOutput values. +// You can construct a concrete instance of `GetOntapStorageVirtualMachineEndpointSmbArrayInput` via: +// +// GetOntapStorageVirtualMachineEndpointSmbArray{ GetOntapStorageVirtualMachineEndpointSmbArgs{...} } +type GetOntapStorageVirtualMachineEndpointSmbArrayInput interface { + pulumi.Input + + ToGetOntapStorageVirtualMachineEndpointSmbArrayOutput() GetOntapStorageVirtualMachineEndpointSmbArrayOutput + ToGetOntapStorageVirtualMachineEndpointSmbArrayOutputWithContext(context.Context) GetOntapStorageVirtualMachineEndpointSmbArrayOutput +} + +type GetOntapStorageVirtualMachineEndpointSmbArray []GetOntapStorageVirtualMachineEndpointSmbInput + +func (GetOntapStorageVirtualMachineEndpointSmbArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetOntapStorageVirtualMachineEndpointSmb)(nil)).Elem() +} + +func (i GetOntapStorageVirtualMachineEndpointSmbArray) ToGetOntapStorageVirtualMachineEndpointSmbArrayOutput() GetOntapStorageVirtualMachineEndpointSmbArrayOutput { + return i.ToGetOntapStorageVirtualMachineEndpointSmbArrayOutputWithContext(context.Background()) +} + +func (i GetOntapStorageVirtualMachineEndpointSmbArray) ToGetOntapStorageVirtualMachineEndpointSmbArrayOutputWithContext(ctx context.Context) GetOntapStorageVirtualMachineEndpointSmbArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetOntapStorageVirtualMachineEndpointSmbArrayOutput) +} + +func (i GetOntapStorageVirtualMachineEndpointSmbArray) ToOutput(ctx context.Context) pulumix.Output[[]GetOntapStorageVirtualMachineEndpointSmb] { + return pulumix.Output[[]GetOntapStorageVirtualMachineEndpointSmb]{ + OutputState: i.ToGetOntapStorageVirtualMachineEndpointSmbArrayOutputWithContext(ctx).OutputState, + } +} + +type GetOntapStorageVirtualMachineEndpointSmbOutput struct{ *pulumi.OutputState } + +func (GetOntapStorageVirtualMachineEndpointSmbOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetOntapStorageVirtualMachineEndpointSmb)(nil)).Elem() +} + +func (o GetOntapStorageVirtualMachineEndpointSmbOutput) ToGetOntapStorageVirtualMachineEndpointSmbOutput() GetOntapStorageVirtualMachineEndpointSmbOutput { + return o +} + +func (o GetOntapStorageVirtualMachineEndpointSmbOutput) ToGetOntapStorageVirtualMachineEndpointSmbOutputWithContext(ctx context.Context) GetOntapStorageVirtualMachineEndpointSmbOutput { + return o +} + +func (o GetOntapStorageVirtualMachineEndpointSmbOutput) ToOutput(ctx context.Context) pulumix.Output[GetOntapStorageVirtualMachineEndpointSmb] { + return pulumix.Output[GetOntapStorageVirtualMachineEndpointSmb]{ + OutputState: o.OutputState, + } +} + +func (o GetOntapStorageVirtualMachineEndpointSmbOutput) DnsName() pulumi.StringOutput { + return o.ApplyT(func(v GetOntapStorageVirtualMachineEndpointSmb) string { return v.DnsName }).(pulumi.StringOutput) +} + +func (o GetOntapStorageVirtualMachineEndpointSmbOutput) IpAddresses() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetOntapStorageVirtualMachineEndpointSmb) []string { return v.IpAddresses }).(pulumi.StringArrayOutput) +} + +type GetOntapStorageVirtualMachineEndpointSmbArrayOutput struct{ *pulumi.OutputState } + +func (GetOntapStorageVirtualMachineEndpointSmbArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetOntapStorageVirtualMachineEndpointSmb)(nil)).Elem() +} + +func (o GetOntapStorageVirtualMachineEndpointSmbArrayOutput) ToGetOntapStorageVirtualMachineEndpointSmbArrayOutput() GetOntapStorageVirtualMachineEndpointSmbArrayOutput { + return o +} + +func (o GetOntapStorageVirtualMachineEndpointSmbArrayOutput) ToGetOntapStorageVirtualMachineEndpointSmbArrayOutputWithContext(ctx context.Context) GetOntapStorageVirtualMachineEndpointSmbArrayOutput { + return o +} + +func (o GetOntapStorageVirtualMachineEndpointSmbArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetOntapStorageVirtualMachineEndpointSmb] { + return pulumix.Output[[]GetOntapStorageVirtualMachineEndpointSmb]{ + OutputState: o.OutputState, + } +} + +func (o GetOntapStorageVirtualMachineEndpointSmbArrayOutput) Index(i pulumi.IntInput) GetOntapStorageVirtualMachineEndpointSmbOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetOntapStorageVirtualMachineEndpointSmb { + return vs[0].([]GetOntapStorageVirtualMachineEndpointSmb)[vs[1].(int)] + }).(GetOntapStorageVirtualMachineEndpointSmbOutput) +} + +type GetOntapStorageVirtualMachineFilter struct { + // Name of the field to filter by, as defined by [the underlying AWS API](https://docs.aws.amazon.com/fsx/latest/APIReference/API_StorageVirtualMachineFilter.html). + Name string `pulumi:"name"` + // Set of values that are accepted for the given field. An SVM will be selected if any one of the given values matches. + Values []string `pulumi:"values"` +} + +// GetOntapStorageVirtualMachineFilterInput is an input type that accepts GetOntapStorageVirtualMachineFilterArgs and GetOntapStorageVirtualMachineFilterOutput values. +// You can construct a concrete instance of `GetOntapStorageVirtualMachineFilterInput` via: +// +// GetOntapStorageVirtualMachineFilterArgs{...} +type GetOntapStorageVirtualMachineFilterInput interface { + pulumi.Input + + ToGetOntapStorageVirtualMachineFilterOutput() GetOntapStorageVirtualMachineFilterOutput + ToGetOntapStorageVirtualMachineFilterOutputWithContext(context.Context) GetOntapStorageVirtualMachineFilterOutput +} + +type GetOntapStorageVirtualMachineFilterArgs struct { + // Name of the field to filter by, as defined by [the underlying AWS API](https://docs.aws.amazon.com/fsx/latest/APIReference/API_StorageVirtualMachineFilter.html). + Name pulumi.StringInput `pulumi:"name"` + // Set of values that are accepted for the given field. An SVM will be selected if any one of the given values matches. + Values pulumi.StringArrayInput `pulumi:"values"` +} + +func (GetOntapStorageVirtualMachineFilterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetOntapStorageVirtualMachineFilter)(nil)).Elem() +} + +func (i GetOntapStorageVirtualMachineFilterArgs) ToGetOntapStorageVirtualMachineFilterOutput() GetOntapStorageVirtualMachineFilterOutput { + return i.ToGetOntapStorageVirtualMachineFilterOutputWithContext(context.Background()) +} + +func (i GetOntapStorageVirtualMachineFilterArgs) ToGetOntapStorageVirtualMachineFilterOutputWithContext(ctx context.Context) GetOntapStorageVirtualMachineFilterOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetOntapStorageVirtualMachineFilterOutput) +} + +func (i GetOntapStorageVirtualMachineFilterArgs) ToOutput(ctx context.Context) pulumix.Output[GetOntapStorageVirtualMachineFilter] { + return pulumix.Output[GetOntapStorageVirtualMachineFilter]{ + OutputState: i.ToGetOntapStorageVirtualMachineFilterOutputWithContext(ctx).OutputState, + } +} + +// GetOntapStorageVirtualMachineFilterArrayInput is an input type that accepts GetOntapStorageVirtualMachineFilterArray and GetOntapStorageVirtualMachineFilterArrayOutput values. +// You can construct a concrete instance of `GetOntapStorageVirtualMachineFilterArrayInput` via: +// +// GetOntapStorageVirtualMachineFilterArray{ GetOntapStorageVirtualMachineFilterArgs{...} } +type GetOntapStorageVirtualMachineFilterArrayInput interface { + pulumi.Input + + ToGetOntapStorageVirtualMachineFilterArrayOutput() GetOntapStorageVirtualMachineFilterArrayOutput + ToGetOntapStorageVirtualMachineFilterArrayOutputWithContext(context.Context) GetOntapStorageVirtualMachineFilterArrayOutput +} + +type GetOntapStorageVirtualMachineFilterArray []GetOntapStorageVirtualMachineFilterInput + +func (GetOntapStorageVirtualMachineFilterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetOntapStorageVirtualMachineFilter)(nil)).Elem() +} + +func (i GetOntapStorageVirtualMachineFilterArray) ToGetOntapStorageVirtualMachineFilterArrayOutput() GetOntapStorageVirtualMachineFilterArrayOutput { + return i.ToGetOntapStorageVirtualMachineFilterArrayOutputWithContext(context.Background()) +} + +func (i GetOntapStorageVirtualMachineFilterArray) ToGetOntapStorageVirtualMachineFilterArrayOutputWithContext(ctx context.Context) GetOntapStorageVirtualMachineFilterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetOntapStorageVirtualMachineFilterArrayOutput) +} + +func (i GetOntapStorageVirtualMachineFilterArray) ToOutput(ctx context.Context) pulumix.Output[[]GetOntapStorageVirtualMachineFilter] { + return pulumix.Output[[]GetOntapStorageVirtualMachineFilter]{ + OutputState: i.ToGetOntapStorageVirtualMachineFilterArrayOutputWithContext(ctx).OutputState, + } +} + +type GetOntapStorageVirtualMachineFilterOutput struct{ *pulumi.OutputState } + +func (GetOntapStorageVirtualMachineFilterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetOntapStorageVirtualMachineFilter)(nil)).Elem() +} + +func (o GetOntapStorageVirtualMachineFilterOutput) ToGetOntapStorageVirtualMachineFilterOutput() GetOntapStorageVirtualMachineFilterOutput { + return o +} + +func (o GetOntapStorageVirtualMachineFilterOutput) ToGetOntapStorageVirtualMachineFilterOutputWithContext(ctx context.Context) GetOntapStorageVirtualMachineFilterOutput { + return o +} + +func (o GetOntapStorageVirtualMachineFilterOutput) ToOutput(ctx context.Context) pulumix.Output[GetOntapStorageVirtualMachineFilter] { + return pulumix.Output[GetOntapStorageVirtualMachineFilter]{ + OutputState: o.OutputState, + } +} + +// Name of the field to filter by, as defined by [the underlying AWS API](https://docs.aws.amazon.com/fsx/latest/APIReference/API_StorageVirtualMachineFilter.html). +func (o GetOntapStorageVirtualMachineFilterOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetOntapStorageVirtualMachineFilter) string { return v.Name }).(pulumi.StringOutput) +} + +// Set of values that are accepted for the given field. An SVM will be selected if any one of the given values matches. +func (o GetOntapStorageVirtualMachineFilterOutput) Values() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetOntapStorageVirtualMachineFilter) []string { return v.Values }).(pulumi.StringArrayOutput) +} + +type GetOntapStorageVirtualMachineFilterArrayOutput struct{ *pulumi.OutputState } + +func (GetOntapStorageVirtualMachineFilterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetOntapStorageVirtualMachineFilter)(nil)).Elem() +} + +func (o GetOntapStorageVirtualMachineFilterArrayOutput) ToGetOntapStorageVirtualMachineFilterArrayOutput() GetOntapStorageVirtualMachineFilterArrayOutput { + return o +} + +func (o GetOntapStorageVirtualMachineFilterArrayOutput) ToGetOntapStorageVirtualMachineFilterArrayOutputWithContext(ctx context.Context) GetOntapStorageVirtualMachineFilterArrayOutput { + return o +} + +func (o GetOntapStorageVirtualMachineFilterArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetOntapStorageVirtualMachineFilter] { + return pulumix.Output[[]GetOntapStorageVirtualMachineFilter]{ + OutputState: o.OutputState, + } +} + +func (o GetOntapStorageVirtualMachineFilterArrayOutput) Index(i pulumi.IntInput) GetOntapStorageVirtualMachineFilterOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetOntapStorageVirtualMachineFilter { + return vs[0].([]GetOntapStorageVirtualMachineFilter)[vs[1].(int)] + }).(GetOntapStorageVirtualMachineFilterOutput) +} + +type GetOntapStorageVirtualMachineLifecycleTransitionReason struct { + // A detailed message. + Message string `pulumi:"message"` +} + +// GetOntapStorageVirtualMachineLifecycleTransitionReasonInput is an input type that accepts GetOntapStorageVirtualMachineLifecycleTransitionReasonArgs and GetOntapStorageVirtualMachineLifecycleTransitionReasonOutput values. +// You can construct a concrete instance of `GetOntapStorageVirtualMachineLifecycleTransitionReasonInput` via: +// +// GetOntapStorageVirtualMachineLifecycleTransitionReasonArgs{...} +type GetOntapStorageVirtualMachineLifecycleTransitionReasonInput interface { + pulumi.Input + + ToGetOntapStorageVirtualMachineLifecycleTransitionReasonOutput() GetOntapStorageVirtualMachineLifecycleTransitionReasonOutput + ToGetOntapStorageVirtualMachineLifecycleTransitionReasonOutputWithContext(context.Context) GetOntapStorageVirtualMachineLifecycleTransitionReasonOutput +} + +type GetOntapStorageVirtualMachineLifecycleTransitionReasonArgs struct { + // A detailed message. + Message pulumi.StringInput `pulumi:"message"` +} + +func (GetOntapStorageVirtualMachineLifecycleTransitionReasonArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetOntapStorageVirtualMachineLifecycleTransitionReason)(nil)).Elem() +} + +func (i GetOntapStorageVirtualMachineLifecycleTransitionReasonArgs) ToGetOntapStorageVirtualMachineLifecycleTransitionReasonOutput() GetOntapStorageVirtualMachineLifecycleTransitionReasonOutput { + return i.ToGetOntapStorageVirtualMachineLifecycleTransitionReasonOutputWithContext(context.Background()) +} + +func (i GetOntapStorageVirtualMachineLifecycleTransitionReasonArgs) ToGetOntapStorageVirtualMachineLifecycleTransitionReasonOutputWithContext(ctx context.Context) GetOntapStorageVirtualMachineLifecycleTransitionReasonOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetOntapStorageVirtualMachineLifecycleTransitionReasonOutput) +} + +func (i GetOntapStorageVirtualMachineLifecycleTransitionReasonArgs) ToOutput(ctx context.Context) pulumix.Output[GetOntapStorageVirtualMachineLifecycleTransitionReason] { + return pulumix.Output[GetOntapStorageVirtualMachineLifecycleTransitionReason]{ + OutputState: i.ToGetOntapStorageVirtualMachineLifecycleTransitionReasonOutputWithContext(ctx).OutputState, + } +} + +// GetOntapStorageVirtualMachineLifecycleTransitionReasonArrayInput is an input type that accepts GetOntapStorageVirtualMachineLifecycleTransitionReasonArray and GetOntapStorageVirtualMachineLifecycleTransitionReasonArrayOutput values. +// You can construct a concrete instance of `GetOntapStorageVirtualMachineLifecycleTransitionReasonArrayInput` via: +// +// GetOntapStorageVirtualMachineLifecycleTransitionReasonArray{ GetOntapStorageVirtualMachineLifecycleTransitionReasonArgs{...} } +type GetOntapStorageVirtualMachineLifecycleTransitionReasonArrayInput interface { + pulumi.Input + + ToGetOntapStorageVirtualMachineLifecycleTransitionReasonArrayOutput() GetOntapStorageVirtualMachineLifecycleTransitionReasonArrayOutput + ToGetOntapStorageVirtualMachineLifecycleTransitionReasonArrayOutputWithContext(context.Context) GetOntapStorageVirtualMachineLifecycleTransitionReasonArrayOutput +} + +type GetOntapStorageVirtualMachineLifecycleTransitionReasonArray []GetOntapStorageVirtualMachineLifecycleTransitionReasonInput + +func (GetOntapStorageVirtualMachineLifecycleTransitionReasonArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetOntapStorageVirtualMachineLifecycleTransitionReason)(nil)).Elem() +} + +func (i GetOntapStorageVirtualMachineLifecycleTransitionReasonArray) ToGetOntapStorageVirtualMachineLifecycleTransitionReasonArrayOutput() GetOntapStorageVirtualMachineLifecycleTransitionReasonArrayOutput { + return i.ToGetOntapStorageVirtualMachineLifecycleTransitionReasonArrayOutputWithContext(context.Background()) +} + +func (i GetOntapStorageVirtualMachineLifecycleTransitionReasonArray) ToGetOntapStorageVirtualMachineLifecycleTransitionReasonArrayOutputWithContext(ctx context.Context) GetOntapStorageVirtualMachineLifecycleTransitionReasonArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetOntapStorageVirtualMachineLifecycleTransitionReasonArrayOutput) +} + +func (i GetOntapStorageVirtualMachineLifecycleTransitionReasonArray) ToOutput(ctx context.Context) pulumix.Output[[]GetOntapStorageVirtualMachineLifecycleTransitionReason] { + return pulumix.Output[[]GetOntapStorageVirtualMachineLifecycleTransitionReason]{ + OutputState: i.ToGetOntapStorageVirtualMachineLifecycleTransitionReasonArrayOutputWithContext(ctx).OutputState, + } +} + +type GetOntapStorageVirtualMachineLifecycleTransitionReasonOutput struct{ *pulumi.OutputState } + +func (GetOntapStorageVirtualMachineLifecycleTransitionReasonOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetOntapStorageVirtualMachineLifecycleTransitionReason)(nil)).Elem() +} + +func (o GetOntapStorageVirtualMachineLifecycleTransitionReasonOutput) ToGetOntapStorageVirtualMachineLifecycleTransitionReasonOutput() GetOntapStorageVirtualMachineLifecycleTransitionReasonOutput { + return o +} + +func (o GetOntapStorageVirtualMachineLifecycleTransitionReasonOutput) ToGetOntapStorageVirtualMachineLifecycleTransitionReasonOutputWithContext(ctx context.Context) GetOntapStorageVirtualMachineLifecycleTransitionReasonOutput { + return o +} + +func (o GetOntapStorageVirtualMachineLifecycleTransitionReasonOutput) ToOutput(ctx context.Context) pulumix.Output[GetOntapStorageVirtualMachineLifecycleTransitionReason] { + return pulumix.Output[GetOntapStorageVirtualMachineLifecycleTransitionReason]{ + OutputState: o.OutputState, + } +} + +// A detailed message. +func (o GetOntapStorageVirtualMachineLifecycleTransitionReasonOutput) Message() pulumi.StringOutput { + return o.ApplyT(func(v GetOntapStorageVirtualMachineLifecycleTransitionReason) string { return v.Message }).(pulumi.StringOutput) +} + +type GetOntapStorageVirtualMachineLifecycleTransitionReasonArrayOutput struct{ *pulumi.OutputState } + +func (GetOntapStorageVirtualMachineLifecycleTransitionReasonArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetOntapStorageVirtualMachineLifecycleTransitionReason)(nil)).Elem() +} + +func (o GetOntapStorageVirtualMachineLifecycleTransitionReasonArrayOutput) ToGetOntapStorageVirtualMachineLifecycleTransitionReasonArrayOutput() GetOntapStorageVirtualMachineLifecycleTransitionReasonArrayOutput { + return o +} + +func (o GetOntapStorageVirtualMachineLifecycleTransitionReasonArrayOutput) ToGetOntapStorageVirtualMachineLifecycleTransitionReasonArrayOutputWithContext(ctx context.Context) GetOntapStorageVirtualMachineLifecycleTransitionReasonArrayOutput { + return o +} + +func (o GetOntapStorageVirtualMachineLifecycleTransitionReasonArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetOntapStorageVirtualMachineLifecycleTransitionReason] { + return pulumix.Output[[]GetOntapStorageVirtualMachineLifecycleTransitionReason]{ + OutputState: o.OutputState, + } +} + +func (o GetOntapStorageVirtualMachineLifecycleTransitionReasonArrayOutput) Index(i pulumi.IntInput) GetOntapStorageVirtualMachineLifecycleTransitionReasonOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetOntapStorageVirtualMachineLifecycleTransitionReason { + return vs[0].([]GetOntapStorageVirtualMachineLifecycleTransitionReason)[vs[1].(int)] + }).(GetOntapStorageVirtualMachineLifecycleTransitionReasonOutput) +} + +type GetOntapStorageVirtualMachinesFilter struct { + // Name of the field to filter by, as defined by [the underlying AWS API](https://docs.aws.amazon.com/fsx/latest/APIReference/API_StorageVirtualMachineFilter.html). + Name string `pulumi:"name"` + // Set of values that are accepted for the given field. An SVM will be selected if any one of the given values matches. + Values []string `pulumi:"values"` +} + +// GetOntapStorageVirtualMachinesFilterInput is an input type that accepts GetOntapStorageVirtualMachinesFilterArgs and GetOntapStorageVirtualMachinesFilterOutput values. +// You can construct a concrete instance of `GetOntapStorageVirtualMachinesFilterInput` via: +// +// GetOntapStorageVirtualMachinesFilterArgs{...} +type GetOntapStorageVirtualMachinesFilterInput interface { + pulumi.Input + + ToGetOntapStorageVirtualMachinesFilterOutput() GetOntapStorageVirtualMachinesFilterOutput + ToGetOntapStorageVirtualMachinesFilterOutputWithContext(context.Context) GetOntapStorageVirtualMachinesFilterOutput +} + +type GetOntapStorageVirtualMachinesFilterArgs struct { + // Name of the field to filter by, as defined by [the underlying AWS API](https://docs.aws.amazon.com/fsx/latest/APIReference/API_StorageVirtualMachineFilter.html). + Name pulumi.StringInput `pulumi:"name"` + // Set of values that are accepted for the given field. An SVM will be selected if any one of the given values matches. + Values pulumi.StringArrayInput `pulumi:"values"` +} + +func (GetOntapStorageVirtualMachinesFilterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetOntapStorageVirtualMachinesFilter)(nil)).Elem() +} + +func (i GetOntapStorageVirtualMachinesFilterArgs) ToGetOntapStorageVirtualMachinesFilterOutput() GetOntapStorageVirtualMachinesFilterOutput { + return i.ToGetOntapStorageVirtualMachinesFilterOutputWithContext(context.Background()) +} + +func (i GetOntapStorageVirtualMachinesFilterArgs) ToGetOntapStorageVirtualMachinesFilterOutputWithContext(ctx context.Context) GetOntapStorageVirtualMachinesFilterOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetOntapStorageVirtualMachinesFilterOutput) +} + +func (i GetOntapStorageVirtualMachinesFilterArgs) ToOutput(ctx context.Context) pulumix.Output[GetOntapStorageVirtualMachinesFilter] { + return pulumix.Output[GetOntapStorageVirtualMachinesFilter]{ + OutputState: i.ToGetOntapStorageVirtualMachinesFilterOutputWithContext(ctx).OutputState, + } +} + +// GetOntapStorageVirtualMachinesFilterArrayInput is an input type that accepts GetOntapStorageVirtualMachinesFilterArray and GetOntapStorageVirtualMachinesFilterArrayOutput values. +// You can construct a concrete instance of `GetOntapStorageVirtualMachinesFilterArrayInput` via: +// +// GetOntapStorageVirtualMachinesFilterArray{ GetOntapStorageVirtualMachinesFilterArgs{...} } +type GetOntapStorageVirtualMachinesFilterArrayInput interface { + pulumi.Input + + ToGetOntapStorageVirtualMachinesFilterArrayOutput() GetOntapStorageVirtualMachinesFilterArrayOutput + ToGetOntapStorageVirtualMachinesFilterArrayOutputWithContext(context.Context) GetOntapStorageVirtualMachinesFilterArrayOutput +} + +type GetOntapStorageVirtualMachinesFilterArray []GetOntapStorageVirtualMachinesFilterInput + +func (GetOntapStorageVirtualMachinesFilterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetOntapStorageVirtualMachinesFilter)(nil)).Elem() +} + +func (i GetOntapStorageVirtualMachinesFilterArray) ToGetOntapStorageVirtualMachinesFilterArrayOutput() GetOntapStorageVirtualMachinesFilterArrayOutput { + return i.ToGetOntapStorageVirtualMachinesFilterArrayOutputWithContext(context.Background()) +} + +func (i GetOntapStorageVirtualMachinesFilterArray) ToGetOntapStorageVirtualMachinesFilterArrayOutputWithContext(ctx context.Context) GetOntapStorageVirtualMachinesFilterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetOntapStorageVirtualMachinesFilterArrayOutput) +} + +func (i GetOntapStorageVirtualMachinesFilterArray) ToOutput(ctx context.Context) pulumix.Output[[]GetOntapStorageVirtualMachinesFilter] { + return pulumix.Output[[]GetOntapStorageVirtualMachinesFilter]{ + OutputState: i.ToGetOntapStorageVirtualMachinesFilterArrayOutputWithContext(ctx).OutputState, + } +} + +type GetOntapStorageVirtualMachinesFilterOutput struct{ *pulumi.OutputState } + +func (GetOntapStorageVirtualMachinesFilterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetOntapStorageVirtualMachinesFilter)(nil)).Elem() +} + +func (o GetOntapStorageVirtualMachinesFilterOutput) ToGetOntapStorageVirtualMachinesFilterOutput() GetOntapStorageVirtualMachinesFilterOutput { + return o +} + +func (o GetOntapStorageVirtualMachinesFilterOutput) ToGetOntapStorageVirtualMachinesFilterOutputWithContext(ctx context.Context) GetOntapStorageVirtualMachinesFilterOutput { + return o +} + +func (o GetOntapStorageVirtualMachinesFilterOutput) ToOutput(ctx context.Context) pulumix.Output[GetOntapStorageVirtualMachinesFilter] { + return pulumix.Output[GetOntapStorageVirtualMachinesFilter]{ + OutputState: o.OutputState, + } +} + +// Name of the field to filter by, as defined by [the underlying AWS API](https://docs.aws.amazon.com/fsx/latest/APIReference/API_StorageVirtualMachineFilter.html). +func (o GetOntapStorageVirtualMachinesFilterOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetOntapStorageVirtualMachinesFilter) string { return v.Name }).(pulumi.StringOutput) +} + +// Set of values that are accepted for the given field. An SVM will be selected if any one of the given values matches. +func (o GetOntapStorageVirtualMachinesFilterOutput) Values() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetOntapStorageVirtualMachinesFilter) []string { return v.Values }).(pulumi.StringArrayOutput) +} + +type GetOntapStorageVirtualMachinesFilterArrayOutput struct{ *pulumi.OutputState } + +func (GetOntapStorageVirtualMachinesFilterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetOntapStorageVirtualMachinesFilter)(nil)).Elem() +} + +func (o GetOntapStorageVirtualMachinesFilterArrayOutput) ToGetOntapStorageVirtualMachinesFilterArrayOutput() GetOntapStorageVirtualMachinesFilterArrayOutput { + return o +} + +func (o GetOntapStorageVirtualMachinesFilterArrayOutput) ToGetOntapStorageVirtualMachinesFilterArrayOutputWithContext(ctx context.Context) GetOntapStorageVirtualMachinesFilterArrayOutput { + return o +} + +func (o GetOntapStorageVirtualMachinesFilterArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetOntapStorageVirtualMachinesFilter] { + return pulumix.Output[[]GetOntapStorageVirtualMachinesFilter]{ + OutputState: o.OutputState, + } +} + +func (o GetOntapStorageVirtualMachinesFilterArrayOutput) Index(i pulumi.IntInput) GetOntapStorageVirtualMachinesFilterOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetOntapStorageVirtualMachinesFilter { + return vs[0].([]GetOntapStorageVirtualMachinesFilter)[vs[1].(int)] + }).(GetOntapStorageVirtualMachinesFilterOutput) +} + type GetOpenZfsSnapshotFilter struct { // Name of the snapshot. Name string `pulumi:"name"` @@ -6045,6 +7883,34 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*WindowsFileSystemDiskIopsConfigurationPtrInput)(nil)).Elem(), WindowsFileSystemDiskIopsConfigurationArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*WindowsFileSystemSelfManagedActiveDirectoryInput)(nil)).Elem(), WindowsFileSystemSelfManagedActiveDirectoryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*WindowsFileSystemSelfManagedActiveDirectoryPtrInput)(nil)).Elem(), WindowsFileSystemSelfManagedActiveDirectoryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetOntapFileSystemDiskIopsConfigurationInput)(nil)).Elem(), GetOntapFileSystemDiskIopsConfigurationArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetOntapFileSystemDiskIopsConfigurationArrayInput)(nil)).Elem(), GetOntapFileSystemDiskIopsConfigurationArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetOntapFileSystemEndpointInput)(nil)).Elem(), GetOntapFileSystemEndpointArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetOntapFileSystemEndpointArrayInput)(nil)).Elem(), GetOntapFileSystemEndpointArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetOntapFileSystemEndpointInterclusterInput)(nil)).Elem(), GetOntapFileSystemEndpointInterclusterArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetOntapFileSystemEndpointInterclusterArrayInput)(nil)).Elem(), GetOntapFileSystemEndpointInterclusterArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetOntapFileSystemEndpointManagementInput)(nil)).Elem(), GetOntapFileSystemEndpointManagementArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetOntapFileSystemEndpointManagementArrayInput)(nil)).Elem(), GetOntapFileSystemEndpointManagementArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetOntapStorageVirtualMachineActiveDirectoryConfigurationInput)(nil)).Elem(), GetOntapStorageVirtualMachineActiveDirectoryConfigurationArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetOntapStorageVirtualMachineActiveDirectoryConfigurationArrayInput)(nil)).Elem(), GetOntapStorageVirtualMachineActiveDirectoryConfigurationArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfigurationInput)(nil)).Elem(), GetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfigurationArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfigurationArrayInput)(nil)).Elem(), GetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfigurationArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetOntapStorageVirtualMachineEndpointInput)(nil)).Elem(), GetOntapStorageVirtualMachineEndpointArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetOntapStorageVirtualMachineEndpointArrayInput)(nil)).Elem(), GetOntapStorageVirtualMachineEndpointArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetOntapStorageVirtualMachineEndpointIscsiInput)(nil)).Elem(), GetOntapStorageVirtualMachineEndpointIscsiArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetOntapStorageVirtualMachineEndpointIscsiArrayInput)(nil)).Elem(), GetOntapStorageVirtualMachineEndpointIscsiArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetOntapStorageVirtualMachineEndpointManagementInput)(nil)).Elem(), GetOntapStorageVirtualMachineEndpointManagementArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetOntapStorageVirtualMachineEndpointManagementArrayInput)(nil)).Elem(), GetOntapStorageVirtualMachineEndpointManagementArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetOntapStorageVirtualMachineEndpointNfInput)(nil)).Elem(), GetOntapStorageVirtualMachineEndpointNfArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetOntapStorageVirtualMachineEndpointNfArrayInput)(nil)).Elem(), GetOntapStorageVirtualMachineEndpointNfArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetOntapStorageVirtualMachineEndpointSmbInput)(nil)).Elem(), GetOntapStorageVirtualMachineEndpointSmbArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetOntapStorageVirtualMachineEndpointSmbArrayInput)(nil)).Elem(), GetOntapStorageVirtualMachineEndpointSmbArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetOntapStorageVirtualMachineFilterInput)(nil)).Elem(), GetOntapStorageVirtualMachineFilterArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetOntapStorageVirtualMachineFilterArrayInput)(nil)).Elem(), GetOntapStorageVirtualMachineFilterArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetOntapStorageVirtualMachineLifecycleTransitionReasonInput)(nil)).Elem(), GetOntapStorageVirtualMachineLifecycleTransitionReasonArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetOntapStorageVirtualMachineLifecycleTransitionReasonArrayInput)(nil)).Elem(), GetOntapStorageVirtualMachineLifecycleTransitionReasonArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetOntapStorageVirtualMachinesFilterInput)(nil)).Elem(), GetOntapStorageVirtualMachinesFilterArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetOntapStorageVirtualMachinesFilterArrayInput)(nil)).Elem(), GetOntapStorageVirtualMachinesFilterArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetOpenZfsSnapshotFilterInput)(nil)).Elem(), GetOpenZfsSnapshotFilterArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetOpenZfsSnapshotFilterArrayInput)(nil)).Elem(), GetOpenZfsSnapshotFilterArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetWindowsFileSystemAuditLogConfigurationInput)(nil)).Elem(), GetWindowsFileSystemAuditLogConfigurationArgs{}) @@ -6119,6 +7985,34 @@ func init() { pulumi.RegisterOutputType(WindowsFileSystemDiskIopsConfigurationPtrOutput{}) pulumi.RegisterOutputType(WindowsFileSystemSelfManagedActiveDirectoryOutput{}) pulumi.RegisterOutputType(WindowsFileSystemSelfManagedActiveDirectoryPtrOutput{}) + pulumi.RegisterOutputType(GetOntapFileSystemDiskIopsConfigurationOutput{}) + pulumi.RegisterOutputType(GetOntapFileSystemDiskIopsConfigurationArrayOutput{}) + pulumi.RegisterOutputType(GetOntapFileSystemEndpointOutput{}) + pulumi.RegisterOutputType(GetOntapFileSystemEndpointArrayOutput{}) + pulumi.RegisterOutputType(GetOntapFileSystemEndpointInterclusterOutput{}) + pulumi.RegisterOutputType(GetOntapFileSystemEndpointInterclusterArrayOutput{}) + pulumi.RegisterOutputType(GetOntapFileSystemEndpointManagementOutput{}) + pulumi.RegisterOutputType(GetOntapFileSystemEndpointManagementArrayOutput{}) + pulumi.RegisterOutputType(GetOntapStorageVirtualMachineActiveDirectoryConfigurationOutput{}) + pulumi.RegisterOutputType(GetOntapStorageVirtualMachineActiveDirectoryConfigurationArrayOutput{}) + pulumi.RegisterOutputType(GetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfigurationOutput{}) + pulumi.RegisterOutputType(GetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfigurationArrayOutput{}) + pulumi.RegisterOutputType(GetOntapStorageVirtualMachineEndpointOutput{}) + pulumi.RegisterOutputType(GetOntapStorageVirtualMachineEndpointArrayOutput{}) + pulumi.RegisterOutputType(GetOntapStorageVirtualMachineEndpointIscsiOutput{}) + pulumi.RegisterOutputType(GetOntapStorageVirtualMachineEndpointIscsiArrayOutput{}) + pulumi.RegisterOutputType(GetOntapStorageVirtualMachineEndpointManagementOutput{}) + pulumi.RegisterOutputType(GetOntapStorageVirtualMachineEndpointManagementArrayOutput{}) + pulumi.RegisterOutputType(GetOntapStorageVirtualMachineEndpointNfOutput{}) + pulumi.RegisterOutputType(GetOntapStorageVirtualMachineEndpointNfArrayOutput{}) + pulumi.RegisterOutputType(GetOntapStorageVirtualMachineEndpointSmbOutput{}) + pulumi.RegisterOutputType(GetOntapStorageVirtualMachineEndpointSmbArrayOutput{}) + pulumi.RegisterOutputType(GetOntapStorageVirtualMachineFilterOutput{}) + pulumi.RegisterOutputType(GetOntapStorageVirtualMachineFilterArrayOutput{}) + pulumi.RegisterOutputType(GetOntapStorageVirtualMachineLifecycleTransitionReasonOutput{}) + pulumi.RegisterOutputType(GetOntapStorageVirtualMachineLifecycleTransitionReasonArrayOutput{}) + pulumi.RegisterOutputType(GetOntapStorageVirtualMachinesFilterOutput{}) + pulumi.RegisterOutputType(GetOntapStorageVirtualMachinesFilterArrayOutput{}) pulumi.RegisterOutputType(GetOpenZfsSnapshotFilterOutput{}) pulumi.RegisterOutputType(GetOpenZfsSnapshotFilterArrayOutput{}) pulumi.RegisterOutputType(GetWindowsFileSystemAuditLogConfigurationOutput{}) diff --git a/sdk/go/aws/mq/broker.go b/sdk/go/aws/mq/broker.go index c676b8ff809..dc8d1b5778b 100644 --- a/sdk/go/aws/mq/broker.go +++ b/sdk/go/aws/mq/broker.go @@ -17,7 +17,7 @@ import ( // // > For more information on Amazon MQ, see [Amazon MQ documentation](https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/welcome.html). // -// > **NOTE:** Amazon MQ currently places limits on **RabbitMQ** brokers. For example, a RabbitMQ broker cannot have: instances with an associated IP address of an ENI attached to the broker, an associated LDAP server to authenticate and authorize broker connections, storage type `EFS`, audit logging, or `configuration` blocks. Although this resource allows you to create RabbitMQ users, RabbitMQ users cannot have console access or groups. Also, Amazon MQ does not return information about RabbitMQ users so drift detection is not possible. +// > **NOTE:** Amazon MQ currently places limits on **RabbitMQ** brokers. For example, a RabbitMQ broker cannot have: instances with an associated IP address of an ENI attached to the broker, an associated LDAP server to authenticate and authorize broker connections, storage type `EFS`, or audit logging. Although this resource allows you to create RabbitMQ users, RabbitMQ users cannot have console access or groups. Also, Amazon MQ does not return information about RabbitMQ users so drift detection is not possible. // // > **NOTE:** Changes to an MQ Broker can occur when you change a parameter, such as `configuration` or `user`, and are reflected in the next maintenance window. Because of this, the provider may report a difference in its planning phase because a modification has not yet taken place. You can use the `applyImmediately` flag to instruct the service to apply the change immediately (see documentation below). Using `applyImmediately` can result in a brief downtime as the broker reboots. // @@ -128,7 +128,7 @@ type Broker struct { AutoMinorVersionUpgrade pulumi.BoolPtrOutput `pulumi:"autoMinorVersionUpgrade"` // Name of the broker. BrokerName pulumi.StringOutput `pulumi:"brokerName"` - // Configuration block for broker configuration. Applies to `engineType` of `ActiveMQ` only. Detailed below. + // Configuration block for broker configuration. Applies to `engineType` of `ActiveMQ` and `RabbitMQ` only. Detailed below. Configuration BrokerConfigurationOutput `pulumi:"configuration"` // Deployment mode of the broker. Valid values are `SINGLE_INSTANCE`, `ACTIVE_STANDBY_MULTI_AZ`, and `CLUSTER_MULTI_AZ`. Default is `SINGLE_INSTANCE`. DeploymentMode pulumi.StringPtrOutput `pulumi:"deploymentMode"` @@ -235,7 +235,7 @@ type brokerState struct { AutoMinorVersionUpgrade *bool `pulumi:"autoMinorVersionUpgrade"` // Name of the broker. BrokerName *string `pulumi:"brokerName"` - // Configuration block for broker configuration. Applies to `engineType` of `ActiveMQ` only. Detailed below. + // Configuration block for broker configuration. Applies to `engineType` of `ActiveMQ` and `RabbitMQ` only. Detailed below. Configuration *BrokerConfiguration `pulumi:"configuration"` // Deployment mode of the broker. Valid values are `SINGLE_INSTANCE`, `ACTIVE_STANDBY_MULTI_AZ`, and `CLUSTER_MULTI_AZ`. Default is `SINGLE_INSTANCE`. DeploymentMode *string `pulumi:"deploymentMode"` @@ -297,7 +297,7 @@ type BrokerState struct { AutoMinorVersionUpgrade pulumi.BoolPtrInput // Name of the broker. BrokerName pulumi.StringPtrInput - // Configuration block for broker configuration. Applies to `engineType` of `ActiveMQ` only. Detailed below. + // Configuration block for broker configuration. Applies to `engineType` of `ActiveMQ` and `RabbitMQ` only. Detailed below. Configuration BrokerConfigurationPtrInput // Deployment mode of the broker. Valid values are `SINGLE_INSTANCE`, `ACTIVE_STANDBY_MULTI_AZ`, and `CLUSTER_MULTI_AZ`. Default is `SINGLE_INSTANCE`. DeploymentMode pulumi.StringPtrInput @@ -361,7 +361,7 @@ type brokerArgs struct { AutoMinorVersionUpgrade *bool `pulumi:"autoMinorVersionUpgrade"` // Name of the broker. BrokerName *string `pulumi:"brokerName"` - // Configuration block for broker configuration. Applies to `engineType` of `ActiveMQ` only. Detailed below. + // Configuration block for broker configuration. Applies to `engineType` of `ActiveMQ` and `RabbitMQ` only. Detailed below. Configuration *BrokerConfiguration `pulumi:"configuration"` // Deployment mode of the broker. Valid values are `SINGLE_INSTANCE`, `ACTIVE_STANDBY_MULTI_AZ`, and `CLUSTER_MULTI_AZ`. Default is `SINGLE_INSTANCE`. DeploymentMode *string `pulumi:"deploymentMode"` @@ -405,7 +405,7 @@ type BrokerArgs struct { AutoMinorVersionUpgrade pulumi.BoolPtrInput // Name of the broker. BrokerName pulumi.StringPtrInput - // Configuration block for broker configuration. Applies to `engineType` of `ActiveMQ` only. Detailed below. + // Configuration block for broker configuration. Applies to `engineType` of `ActiveMQ` and `RabbitMQ` only. Detailed below. Configuration BrokerConfigurationPtrInput // Deployment mode of the broker. Valid values are `SINGLE_INSTANCE`, `ACTIVE_STANDBY_MULTI_AZ`, and `CLUSTER_MULTI_AZ`. Default is `SINGLE_INSTANCE`. DeploymentMode pulumi.StringPtrInput @@ -575,7 +575,7 @@ func (o BrokerOutput) BrokerName() pulumi.StringOutput { return o.ApplyT(func(v *Broker) pulumi.StringOutput { return v.BrokerName }).(pulumi.StringOutput) } -// Configuration block for broker configuration. Applies to `engineType` of `ActiveMQ` only. Detailed below. +// Configuration block for broker configuration. Applies to `engineType` of `ActiveMQ` and `RabbitMQ` only. Detailed below. func (o BrokerOutput) Configuration() BrokerConfigurationOutput { return o.ApplyT(func(v *Broker) BrokerConfigurationOutput { return v.Configuration }).(BrokerConfigurationOutput) } diff --git a/sdk/go/aws/mq/configuration.go b/sdk/go/aws/mq/configuration.go index 322ecda0d95..b5171e78006 100644 --- a/sdk/go/aws/mq/configuration.go +++ b/sdk/go/aws/mq/configuration.go @@ -18,6 +18,7 @@ import ( // For more information on Amazon MQ, see [Amazon MQ documentation](https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/welcome.html). // // ## Example Usage +// ### ActiveMQ // // ```go // package main @@ -58,6 +59,34 @@ import ( // } // // ``` +// ### RabbitMQ +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-aws/sdk/v6/go/aws/mq" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := mq.NewConfiguration(ctx, "example", &mq.ConfigurationArgs{ +// Data: pulumi.String("# Default RabbitMQ delivery acknowledgement timeout is 30 minutes in milliseconds\nconsumer_timeout = 1800000\n\n"), +// Description: pulumi.String("Example Configuration"), +// EngineType: pulumi.String("RabbitMQ"), +// EngineVersion: pulumi.String("3.11.16"), +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` // // ## Import // @@ -75,7 +104,7 @@ type Configuration struct { Arn pulumi.StringOutput `pulumi:"arn"` // Authentication strategy associated with the configuration. Valid values are `simple` and `ldap`. `ldap` is not supported for `engineType` `RabbitMQ`. AuthenticationStrategy pulumi.StringOutput `pulumi:"authenticationStrategy"` - // Broker configuration in XML format. See [official docs](https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/amazon-mq-broker-configuration-parameters.html) for supported parameters and format of the XML. + // Broker configuration in XML format for `ActiveMQ` or [Cuttlefish](https://github.com/Kyorai/cuttlefish) format for `RabbitMQ`. See [official docs](https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/amazon-mq-broker-configuration-parameters.html) for supported parameters and format of the XML. Data pulumi.StringOutput `pulumi:"data"` // Description of the configuration. Description pulumi.StringPtrOutput `pulumi:"description"` @@ -144,7 +173,7 @@ type configurationState struct { Arn *string `pulumi:"arn"` // Authentication strategy associated with the configuration. Valid values are `simple` and `ldap`. `ldap` is not supported for `engineType` `RabbitMQ`. AuthenticationStrategy *string `pulumi:"authenticationStrategy"` - // Broker configuration in XML format. See [official docs](https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/amazon-mq-broker-configuration-parameters.html) for supported parameters and format of the XML. + // Broker configuration in XML format for `ActiveMQ` or [Cuttlefish](https://github.com/Kyorai/cuttlefish) format for `RabbitMQ`. See [official docs](https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/amazon-mq-broker-configuration-parameters.html) for supported parameters and format of the XML. Data *string `pulumi:"data"` // Description of the configuration. Description *string `pulumi:"description"` @@ -171,7 +200,7 @@ type ConfigurationState struct { Arn pulumi.StringPtrInput // Authentication strategy associated with the configuration. Valid values are `simple` and `ldap`. `ldap` is not supported for `engineType` `RabbitMQ`. AuthenticationStrategy pulumi.StringPtrInput - // Broker configuration in XML format. See [official docs](https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/amazon-mq-broker-configuration-parameters.html) for supported parameters and format of the XML. + // Broker configuration in XML format for `ActiveMQ` or [Cuttlefish](https://github.com/Kyorai/cuttlefish) format for `RabbitMQ`. See [official docs](https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/amazon-mq-broker-configuration-parameters.html) for supported parameters and format of the XML. Data pulumi.StringPtrInput // Description of the configuration. Description pulumi.StringPtrInput @@ -200,7 +229,7 @@ func (ConfigurationState) ElementType() reflect.Type { type configurationArgs struct { // Authentication strategy associated with the configuration. Valid values are `simple` and `ldap`. `ldap` is not supported for `engineType` `RabbitMQ`. AuthenticationStrategy *string `pulumi:"authenticationStrategy"` - // Broker configuration in XML format. See [official docs](https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/amazon-mq-broker-configuration-parameters.html) for supported parameters and format of the XML. + // Broker configuration in XML format for `ActiveMQ` or [Cuttlefish](https://github.com/Kyorai/cuttlefish) format for `RabbitMQ`. See [official docs](https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/amazon-mq-broker-configuration-parameters.html) for supported parameters and format of the XML. Data string `pulumi:"data"` // Description of the configuration. Description *string `pulumi:"description"` @@ -220,7 +249,7 @@ type configurationArgs struct { type ConfigurationArgs struct { // Authentication strategy associated with the configuration. Valid values are `simple` and `ldap`. `ldap` is not supported for `engineType` `RabbitMQ`. AuthenticationStrategy pulumi.StringPtrInput - // Broker configuration in XML format. See [official docs](https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/amazon-mq-broker-configuration-parameters.html) for supported parameters and format of the XML. + // Broker configuration in XML format for `ActiveMQ` or [Cuttlefish](https://github.com/Kyorai/cuttlefish) format for `RabbitMQ`. See [official docs](https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/amazon-mq-broker-configuration-parameters.html) for supported parameters and format of the XML. Data pulumi.StringInput // Description of the configuration. Description pulumi.StringPtrInput @@ -357,7 +386,7 @@ func (o ConfigurationOutput) AuthenticationStrategy() pulumi.StringOutput { return o.ApplyT(func(v *Configuration) pulumi.StringOutput { return v.AuthenticationStrategy }).(pulumi.StringOutput) } -// Broker configuration in XML format. See [official docs](https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/amazon-mq-broker-configuration-parameters.html) for supported parameters and format of the XML. +// Broker configuration in XML format for `ActiveMQ` or [Cuttlefish](https://github.com/Kyorai/cuttlefish) format for `RabbitMQ`. See [official docs](https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/amazon-mq-broker-configuration-parameters.html) for supported parameters and format of the XML. func (o ConfigurationOutput) Data() pulumi.StringOutput { return o.ApplyT(func(v *Configuration) pulumi.StringOutput { return v.Data }).(pulumi.StringOutput) } diff --git a/sdk/go/aws/opensearch/init.go b/sdk/go/aws/opensearch/init.go index 7ec80254200..204c9cf3cf9 100644 --- a/sdk/go/aws/opensearch/init.go +++ b/sdk/go/aws/opensearch/init.go @@ -31,6 +31,10 @@ func (m *module) Construct(ctx *pulumi.Context, name, typ, urn string) (r pulumi r = &InboundConnectionAccepter{} case "aws:opensearch/outboundConnection:OutboundConnection": r = &OutboundConnection{} + case "aws:opensearch/package:Package": + r = &Package{} + case "aws:opensearch/packageAssociation:PackageAssociation": + r = &PackageAssociation{} case "aws:opensearch/serverlessAccessPolicy:ServerlessAccessPolicy": r = &ServerlessAccessPolicy{} case "aws:opensearch/serverlessCollection:ServerlessCollection": @@ -81,6 +85,16 @@ func init() { "opensearch/outboundConnection", &module{version}, ) + pulumi.RegisterResourceModule( + "aws", + "opensearch/package", + &module{version}, + ) + pulumi.RegisterResourceModule( + "aws", + "opensearch/packageAssociation", + &module{version}, + ) pulumi.RegisterResourceModule( "aws", "opensearch/serverlessAccessPolicy", diff --git a/sdk/go/aws/opensearch/package.go b/sdk/go/aws/opensearch/package.go new file mode 100644 index 00000000000..cb3a473e336 --- /dev/null +++ b/sdk/go/aws/opensearch/package.go @@ -0,0 +1,335 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package opensearch + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-aws/sdk/v6/go/aws/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" +) + +// Manages an AWS Opensearch Package. +// +// ## Example Usage +// +// ## Import +// +// terraform import { +// +// to = aws_opensearch_package.example +// +// id = "package-id" } Using `pulumi import`, import AWS Opensearch Packages using the Package ID. For exampleconsole % pulumi import aws:opensearch/package:Package example package-id +type Package struct { + pulumi.CustomResourceState + + // The current version of the package. + AvailablePackageVersion pulumi.StringOutput `pulumi:"availablePackageVersion"` + // Description of the package. + PackageDescription pulumi.StringPtrOutput `pulumi:"packageDescription"` + PackageId pulumi.StringOutput `pulumi:"packageId"` + // Unique name for the package. + PackageName pulumi.StringOutput `pulumi:"packageName"` + // Configuration block for the package source options. + PackageSource PackagePackageSourceOutput `pulumi:"packageSource"` + // The type of package. + PackageType pulumi.StringOutput `pulumi:"packageType"` +} + +// NewPackage registers a new resource with the given unique name, arguments, and options. +func NewPackage(ctx *pulumi.Context, + name string, args *PackageArgs, opts ...pulumi.ResourceOption) (*Package, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.PackageName == nil { + return nil, errors.New("invalid value for required argument 'PackageName'") + } + if args.PackageSource == nil { + return nil, errors.New("invalid value for required argument 'PackageSource'") + } + if args.PackageType == nil { + return nil, errors.New("invalid value for required argument 'PackageType'") + } + opts = internal.PkgResourceDefaultOpts(opts) + var resource Package + err := ctx.RegisterResource("aws:opensearch/package:Package", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetPackage gets an existing Package resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetPackage(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *PackageState, opts ...pulumi.ResourceOption) (*Package, error) { + var resource Package + err := ctx.ReadResource("aws:opensearch/package:Package", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering Package resources. +type packageState struct { + // The current version of the package. + AvailablePackageVersion *string `pulumi:"availablePackageVersion"` + // Description of the package. + PackageDescription *string `pulumi:"packageDescription"` + PackageId *string `pulumi:"packageId"` + // Unique name for the package. + PackageName *string `pulumi:"packageName"` + // Configuration block for the package source options. + PackageSource *PackagePackageSource `pulumi:"packageSource"` + // The type of package. + PackageType *string `pulumi:"packageType"` +} + +type PackageState struct { + // The current version of the package. + AvailablePackageVersion pulumi.StringPtrInput + // Description of the package. + PackageDescription pulumi.StringPtrInput + PackageId pulumi.StringPtrInput + // Unique name for the package. + PackageName pulumi.StringPtrInput + // Configuration block for the package source options. + PackageSource PackagePackageSourcePtrInput + // The type of package. + PackageType pulumi.StringPtrInput +} + +func (PackageState) ElementType() reflect.Type { + return reflect.TypeOf((*packageState)(nil)).Elem() +} + +type packageArgs struct { + // Description of the package. + PackageDescription *string `pulumi:"packageDescription"` + // Unique name for the package. + PackageName string `pulumi:"packageName"` + // Configuration block for the package source options. + PackageSource PackagePackageSource `pulumi:"packageSource"` + // The type of package. + PackageType string `pulumi:"packageType"` +} + +// The set of arguments for constructing a Package resource. +type PackageArgs struct { + // Description of the package. + PackageDescription pulumi.StringPtrInput + // Unique name for the package. + PackageName pulumi.StringInput + // Configuration block for the package source options. + PackageSource PackagePackageSourceInput + // The type of package. + PackageType pulumi.StringInput +} + +func (PackageArgs) ElementType() reflect.Type { + return reflect.TypeOf((*packageArgs)(nil)).Elem() +} + +type PackageInput interface { + pulumi.Input + + ToPackageOutput() PackageOutput + ToPackageOutputWithContext(ctx context.Context) PackageOutput +} + +func (*Package) ElementType() reflect.Type { + return reflect.TypeOf((**Package)(nil)).Elem() +} + +func (i *Package) ToPackageOutput() PackageOutput { + return i.ToPackageOutputWithContext(context.Background()) +} + +func (i *Package) ToPackageOutputWithContext(ctx context.Context) PackageOutput { + return pulumi.ToOutputWithContext(ctx, i).(PackageOutput) +} + +func (i *Package) ToOutput(ctx context.Context) pulumix.Output[*Package] { + return pulumix.Output[*Package]{ + OutputState: i.ToPackageOutputWithContext(ctx).OutputState, + } +} + +// PackageArrayInput is an input type that accepts PackageArray and PackageArrayOutput values. +// You can construct a concrete instance of `PackageArrayInput` via: +// +// PackageArray{ PackageArgs{...} } +type PackageArrayInput interface { + pulumi.Input + + ToPackageArrayOutput() PackageArrayOutput + ToPackageArrayOutputWithContext(context.Context) PackageArrayOutput +} + +type PackageArray []PackageInput + +func (PackageArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]*Package)(nil)).Elem() +} + +func (i PackageArray) ToPackageArrayOutput() PackageArrayOutput { + return i.ToPackageArrayOutputWithContext(context.Background()) +} + +func (i PackageArray) ToPackageArrayOutputWithContext(ctx context.Context) PackageArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PackageArrayOutput) +} + +func (i PackageArray) ToOutput(ctx context.Context) pulumix.Output[[]*Package] { + return pulumix.Output[[]*Package]{ + OutputState: i.ToPackageArrayOutputWithContext(ctx).OutputState, + } +} + +// PackageMapInput is an input type that accepts PackageMap and PackageMapOutput values. +// You can construct a concrete instance of `PackageMapInput` via: +// +// PackageMap{ "key": PackageArgs{...} } +type PackageMapInput interface { + pulumi.Input + + ToPackageMapOutput() PackageMapOutput + ToPackageMapOutputWithContext(context.Context) PackageMapOutput +} + +type PackageMap map[string]PackageInput + +func (PackageMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*Package)(nil)).Elem() +} + +func (i PackageMap) ToPackageMapOutput() PackageMapOutput { + return i.ToPackageMapOutputWithContext(context.Background()) +} + +func (i PackageMap) ToPackageMapOutputWithContext(ctx context.Context) PackageMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(PackageMapOutput) +} + +func (i PackageMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*Package] { + return pulumix.Output[map[string]*Package]{ + OutputState: i.ToPackageMapOutputWithContext(ctx).OutputState, + } +} + +type PackageOutput struct{ *pulumi.OutputState } + +func (PackageOutput) ElementType() reflect.Type { + return reflect.TypeOf((**Package)(nil)).Elem() +} + +func (o PackageOutput) ToPackageOutput() PackageOutput { + return o +} + +func (o PackageOutput) ToPackageOutputWithContext(ctx context.Context) PackageOutput { + return o +} + +func (o PackageOutput) ToOutput(ctx context.Context) pulumix.Output[*Package] { + return pulumix.Output[*Package]{ + OutputState: o.OutputState, + } +} + +// The current version of the package. +func (o PackageOutput) AvailablePackageVersion() pulumi.StringOutput { + return o.ApplyT(func(v *Package) pulumi.StringOutput { return v.AvailablePackageVersion }).(pulumi.StringOutput) +} + +// Description of the package. +func (o PackageOutput) PackageDescription() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Package) pulumi.StringPtrOutput { return v.PackageDescription }).(pulumi.StringPtrOutput) +} + +func (o PackageOutput) PackageId() pulumi.StringOutput { + return o.ApplyT(func(v *Package) pulumi.StringOutput { return v.PackageId }).(pulumi.StringOutput) +} + +// Unique name for the package. +func (o PackageOutput) PackageName() pulumi.StringOutput { + return o.ApplyT(func(v *Package) pulumi.StringOutput { return v.PackageName }).(pulumi.StringOutput) +} + +// Configuration block for the package source options. +func (o PackageOutput) PackageSource() PackagePackageSourceOutput { + return o.ApplyT(func(v *Package) PackagePackageSourceOutput { return v.PackageSource }).(PackagePackageSourceOutput) +} + +// The type of package. +func (o PackageOutput) PackageType() pulumi.StringOutput { + return o.ApplyT(func(v *Package) pulumi.StringOutput { return v.PackageType }).(pulumi.StringOutput) +} + +type PackageArrayOutput struct{ *pulumi.OutputState } + +func (PackageArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]*Package)(nil)).Elem() +} + +func (o PackageArrayOutput) ToPackageArrayOutput() PackageArrayOutput { + return o +} + +func (o PackageArrayOutput) ToPackageArrayOutputWithContext(ctx context.Context) PackageArrayOutput { + return o +} + +func (o PackageArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*Package] { + return pulumix.Output[[]*Package]{ + OutputState: o.OutputState, + } +} + +func (o PackageArrayOutput) Index(i pulumi.IntInput) PackageOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *Package { + return vs[0].([]*Package)[vs[1].(int)] + }).(PackageOutput) +} + +type PackageMapOutput struct{ *pulumi.OutputState } + +func (PackageMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*Package)(nil)).Elem() +} + +func (o PackageMapOutput) ToPackageMapOutput() PackageMapOutput { + return o +} + +func (o PackageMapOutput) ToPackageMapOutputWithContext(ctx context.Context) PackageMapOutput { + return o +} + +func (o PackageMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*Package] { + return pulumix.Output[map[string]*Package]{ + OutputState: o.OutputState, + } +} + +func (o PackageMapOutput) MapIndex(k pulumi.StringInput) PackageOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *Package { + return vs[0].(map[string]*Package)[vs[1].(string)] + }).(PackageOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*PackageInput)(nil)).Elem(), &Package{}) + pulumi.RegisterInputType(reflect.TypeOf((*PackageArrayInput)(nil)).Elem(), PackageArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*PackageMapInput)(nil)).Elem(), PackageMap{}) + pulumi.RegisterOutputType(PackageOutput{}) + pulumi.RegisterOutputType(PackageArrayOutput{}) + pulumi.RegisterOutputType(PackageMapOutput{}) +} diff --git a/sdk/go/aws/opensearch/packageAssociation.go b/sdk/go/aws/opensearch/packageAssociation.go new file mode 100644 index 00000000000..55a1e908995 --- /dev/null +++ b/sdk/go/aws/opensearch/packageAssociation.go @@ -0,0 +1,329 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package opensearch + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-aws/sdk/v6/go/aws/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" +) + +// Manages an AWS Opensearch Package Association. +// +// ## Example Usage +// ### Basic Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-aws/sdk/v6/go/aws/opensearch" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// myDomain, err := opensearch.NewDomain(ctx, "myDomain", &opensearch.DomainArgs{ +// EngineVersion: pulumi.String("Elasticsearch_7.10"), +// ClusterConfig: &opensearch.DomainClusterConfigArgs{ +// InstanceType: pulumi.String("r4.large.search"), +// }, +// }) +// if err != nil { +// return err +// } +// examplePackage, err := opensearch.NewPackage(ctx, "examplePackage", &opensearch.PackageArgs{ +// PackageName: pulumi.String("example-txt"), +// PackageSource: &opensearch.PackagePackageSourceArgs{ +// S3BucketName: pulumi.Any(aws_s3_bucket.My_opensearch_packages.Bucket), +// S3Key: pulumi.Any(aws_s3_object.Example.Key), +// }, +// PackageType: pulumi.String("TXT-DICTIONARY"), +// }) +// if err != nil { +// return err +// } +// _, err = opensearch.NewPackageAssociation(ctx, "examplePackageAssociation", &opensearch.PackageAssociationArgs{ +// PackageId: examplePackage.ID(), +// DomainName: myDomain.DomainName, +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +type PackageAssociation struct { + pulumi.CustomResourceState + + // Name of the domain to associate the package with. + DomainName pulumi.StringOutput `pulumi:"domainName"` + // Internal ID of the package to associate with a domain. + PackageId pulumi.StringOutput `pulumi:"packageId"` + ReferencePath pulumi.StringOutput `pulumi:"referencePath"` +} + +// NewPackageAssociation registers a new resource with the given unique name, arguments, and options. +func NewPackageAssociation(ctx *pulumi.Context, + name string, args *PackageAssociationArgs, opts ...pulumi.ResourceOption) (*PackageAssociation, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.DomainName == nil { + return nil, errors.New("invalid value for required argument 'DomainName'") + } + if args.PackageId == nil { + return nil, errors.New("invalid value for required argument 'PackageId'") + } + opts = internal.PkgResourceDefaultOpts(opts) + var resource PackageAssociation + err := ctx.RegisterResource("aws:opensearch/packageAssociation:PackageAssociation", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetPackageAssociation gets an existing PackageAssociation resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetPackageAssociation(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *PackageAssociationState, opts ...pulumi.ResourceOption) (*PackageAssociation, error) { + var resource PackageAssociation + err := ctx.ReadResource("aws:opensearch/packageAssociation:PackageAssociation", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering PackageAssociation resources. +type packageAssociationState struct { + // Name of the domain to associate the package with. + DomainName *string `pulumi:"domainName"` + // Internal ID of the package to associate with a domain. + PackageId *string `pulumi:"packageId"` + ReferencePath *string `pulumi:"referencePath"` +} + +type PackageAssociationState struct { + // Name of the domain to associate the package with. + DomainName pulumi.StringPtrInput + // Internal ID of the package to associate with a domain. + PackageId pulumi.StringPtrInput + ReferencePath pulumi.StringPtrInput +} + +func (PackageAssociationState) ElementType() reflect.Type { + return reflect.TypeOf((*packageAssociationState)(nil)).Elem() +} + +type packageAssociationArgs struct { + // Name of the domain to associate the package with. + DomainName string `pulumi:"domainName"` + // Internal ID of the package to associate with a domain. + PackageId string `pulumi:"packageId"` +} + +// The set of arguments for constructing a PackageAssociation resource. +type PackageAssociationArgs struct { + // Name of the domain to associate the package with. + DomainName pulumi.StringInput + // Internal ID of the package to associate with a domain. + PackageId pulumi.StringInput +} + +func (PackageAssociationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*packageAssociationArgs)(nil)).Elem() +} + +type PackageAssociationInput interface { + pulumi.Input + + ToPackageAssociationOutput() PackageAssociationOutput + ToPackageAssociationOutputWithContext(ctx context.Context) PackageAssociationOutput +} + +func (*PackageAssociation) ElementType() reflect.Type { + return reflect.TypeOf((**PackageAssociation)(nil)).Elem() +} + +func (i *PackageAssociation) ToPackageAssociationOutput() PackageAssociationOutput { + return i.ToPackageAssociationOutputWithContext(context.Background()) +} + +func (i *PackageAssociation) ToPackageAssociationOutputWithContext(ctx context.Context) PackageAssociationOutput { + return pulumi.ToOutputWithContext(ctx, i).(PackageAssociationOutput) +} + +func (i *PackageAssociation) ToOutput(ctx context.Context) pulumix.Output[*PackageAssociation] { + return pulumix.Output[*PackageAssociation]{ + OutputState: i.ToPackageAssociationOutputWithContext(ctx).OutputState, + } +} + +// PackageAssociationArrayInput is an input type that accepts PackageAssociationArray and PackageAssociationArrayOutput values. +// You can construct a concrete instance of `PackageAssociationArrayInput` via: +// +// PackageAssociationArray{ PackageAssociationArgs{...} } +type PackageAssociationArrayInput interface { + pulumi.Input + + ToPackageAssociationArrayOutput() PackageAssociationArrayOutput + ToPackageAssociationArrayOutputWithContext(context.Context) PackageAssociationArrayOutput +} + +type PackageAssociationArray []PackageAssociationInput + +func (PackageAssociationArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]*PackageAssociation)(nil)).Elem() +} + +func (i PackageAssociationArray) ToPackageAssociationArrayOutput() PackageAssociationArrayOutput { + return i.ToPackageAssociationArrayOutputWithContext(context.Background()) +} + +func (i PackageAssociationArray) ToPackageAssociationArrayOutputWithContext(ctx context.Context) PackageAssociationArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PackageAssociationArrayOutput) +} + +func (i PackageAssociationArray) ToOutput(ctx context.Context) pulumix.Output[[]*PackageAssociation] { + return pulumix.Output[[]*PackageAssociation]{ + OutputState: i.ToPackageAssociationArrayOutputWithContext(ctx).OutputState, + } +} + +// PackageAssociationMapInput is an input type that accepts PackageAssociationMap and PackageAssociationMapOutput values. +// You can construct a concrete instance of `PackageAssociationMapInput` via: +// +// PackageAssociationMap{ "key": PackageAssociationArgs{...} } +type PackageAssociationMapInput interface { + pulumi.Input + + ToPackageAssociationMapOutput() PackageAssociationMapOutput + ToPackageAssociationMapOutputWithContext(context.Context) PackageAssociationMapOutput +} + +type PackageAssociationMap map[string]PackageAssociationInput + +func (PackageAssociationMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*PackageAssociation)(nil)).Elem() +} + +func (i PackageAssociationMap) ToPackageAssociationMapOutput() PackageAssociationMapOutput { + return i.ToPackageAssociationMapOutputWithContext(context.Background()) +} + +func (i PackageAssociationMap) ToPackageAssociationMapOutputWithContext(ctx context.Context) PackageAssociationMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(PackageAssociationMapOutput) +} + +func (i PackageAssociationMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*PackageAssociation] { + return pulumix.Output[map[string]*PackageAssociation]{ + OutputState: i.ToPackageAssociationMapOutputWithContext(ctx).OutputState, + } +} + +type PackageAssociationOutput struct{ *pulumi.OutputState } + +func (PackageAssociationOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PackageAssociation)(nil)).Elem() +} + +func (o PackageAssociationOutput) ToPackageAssociationOutput() PackageAssociationOutput { + return o +} + +func (o PackageAssociationOutput) ToPackageAssociationOutputWithContext(ctx context.Context) PackageAssociationOutput { + return o +} + +func (o PackageAssociationOutput) ToOutput(ctx context.Context) pulumix.Output[*PackageAssociation] { + return pulumix.Output[*PackageAssociation]{ + OutputState: o.OutputState, + } +} + +// Name of the domain to associate the package with. +func (o PackageAssociationOutput) DomainName() pulumi.StringOutput { + return o.ApplyT(func(v *PackageAssociation) pulumi.StringOutput { return v.DomainName }).(pulumi.StringOutput) +} + +// Internal ID of the package to associate with a domain. +func (o PackageAssociationOutput) PackageId() pulumi.StringOutput { + return o.ApplyT(func(v *PackageAssociation) pulumi.StringOutput { return v.PackageId }).(pulumi.StringOutput) +} + +func (o PackageAssociationOutput) ReferencePath() pulumi.StringOutput { + return o.ApplyT(func(v *PackageAssociation) pulumi.StringOutput { return v.ReferencePath }).(pulumi.StringOutput) +} + +type PackageAssociationArrayOutput struct{ *pulumi.OutputState } + +func (PackageAssociationArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]*PackageAssociation)(nil)).Elem() +} + +func (o PackageAssociationArrayOutput) ToPackageAssociationArrayOutput() PackageAssociationArrayOutput { + return o +} + +func (o PackageAssociationArrayOutput) ToPackageAssociationArrayOutputWithContext(ctx context.Context) PackageAssociationArrayOutput { + return o +} + +func (o PackageAssociationArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*PackageAssociation] { + return pulumix.Output[[]*PackageAssociation]{ + OutputState: o.OutputState, + } +} + +func (o PackageAssociationArrayOutput) Index(i pulumi.IntInput) PackageAssociationOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *PackageAssociation { + return vs[0].([]*PackageAssociation)[vs[1].(int)] + }).(PackageAssociationOutput) +} + +type PackageAssociationMapOutput struct{ *pulumi.OutputState } + +func (PackageAssociationMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*PackageAssociation)(nil)).Elem() +} + +func (o PackageAssociationMapOutput) ToPackageAssociationMapOutput() PackageAssociationMapOutput { + return o +} + +func (o PackageAssociationMapOutput) ToPackageAssociationMapOutputWithContext(ctx context.Context) PackageAssociationMapOutput { + return o +} + +func (o PackageAssociationMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*PackageAssociation] { + return pulumix.Output[map[string]*PackageAssociation]{ + OutputState: o.OutputState, + } +} + +func (o PackageAssociationMapOutput) MapIndex(k pulumi.StringInput) PackageAssociationOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *PackageAssociation { + return vs[0].(map[string]*PackageAssociation)[vs[1].(string)] + }).(PackageAssociationOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*PackageAssociationInput)(nil)).Elem(), &PackageAssociation{}) + pulumi.RegisterInputType(reflect.TypeOf((*PackageAssociationArrayInput)(nil)).Elem(), PackageAssociationArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*PackageAssociationMapInput)(nil)).Elem(), PackageAssociationMap{}) + pulumi.RegisterOutputType(PackageAssociationOutput{}) + pulumi.RegisterOutputType(PackageAssociationArrayOutput{}) + pulumi.RegisterOutputType(PackageAssociationMapOutput{}) +} diff --git a/sdk/go/aws/opensearch/pulumiTypes.go b/sdk/go/aws/opensearch/pulumiTypes.go index 334736e6c62..281fac49b8d 100644 --- a/sdk/go/aws/opensearch/pulumiTypes.go +++ b/sdk/go/aws/opensearch/pulumiTypes.go @@ -4612,6 +4612,186 @@ func (o OutboundConnectionRemoteDomainInfoPtrOutput) Region() pulumi.StringPtrOu }).(pulumi.StringPtrOutput) } +type PackagePackageSource struct { + // The name of the Amazon S3 bucket containing the package. + S3BucketName string `pulumi:"s3BucketName"` + // Key (file name) of the package. + S3Key string `pulumi:"s3Key"` +} + +// PackagePackageSourceInput is an input type that accepts PackagePackageSourceArgs and PackagePackageSourceOutput values. +// You can construct a concrete instance of `PackagePackageSourceInput` via: +// +// PackagePackageSourceArgs{...} +type PackagePackageSourceInput interface { + pulumi.Input + + ToPackagePackageSourceOutput() PackagePackageSourceOutput + ToPackagePackageSourceOutputWithContext(context.Context) PackagePackageSourceOutput +} + +type PackagePackageSourceArgs struct { + // The name of the Amazon S3 bucket containing the package. + S3BucketName pulumi.StringInput `pulumi:"s3BucketName"` + // Key (file name) of the package. + S3Key pulumi.StringInput `pulumi:"s3Key"` +} + +func (PackagePackageSourceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PackagePackageSource)(nil)).Elem() +} + +func (i PackagePackageSourceArgs) ToPackagePackageSourceOutput() PackagePackageSourceOutput { + return i.ToPackagePackageSourceOutputWithContext(context.Background()) +} + +func (i PackagePackageSourceArgs) ToPackagePackageSourceOutputWithContext(ctx context.Context) PackagePackageSourceOutput { + return pulumi.ToOutputWithContext(ctx, i).(PackagePackageSourceOutput) +} + +func (i PackagePackageSourceArgs) ToOutput(ctx context.Context) pulumix.Output[PackagePackageSource] { + return pulumix.Output[PackagePackageSource]{ + OutputState: i.ToPackagePackageSourceOutputWithContext(ctx).OutputState, + } +} + +func (i PackagePackageSourceArgs) ToPackagePackageSourcePtrOutput() PackagePackageSourcePtrOutput { + return i.ToPackagePackageSourcePtrOutputWithContext(context.Background()) +} + +func (i PackagePackageSourceArgs) ToPackagePackageSourcePtrOutputWithContext(ctx context.Context) PackagePackageSourcePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PackagePackageSourceOutput).ToPackagePackageSourcePtrOutputWithContext(ctx) +} + +// PackagePackageSourcePtrInput is an input type that accepts PackagePackageSourceArgs, PackagePackageSourcePtr and PackagePackageSourcePtrOutput values. +// You can construct a concrete instance of `PackagePackageSourcePtrInput` via: +// +// PackagePackageSourceArgs{...} +// +// or: +// +// nil +type PackagePackageSourcePtrInput interface { + pulumi.Input + + ToPackagePackageSourcePtrOutput() PackagePackageSourcePtrOutput + ToPackagePackageSourcePtrOutputWithContext(context.Context) PackagePackageSourcePtrOutput +} + +type packagePackageSourcePtrType PackagePackageSourceArgs + +func PackagePackageSourcePtr(v *PackagePackageSourceArgs) PackagePackageSourcePtrInput { + return (*packagePackageSourcePtrType)(v) +} + +func (*packagePackageSourcePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PackagePackageSource)(nil)).Elem() +} + +func (i *packagePackageSourcePtrType) ToPackagePackageSourcePtrOutput() PackagePackageSourcePtrOutput { + return i.ToPackagePackageSourcePtrOutputWithContext(context.Background()) +} + +func (i *packagePackageSourcePtrType) ToPackagePackageSourcePtrOutputWithContext(ctx context.Context) PackagePackageSourcePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PackagePackageSourcePtrOutput) +} + +func (i *packagePackageSourcePtrType) ToOutput(ctx context.Context) pulumix.Output[*PackagePackageSource] { + return pulumix.Output[*PackagePackageSource]{ + OutputState: i.ToPackagePackageSourcePtrOutputWithContext(ctx).OutputState, + } +} + +type PackagePackageSourceOutput struct{ *pulumi.OutputState } + +func (PackagePackageSourceOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PackagePackageSource)(nil)).Elem() +} + +func (o PackagePackageSourceOutput) ToPackagePackageSourceOutput() PackagePackageSourceOutput { + return o +} + +func (o PackagePackageSourceOutput) ToPackagePackageSourceOutputWithContext(ctx context.Context) PackagePackageSourceOutput { + return o +} + +func (o PackagePackageSourceOutput) ToPackagePackageSourcePtrOutput() PackagePackageSourcePtrOutput { + return o.ToPackagePackageSourcePtrOutputWithContext(context.Background()) +} + +func (o PackagePackageSourceOutput) ToPackagePackageSourcePtrOutputWithContext(ctx context.Context) PackagePackageSourcePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PackagePackageSource) *PackagePackageSource { + return &v + }).(PackagePackageSourcePtrOutput) +} + +func (o PackagePackageSourceOutput) ToOutput(ctx context.Context) pulumix.Output[PackagePackageSource] { + return pulumix.Output[PackagePackageSource]{ + OutputState: o.OutputState, + } +} + +// The name of the Amazon S3 bucket containing the package. +func (o PackagePackageSourceOutput) S3BucketName() pulumi.StringOutput { + return o.ApplyT(func(v PackagePackageSource) string { return v.S3BucketName }).(pulumi.StringOutput) +} + +// Key (file name) of the package. +func (o PackagePackageSourceOutput) S3Key() pulumi.StringOutput { + return o.ApplyT(func(v PackagePackageSource) string { return v.S3Key }).(pulumi.StringOutput) +} + +type PackagePackageSourcePtrOutput struct{ *pulumi.OutputState } + +func (PackagePackageSourcePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PackagePackageSource)(nil)).Elem() +} + +func (o PackagePackageSourcePtrOutput) ToPackagePackageSourcePtrOutput() PackagePackageSourcePtrOutput { + return o +} + +func (o PackagePackageSourcePtrOutput) ToPackagePackageSourcePtrOutputWithContext(ctx context.Context) PackagePackageSourcePtrOutput { + return o +} + +func (o PackagePackageSourcePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PackagePackageSource] { + return pulumix.Output[*PackagePackageSource]{ + OutputState: o.OutputState, + } +} + +func (o PackagePackageSourcePtrOutput) Elem() PackagePackageSourceOutput { + return o.ApplyT(func(v *PackagePackageSource) PackagePackageSource { + if v != nil { + return *v + } + var ret PackagePackageSource + return ret + }).(PackagePackageSourceOutput) +} + +// The name of the Amazon S3 bucket containing the package. +func (o PackagePackageSourcePtrOutput) S3BucketName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PackagePackageSource) *string { + if v == nil { + return nil + } + return &v.S3BucketName + }).(pulumi.StringPtrOutput) +} + +// Key (file name) of the package. +func (o PackagePackageSourcePtrOutput) S3Key() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PackagePackageSource) *string { + if v == nil { + return nil + } + return &v.S3Key + }).(pulumi.StringPtrOutput) +} + type ServerlessCollectionTimeouts struct { Create *string `pulumi:"create"` Delete *string `pulumi:"delete"` @@ -8190,6 +8370,8 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*OutboundConnectionLocalDomainInfoPtrInput)(nil)).Elem(), OutboundConnectionLocalDomainInfoArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*OutboundConnectionRemoteDomainInfoInput)(nil)).Elem(), OutboundConnectionRemoteDomainInfoArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*OutboundConnectionRemoteDomainInfoPtrInput)(nil)).Elem(), OutboundConnectionRemoteDomainInfoArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PackagePackageSourceInput)(nil)).Elem(), PackagePackageSourceArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PackagePackageSourcePtrInput)(nil)).Elem(), PackagePackageSourceArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ServerlessCollectionTimeoutsInput)(nil)).Elem(), ServerlessCollectionTimeoutsArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ServerlessCollectionTimeoutsPtrInput)(nil)).Elem(), ServerlessCollectionTimeoutsArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ServerlessSecurityConfigSamlOptionsInput)(nil)).Elem(), ServerlessSecurityConfigSamlOptionsArgs{}) @@ -8283,6 +8465,8 @@ func init() { pulumi.RegisterOutputType(OutboundConnectionLocalDomainInfoPtrOutput{}) pulumi.RegisterOutputType(OutboundConnectionRemoteDomainInfoOutput{}) pulumi.RegisterOutputType(OutboundConnectionRemoteDomainInfoPtrOutput{}) + pulumi.RegisterOutputType(PackagePackageSourceOutput{}) + pulumi.RegisterOutputType(PackagePackageSourcePtrOutput{}) pulumi.RegisterOutputType(ServerlessCollectionTimeoutsOutput{}) pulumi.RegisterOutputType(ServerlessCollectionTimeoutsPtrOutput{}) pulumi.RegisterOutputType(ServerlessSecurityConfigSamlOptionsOutput{}) diff --git a/sdk/go/aws/organizations/getOrganizationalUnit.go b/sdk/go/aws/organizations/getOrganizationalUnit.go new file mode 100644 index 00000000000..31fc367c709 --- /dev/null +++ b/sdk/go/aws/organizations/getOrganizationalUnit.go @@ -0,0 +1,142 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package organizations + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-aws/sdk/v6/go/aws/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" +) + +// Data source for getting an AWS Organizations Organizational Unit. +// +// ## Example Usage +// ### Basic Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-aws/sdk/v6/go/aws/organizations" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// org, err := organizations.LookupOrganization(ctx, nil, nil) +// if err != nil { +// return err +// } +// _, err = organizations.LookupOrganizationalUnit(ctx, &organizations.LookupOrganizationalUnitArgs{ +// ParentId: org.Roots[0].Id, +// Name: "dev", +// }, nil) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +func LookupOrganizationalUnit(ctx *pulumi.Context, args *LookupOrganizationalUnitArgs, opts ...pulumi.InvokeOption) (*LookupOrganizationalUnitResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupOrganizationalUnitResult + err := ctx.Invoke("aws:organizations/getOrganizationalUnit:getOrganizationalUnit", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getOrganizationalUnit. +type LookupOrganizationalUnitArgs struct { + // Name of the organizational unit + Name string `pulumi:"name"` + // Parent ID of the organizational unit. + ParentId string `pulumi:"parentId"` +} + +// A collection of values returned by getOrganizationalUnit. +type LookupOrganizationalUnitResult struct { + // ARN of the organizational unit + Arn string `pulumi:"arn"` + // The provider-assigned unique ID for this managed resource. + Id string `pulumi:"id"` + Name string `pulumi:"name"` + ParentId string `pulumi:"parentId"` +} + +func LookupOrganizationalUnitOutput(ctx *pulumi.Context, args LookupOrganizationalUnitOutputArgs, opts ...pulumi.InvokeOption) LookupOrganizationalUnitResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (LookupOrganizationalUnitResult, error) { + args := v.(LookupOrganizationalUnitArgs) + r, err := LookupOrganizationalUnit(ctx, &args, opts...) + var s LookupOrganizationalUnitResult + if r != nil { + s = *r + } + return s, err + }).(LookupOrganizationalUnitResultOutput) +} + +// A collection of arguments for invoking getOrganizationalUnit. +type LookupOrganizationalUnitOutputArgs struct { + // Name of the organizational unit + Name pulumi.StringInput `pulumi:"name"` + // Parent ID of the organizational unit. + ParentId pulumi.StringInput `pulumi:"parentId"` +} + +func (LookupOrganizationalUnitOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupOrganizationalUnitArgs)(nil)).Elem() +} + +// A collection of values returned by getOrganizationalUnit. +type LookupOrganizationalUnitResultOutput struct{ *pulumi.OutputState } + +func (LookupOrganizationalUnitResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupOrganizationalUnitResult)(nil)).Elem() +} + +func (o LookupOrganizationalUnitResultOutput) ToLookupOrganizationalUnitResultOutput() LookupOrganizationalUnitResultOutput { + return o +} + +func (o LookupOrganizationalUnitResultOutput) ToLookupOrganizationalUnitResultOutputWithContext(ctx context.Context) LookupOrganizationalUnitResultOutput { + return o +} + +func (o LookupOrganizationalUnitResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupOrganizationalUnitResult] { + return pulumix.Output[LookupOrganizationalUnitResult]{ + OutputState: o.OutputState, + } +} + +// ARN of the organizational unit +func (o LookupOrganizationalUnitResultOutput) Arn() pulumi.StringOutput { + return o.ApplyT(func(v LookupOrganizationalUnitResult) string { return v.Arn }).(pulumi.StringOutput) +} + +// The provider-assigned unique ID for this managed resource. +func (o LookupOrganizationalUnitResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupOrganizationalUnitResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o LookupOrganizationalUnitResultOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v LookupOrganizationalUnitResult) string { return v.Name }).(pulumi.StringOutput) +} + +func (o LookupOrganizationalUnitResultOutput) ParentId() pulumi.StringOutput { + return o.ApplyT(func(v LookupOrganizationalUnitResult) string { return v.ParentId }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupOrganizationalUnitResultOutput{}) +} diff --git a/sdk/go/aws/rds/optionGroup.go b/sdk/go/aws/rds/optionGroup.go index 6f0bbdb5b1f..b642eaec0dc 100644 --- a/sdk/go/aws/rds/optionGroup.go +++ b/sdk/go/aws/rds/optionGroup.go @@ -83,7 +83,7 @@ import ( // // ## Import // -// Using `pulumi import`, import DB Option groups using the `name`. For example: +// Using `pulumi import`, import DB option groups using the `name`. For example: // // ```sh // @@ -93,23 +93,23 @@ import ( type OptionGroup struct { pulumi.CustomResourceState - // The ARN of the db option group. + // ARN of the DB option group. Arn pulumi.StringOutput `pulumi:"arn"` // Specifies the name of the engine that this option group should be associated with. EngineName pulumi.StringOutput `pulumi:"engineName"` // Specifies the major version of the engine that this option group should be associated with. MajorEngineVersion pulumi.StringOutput `pulumi:"majorEngineVersion"` - // The Name of the setting. + // Name of the option group. If omitted, the provider will assign a random, unique name. Must be lowercase, to match as it is stored in AWS. Name pulumi.StringOutput `pulumi:"name"` // Creates a unique name beginning with the specified prefix. Conflicts with `name`. Must be lowercase, to match as it is stored in AWS. NamePrefix pulumi.StringOutput `pulumi:"namePrefix"` - // The description of the option group. Defaults to "Managed by Pulumi". + // Description of the option group. OptionGroupDescription pulumi.StringOutput `pulumi:"optionGroupDescription"` - // A list of Options to apply. + // List of options to apply. Options OptionGroupOptionArrayOutput `pulumi:"options"` - // A 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. + // 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. Tags pulumi.StringMapOutput `pulumi:"tags"` - // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. + // Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. // // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"` @@ -158,46 +158,46 @@ func GetOptionGroup(ctx *pulumi.Context, // Input properties used for looking up and filtering OptionGroup resources. type optionGroupState struct { - // The ARN of the db option group. + // ARN of the DB option group. Arn *string `pulumi:"arn"` // Specifies the name of the engine that this option group should be associated with. EngineName *string `pulumi:"engineName"` // Specifies the major version of the engine that this option group should be associated with. MajorEngineVersion *string `pulumi:"majorEngineVersion"` - // The Name of the setting. + // Name of the option group. If omitted, the provider will assign a random, unique name. Must be lowercase, to match as it is stored in AWS. Name *string `pulumi:"name"` // Creates a unique name beginning with the specified prefix. Conflicts with `name`. Must be lowercase, to match as it is stored in AWS. NamePrefix *string `pulumi:"namePrefix"` - // The description of the option group. Defaults to "Managed by Pulumi". + // Description of the option group. OptionGroupDescription *string `pulumi:"optionGroupDescription"` - // A list of Options to apply. + // List of options to apply. Options []OptionGroupOption `pulumi:"options"` - // A 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. + // 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. Tags map[string]string `pulumi:"tags"` - // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. + // Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. // // Deprecated: Please use `tags` instead. TagsAll map[string]string `pulumi:"tagsAll"` } type OptionGroupState struct { - // The ARN of the db option group. + // ARN of the DB option group. Arn pulumi.StringPtrInput // Specifies the name of the engine that this option group should be associated with. EngineName pulumi.StringPtrInput // Specifies the major version of the engine that this option group should be associated with. MajorEngineVersion pulumi.StringPtrInput - // The Name of the setting. + // Name of the option group. If omitted, the provider will assign a random, unique name. Must be lowercase, to match as it is stored in AWS. Name pulumi.StringPtrInput // Creates a unique name beginning with the specified prefix. Conflicts with `name`. Must be lowercase, to match as it is stored in AWS. NamePrefix pulumi.StringPtrInput - // The description of the option group. Defaults to "Managed by Pulumi". + // Description of the option group. OptionGroupDescription pulumi.StringPtrInput - // A list of Options to apply. + // List of options to apply. Options OptionGroupOptionArrayInput - // A 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. + // 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. Tags pulumi.StringMapInput - // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. + // Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. // // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapInput @@ -212,15 +212,15 @@ type optionGroupArgs struct { EngineName string `pulumi:"engineName"` // Specifies the major version of the engine that this option group should be associated with. MajorEngineVersion string `pulumi:"majorEngineVersion"` - // The Name of the setting. + // Name of the option group. If omitted, the provider will assign a random, unique name. Must be lowercase, to match as it is stored in AWS. Name *string `pulumi:"name"` // Creates a unique name beginning with the specified prefix. Conflicts with `name`. Must be lowercase, to match as it is stored in AWS. NamePrefix *string `pulumi:"namePrefix"` - // The description of the option group. Defaults to "Managed by Pulumi". + // Description of the option group. OptionGroupDescription *string `pulumi:"optionGroupDescription"` - // A list of Options to apply. + // List of options to apply. Options []OptionGroupOption `pulumi:"options"` - // A 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. + // 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. Tags map[string]string `pulumi:"tags"` } @@ -230,15 +230,15 @@ type OptionGroupArgs struct { EngineName pulumi.StringInput // Specifies the major version of the engine that this option group should be associated with. MajorEngineVersion pulumi.StringInput - // The Name of the setting. + // Name of the option group. If omitted, the provider will assign a random, unique name. Must be lowercase, to match as it is stored in AWS. Name pulumi.StringPtrInput // Creates a unique name beginning with the specified prefix. Conflicts with `name`. Must be lowercase, to match as it is stored in AWS. NamePrefix pulumi.StringPtrInput - // The description of the option group. Defaults to "Managed by Pulumi". + // Description of the option group. OptionGroupDescription pulumi.StringPtrInput - // A list of Options to apply. + // List of options to apply. Options OptionGroupOptionArrayInput - // A 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. + // 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. Tags pulumi.StringMapInput } @@ -353,7 +353,7 @@ func (o OptionGroupOutput) ToOutput(ctx context.Context) pulumix.Output[*OptionG } } -// The ARN of the db option group. +// ARN of the DB option group. func (o OptionGroupOutput) Arn() pulumi.StringOutput { return o.ApplyT(func(v *OptionGroup) pulumi.StringOutput { return v.Arn }).(pulumi.StringOutput) } @@ -368,7 +368,7 @@ func (o OptionGroupOutput) MajorEngineVersion() pulumi.StringOutput { return o.ApplyT(func(v *OptionGroup) pulumi.StringOutput { return v.MajorEngineVersion }).(pulumi.StringOutput) } -// The Name of the setting. +// Name of the option group. If omitted, the provider will assign a random, unique name. Must be lowercase, to match as it is stored in AWS. func (o OptionGroupOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v *OptionGroup) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) } @@ -378,22 +378,22 @@ func (o OptionGroupOutput) NamePrefix() pulumi.StringOutput { return o.ApplyT(func(v *OptionGroup) pulumi.StringOutput { return v.NamePrefix }).(pulumi.StringOutput) } -// The description of the option group. Defaults to "Managed by Pulumi". +// Description of the option group. func (o OptionGroupOutput) OptionGroupDescription() pulumi.StringOutput { return o.ApplyT(func(v *OptionGroup) pulumi.StringOutput { return v.OptionGroupDescription }).(pulumi.StringOutput) } -// A list of Options to apply. +// List of options to apply. func (o OptionGroupOutput) Options() OptionGroupOptionArrayOutput { return o.ApplyT(func(v *OptionGroup) OptionGroupOptionArrayOutput { return v.Options }).(OptionGroupOptionArrayOutput) } -// A 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. +// 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. func (o OptionGroupOutput) Tags() pulumi.StringMapOutput { return o.ApplyT(func(v *OptionGroup) pulumi.StringMapOutput { return v.Tags }).(pulumi.StringMapOutput) } -// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. +// Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. // // Deprecated: Please use `tags` instead. func (o OptionGroupOutput) TagsAll() pulumi.StringMapOutput { diff --git a/sdk/go/aws/rds/pulumiTypes.go b/sdk/go/aws/rds/pulumiTypes.go index f0706ff06a2..93c2d67ef89 100644 --- a/sdk/go/aws/rds/pulumiTypes.go +++ b/sdk/go/aws/rds/pulumiTypes.go @@ -2441,17 +2441,17 @@ func (o InstanceS3ImportPtrOutput) SourceEngineVersion() pulumi.StringPtrOutput } type OptionGroupOption struct { - // A list of DB Security Groups for which the option is enabled. + // List of DB Security Groups for which the option is enabled. DbSecurityGroupMemberships []string `pulumi:"dbSecurityGroupMemberships"` - // The Name of the Option (e.g., MEMCACHED). + // Name of the option (e.g., MEMCACHED). OptionName string `pulumi:"optionName"` - // A list of option settings to apply. + // List of option settings to apply. OptionSettings []OptionGroupOptionOptionSetting `pulumi:"optionSettings"` - // The Port number when connecting to the Option (e.g., 11211). + // Port number when connecting to the option (e.g., 11211). Leaving out or removing `port` from your configuration does not remove or clear a port from the option in AWS. AWS may assign a default port. Not including `port` in your configuration means that the AWS provider will ignore a previously set value, a value set by AWS, and any port changes. Port *int `pulumi:"port"` - // The version of the option (e.g., 13.1.0.0). + // Version of the option (e.g., 13.1.0.0). Leaving out or removing `version` from your configuration does not remove or clear a version from the option in AWS. AWS may assign a default version. Not including `version` in your configuration means that the AWS provider will ignore a previously set value, a value set by AWS, and any version changes. Version *string `pulumi:"version"` - // A list of VPC Security Groups for which the option is enabled. + // List of VPC Security Groups for which the option is enabled. VpcSecurityGroupMemberships []string `pulumi:"vpcSecurityGroupMemberships"` } @@ -2467,17 +2467,17 @@ type OptionGroupOptionInput interface { } type OptionGroupOptionArgs struct { - // A list of DB Security Groups for which the option is enabled. + // List of DB Security Groups for which the option is enabled. DbSecurityGroupMemberships pulumi.StringArrayInput `pulumi:"dbSecurityGroupMemberships"` - // The Name of the Option (e.g., MEMCACHED). + // Name of the option (e.g., MEMCACHED). OptionName pulumi.StringInput `pulumi:"optionName"` - // A list of option settings to apply. + // List of option settings to apply. OptionSettings OptionGroupOptionOptionSettingArrayInput `pulumi:"optionSettings"` - // The Port number when connecting to the Option (e.g., 11211). + // Port number when connecting to the option (e.g., 11211). Leaving out or removing `port` from your configuration does not remove or clear a port from the option in AWS. AWS may assign a default port. Not including `port` in your configuration means that the AWS provider will ignore a previously set value, a value set by AWS, and any port changes. Port pulumi.IntPtrInput `pulumi:"port"` - // The version of the option (e.g., 13.1.0.0). + // Version of the option (e.g., 13.1.0.0). Leaving out or removing `version` from your configuration does not remove or clear a version from the option in AWS. AWS may assign a default version. Not including `version` in your configuration means that the AWS provider will ignore a previously set value, a value set by AWS, and any version changes. Version pulumi.StringPtrInput `pulumi:"version"` - // A list of VPC Security Groups for which the option is enabled. + // List of VPC Security Groups for which the option is enabled. VpcSecurityGroupMemberships pulumi.StringArrayInput `pulumi:"vpcSecurityGroupMemberships"` } @@ -2550,32 +2550,32 @@ func (o OptionGroupOptionOutput) ToOutput(ctx context.Context) pulumix.Output[Op } } -// A list of DB Security Groups for which the option is enabled. +// List of DB Security Groups for which the option is enabled. func (o OptionGroupOptionOutput) DbSecurityGroupMemberships() pulumi.StringArrayOutput { return o.ApplyT(func(v OptionGroupOption) []string { return v.DbSecurityGroupMemberships }).(pulumi.StringArrayOutput) } -// The Name of the Option (e.g., MEMCACHED). +// Name of the option (e.g., MEMCACHED). func (o OptionGroupOptionOutput) OptionName() pulumi.StringOutput { return o.ApplyT(func(v OptionGroupOption) string { return v.OptionName }).(pulumi.StringOutput) } -// A list of option settings to apply. +// List of option settings to apply. func (o OptionGroupOptionOutput) OptionSettings() OptionGroupOptionOptionSettingArrayOutput { return o.ApplyT(func(v OptionGroupOption) []OptionGroupOptionOptionSetting { return v.OptionSettings }).(OptionGroupOptionOptionSettingArrayOutput) } -// The Port number when connecting to the Option (e.g., 11211). +// Port number when connecting to the option (e.g., 11211). Leaving out or removing `port` from your configuration does not remove or clear a port from the option in AWS. AWS may assign a default port. Not including `port` in your configuration means that the AWS provider will ignore a previously set value, a value set by AWS, and any port changes. func (o OptionGroupOptionOutput) Port() pulumi.IntPtrOutput { return o.ApplyT(func(v OptionGroupOption) *int { return v.Port }).(pulumi.IntPtrOutput) } -// The version of the option (e.g., 13.1.0.0). +// Version of the option (e.g., 13.1.0.0). Leaving out or removing `version` from your configuration does not remove or clear a version from the option in AWS. AWS may assign a default version. Not including `version` in your configuration means that the AWS provider will ignore a previously set value, a value set by AWS, and any version changes. func (o OptionGroupOptionOutput) Version() pulumi.StringPtrOutput { return o.ApplyT(func(v OptionGroupOption) *string { return v.Version }).(pulumi.StringPtrOutput) } -// A list of VPC Security Groups for which the option is enabled. +// List of VPC Security Groups for which the option is enabled. func (o OptionGroupOptionOutput) VpcSecurityGroupMemberships() pulumi.StringArrayOutput { return o.ApplyT(func(v OptionGroupOption) []string { return v.VpcSecurityGroupMemberships }).(pulumi.StringArrayOutput) } @@ -2607,9 +2607,9 @@ func (o OptionGroupOptionArrayOutput) Index(i pulumi.IntInput) OptionGroupOption } type OptionGroupOptionOptionSetting struct { - // The Name of the setting. + // Name of the setting. Name string `pulumi:"name"` - // The Value of the setting. + // Value of the setting. Value string `pulumi:"value"` } @@ -2625,9 +2625,9 @@ type OptionGroupOptionOptionSettingInput interface { } type OptionGroupOptionOptionSettingArgs struct { - // The Name of the setting. + // Name of the setting. Name pulumi.StringInput `pulumi:"name"` - // The Value of the setting. + // Value of the setting. Value pulumi.StringInput `pulumi:"value"` } @@ -2700,12 +2700,12 @@ func (o OptionGroupOptionOptionSettingOutput) ToOutput(ctx context.Context) pulu } } -// The Name of the setting. +// Name of the setting. func (o OptionGroupOptionOptionSettingOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v OptionGroupOptionOptionSetting) string { return v.Name }).(pulumi.StringOutput) } -// The Value of the setting. +// Value of the setting. func (o OptionGroupOptionOptionSettingOutput) Value() pulumi.StringOutput { return o.ApplyT(func(v OptionGroupOptionOptionSetting) string { return v.Value }).(pulumi.StringOutput) } diff --git a/sdk/go/aws/s3/bucketObjectv2.go b/sdk/go/aws/s3/bucketObjectv2.go index 2f33bbc82bc..c0551019f5f 100644 --- a/sdk/go/aws/s3/bucketObjectv2.go +++ b/sdk/go/aws/s3/bucketObjectv2.go @@ -231,6 +231,16 @@ type BucketObjectv2 struct { BucketKeyEnabled pulumi.BoolOutput `pulumi:"bucketKeyEnabled"` // Caching behavior along the request/reply chain Read [w3c cacheControl](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9) for further details. CacheControl pulumi.StringPtrOutput `pulumi:"cacheControl"` + // Indicates the algorithm used to create the checksum for the object. If a value is specified and the object is encrypted with KMS, you must have permission to use the `kms:Decrypt` action. Valid values: `CRC32`, `CRC32C`, `SHA1`, `SHA256`. + ChecksumAlgorithm pulumi.StringPtrOutput `pulumi:"checksumAlgorithm"` + // The base64-encoded, 32-bit CRC32 checksum of the object. + ChecksumCrc32 pulumi.StringOutput `pulumi:"checksumCrc32"` + // The base64-encoded, 32-bit CRC32C checksum of the object. + ChecksumCrc32c pulumi.StringOutput `pulumi:"checksumCrc32c"` + // The base64-encoded, 160-bit SHA-1 digest of the object. + ChecksumSha1 pulumi.StringOutput `pulumi:"checksumSha1"` + // The base64-encoded, 256-bit SHA-256 digest of the object. + ChecksumSha256 pulumi.StringOutput `pulumi:"checksumSha256"` // Literal string value to use as the object content, which will be uploaded as UTF-8-encoded text. Content pulumi.StringPtrOutput `pulumi:"content"` // Base64-encoded data that will be decoded and uploaded as raw bytes for the object content. This allows safely uploading non-UTF8 binary data, but is recommended only for small content such as the result of the `gzipbase64` function with small text strings. For larger objects, use `source` to stream the content from a disk file. @@ -336,6 +346,16 @@ type bucketObjectv2State struct { BucketKeyEnabled *bool `pulumi:"bucketKeyEnabled"` // Caching behavior along the request/reply chain Read [w3c cacheControl](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9) for further details. CacheControl *string `pulumi:"cacheControl"` + // Indicates the algorithm used to create the checksum for the object. If a value is specified and the object is encrypted with KMS, you must have permission to use the `kms:Decrypt` action. Valid values: `CRC32`, `CRC32C`, `SHA1`, `SHA256`. + ChecksumAlgorithm *string `pulumi:"checksumAlgorithm"` + // The base64-encoded, 32-bit CRC32 checksum of the object. + ChecksumCrc32 *string `pulumi:"checksumCrc32"` + // The base64-encoded, 32-bit CRC32C checksum of the object. + ChecksumCrc32c *string `pulumi:"checksumCrc32c"` + // The base64-encoded, 160-bit SHA-1 digest of the object. + ChecksumSha1 *string `pulumi:"checksumSha1"` + // The base64-encoded, 256-bit SHA-256 digest of the object. + ChecksumSha256 *string `pulumi:"checksumSha256"` // Literal string value to use as the object content, which will be uploaded as UTF-8-encoded text. Content *string `pulumi:"content"` // Base64-encoded data that will be decoded and uploaded as raw bytes for the object content. This allows safely uploading non-UTF8 binary data, but is recommended only for small content such as the result of the `gzipbase64` function with small text strings. For larger objects, use `source` to stream the content from a disk file. @@ -399,6 +419,16 @@ type BucketObjectv2State struct { BucketKeyEnabled pulumi.BoolPtrInput // Caching behavior along the request/reply chain Read [w3c cacheControl](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9) for further details. CacheControl pulumi.StringPtrInput + // Indicates the algorithm used to create the checksum for the object. If a value is specified and the object is encrypted with KMS, you must have permission to use the `kms:Decrypt` action. Valid values: `CRC32`, `CRC32C`, `SHA1`, `SHA256`. + ChecksumAlgorithm pulumi.StringPtrInput + // The base64-encoded, 32-bit CRC32 checksum of the object. + ChecksumCrc32 pulumi.StringPtrInput + // The base64-encoded, 32-bit CRC32C checksum of the object. + ChecksumCrc32c pulumi.StringPtrInput + // The base64-encoded, 160-bit SHA-1 digest of the object. + ChecksumSha1 pulumi.StringPtrInput + // The base64-encoded, 256-bit SHA-256 digest of the object. + ChecksumSha256 pulumi.StringPtrInput // Literal string value to use as the object content, which will be uploaded as UTF-8-encoded text. Content pulumi.StringPtrInput // Base64-encoded data that will be decoded and uploaded as raw bytes for the object content. This allows safely uploading non-UTF8 binary data, but is recommended only for small content such as the result of the `gzipbase64` function with small text strings. For larger objects, use `source` to stream the content from a disk file. @@ -466,6 +496,8 @@ type bucketObjectv2Args struct { BucketKeyEnabled *bool `pulumi:"bucketKeyEnabled"` // Caching behavior along the request/reply chain Read [w3c cacheControl](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9) for further details. CacheControl *string `pulumi:"cacheControl"` + // Indicates the algorithm used to create the checksum for the object. If a value is specified and the object is encrypted with KMS, you must have permission to use the `kms:Decrypt` action. Valid values: `CRC32`, `CRC32C`, `SHA1`, `SHA256`. + ChecksumAlgorithm *string `pulumi:"checksumAlgorithm"` // Literal string value to use as the object content, which will be uploaded as UTF-8-encoded text. Content *string `pulumi:"content"` // Base64-encoded data that will be decoded and uploaded as raw bytes for the object content. This allows safely uploading non-UTF8 binary data, but is recommended only for small content such as the result of the `gzipbase64` function with small text strings. For larger objects, use `source` to stream the content from a disk file. @@ -524,6 +556,8 @@ type BucketObjectv2Args struct { BucketKeyEnabled pulumi.BoolPtrInput // Caching behavior along the request/reply chain Read [w3c cacheControl](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9) for further details. CacheControl pulumi.StringPtrInput + // Indicates the algorithm used to create the checksum for the object. If a value is specified and the object is encrypted with KMS, you must have permission to use the `kms:Decrypt` action. Valid values: `CRC32`, `CRC32C`, `SHA1`, `SHA256`. + ChecksumAlgorithm pulumi.StringPtrInput // Literal string value to use as the object content, which will be uploaded as UTF-8-encoded text. Content pulumi.StringPtrInput // Base64-encoded data that will be decoded and uploaded as raw bytes for the object content. This allows safely uploading non-UTF8 binary data, but is recommended only for small content such as the result of the `gzipbase64` function with small text strings. For larger objects, use `source` to stream the content from a disk file. @@ -703,6 +737,31 @@ func (o BucketObjectv2Output) CacheControl() pulumi.StringPtrOutput { return o.ApplyT(func(v *BucketObjectv2) pulumi.StringPtrOutput { return v.CacheControl }).(pulumi.StringPtrOutput) } +// Indicates the algorithm used to create the checksum for the object. If a value is specified and the object is encrypted with KMS, you must have permission to use the `kms:Decrypt` action. Valid values: `CRC32`, `CRC32C`, `SHA1`, `SHA256`. +func (o BucketObjectv2Output) ChecksumAlgorithm() pulumi.StringPtrOutput { + return o.ApplyT(func(v *BucketObjectv2) pulumi.StringPtrOutput { return v.ChecksumAlgorithm }).(pulumi.StringPtrOutput) +} + +// The base64-encoded, 32-bit CRC32 checksum of the object. +func (o BucketObjectv2Output) ChecksumCrc32() pulumi.StringOutput { + return o.ApplyT(func(v *BucketObjectv2) pulumi.StringOutput { return v.ChecksumCrc32 }).(pulumi.StringOutput) +} + +// The base64-encoded, 32-bit CRC32C checksum of the object. +func (o BucketObjectv2Output) ChecksumCrc32c() pulumi.StringOutput { + return o.ApplyT(func(v *BucketObjectv2) pulumi.StringOutput { return v.ChecksumCrc32c }).(pulumi.StringOutput) +} + +// The base64-encoded, 160-bit SHA-1 digest of the object. +func (o BucketObjectv2Output) ChecksumSha1() pulumi.StringOutput { + return o.ApplyT(func(v *BucketObjectv2) pulumi.StringOutput { return v.ChecksumSha1 }).(pulumi.StringOutput) +} + +// The base64-encoded, 256-bit SHA-256 digest of the object. +func (o BucketObjectv2Output) ChecksumSha256() pulumi.StringOutput { + return o.ApplyT(func(v *BucketObjectv2) pulumi.StringOutput { return v.ChecksumSha256 }).(pulumi.StringOutput) +} + // Literal string value to use as the object content, which will be uploaded as UTF-8-encoded text. func (o BucketObjectv2Output) Content() pulumi.StringPtrOutput { return o.ApplyT(func(v *BucketObjectv2) pulumi.StringPtrOutput { return v.Content }).(pulumi.StringPtrOutput) diff --git a/sdk/go/aws/s3/getObject.go b/sdk/go/aws/s3/getObject.go index 606c01cfb20..151c1479e84 100644 --- a/sdk/go/aws/s3/getObject.go +++ b/sdk/go/aws/s3/getObject.go @@ -112,6 +112,8 @@ func GetObject(ctx *pulumi.Context, args *GetObjectArgs, opts ...pulumi.InvokeOp type GetObjectArgs struct { // Name of the bucket to read the object from. Alternatively, an [S3 access point](https://docs.aws.amazon.com/AmazonS3/latest/dev/using-access-points.html) ARN can be specified Bucket string `pulumi:"bucket"` + // To retrieve the object's checksum, this argument must be `ENABLED`. If you enable `checksumMode` and the object is encrypted with KMS, you must have permission to use the `kms:Decrypt` action. Valid values: `ENABLED` + ChecksumMode *string `pulumi:"checksumMode"` // Full path to the object inside the bucket Key string `pulumi:"key"` Range *string `pulumi:"range"` @@ -130,6 +132,15 @@ type GetObjectResult struct { BucketKeyEnabled bool `pulumi:"bucketKeyEnabled"` // Caching behavior along the request/reply chain. CacheControl string `pulumi:"cacheControl"` + // The base64-encoded, 32-bit CRC32 checksum of the object. + ChecksumCrc32 string `pulumi:"checksumCrc32"` + // The base64-encoded, 32-bit CRC32C checksum of the object. + ChecksumCrc32c string `pulumi:"checksumCrc32c"` + ChecksumMode *string `pulumi:"checksumMode"` + // The base64-encoded, 160-bit SHA-1 digest of the object. + ChecksumSha1 string `pulumi:"checksumSha1"` + // The base64-encoded, 256-bit SHA-256 digest of the object. + ChecksumSha256 string `pulumi:"checksumSha256"` // Presentational information for the object. ContentDisposition string `pulumi:"contentDisposition"` // What content encodings have been applied to the object and thus what decoding mechanisms must be applied to obtain the media-type referenced by the Content-Type header field. @@ -191,6 +202,8 @@ func GetObjectOutput(ctx *pulumi.Context, args GetObjectOutputArgs, opts ...pulu type GetObjectOutputArgs struct { // Name of the bucket to read the object from. Alternatively, an [S3 access point](https://docs.aws.amazon.com/AmazonS3/latest/dev/using-access-points.html) ARN can be specified Bucket pulumi.StringInput `pulumi:"bucket"` + // To retrieve the object's checksum, this argument must be `ENABLED`. If you enable `checksumMode` and the object is encrypted with KMS, you must have permission to use the `kms:Decrypt` action. Valid values: `ENABLED` + ChecksumMode pulumi.StringPtrInput `pulumi:"checksumMode"` // Full path to the object inside the bucket Key pulumi.StringInput `pulumi:"key"` Range pulumi.StringPtrInput `pulumi:"range"` @@ -244,6 +257,30 @@ func (o GetObjectResultOutput) CacheControl() pulumi.StringOutput { return o.ApplyT(func(v GetObjectResult) string { return v.CacheControl }).(pulumi.StringOutput) } +// The base64-encoded, 32-bit CRC32 checksum of the object. +func (o GetObjectResultOutput) ChecksumCrc32() pulumi.StringOutput { + return o.ApplyT(func(v GetObjectResult) string { return v.ChecksumCrc32 }).(pulumi.StringOutput) +} + +// The base64-encoded, 32-bit CRC32C checksum of the object. +func (o GetObjectResultOutput) ChecksumCrc32c() pulumi.StringOutput { + return o.ApplyT(func(v GetObjectResult) string { return v.ChecksumCrc32c }).(pulumi.StringOutput) +} + +func (o GetObjectResultOutput) ChecksumMode() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetObjectResult) *string { return v.ChecksumMode }).(pulumi.StringPtrOutput) +} + +// The base64-encoded, 160-bit SHA-1 digest of the object. +func (o GetObjectResultOutput) ChecksumSha1() pulumi.StringOutput { + return o.ApplyT(func(v GetObjectResult) string { return v.ChecksumSha1 }).(pulumi.StringOutput) +} + +// The base64-encoded, 256-bit SHA-256 digest of the object. +func (o GetObjectResultOutput) ChecksumSha256() pulumi.StringOutput { + return o.ApplyT(func(v GetObjectResult) string { return v.ChecksumSha256 }).(pulumi.StringOutput) +} + // Presentational information for the object. func (o GetObjectResultOutput) ContentDisposition() pulumi.StringOutput { return o.ApplyT(func(v GetObjectResult) string { return v.ContentDisposition }).(pulumi.StringOutput) diff --git a/sdk/go/aws/s3/objectCopy.go b/sdk/go/aws/s3/objectCopy.go index eadf67c8345..481e4ee6d39 100644 --- a/sdk/go/aws/s3/objectCopy.go +++ b/sdk/go/aws/s3/objectCopy.go @@ -61,6 +61,16 @@ type ObjectCopy struct { BucketKeyEnabled pulumi.BoolOutput `pulumi:"bucketKeyEnabled"` // Specifies caching behavior along the request/reply chain Read [w3c cacheControl](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9) for further details. CacheControl pulumi.StringOutput `pulumi:"cacheControl"` + // Indicates the algorithm used to create the checksum for the object. If a value is specified and the object is encrypted with KMS, you must have permission to use the `kms:Decrypt` action. Valid values: `CRC32`, `CRC32C`, `SHA1`, `SHA256`. + ChecksumAlgorithm pulumi.StringPtrOutput `pulumi:"checksumAlgorithm"` + // The base64-encoded, 32-bit CRC32 checksum of the object. + ChecksumCrc32 pulumi.StringOutput `pulumi:"checksumCrc32"` + // The base64-encoded, 32-bit CRC32C checksum of the object. + ChecksumCrc32c pulumi.StringOutput `pulumi:"checksumCrc32c"` + // The base64-encoded, 160-bit SHA-1 digest of the object. + ChecksumSha1 pulumi.StringOutput `pulumi:"checksumSha1"` + // The base64-encoded, 256-bit SHA-256 digest of the object. + ChecksumSha256 pulumi.StringOutput `pulumi:"checksumSha256"` // Specifies presentational information for the object. Read [w3c contentDisposition](http://www.w3.org/Protocols/rfc2616/rfc2616-sec19.html#sec19.5.1) for further information. ContentDisposition pulumi.StringOutput `pulumi:"contentDisposition"` // Specifies what content encodings have been applied to the object and thus what decoding mechanisms must be applied to obtain the media-type referenced by the Content-Type header field. Read [w3c content encoding](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.11) for further information. @@ -215,6 +225,16 @@ type objectCopyState struct { BucketKeyEnabled *bool `pulumi:"bucketKeyEnabled"` // Specifies caching behavior along the request/reply chain Read [w3c cacheControl](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9) for further details. CacheControl *string `pulumi:"cacheControl"` + // Indicates the algorithm used to create the checksum for the object. If a value is specified and the object is encrypted with KMS, you must have permission to use the `kms:Decrypt` action. Valid values: `CRC32`, `CRC32C`, `SHA1`, `SHA256`. + ChecksumAlgorithm *string `pulumi:"checksumAlgorithm"` + // The base64-encoded, 32-bit CRC32 checksum of the object. + ChecksumCrc32 *string `pulumi:"checksumCrc32"` + // The base64-encoded, 32-bit CRC32C checksum of the object. + ChecksumCrc32c *string `pulumi:"checksumCrc32c"` + // The base64-encoded, 160-bit SHA-1 digest of the object. + ChecksumSha1 *string `pulumi:"checksumSha1"` + // The base64-encoded, 256-bit SHA-256 digest of the object. + ChecksumSha256 *string `pulumi:"checksumSha256"` // Specifies presentational information for the object. Read [w3c contentDisposition](http://www.w3.org/Protocols/rfc2616/rfc2616-sec19.html#sec19.5.1) for further information. ContentDisposition *string `pulumi:"contentDisposition"` // Specifies what content encodings have been applied to the object and thus what decoding mechanisms must be applied to obtain the media-type referenced by the Content-Type header field. Read [w3c content encoding](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.11) for further information. @@ -311,6 +331,16 @@ type ObjectCopyState struct { BucketKeyEnabled pulumi.BoolPtrInput // Specifies caching behavior along the request/reply chain Read [w3c cacheControl](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9) for further details. CacheControl pulumi.StringPtrInput + // Indicates the algorithm used to create the checksum for the object. If a value is specified and the object is encrypted with KMS, you must have permission to use the `kms:Decrypt` action. Valid values: `CRC32`, `CRC32C`, `SHA1`, `SHA256`. + ChecksumAlgorithm pulumi.StringPtrInput + // The base64-encoded, 32-bit CRC32 checksum of the object. + ChecksumCrc32 pulumi.StringPtrInput + // The base64-encoded, 32-bit CRC32C checksum of the object. + ChecksumCrc32c pulumi.StringPtrInput + // The base64-encoded, 160-bit SHA-1 digest of the object. + ChecksumSha1 pulumi.StringPtrInput + // The base64-encoded, 256-bit SHA-256 digest of the object. + ChecksumSha256 pulumi.StringPtrInput // Specifies presentational information for the object. Read [w3c contentDisposition](http://www.w3.org/Protocols/rfc2616/rfc2616-sec19.html#sec19.5.1) for further information. ContentDisposition pulumi.StringPtrInput // Specifies what content encodings have been applied to the object and thus what decoding mechanisms must be applied to obtain the media-type referenced by the Content-Type header field. Read [w3c content encoding](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.11) for further information. @@ -411,6 +441,8 @@ type objectCopyArgs struct { BucketKeyEnabled *bool `pulumi:"bucketKeyEnabled"` // Specifies caching behavior along the request/reply chain Read [w3c cacheControl](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9) for further details. CacheControl *string `pulumi:"cacheControl"` + // Indicates the algorithm used to create the checksum for the object. If a value is specified and the object is encrypted with KMS, you must have permission to use the `kms:Decrypt` action. Valid values: `CRC32`, `CRC32C`, `SHA1`, `SHA256`. + ChecksumAlgorithm *string `pulumi:"checksumAlgorithm"` // Specifies presentational information for the object. Read [w3c contentDisposition](http://www.w3.org/Protocols/rfc2616/rfc2616-sec19.html#sec19.5.1) for further information. ContentDisposition *string `pulumi:"contentDisposition"` // Specifies what content encodings have been applied to the object and thus what decoding mechanisms must be applied to obtain the media-type referenced by the Content-Type header field. Read [w3c content encoding](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.11) for further information. @@ -492,6 +524,8 @@ type ObjectCopyArgs struct { BucketKeyEnabled pulumi.BoolPtrInput // Specifies caching behavior along the request/reply chain Read [w3c cacheControl](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9) for further details. CacheControl pulumi.StringPtrInput + // Indicates the algorithm used to create the checksum for the object. If a value is specified and the object is encrypted with KMS, you must have permission to use the `kms:Decrypt` action. Valid values: `CRC32`, `CRC32C`, `SHA1`, `SHA256`. + ChecksumAlgorithm pulumi.StringPtrInput // Specifies presentational information for the object. Read [w3c contentDisposition](http://www.w3.org/Protocols/rfc2616/rfc2616-sec19.html#sec19.5.1) for further information. ContentDisposition pulumi.StringPtrInput // Specifies what content encodings have been applied to the object and thus what decoding mechanisms must be applied to obtain the media-type referenced by the Content-Type header field. Read [w3c content encoding](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.11) for further information. @@ -694,6 +728,31 @@ func (o ObjectCopyOutput) CacheControl() pulumi.StringOutput { return o.ApplyT(func(v *ObjectCopy) pulumi.StringOutput { return v.CacheControl }).(pulumi.StringOutput) } +// Indicates the algorithm used to create the checksum for the object. If a value is specified and the object is encrypted with KMS, you must have permission to use the `kms:Decrypt` action. Valid values: `CRC32`, `CRC32C`, `SHA1`, `SHA256`. +func (o ObjectCopyOutput) ChecksumAlgorithm() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ObjectCopy) pulumi.StringPtrOutput { return v.ChecksumAlgorithm }).(pulumi.StringPtrOutput) +} + +// The base64-encoded, 32-bit CRC32 checksum of the object. +func (o ObjectCopyOutput) ChecksumCrc32() pulumi.StringOutput { + return o.ApplyT(func(v *ObjectCopy) pulumi.StringOutput { return v.ChecksumCrc32 }).(pulumi.StringOutput) +} + +// The base64-encoded, 32-bit CRC32C checksum of the object. +func (o ObjectCopyOutput) ChecksumCrc32c() pulumi.StringOutput { + return o.ApplyT(func(v *ObjectCopy) pulumi.StringOutput { return v.ChecksumCrc32c }).(pulumi.StringOutput) +} + +// The base64-encoded, 160-bit SHA-1 digest of the object. +func (o ObjectCopyOutput) ChecksumSha1() pulumi.StringOutput { + return o.ApplyT(func(v *ObjectCopy) pulumi.StringOutput { return v.ChecksumSha1 }).(pulumi.StringOutput) +} + +// The base64-encoded, 256-bit SHA-256 digest of the object. +func (o ObjectCopyOutput) ChecksumSha256() pulumi.StringOutput { + return o.ApplyT(func(v *ObjectCopy) pulumi.StringOutput { return v.ChecksumSha256 }).(pulumi.StringOutput) +} + // Specifies presentational information for the object. Read [w3c contentDisposition](http://www.w3.org/Protocols/rfc2616/rfc2616-sec19.html#sec19.5.1) for further information. func (o ObjectCopyOutput) ContentDisposition() pulumi.StringOutput { return o.ApplyT(func(v *ObjectCopy) pulumi.StringOutput { return v.ContentDisposition }).(pulumi.StringOutput) diff --git a/sdk/go/aws/s3control/pulumiTypes.go b/sdk/go/aws/s3control/pulumiTypes.go index a0510d5a57a..52dff67b26a 100644 --- a/sdk/go/aws/s3control/pulumiTypes.go +++ b/sdk/go/aws/s3control/pulumiTypes.go @@ -1109,7 +1109,9 @@ func (o MultiRegionAccessPointDetailsPublicAccessBlockPtrOutput) RestrictPublicB } type MultiRegionAccessPointDetailsRegion struct { - Bucket string `pulumi:"bucket"` + Bucket string `pulumi:"bucket"` + BucketAccountId *string `pulumi:"bucketAccountId"` + Region *string `pulumi:"region"` } // MultiRegionAccessPointDetailsRegionInput is an input type that accepts MultiRegionAccessPointDetailsRegionArgs and MultiRegionAccessPointDetailsRegionOutput values. @@ -1124,7 +1126,9 @@ type MultiRegionAccessPointDetailsRegionInput interface { } type MultiRegionAccessPointDetailsRegionArgs struct { - Bucket pulumi.StringInput `pulumi:"bucket"` + Bucket pulumi.StringInput `pulumi:"bucket"` + BucketAccountId pulumi.StringPtrInput `pulumi:"bucketAccountId"` + Region pulumi.StringPtrInput `pulumi:"region"` } func (MultiRegionAccessPointDetailsRegionArgs) ElementType() reflect.Type { @@ -1200,6 +1204,14 @@ func (o MultiRegionAccessPointDetailsRegionOutput) Bucket() pulumi.StringOutput return o.ApplyT(func(v MultiRegionAccessPointDetailsRegion) string { return v.Bucket }).(pulumi.StringOutput) } +func (o MultiRegionAccessPointDetailsRegionOutput) BucketAccountId() pulumi.StringPtrOutput { + return o.ApplyT(func(v MultiRegionAccessPointDetailsRegion) *string { return v.BucketAccountId }).(pulumi.StringPtrOutput) +} + +func (o MultiRegionAccessPointDetailsRegionOutput) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v MultiRegionAccessPointDetailsRegion) *string { return v.Region }).(pulumi.StringPtrOutput) +} + type MultiRegionAccessPointDetailsRegionArrayOutput struct{ *pulumi.OutputState } func (MultiRegionAccessPointDetailsRegionArrayOutput) ElementType() reflect.Type { @@ -6289,6 +6301,8 @@ func (o GetMultiRegionAccessPointPublicAccessBlockArrayOutput) Index(i pulumi.In type GetMultiRegionAccessPointRegion struct { // The name of the bucket. Bucket string `pulumi:"bucket"` + // The AWS account ID that owns the bucket. + BucketAccountId string `pulumi:"bucketAccountId"` // The name of the region. Region string `pulumi:"region"` } @@ -6307,6 +6321,8 @@ type GetMultiRegionAccessPointRegionInput interface { type GetMultiRegionAccessPointRegionArgs struct { // The name of the bucket. Bucket pulumi.StringInput `pulumi:"bucket"` + // The AWS account ID that owns the bucket. + BucketAccountId pulumi.StringInput `pulumi:"bucketAccountId"` // The name of the region. Region pulumi.StringInput `pulumi:"region"` } @@ -6385,6 +6401,11 @@ func (o GetMultiRegionAccessPointRegionOutput) Bucket() pulumi.StringOutput { return o.ApplyT(func(v GetMultiRegionAccessPointRegion) string { return v.Bucket }).(pulumi.StringOutput) } +// The AWS account ID that owns the bucket. +func (o GetMultiRegionAccessPointRegionOutput) BucketAccountId() pulumi.StringOutput { + return o.ApplyT(func(v GetMultiRegionAccessPointRegion) string { return v.BucketAccountId }).(pulumi.StringOutput) +} + // The name of the region. func (o GetMultiRegionAccessPointRegionOutput) Region() pulumi.StringOutput { return o.ApplyT(func(v GetMultiRegionAccessPointRegion) string { return v.Region }).(pulumi.StringOutput) diff --git a/sdk/go/aws/schemas/schema.go b/sdk/go/aws/schemas/schema.go index 5b0cd9dde8b..6ea8296e5e8 100644 --- a/sdk/go/aws/schemas/schema.go +++ b/sdk/go/aws/schemas/schema.go @@ -106,7 +106,7 @@ type Schema struct { // // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"` - // The type of the schema. Valid values: `OpenApi3`. + // The type of the schema. Valid values: `OpenApi3` or `JSONSchemaDraft4`. Type pulumi.StringOutput `pulumi:"type"` // The version of the schema. Version pulumi.StringOutput `pulumi:"version"` @@ -175,7 +175,7 @@ type schemaState struct { // // Deprecated: Please use `tags` instead. TagsAll map[string]string `pulumi:"tagsAll"` - // The type of the schema. Valid values: `OpenApi3`. + // The type of the schema. Valid values: `OpenApi3` or `JSONSchemaDraft4`. Type *string `pulumi:"type"` // The version of the schema. Version *string `pulumi:"version"` @@ -202,7 +202,7 @@ type SchemaState struct { // // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapInput - // The type of the schema. Valid values: `OpenApi3`. + // The type of the schema. Valid values: `OpenApi3` or `JSONSchemaDraft4`. Type pulumi.StringPtrInput // The version of the schema. Version pulumi.StringPtrInput @@ -225,7 +225,7 @@ type schemaArgs struct { RegistryName string `pulumi:"registryName"` // A 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. Tags map[string]string `pulumi:"tags"` - // The type of the schema. Valid values: `OpenApi3`. + // The type of the schema. Valid values: `OpenApi3` or `JSONSchemaDraft4`. Type string `pulumi:"type"` } @@ -241,7 +241,7 @@ type SchemaArgs struct { RegistryName pulumi.StringInput // A 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. Tags pulumi.StringMapInput - // The type of the schema. Valid values: `OpenApi3`. + // The type of the schema. Valid values: `OpenApi3` or `JSONSchemaDraft4`. Type pulumi.StringInput } @@ -398,7 +398,7 @@ func (o SchemaOutput) TagsAll() pulumi.StringMapOutput { return o.ApplyT(func(v *Schema) pulumi.StringMapOutput { return v.TagsAll }).(pulumi.StringMapOutput) } -// The type of the schema. Valid values: `OpenApi3`. +// The type of the schema. Valid values: `OpenApi3` or `JSONSchemaDraft4`. func (o SchemaOutput) Type() pulumi.StringOutput { return o.ApplyT(func(v *Schema) pulumi.StringOutput { return v.Type }).(pulumi.StringOutput) } diff --git a/sdk/go/aws/shield/applicationLayerAutomaticResponse.go b/sdk/go/aws/shield/applicationLayerAutomaticResponse.go new file mode 100644 index 00000000000..9ebc5061f57 --- /dev/null +++ b/sdk/go/aws/shield/applicationLayerAutomaticResponse.go @@ -0,0 +1,328 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package shield + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-aws/sdk/v6/go/aws/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" +) + +// Resource for managing an AWS Shield Application Layer Automatic Response for automatic DDoS mitigation. +// +// ## Example Usage +// ### Basic Usage +// +// ```go +// package main +// +// import ( +// +// "fmt" +// +// "github.com/pulumi/pulumi-aws/sdk/v6/go/aws" +// "github.com/pulumi/pulumi-aws/sdk/v6/go/aws/shield" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := aws.GetRegion(ctx, nil, nil) +// if err != nil { +// return err +// } +// currentCallerIdentity, err := aws.GetCallerIdentity(ctx, nil, nil) +// if err != nil { +// return err +// } +// currentPartition, err := aws.GetPartition(ctx, nil, nil) +// if err != nil { +// return err +// } +// _, err = shield.NewApplicationLayerAutomaticResponse(ctx, "example", &shield.ApplicationLayerAutomaticResponseArgs{ +// Action: pulumi.String("COUNT"), +// ResourceArn: pulumi.String(fmt.Sprintf("arn:%v:cloudfront:%v:distribution/%v", currentPartition.Partition, currentCallerIdentity.AccountId, _var.Distribution_id)), +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +type ApplicationLayerAutomaticResponse struct { + pulumi.CustomResourceState + + // One of `COUNT` or `BLOCK` + Action pulumi.StringOutput `pulumi:"action"` + // ARN of the resource to protect (Cloudfront Distributions and ALBs only at this time). + ResourceArn pulumi.StringOutput `pulumi:"resourceArn"` + Timeouts ApplicationLayerAutomaticResponseTimeoutsPtrOutput `pulumi:"timeouts"` +} + +// NewApplicationLayerAutomaticResponse registers a new resource with the given unique name, arguments, and options. +func NewApplicationLayerAutomaticResponse(ctx *pulumi.Context, + name string, args *ApplicationLayerAutomaticResponseArgs, opts ...pulumi.ResourceOption) (*ApplicationLayerAutomaticResponse, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.Action == nil { + return nil, errors.New("invalid value for required argument 'Action'") + } + if args.ResourceArn == nil { + return nil, errors.New("invalid value for required argument 'ResourceArn'") + } + opts = internal.PkgResourceDefaultOpts(opts) + var resource ApplicationLayerAutomaticResponse + err := ctx.RegisterResource("aws:shield/applicationLayerAutomaticResponse:ApplicationLayerAutomaticResponse", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetApplicationLayerAutomaticResponse gets an existing ApplicationLayerAutomaticResponse resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetApplicationLayerAutomaticResponse(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *ApplicationLayerAutomaticResponseState, opts ...pulumi.ResourceOption) (*ApplicationLayerAutomaticResponse, error) { + var resource ApplicationLayerAutomaticResponse + err := ctx.ReadResource("aws:shield/applicationLayerAutomaticResponse:ApplicationLayerAutomaticResponse", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering ApplicationLayerAutomaticResponse resources. +type applicationLayerAutomaticResponseState struct { + // One of `COUNT` or `BLOCK` + Action *string `pulumi:"action"` + // ARN of the resource to protect (Cloudfront Distributions and ALBs only at this time). + ResourceArn *string `pulumi:"resourceArn"` + Timeouts *ApplicationLayerAutomaticResponseTimeouts `pulumi:"timeouts"` +} + +type ApplicationLayerAutomaticResponseState struct { + // One of `COUNT` or `BLOCK` + Action pulumi.StringPtrInput + // ARN of the resource to protect (Cloudfront Distributions and ALBs only at this time). + ResourceArn pulumi.StringPtrInput + Timeouts ApplicationLayerAutomaticResponseTimeoutsPtrInput +} + +func (ApplicationLayerAutomaticResponseState) ElementType() reflect.Type { + return reflect.TypeOf((*applicationLayerAutomaticResponseState)(nil)).Elem() +} + +type applicationLayerAutomaticResponseArgs struct { + // One of `COUNT` or `BLOCK` + Action string `pulumi:"action"` + // ARN of the resource to protect (Cloudfront Distributions and ALBs only at this time). + ResourceArn string `pulumi:"resourceArn"` + Timeouts *ApplicationLayerAutomaticResponseTimeouts `pulumi:"timeouts"` +} + +// The set of arguments for constructing a ApplicationLayerAutomaticResponse resource. +type ApplicationLayerAutomaticResponseArgs struct { + // One of `COUNT` or `BLOCK` + Action pulumi.StringInput + // ARN of the resource to protect (Cloudfront Distributions and ALBs only at this time). + ResourceArn pulumi.StringInput + Timeouts ApplicationLayerAutomaticResponseTimeoutsPtrInput +} + +func (ApplicationLayerAutomaticResponseArgs) ElementType() reflect.Type { + return reflect.TypeOf((*applicationLayerAutomaticResponseArgs)(nil)).Elem() +} + +type ApplicationLayerAutomaticResponseInput interface { + pulumi.Input + + ToApplicationLayerAutomaticResponseOutput() ApplicationLayerAutomaticResponseOutput + ToApplicationLayerAutomaticResponseOutputWithContext(ctx context.Context) ApplicationLayerAutomaticResponseOutput +} + +func (*ApplicationLayerAutomaticResponse) ElementType() reflect.Type { + return reflect.TypeOf((**ApplicationLayerAutomaticResponse)(nil)).Elem() +} + +func (i *ApplicationLayerAutomaticResponse) ToApplicationLayerAutomaticResponseOutput() ApplicationLayerAutomaticResponseOutput { + return i.ToApplicationLayerAutomaticResponseOutputWithContext(context.Background()) +} + +func (i *ApplicationLayerAutomaticResponse) ToApplicationLayerAutomaticResponseOutputWithContext(ctx context.Context) ApplicationLayerAutomaticResponseOutput { + return pulumi.ToOutputWithContext(ctx, i).(ApplicationLayerAutomaticResponseOutput) +} + +func (i *ApplicationLayerAutomaticResponse) ToOutput(ctx context.Context) pulumix.Output[*ApplicationLayerAutomaticResponse] { + return pulumix.Output[*ApplicationLayerAutomaticResponse]{ + OutputState: i.ToApplicationLayerAutomaticResponseOutputWithContext(ctx).OutputState, + } +} + +// ApplicationLayerAutomaticResponseArrayInput is an input type that accepts ApplicationLayerAutomaticResponseArray and ApplicationLayerAutomaticResponseArrayOutput values. +// You can construct a concrete instance of `ApplicationLayerAutomaticResponseArrayInput` via: +// +// ApplicationLayerAutomaticResponseArray{ ApplicationLayerAutomaticResponseArgs{...} } +type ApplicationLayerAutomaticResponseArrayInput interface { + pulumi.Input + + ToApplicationLayerAutomaticResponseArrayOutput() ApplicationLayerAutomaticResponseArrayOutput + ToApplicationLayerAutomaticResponseArrayOutputWithContext(context.Context) ApplicationLayerAutomaticResponseArrayOutput +} + +type ApplicationLayerAutomaticResponseArray []ApplicationLayerAutomaticResponseInput + +func (ApplicationLayerAutomaticResponseArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]*ApplicationLayerAutomaticResponse)(nil)).Elem() +} + +func (i ApplicationLayerAutomaticResponseArray) ToApplicationLayerAutomaticResponseArrayOutput() ApplicationLayerAutomaticResponseArrayOutput { + return i.ToApplicationLayerAutomaticResponseArrayOutputWithContext(context.Background()) +} + +func (i ApplicationLayerAutomaticResponseArray) ToApplicationLayerAutomaticResponseArrayOutputWithContext(ctx context.Context) ApplicationLayerAutomaticResponseArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(ApplicationLayerAutomaticResponseArrayOutput) +} + +func (i ApplicationLayerAutomaticResponseArray) ToOutput(ctx context.Context) pulumix.Output[[]*ApplicationLayerAutomaticResponse] { + return pulumix.Output[[]*ApplicationLayerAutomaticResponse]{ + OutputState: i.ToApplicationLayerAutomaticResponseArrayOutputWithContext(ctx).OutputState, + } +} + +// ApplicationLayerAutomaticResponseMapInput is an input type that accepts ApplicationLayerAutomaticResponseMap and ApplicationLayerAutomaticResponseMapOutput values. +// You can construct a concrete instance of `ApplicationLayerAutomaticResponseMapInput` via: +// +// ApplicationLayerAutomaticResponseMap{ "key": ApplicationLayerAutomaticResponseArgs{...} } +type ApplicationLayerAutomaticResponseMapInput interface { + pulumi.Input + + ToApplicationLayerAutomaticResponseMapOutput() ApplicationLayerAutomaticResponseMapOutput + ToApplicationLayerAutomaticResponseMapOutputWithContext(context.Context) ApplicationLayerAutomaticResponseMapOutput +} + +type ApplicationLayerAutomaticResponseMap map[string]ApplicationLayerAutomaticResponseInput + +func (ApplicationLayerAutomaticResponseMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*ApplicationLayerAutomaticResponse)(nil)).Elem() +} + +func (i ApplicationLayerAutomaticResponseMap) ToApplicationLayerAutomaticResponseMapOutput() ApplicationLayerAutomaticResponseMapOutput { + return i.ToApplicationLayerAutomaticResponseMapOutputWithContext(context.Background()) +} + +func (i ApplicationLayerAutomaticResponseMap) ToApplicationLayerAutomaticResponseMapOutputWithContext(ctx context.Context) ApplicationLayerAutomaticResponseMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(ApplicationLayerAutomaticResponseMapOutput) +} + +func (i ApplicationLayerAutomaticResponseMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*ApplicationLayerAutomaticResponse] { + return pulumix.Output[map[string]*ApplicationLayerAutomaticResponse]{ + OutputState: i.ToApplicationLayerAutomaticResponseMapOutputWithContext(ctx).OutputState, + } +} + +type ApplicationLayerAutomaticResponseOutput struct{ *pulumi.OutputState } + +func (ApplicationLayerAutomaticResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ApplicationLayerAutomaticResponse)(nil)).Elem() +} + +func (o ApplicationLayerAutomaticResponseOutput) ToApplicationLayerAutomaticResponseOutput() ApplicationLayerAutomaticResponseOutput { + return o +} + +func (o ApplicationLayerAutomaticResponseOutput) ToApplicationLayerAutomaticResponseOutputWithContext(ctx context.Context) ApplicationLayerAutomaticResponseOutput { + return o +} + +func (o ApplicationLayerAutomaticResponseOutput) ToOutput(ctx context.Context) pulumix.Output[*ApplicationLayerAutomaticResponse] { + return pulumix.Output[*ApplicationLayerAutomaticResponse]{ + OutputState: o.OutputState, + } +} + +// One of `COUNT` or `BLOCK` +func (o ApplicationLayerAutomaticResponseOutput) Action() pulumi.StringOutput { + return o.ApplyT(func(v *ApplicationLayerAutomaticResponse) pulumi.StringOutput { return v.Action }).(pulumi.StringOutput) +} + +// ARN of the resource to protect (Cloudfront Distributions and ALBs only at this time). +func (o ApplicationLayerAutomaticResponseOutput) ResourceArn() pulumi.StringOutput { + return o.ApplyT(func(v *ApplicationLayerAutomaticResponse) pulumi.StringOutput { return v.ResourceArn }).(pulumi.StringOutput) +} + +func (o ApplicationLayerAutomaticResponseOutput) Timeouts() ApplicationLayerAutomaticResponseTimeoutsPtrOutput { + return o.ApplyT(func(v *ApplicationLayerAutomaticResponse) ApplicationLayerAutomaticResponseTimeoutsPtrOutput { + return v.Timeouts + }).(ApplicationLayerAutomaticResponseTimeoutsPtrOutput) +} + +type ApplicationLayerAutomaticResponseArrayOutput struct{ *pulumi.OutputState } + +func (ApplicationLayerAutomaticResponseArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]*ApplicationLayerAutomaticResponse)(nil)).Elem() +} + +func (o ApplicationLayerAutomaticResponseArrayOutput) ToApplicationLayerAutomaticResponseArrayOutput() ApplicationLayerAutomaticResponseArrayOutput { + return o +} + +func (o ApplicationLayerAutomaticResponseArrayOutput) ToApplicationLayerAutomaticResponseArrayOutputWithContext(ctx context.Context) ApplicationLayerAutomaticResponseArrayOutput { + return o +} + +func (o ApplicationLayerAutomaticResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*ApplicationLayerAutomaticResponse] { + return pulumix.Output[[]*ApplicationLayerAutomaticResponse]{ + OutputState: o.OutputState, + } +} + +func (o ApplicationLayerAutomaticResponseArrayOutput) Index(i pulumi.IntInput) ApplicationLayerAutomaticResponseOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *ApplicationLayerAutomaticResponse { + return vs[0].([]*ApplicationLayerAutomaticResponse)[vs[1].(int)] + }).(ApplicationLayerAutomaticResponseOutput) +} + +type ApplicationLayerAutomaticResponseMapOutput struct{ *pulumi.OutputState } + +func (ApplicationLayerAutomaticResponseMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*ApplicationLayerAutomaticResponse)(nil)).Elem() +} + +func (o ApplicationLayerAutomaticResponseMapOutput) ToApplicationLayerAutomaticResponseMapOutput() ApplicationLayerAutomaticResponseMapOutput { + return o +} + +func (o ApplicationLayerAutomaticResponseMapOutput) ToApplicationLayerAutomaticResponseMapOutputWithContext(ctx context.Context) ApplicationLayerAutomaticResponseMapOutput { + return o +} + +func (o ApplicationLayerAutomaticResponseMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*ApplicationLayerAutomaticResponse] { + return pulumix.Output[map[string]*ApplicationLayerAutomaticResponse]{ + OutputState: o.OutputState, + } +} + +func (o ApplicationLayerAutomaticResponseMapOutput) MapIndex(k pulumi.StringInput) ApplicationLayerAutomaticResponseOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *ApplicationLayerAutomaticResponse { + return vs[0].(map[string]*ApplicationLayerAutomaticResponse)[vs[1].(string)] + }).(ApplicationLayerAutomaticResponseOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*ApplicationLayerAutomaticResponseInput)(nil)).Elem(), &ApplicationLayerAutomaticResponse{}) + pulumi.RegisterInputType(reflect.TypeOf((*ApplicationLayerAutomaticResponseArrayInput)(nil)).Elem(), ApplicationLayerAutomaticResponseArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*ApplicationLayerAutomaticResponseMapInput)(nil)).Elem(), ApplicationLayerAutomaticResponseMap{}) + pulumi.RegisterOutputType(ApplicationLayerAutomaticResponseOutput{}) + pulumi.RegisterOutputType(ApplicationLayerAutomaticResponseArrayOutput{}) + pulumi.RegisterOutputType(ApplicationLayerAutomaticResponseMapOutput{}) +} diff --git a/sdk/go/aws/shield/init.go b/sdk/go/aws/shield/init.go index 68df8ad6666..f0bdb8f1ecf 100644 --- a/sdk/go/aws/shield/init.go +++ b/sdk/go/aws/shield/init.go @@ -21,6 +21,8 @@ func (m *module) Version() semver.Version { func (m *module) Construct(ctx *pulumi.Context, name, typ, urn string) (r pulumi.Resource, err error) { switch typ { + case "aws:shield/applicationLayerAutomaticResponse:ApplicationLayerAutomaticResponse": + r = &ApplicationLayerAutomaticResponse{} case "aws:shield/drtAccessLogBucketAssociation:DrtAccessLogBucketAssociation": r = &DrtAccessLogBucketAssociation{} case "aws:shield/drtAccessRoleArnAssociation:DrtAccessRoleArnAssociation": @@ -44,6 +46,11 @@ func init() { if err != nil { version = semver.Version{Major: 1} } + pulumi.RegisterResourceModule( + "aws", + "shield/applicationLayerAutomaticResponse", + &module{version}, + ) pulumi.RegisterResourceModule( "aws", "shield/drtAccessLogBucketAssociation", diff --git a/sdk/go/aws/shield/pulumiTypes.go b/sdk/go/aws/shield/pulumiTypes.go index 78c715ca00a..5b493d90882 100644 --- a/sdk/go/aws/shield/pulumiTypes.go +++ b/sdk/go/aws/shield/pulumiTypes.go @@ -14,6 +14,193 @@ import ( var _ = internal.GetEnvOrDefault +type ApplicationLayerAutomaticResponseTimeouts struct { + Create *string `pulumi:"create"` + Delete *string `pulumi:"delete"` + Update *string `pulumi:"update"` +} + +// ApplicationLayerAutomaticResponseTimeoutsInput is an input type that accepts ApplicationLayerAutomaticResponseTimeoutsArgs and ApplicationLayerAutomaticResponseTimeoutsOutput values. +// You can construct a concrete instance of `ApplicationLayerAutomaticResponseTimeoutsInput` via: +// +// ApplicationLayerAutomaticResponseTimeoutsArgs{...} +type ApplicationLayerAutomaticResponseTimeoutsInput interface { + pulumi.Input + + ToApplicationLayerAutomaticResponseTimeoutsOutput() ApplicationLayerAutomaticResponseTimeoutsOutput + ToApplicationLayerAutomaticResponseTimeoutsOutputWithContext(context.Context) ApplicationLayerAutomaticResponseTimeoutsOutput +} + +type ApplicationLayerAutomaticResponseTimeoutsArgs struct { + Create pulumi.StringPtrInput `pulumi:"create"` + Delete pulumi.StringPtrInput `pulumi:"delete"` + Update pulumi.StringPtrInput `pulumi:"update"` +} + +func (ApplicationLayerAutomaticResponseTimeoutsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ApplicationLayerAutomaticResponseTimeouts)(nil)).Elem() +} + +func (i ApplicationLayerAutomaticResponseTimeoutsArgs) ToApplicationLayerAutomaticResponseTimeoutsOutput() ApplicationLayerAutomaticResponseTimeoutsOutput { + return i.ToApplicationLayerAutomaticResponseTimeoutsOutputWithContext(context.Background()) +} + +func (i ApplicationLayerAutomaticResponseTimeoutsArgs) ToApplicationLayerAutomaticResponseTimeoutsOutputWithContext(ctx context.Context) ApplicationLayerAutomaticResponseTimeoutsOutput { + return pulumi.ToOutputWithContext(ctx, i).(ApplicationLayerAutomaticResponseTimeoutsOutput) +} + +func (i ApplicationLayerAutomaticResponseTimeoutsArgs) ToOutput(ctx context.Context) pulumix.Output[ApplicationLayerAutomaticResponseTimeouts] { + return pulumix.Output[ApplicationLayerAutomaticResponseTimeouts]{ + OutputState: i.ToApplicationLayerAutomaticResponseTimeoutsOutputWithContext(ctx).OutputState, + } +} + +func (i ApplicationLayerAutomaticResponseTimeoutsArgs) ToApplicationLayerAutomaticResponseTimeoutsPtrOutput() ApplicationLayerAutomaticResponseTimeoutsPtrOutput { + return i.ToApplicationLayerAutomaticResponseTimeoutsPtrOutputWithContext(context.Background()) +} + +func (i ApplicationLayerAutomaticResponseTimeoutsArgs) ToApplicationLayerAutomaticResponseTimeoutsPtrOutputWithContext(ctx context.Context) ApplicationLayerAutomaticResponseTimeoutsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ApplicationLayerAutomaticResponseTimeoutsOutput).ToApplicationLayerAutomaticResponseTimeoutsPtrOutputWithContext(ctx) +} + +// ApplicationLayerAutomaticResponseTimeoutsPtrInput is an input type that accepts ApplicationLayerAutomaticResponseTimeoutsArgs, ApplicationLayerAutomaticResponseTimeoutsPtr and ApplicationLayerAutomaticResponseTimeoutsPtrOutput values. +// You can construct a concrete instance of `ApplicationLayerAutomaticResponseTimeoutsPtrInput` via: +// +// ApplicationLayerAutomaticResponseTimeoutsArgs{...} +// +// or: +// +// nil +type ApplicationLayerAutomaticResponseTimeoutsPtrInput interface { + pulumi.Input + + ToApplicationLayerAutomaticResponseTimeoutsPtrOutput() ApplicationLayerAutomaticResponseTimeoutsPtrOutput + ToApplicationLayerAutomaticResponseTimeoutsPtrOutputWithContext(context.Context) ApplicationLayerAutomaticResponseTimeoutsPtrOutput +} + +type applicationLayerAutomaticResponseTimeoutsPtrType ApplicationLayerAutomaticResponseTimeoutsArgs + +func ApplicationLayerAutomaticResponseTimeoutsPtr(v *ApplicationLayerAutomaticResponseTimeoutsArgs) ApplicationLayerAutomaticResponseTimeoutsPtrInput { + return (*applicationLayerAutomaticResponseTimeoutsPtrType)(v) +} + +func (*applicationLayerAutomaticResponseTimeoutsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ApplicationLayerAutomaticResponseTimeouts)(nil)).Elem() +} + +func (i *applicationLayerAutomaticResponseTimeoutsPtrType) ToApplicationLayerAutomaticResponseTimeoutsPtrOutput() ApplicationLayerAutomaticResponseTimeoutsPtrOutput { + return i.ToApplicationLayerAutomaticResponseTimeoutsPtrOutputWithContext(context.Background()) +} + +func (i *applicationLayerAutomaticResponseTimeoutsPtrType) ToApplicationLayerAutomaticResponseTimeoutsPtrOutputWithContext(ctx context.Context) ApplicationLayerAutomaticResponseTimeoutsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ApplicationLayerAutomaticResponseTimeoutsPtrOutput) +} + +func (i *applicationLayerAutomaticResponseTimeoutsPtrType) ToOutput(ctx context.Context) pulumix.Output[*ApplicationLayerAutomaticResponseTimeouts] { + return pulumix.Output[*ApplicationLayerAutomaticResponseTimeouts]{ + OutputState: i.ToApplicationLayerAutomaticResponseTimeoutsPtrOutputWithContext(ctx).OutputState, + } +} + +type ApplicationLayerAutomaticResponseTimeoutsOutput struct{ *pulumi.OutputState } + +func (ApplicationLayerAutomaticResponseTimeoutsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ApplicationLayerAutomaticResponseTimeouts)(nil)).Elem() +} + +func (o ApplicationLayerAutomaticResponseTimeoutsOutput) ToApplicationLayerAutomaticResponseTimeoutsOutput() ApplicationLayerAutomaticResponseTimeoutsOutput { + return o +} + +func (o ApplicationLayerAutomaticResponseTimeoutsOutput) ToApplicationLayerAutomaticResponseTimeoutsOutputWithContext(ctx context.Context) ApplicationLayerAutomaticResponseTimeoutsOutput { + return o +} + +func (o ApplicationLayerAutomaticResponseTimeoutsOutput) ToApplicationLayerAutomaticResponseTimeoutsPtrOutput() ApplicationLayerAutomaticResponseTimeoutsPtrOutput { + return o.ToApplicationLayerAutomaticResponseTimeoutsPtrOutputWithContext(context.Background()) +} + +func (o ApplicationLayerAutomaticResponseTimeoutsOutput) ToApplicationLayerAutomaticResponseTimeoutsPtrOutputWithContext(ctx context.Context) ApplicationLayerAutomaticResponseTimeoutsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ApplicationLayerAutomaticResponseTimeouts) *ApplicationLayerAutomaticResponseTimeouts { + return &v + }).(ApplicationLayerAutomaticResponseTimeoutsPtrOutput) +} + +func (o ApplicationLayerAutomaticResponseTimeoutsOutput) ToOutput(ctx context.Context) pulumix.Output[ApplicationLayerAutomaticResponseTimeouts] { + return pulumix.Output[ApplicationLayerAutomaticResponseTimeouts]{ + OutputState: o.OutputState, + } +} + +func (o ApplicationLayerAutomaticResponseTimeoutsOutput) Create() pulumi.StringPtrOutput { + return o.ApplyT(func(v ApplicationLayerAutomaticResponseTimeouts) *string { return v.Create }).(pulumi.StringPtrOutput) +} + +func (o ApplicationLayerAutomaticResponseTimeoutsOutput) Delete() pulumi.StringPtrOutput { + return o.ApplyT(func(v ApplicationLayerAutomaticResponseTimeouts) *string { return v.Delete }).(pulumi.StringPtrOutput) +} + +func (o ApplicationLayerAutomaticResponseTimeoutsOutput) Update() pulumi.StringPtrOutput { + return o.ApplyT(func(v ApplicationLayerAutomaticResponseTimeouts) *string { return v.Update }).(pulumi.StringPtrOutput) +} + +type ApplicationLayerAutomaticResponseTimeoutsPtrOutput struct{ *pulumi.OutputState } + +func (ApplicationLayerAutomaticResponseTimeoutsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ApplicationLayerAutomaticResponseTimeouts)(nil)).Elem() +} + +func (o ApplicationLayerAutomaticResponseTimeoutsPtrOutput) ToApplicationLayerAutomaticResponseTimeoutsPtrOutput() ApplicationLayerAutomaticResponseTimeoutsPtrOutput { + return o +} + +func (o ApplicationLayerAutomaticResponseTimeoutsPtrOutput) ToApplicationLayerAutomaticResponseTimeoutsPtrOutputWithContext(ctx context.Context) ApplicationLayerAutomaticResponseTimeoutsPtrOutput { + return o +} + +func (o ApplicationLayerAutomaticResponseTimeoutsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ApplicationLayerAutomaticResponseTimeouts] { + return pulumix.Output[*ApplicationLayerAutomaticResponseTimeouts]{ + OutputState: o.OutputState, + } +} + +func (o ApplicationLayerAutomaticResponseTimeoutsPtrOutput) Elem() ApplicationLayerAutomaticResponseTimeoutsOutput { + return o.ApplyT(func(v *ApplicationLayerAutomaticResponseTimeouts) ApplicationLayerAutomaticResponseTimeouts { + if v != nil { + return *v + } + var ret ApplicationLayerAutomaticResponseTimeouts + return ret + }).(ApplicationLayerAutomaticResponseTimeoutsOutput) +} + +func (o ApplicationLayerAutomaticResponseTimeoutsPtrOutput) Create() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ApplicationLayerAutomaticResponseTimeouts) *string { + if v == nil { + return nil + } + return v.Create + }).(pulumi.StringPtrOutput) +} + +func (o ApplicationLayerAutomaticResponseTimeoutsPtrOutput) Delete() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ApplicationLayerAutomaticResponseTimeouts) *string { + if v == nil { + return nil + } + return v.Delete + }).(pulumi.StringPtrOutput) +} + +func (o ApplicationLayerAutomaticResponseTimeoutsPtrOutput) Update() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ApplicationLayerAutomaticResponseTimeouts) *string { + if v == nil { + return nil + } + return v.Update + }).(pulumi.StringPtrOutput) +} + type DrtAccessLogBucketAssociationTimeouts struct { Create *string `pulumi:"create"` Delete *string `pulumi:"delete"` @@ -389,10 +576,14 @@ func (o DrtAccessRoleArnAssociationTimeoutsPtrOutput) Read() pulumi.StringPtrOut } func init() { + pulumi.RegisterInputType(reflect.TypeOf((*ApplicationLayerAutomaticResponseTimeoutsInput)(nil)).Elem(), ApplicationLayerAutomaticResponseTimeoutsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ApplicationLayerAutomaticResponseTimeoutsPtrInput)(nil)).Elem(), ApplicationLayerAutomaticResponseTimeoutsArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DrtAccessLogBucketAssociationTimeoutsInput)(nil)).Elem(), DrtAccessLogBucketAssociationTimeoutsArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DrtAccessLogBucketAssociationTimeoutsPtrInput)(nil)).Elem(), DrtAccessLogBucketAssociationTimeoutsArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DrtAccessRoleArnAssociationTimeoutsInput)(nil)).Elem(), DrtAccessRoleArnAssociationTimeoutsArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DrtAccessRoleArnAssociationTimeoutsPtrInput)(nil)).Elem(), DrtAccessRoleArnAssociationTimeoutsArgs{}) + pulumi.RegisterOutputType(ApplicationLayerAutomaticResponseTimeoutsOutput{}) + pulumi.RegisterOutputType(ApplicationLayerAutomaticResponseTimeoutsPtrOutput{}) pulumi.RegisterOutputType(DrtAccessLogBucketAssociationTimeoutsOutput{}) pulumi.RegisterOutputType(DrtAccessLogBucketAssociationTimeoutsPtrOutput{}) pulumi.RegisterOutputType(DrtAccessRoleArnAssociationTimeoutsOutput{}) diff --git a/sdk/go/aws/transfer/connector.go b/sdk/go/aws/transfer/connector.go index a9d66ca0507..ac3f56690d9 100644 --- a/sdk/go/aws/transfer/connector.go +++ b/sdk/go/aws/transfer/connector.go @@ -52,6 +52,38 @@ import ( // } // // ``` +// ### SFTP Connector +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-aws/sdk/v6/go/aws/transfer" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := transfer.NewConnector(ctx, "example", &transfer.ConnectorArgs{ +// AccessRole: pulumi.Any(aws_iam_role.Test.Arn), +// SftpConfig: &transfer.ConnectorSftpConfigArgs{ +// TrustedHostKeys: pulumi.StringArray{ +// pulumi.String("ssh-rsa AAAAB3NYourKeysHere"), +// }, +// UserSecretId: pulumi.Any(aws_secretsmanager_secret.Example.Id), +// }, +// Url: pulumi.String("sftp://test.com"), +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` // // ## Import // @@ -69,17 +101,19 @@ type Connector struct { AccessRole pulumi.StringOutput `pulumi:"accessRole"` // The ARN of the connector. Arn pulumi.StringOutput `pulumi:"arn"` - // The parameters to configure for the connector object. Fields documented below. - As2Config ConnectorAs2ConfigOutput `pulumi:"as2Config"` - // The unique identifier for the AS2 profile. + // Either SFTP or AS2 is configured.The parameters to configure for the connector object. Fields documented below. + As2Config ConnectorAs2ConfigPtrOutput `pulumi:"as2Config"` + // The unique identifier for the AS2 profile or SFTP Profile. ConnectorId pulumi.StringOutput `pulumi:"connectorId"` // The IAM Role which is required for allowing the connector to turn on CloudWatch logging for Amazon S3 events. LoggingRole pulumi.StringPtrOutput `pulumi:"loggingRole"` + // Either SFTP or AS2 is configured.The parameters to configure for the connector object. Fields documented below. + SftpConfig ConnectorSftpConfigPtrOutput `pulumi:"sftpConfig"` // A 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. Tags pulumi.StringMapOutput `pulumi:"tags"` // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"` - // The URL of the partners AS2 endpoint. + // The URL of the partners AS2 endpoint or SFTP endpoint. Url pulumi.StringOutput `pulumi:"url"` } @@ -93,9 +127,6 @@ func NewConnector(ctx *pulumi.Context, if args.AccessRole == nil { return nil, errors.New("invalid value for required argument 'AccessRole'") } - if args.As2Config == nil { - return nil, errors.New("invalid value for required argument 'As2Config'") - } if args.Url == nil { return nil, errors.New("invalid value for required argument 'Url'") } @@ -130,17 +161,19 @@ type connectorState struct { AccessRole *string `pulumi:"accessRole"` // The ARN of the connector. Arn *string `pulumi:"arn"` - // The parameters to configure for the connector object. Fields documented below. + // Either SFTP or AS2 is configured.The parameters to configure for the connector object. Fields documented below. As2Config *ConnectorAs2Config `pulumi:"as2Config"` - // The unique identifier for the AS2 profile. + // The unique identifier for the AS2 profile or SFTP Profile. ConnectorId *string `pulumi:"connectorId"` // The IAM Role which is required for allowing the connector to turn on CloudWatch logging for Amazon S3 events. LoggingRole *string `pulumi:"loggingRole"` + // Either SFTP or AS2 is configured.The parameters to configure for the connector object. Fields documented below. + SftpConfig *ConnectorSftpConfig `pulumi:"sftpConfig"` // A 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. Tags map[string]string `pulumi:"tags"` // Deprecated: Please use `tags` instead. TagsAll map[string]string `pulumi:"tagsAll"` - // The URL of the partners AS2 endpoint. + // The URL of the partners AS2 endpoint or SFTP endpoint. Url *string `pulumi:"url"` } @@ -149,17 +182,19 @@ type ConnectorState struct { AccessRole pulumi.StringPtrInput // The ARN of the connector. Arn pulumi.StringPtrInput - // The parameters to configure for the connector object. Fields documented below. + // Either SFTP or AS2 is configured.The parameters to configure for the connector object. Fields documented below. As2Config ConnectorAs2ConfigPtrInput - // The unique identifier for the AS2 profile. + // The unique identifier for the AS2 profile or SFTP Profile. ConnectorId pulumi.StringPtrInput // The IAM Role which is required for allowing the connector to turn on CloudWatch logging for Amazon S3 events. LoggingRole pulumi.StringPtrInput + // Either SFTP or AS2 is configured.The parameters to configure for the connector object. Fields documented below. + SftpConfig ConnectorSftpConfigPtrInput // A 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. Tags pulumi.StringMapInput // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapInput - // The URL of the partners AS2 endpoint. + // The URL of the partners AS2 endpoint or SFTP endpoint. Url pulumi.StringPtrInput } @@ -170,13 +205,15 @@ func (ConnectorState) ElementType() reflect.Type { type connectorArgs struct { // The IAM Role which provides read and write access to the parent directory of the file location mentioned in the StartFileTransfer request. AccessRole string `pulumi:"accessRole"` - // The parameters to configure for the connector object. Fields documented below. - As2Config ConnectorAs2Config `pulumi:"as2Config"` + // Either SFTP or AS2 is configured.The parameters to configure for the connector object. Fields documented below. + As2Config *ConnectorAs2Config `pulumi:"as2Config"` // The IAM Role which is required for allowing the connector to turn on CloudWatch logging for Amazon S3 events. LoggingRole *string `pulumi:"loggingRole"` + // Either SFTP or AS2 is configured.The parameters to configure for the connector object. Fields documented below. + SftpConfig *ConnectorSftpConfig `pulumi:"sftpConfig"` // A 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. Tags map[string]string `pulumi:"tags"` - // The URL of the partners AS2 endpoint. + // The URL of the partners AS2 endpoint or SFTP endpoint. Url string `pulumi:"url"` } @@ -184,13 +221,15 @@ type connectorArgs struct { type ConnectorArgs struct { // The IAM Role which provides read and write access to the parent directory of the file location mentioned in the StartFileTransfer request. AccessRole pulumi.StringInput - // The parameters to configure for the connector object. Fields documented below. - As2Config ConnectorAs2ConfigInput + // Either SFTP or AS2 is configured.The parameters to configure for the connector object. Fields documented below. + As2Config ConnectorAs2ConfigPtrInput // The IAM Role which is required for allowing the connector to turn on CloudWatch logging for Amazon S3 events. LoggingRole pulumi.StringPtrInput + // Either SFTP or AS2 is configured.The parameters to configure for the connector object. Fields documented below. + SftpConfig ConnectorSftpConfigPtrInput // A 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. Tags pulumi.StringMapInput - // The URL of the partners AS2 endpoint. + // The URL of the partners AS2 endpoint or SFTP endpoint. Url pulumi.StringInput } @@ -315,12 +354,12 @@ func (o ConnectorOutput) Arn() pulumi.StringOutput { return o.ApplyT(func(v *Connector) pulumi.StringOutput { return v.Arn }).(pulumi.StringOutput) } -// The parameters to configure for the connector object. Fields documented below. -func (o ConnectorOutput) As2Config() ConnectorAs2ConfigOutput { - return o.ApplyT(func(v *Connector) ConnectorAs2ConfigOutput { return v.As2Config }).(ConnectorAs2ConfigOutput) +// Either SFTP or AS2 is configured.The parameters to configure for the connector object. Fields documented below. +func (o ConnectorOutput) As2Config() ConnectorAs2ConfigPtrOutput { + return o.ApplyT(func(v *Connector) ConnectorAs2ConfigPtrOutput { return v.As2Config }).(ConnectorAs2ConfigPtrOutput) } -// The unique identifier for the AS2 profile. +// The unique identifier for the AS2 profile or SFTP Profile. func (o ConnectorOutput) ConnectorId() pulumi.StringOutput { return o.ApplyT(func(v *Connector) pulumi.StringOutput { return v.ConnectorId }).(pulumi.StringOutput) } @@ -330,6 +369,11 @@ func (o ConnectorOutput) LoggingRole() pulumi.StringPtrOutput { return o.ApplyT(func(v *Connector) pulumi.StringPtrOutput { return v.LoggingRole }).(pulumi.StringPtrOutput) } +// Either SFTP or AS2 is configured.The parameters to configure for the connector object. Fields documented below. +func (o ConnectorOutput) SftpConfig() ConnectorSftpConfigPtrOutput { + return o.ApplyT(func(v *Connector) ConnectorSftpConfigPtrOutput { return v.SftpConfig }).(ConnectorSftpConfigPtrOutput) +} + // A 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. func (o ConnectorOutput) Tags() pulumi.StringMapOutput { return o.ApplyT(func(v *Connector) pulumi.StringMapOutput { return v.Tags }).(pulumi.StringMapOutput) @@ -340,7 +384,7 @@ func (o ConnectorOutput) TagsAll() pulumi.StringMapOutput { return o.ApplyT(func(v *Connector) pulumi.StringMapOutput { return v.TagsAll }).(pulumi.StringMapOutput) } -// The URL of the partners AS2 endpoint. +// The URL of the partners AS2 endpoint or SFTP endpoint. func (o ConnectorOutput) Url() pulumi.StringOutput { return o.ApplyT(func(v *Connector) pulumi.StringOutput { return v.Url }).(pulumi.StringOutput) } diff --git a/sdk/go/aws/transfer/pulumiTypes.go b/sdk/go/aws/transfer/pulumiTypes.go index ead946e65bd..2d5845f6d38 100644 --- a/sdk/go/aws/transfer/pulumiTypes.go +++ b/sdk/go/aws/transfer/pulumiTypes.go @@ -637,6 +637,186 @@ func (o ConnectorAs2ConfigPtrOutput) SigningAlgorithm() pulumi.StringPtrOutput { }).(pulumi.StringPtrOutput) } +type ConnectorSftpConfig struct { + // A list of public portion of the host key, or keys, that are used to authenticate the user to the external server to which you are connecting.(https://docs.aws.amazon.com/transfer/latest/userguide/API_SftpConnectorConfig.html) + TrustedHostKeys []string `pulumi:"trustedHostKeys"` + // The identifier for the secret (in AWS Secrets Manager) that contains the SFTP user's private key, password, or both. The identifier can be either the Amazon Resource Name (ARN) or the name of the secret. + UserSecretId *string `pulumi:"userSecretId"` +} + +// ConnectorSftpConfigInput is an input type that accepts ConnectorSftpConfigArgs and ConnectorSftpConfigOutput values. +// You can construct a concrete instance of `ConnectorSftpConfigInput` via: +// +// ConnectorSftpConfigArgs{...} +type ConnectorSftpConfigInput interface { + pulumi.Input + + ToConnectorSftpConfigOutput() ConnectorSftpConfigOutput + ToConnectorSftpConfigOutputWithContext(context.Context) ConnectorSftpConfigOutput +} + +type ConnectorSftpConfigArgs struct { + // A list of public portion of the host key, or keys, that are used to authenticate the user to the external server to which you are connecting.(https://docs.aws.amazon.com/transfer/latest/userguide/API_SftpConnectorConfig.html) + TrustedHostKeys pulumi.StringArrayInput `pulumi:"trustedHostKeys"` + // The identifier for the secret (in AWS Secrets Manager) that contains the SFTP user's private key, password, or both. The identifier can be either the Amazon Resource Name (ARN) or the name of the secret. + UserSecretId pulumi.StringPtrInput `pulumi:"userSecretId"` +} + +func (ConnectorSftpConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ConnectorSftpConfig)(nil)).Elem() +} + +func (i ConnectorSftpConfigArgs) ToConnectorSftpConfigOutput() ConnectorSftpConfigOutput { + return i.ToConnectorSftpConfigOutputWithContext(context.Background()) +} + +func (i ConnectorSftpConfigArgs) ToConnectorSftpConfigOutputWithContext(ctx context.Context) ConnectorSftpConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectorSftpConfigOutput) +} + +func (i ConnectorSftpConfigArgs) ToOutput(ctx context.Context) pulumix.Output[ConnectorSftpConfig] { + return pulumix.Output[ConnectorSftpConfig]{ + OutputState: i.ToConnectorSftpConfigOutputWithContext(ctx).OutputState, + } +} + +func (i ConnectorSftpConfigArgs) ToConnectorSftpConfigPtrOutput() ConnectorSftpConfigPtrOutput { + return i.ToConnectorSftpConfigPtrOutputWithContext(context.Background()) +} + +func (i ConnectorSftpConfigArgs) ToConnectorSftpConfigPtrOutputWithContext(ctx context.Context) ConnectorSftpConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectorSftpConfigOutput).ToConnectorSftpConfigPtrOutputWithContext(ctx) +} + +// ConnectorSftpConfigPtrInput is an input type that accepts ConnectorSftpConfigArgs, ConnectorSftpConfigPtr and ConnectorSftpConfigPtrOutput values. +// You can construct a concrete instance of `ConnectorSftpConfigPtrInput` via: +// +// ConnectorSftpConfigArgs{...} +// +// or: +// +// nil +type ConnectorSftpConfigPtrInput interface { + pulumi.Input + + ToConnectorSftpConfigPtrOutput() ConnectorSftpConfigPtrOutput + ToConnectorSftpConfigPtrOutputWithContext(context.Context) ConnectorSftpConfigPtrOutput +} + +type connectorSftpConfigPtrType ConnectorSftpConfigArgs + +func ConnectorSftpConfigPtr(v *ConnectorSftpConfigArgs) ConnectorSftpConfigPtrInput { + return (*connectorSftpConfigPtrType)(v) +} + +func (*connectorSftpConfigPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ConnectorSftpConfig)(nil)).Elem() +} + +func (i *connectorSftpConfigPtrType) ToConnectorSftpConfigPtrOutput() ConnectorSftpConfigPtrOutput { + return i.ToConnectorSftpConfigPtrOutputWithContext(context.Background()) +} + +func (i *connectorSftpConfigPtrType) ToConnectorSftpConfigPtrOutputWithContext(ctx context.Context) ConnectorSftpConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectorSftpConfigPtrOutput) +} + +func (i *connectorSftpConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*ConnectorSftpConfig] { + return pulumix.Output[*ConnectorSftpConfig]{ + OutputState: i.ToConnectorSftpConfigPtrOutputWithContext(ctx).OutputState, + } +} + +type ConnectorSftpConfigOutput struct{ *pulumi.OutputState } + +func (ConnectorSftpConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ConnectorSftpConfig)(nil)).Elem() +} + +func (o ConnectorSftpConfigOutput) ToConnectorSftpConfigOutput() ConnectorSftpConfigOutput { + return o +} + +func (o ConnectorSftpConfigOutput) ToConnectorSftpConfigOutputWithContext(ctx context.Context) ConnectorSftpConfigOutput { + return o +} + +func (o ConnectorSftpConfigOutput) ToConnectorSftpConfigPtrOutput() ConnectorSftpConfigPtrOutput { + return o.ToConnectorSftpConfigPtrOutputWithContext(context.Background()) +} + +func (o ConnectorSftpConfigOutput) ToConnectorSftpConfigPtrOutputWithContext(ctx context.Context) ConnectorSftpConfigPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ConnectorSftpConfig) *ConnectorSftpConfig { + return &v + }).(ConnectorSftpConfigPtrOutput) +} + +func (o ConnectorSftpConfigOutput) ToOutput(ctx context.Context) pulumix.Output[ConnectorSftpConfig] { + return pulumix.Output[ConnectorSftpConfig]{ + OutputState: o.OutputState, + } +} + +// A list of public portion of the host key, or keys, that are used to authenticate the user to the external server to which you are connecting.(https://docs.aws.amazon.com/transfer/latest/userguide/API_SftpConnectorConfig.html) +func (o ConnectorSftpConfigOutput) TrustedHostKeys() pulumi.StringArrayOutput { + return o.ApplyT(func(v ConnectorSftpConfig) []string { return v.TrustedHostKeys }).(pulumi.StringArrayOutput) +} + +// The identifier for the secret (in AWS Secrets Manager) that contains the SFTP user's private key, password, or both. The identifier can be either the Amazon Resource Name (ARN) or the name of the secret. +func (o ConnectorSftpConfigOutput) UserSecretId() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectorSftpConfig) *string { return v.UserSecretId }).(pulumi.StringPtrOutput) +} + +type ConnectorSftpConfigPtrOutput struct{ *pulumi.OutputState } + +func (ConnectorSftpConfigPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ConnectorSftpConfig)(nil)).Elem() +} + +func (o ConnectorSftpConfigPtrOutput) ToConnectorSftpConfigPtrOutput() ConnectorSftpConfigPtrOutput { + return o +} + +func (o ConnectorSftpConfigPtrOutput) ToConnectorSftpConfigPtrOutputWithContext(ctx context.Context) ConnectorSftpConfigPtrOutput { + return o +} + +func (o ConnectorSftpConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ConnectorSftpConfig] { + return pulumix.Output[*ConnectorSftpConfig]{ + OutputState: o.OutputState, + } +} + +func (o ConnectorSftpConfigPtrOutput) Elem() ConnectorSftpConfigOutput { + return o.ApplyT(func(v *ConnectorSftpConfig) ConnectorSftpConfig { + if v != nil { + return *v + } + var ret ConnectorSftpConfig + return ret + }).(ConnectorSftpConfigOutput) +} + +// A list of public portion of the host key, or keys, that are used to authenticate the user to the external server to which you are connecting.(https://docs.aws.amazon.com/transfer/latest/userguide/API_SftpConnectorConfig.html) +func (o ConnectorSftpConfigPtrOutput) TrustedHostKeys() pulumi.StringArrayOutput { + return o.ApplyT(func(v *ConnectorSftpConfig) []string { + if v == nil { + return nil + } + return v.TrustedHostKeys + }).(pulumi.StringArrayOutput) +} + +// The identifier for the secret (in AWS Secrets Manager) that contains the SFTP user's private key, password, or both. The identifier can be either the Amazon Resource Name (ARN) or the name of the secret. +func (o ConnectorSftpConfigPtrOutput) UserSecretId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConnectorSftpConfig) *string { + if v == nil { + return nil + } + return v.UserSecretId + }).(pulumi.StringPtrOutput) +} + type ServerEndpointDetails struct { // A list of address allocation IDs that are required to attach an Elastic IP address to your SFTP server's endpoint. This property can only be used when `endpointType` is set to `VPC`. AddressAllocationIds []string `pulumi:"addressAllocationIds"` @@ -6923,6 +7103,8 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*AccessPosixProfilePtrInput)(nil)).Elem(), AccessPosixProfileArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ConnectorAs2ConfigInput)(nil)).Elem(), ConnectorAs2ConfigArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ConnectorAs2ConfigPtrInput)(nil)).Elem(), ConnectorAs2ConfigArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ConnectorSftpConfigInput)(nil)).Elem(), ConnectorSftpConfigArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ConnectorSftpConfigPtrInput)(nil)).Elem(), ConnectorSftpConfigArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ServerEndpointDetailsInput)(nil)).Elem(), ServerEndpointDetailsArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ServerEndpointDetailsPtrInput)(nil)).Elem(), ServerEndpointDetailsArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ServerProtocolDetailsInput)(nil)).Elem(), ServerProtocolDetailsArgs{}) @@ -6995,6 +7177,8 @@ func init() { pulumi.RegisterOutputType(AccessPosixProfilePtrOutput{}) pulumi.RegisterOutputType(ConnectorAs2ConfigOutput{}) pulumi.RegisterOutputType(ConnectorAs2ConfigPtrOutput{}) + pulumi.RegisterOutputType(ConnectorSftpConfigOutput{}) + pulumi.RegisterOutputType(ConnectorSftpConfigPtrOutput{}) pulumi.RegisterOutputType(ServerEndpointDetailsOutput{}) pulumi.RegisterOutputType(ServerEndpointDetailsPtrOutput{}) pulumi.RegisterOutputType(ServerProtocolDetailsOutput{}) diff --git a/sdk/go/aws/verifiedaccess/init.go b/sdk/go/aws/verifiedaccess/init.go index 0f65ad77caa..b90776e8af2 100644 --- a/sdk/go/aws/verifiedaccess/init.go +++ b/sdk/go/aws/verifiedaccess/init.go @@ -21,6 +21,8 @@ func (m *module) Version() semver.Version { func (m *module) Construct(ctx *pulumi.Context, name, typ, urn string) (r pulumi.Resource, err error) { switch typ { + case "aws:verifiedaccess/instance:Instance": + r = &Instance{} case "aws:verifiedaccess/trustProvider:TrustProvider": r = &TrustProvider{} default: @@ -36,6 +38,11 @@ func init() { if err != nil { version = semver.Version{Major: 1} } + pulumi.RegisterResourceModule( + "aws", + "verifiedaccess/instance", + &module{version}, + ) pulumi.RegisterResourceModule( "aws", "verifiedaccess/trustProvider", diff --git a/sdk/go/aws/verifiedaccess/instance.go b/sdk/go/aws/verifiedaccess/instance.go new file mode 100644 index 00000000000..2d95321789d --- /dev/null +++ b/sdk/go/aws/verifiedaccess/instance.go @@ -0,0 +1,356 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package verifiedaccess + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-aws/sdk/v6/go/aws/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" +) + +// Resource for managing a Verified Access Instance. +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-aws/sdk/v6/go/aws/verifiedaccess" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := verifiedaccess.NewInstance(ctx, "example", &verifiedaccess.InstanceArgs{ +// Description: pulumi.String("example"), +// Tags: pulumi.StringMap{ +// "Name": pulumi.String("example"), +// }, +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +// +// ## Import +// +// terraform import { +// +// to = aws_verifiedaccess_instance.example +// +// id = "vai-1234567890abcdef0" } Using `pulumi import`, import Transfer Workflows using the +// +// `id`. For exampleconsole % pulumi import aws:verifiedaccess/instance:Instance vai-1234567890abcdef0 +type Instance struct { + pulumi.CustomResourceState + + // The time that the Verified Access Instance was created. + CreationTime pulumi.StringOutput `pulumi:"creationTime"` + // A description for the AWS Verified Access Instance. + Description pulumi.StringPtrOutput `pulumi:"description"` + // The time that the Verified Access Instance was last updated. + LastUpdatedTime pulumi.StringOutput `pulumi:"lastUpdatedTime"` + // Key-value mapping of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. + Tags pulumi.StringMapOutput `pulumi:"tags"` + // Deprecated: Please use `tags` instead. + TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"` + // One or more blocks of providing information about the AWS Verified Access Trust Providers. See verifiedAccessTrustProviders below for details.One or more blocks + VerifiedAccessTrustProviders InstanceVerifiedAccessTrustProviderArrayOutput `pulumi:"verifiedAccessTrustProviders"` +} + +// NewInstance registers a new resource with the given unique name, arguments, and options. +func NewInstance(ctx *pulumi.Context, + name string, args *InstanceArgs, opts ...pulumi.ResourceOption) (*Instance, error) { + if args == nil { + args = &InstanceArgs{} + } + + secrets := pulumi.AdditionalSecretOutputs([]string{ + "tagsAll", + }) + opts = append(opts, secrets) + opts = internal.PkgResourceDefaultOpts(opts) + var resource Instance + err := ctx.RegisterResource("aws:verifiedaccess/instance:Instance", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetInstance gets an existing Instance resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetInstance(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *InstanceState, opts ...pulumi.ResourceOption) (*Instance, error) { + var resource Instance + err := ctx.ReadResource("aws:verifiedaccess/instance:Instance", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering Instance resources. +type instanceState struct { + // The time that the Verified Access Instance was created. + CreationTime *string `pulumi:"creationTime"` + // A description for the AWS Verified Access Instance. + Description *string `pulumi:"description"` + // The time that the Verified Access Instance was last updated. + LastUpdatedTime *string `pulumi:"lastUpdatedTime"` + // Key-value mapping of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. + Tags map[string]string `pulumi:"tags"` + // Deprecated: Please use `tags` instead. + TagsAll map[string]string `pulumi:"tagsAll"` + // One or more blocks of providing information about the AWS Verified Access Trust Providers. See verifiedAccessTrustProviders below for details.One or more blocks + VerifiedAccessTrustProviders []InstanceVerifiedAccessTrustProvider `pulumi:"verifiedAccessTrustProviders"` +} + +type InstanceState struct { + // The time that the Verified Access Instance was created. + CreationTime pulumi.StringPtrInput + // A description for the AWS Verified Access Instance. + Description pulumi.StringPtrInput + // The time that the Verified Access Instance was last updated. + LastUpdatedTime pulumi.StringPtrInput + // Key-value mapping of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. + Tags pulumi.StringMapInput + // Deprecated: Please use `tags` instead. + TagsAll pulumi.StringMapInput + // One or more blocks of providing information about the AWS Verified Access Trust Providers. See verifiedAccessTrustProviders below for details.One or more blocks + VerifiedAccessTrustProviders InstanceVerifiedAccessTrustProviderArrayInput +} + +func (InstanceState) ElementType() reflect.Type { + return reflect.TypeOf((*instanceState)(nil)).Elem() +} + +type instanceArgs struct { + // A description for the AWS Verified Access Instance. + Description *string `pulumi:"description"` + // Key-value mapping of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. + Tags map[string]string `pulumi:"tags"` +} + +// The set of arguments for constructing a Instance resource. +type InstanceArgs struct { + // A description for the AWS Verified Access Instance. + Description pulumi.StringPtrInput + // Key-value mapping of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. + Tags pulumi.StringMapInput +} + +func (InstanceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*instanceArgs)(nil)).Elem() +} + +type InstanceInput interface { + pulumi.Input + + ToInstanceOutput() InstanceOutput + ToInstanceOutputWithContext(ctx context.Context) InstanceOutput +} + +func (*Instance) ElementType() reflect.Type { + return reflect.TypeOf((**Instance)(nil)).Elem() +} + +func (i *Instance) ToInstanceOutput() InstanceOutput { + return i.ToInstanceOutputWithContext(context.Background()) +} + +func (i *Instance) ToInstanceOutputWithContext(ctx context.Context) InstanceOutput { + return pulumi.ToOutputWithContext(ctx, i).(InstanceOutput) +} + +func (i *Instance) ToOutput(ctx context.Context) pulumix.Output[*Instance] { + return pulumix.Output[*Instance]{ + OutputState: i.ToInstanceOutputWithContext(ctx).OutputState, + } +} + +// InstanceArrayInput is an input type that accepts InstanceArray and InstanceArrayOutput values. +// You can construct a concrete instance of `InstanceArrayInput` via: +// +// InstanceArray{ InstanceArgs{...} } +type InstanceArrayInput interface { + pulumi.Input + + ToInstanceArrayOutput() InstanceArrayOutput + ToInstanceArrayOutputWithContext(context.Context) InstanceArrayOutput +} + +type InstanceArray []InstanceInput + +func (InstanceArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]*Instance)(nil)).Elem() +} + +func (i InstanceArray) ToInstanceArrayOutput() InstanceArrayOutput { + return i.ToInstanceArrayOutputWithContext(context.Background()) +} + +func (i InstanceArray) ToInstanceArrayOutputWithContext(ctx context.Context) InstanceArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(InstanceArrayOutput) +} + +func (i InstanceArray) ToOutput(ctx context.Context) pulumix.Output[[]*Instance] { + return pulumix.Output[[]*Instance]{ + OutputState: i.ToInstanceArrayOutputWithContext(ctx).OutputState, + } +} + +// InstanceMapInput is an input type that accepts InstanceMap and InstanceMapOutput values. +// You can construct a concrete instance of `InstanceMapInput` via: +// +// InstanceMap{ "key": InstanceArgs{...} } +type InstanceMapInput interface { + pulumi.Input + + ToInstanceMapOutput() InstanceMapOutput + ToInstanceMapOutputWithContext(context.Context) InstanceMapOutput +} + +type InstanceMap map[string]InstanceInput + +func (InstanceMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*Instance)(nil)).Elem() +} + +func (i InstanceMap) ToInstanceMapOutput() InstanceMapOutput { + return i.ToInstanceMapOutputWithContext(context.Background()) +} + +func (i InstanceMap) ToInstanceMapOutputWithContext(ctx context.Context) InstanceMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(InstanceMapOutput) +} + +func (i InstanceMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*Instance] { + return pulumix.Output[map[string]*Instance]{ + OutputState: i.ToInstanceMapOutputWithContext(ctx).OutputState, + } +} + +type InstanceOutput struct{ *pulumi.OutputState } + +func (InstanceOutput) ElementType() reflect.Type { + return reflect.TypeOf((**Instance)(nil)).Elem() +} + +func (o InstanceOutput) ToInstanceOutput() InstanceOutput { + return o +} + +func (o InstanceOutput) ToInstanceOutputWithContext(ctx context.Context) InstanceOutput { + return o +} + +func (o InstanceOutput) ToOutput(ctx context.Context) pulumix.Output[*Instance] { + return pulumix.Output[*Instance]{ + OutputState: o.OutputState, + } +} + +// The time that the Verified Access Instance was created. +func (o InstanceOutput) CreationTime() pulumi.StringOutput { + return o.ApplyT(func(v *Instance) pulumi.StringOutput { return v.CreationTime }).(pulumi.StringOutput) +} + +// A description for the AWS Verified Access Instance. +func (o InstanceOutput) Description() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Instance) pulumi.StringPtrOutput { return v.Description }).(pulumi.StringPtrOutput) +} + +// The time that the Verified Access Instance was last updated. +func (o InstanceOutput) LastUpdatedTime() pulumi.StringOutput { + return o.ApplyT(func(v *Instance) pulumi.StringOutput { return v.LastUpdatedTime }).(pulumi.StringOutput) +} + +// Key-value mapping of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. +func (o InstanceOutput) Tags() pulumi.StringMapOutput { + return o.ApplyT(func(v *Instance) pulumi.StringMapOutput { return v.Tags }).(pulumi.StringMapOutput) +} + +// Deprecated: Please use `tags` instead. +func (o InstanceOutput) TagsAll() pulumi.StringMapOutput { + return o.ApplyT(func(v *Instance) pulumi.StringMapOutput { return v.TagsAll }).(pulumi.StringMapOutput) +} + +// One or more blocks of providing information about the AWS Verified Access Trust Providers. See verifiedAccessTrustProviders below for details.One or more blocks +func (o InstanceOutput) VerifiedAccessTrustProviders() InstanceVerifiedAccessTrustProviderArrayOutput { + return o.ApplyT(func(v *Instance) InstanceVerifiedAccessTrustProviderArrayOutput { + return v.VerifiedAccessTrustProviders + }).(InstanceVerifiedAccessTrustProviderArrayOutput) +} + +type InstanceArrayOutput struct{ *pulumi.OutputState } + +func (InstanceArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]*Instance)(nil)).Elem() +} + +func (o InstanceArrayOutput) ToInstanceArrayOutput() InstanceArrayOutput { + return o +} + +func (o InstanceArrayOutput) ToInstanceArrayOutputWithContext(ctx context.Context) InstanceArrayOutput { + return o +} + +func (o InstanceArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*Instance] { + return pulumix.Output[[]*Instance]{ + OutputState: o.OutputState, + } +} + +func (o InstanceArrayOutput) Index(i pulumi.IntInput) InstanceOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *Instance { + return vs[0].([]*Instance)[vs[1].(int)] + }).(InstanceOutput) +} + +type InstanceMapOutput struct{ *pulumi.OutputState } + +func (InstanceMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*Instance)(nil)).Elem() +} + +func (o InstanceMapOutput) ToInstanceMapOutput() InstanceMapOutput { + return o +} + +func (o InstanceMapOutput) ToInstanceMapOutputWithContext(ctx context.Context) InstanceMapOutput { + return o +} + +func (o InstanceMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*Instance] { + return pulumix.Output[map[string]*Instance]{ + OutputState: o.OutputState, + } +} + +func (o InstanceMapOutput) MapIndex(k pulumi.StringInput) InstanceOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *Instance { + return vs[0].(map[string]*Instance)[vs[1].(string)] + }).(InstanceOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*InstanceInput)(nil)).Elem(), &Instance{}) + pulumi.RegisterInputType(reflect.TypeOf((*InstanceArrayInput)(nil)).Elem(), InstanceArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*InstanceMapInput)(nil)).Elem(), InstanceMap{}) + pulumi.RegisterOutputType(InstanceOutput{}) + pulumi.RegisterOutputType(InstanceArrayOutput{}) + pulumi.RegisterOutputType(InstanceMapOutput{}) +} diff --git a/sdk/go/aws/verifiedaccess/pulumiTypes.go b/sdk/go/aws/verifiedaccess/pulumiTypes.go index 97e4abfc5a9..664c3d8dee2 100644 --- a/sdk/go/aws/verifiedaccess/pulumiTypes.go +++ b/sdk/go/aws/verifiedaccess/pulumiTypes.go @@ -14,6 +14,163 @@ import ( var _ = internal.GetEnvOrDefault +type InstanceVerifiedAccessTrustProvider struct { + // A description for the AWS Verified Access Instance. + Description *string `pulumi:"description"` + // The type of device-based trust provider. + DeviceTrustProviderType *string `pulumi:"deviceTrustProviderType"` + // The type of trust provider (user- or device-based). + TrustProviderType *string `pulumi:"trustProviderType"` + // The type of user-based trust provider. + UserTrustProviderType *string `pulumi:"userTrustProviderType"` + // The ID of the trust provider. + VerifiedAccessTrustProviderId *string `pulumi:"verifiedAccessTrustProviderId"` +} + +// InstanceVerifiedAccessTrustProviderInput is an input type that accepts InstanceVerifiedAccessTrustProviderArgs and InstanceVerifiedAccessTrustProviderOutput values. +// You can construct a concrete instance of `InstanceVerifiedAccessTrustProviderInput` via: +// +// InstanceVerifiedAccessTrustProviderArgs{...} +type InstanceVerifiedAccessTrustProviderInput interface { + pulumi.Input + + ToInstanceVerifiedAccessTrustProviderOutput() InstanceVerifiedAccessTrustProviderOutput + ToInstanceVerifiedAccessTrustProviderOutputWithContext(context.Context) InstanceVerifiedAccessTrustProviderOutput +} + +type InstanceVerifiedAccessTrustProviderArgs struct { + // A description for the AWS Verified Access Instance. + Description pulumi.StringPtrInput `pulumi:"description"` + // The type of device-based trust provider. + DeviceTrustProviderType pulumi.StringPtrInput `pulumi:"deviceTrustProviderType"` + // The type of trust provider (user- or device-based). + TrustProviderType pulumi.StringPtrInput `pulumi:"trustProviderType"` + // The type of user-based trust provider. + UserTrustProviderType pulumi.StringPtrInput `pulumi:"userTrustProviderType"` + // The ID of the trust provider. + VerifiedAccessTrustProviderId pulumi.StringPtrInput `pulumi:"verifiedAccessTrustProviderId"` +} + +func (InstanceVerifiedAccessTrustProviderArgs) ElementType() reflect.Type { + return reflect.TypeOf((*InstanceVerifiedAccessTrustProvider)(nil)).Elem() +} + +func (i InstanceVerifiedAccessTrustProviderArgs) ToInstanceVerifiedAccessTrustProviderOutput() InstanceVerifiedAccessTrustProviderOutput { + return i.ToInstanceVerifiedAccessTrustProviderOutputWithContext(context.Background()) +} + +func (i InstanceVerifiedAccessTrustProviderArgs) ToInstanceVerifiedAccessTrustProviderOutputWithContext(ctx context.Context) InstanceVerifiedAccessTrustProviderOutput { + return pulumi.ToOutputWithContext(ctx, i).(InstanceVerifiedAccessTrustProviderOutput) +} + +func (i InstanceVerifiedAccessTrustProviderArgs) ToOutput(ctx context.Context) pulumix.Output[InstanceVerifiedAccessTrustProvider] { + return pulumix.Output[InstanceVerifiedAccessTrustProvider]{ + OutputState: i.ToInstanceVerifiedAccessTrustProviderOutputWithContext(ctx).OutputState, + } +} + +// InstanceVerifiedAccessTrustProviderArrayInput is an input type that accepts InstanceVerifiedAccessTrustProviderArray and InstanceVerifiedAccessTrustProviderArrayOutput values. +// You can construct a concrete instance of `InstanceVerifiedAccessTrustProviderArrayInput` via: +// +// InstanceVerifiedAccessTrustProviderArray{ InstanceVerifiedAccessTrustProviderArgs{...} } +type InstanceVerifiedAccessTrustProviderArrayInput interface { + pulumi.Input + + ToInstanceVerifiedAccessTrustProviderArrayOutput() InstanceVerifiedAccessTrustProviderArrayOutput + ToInstanceVerifiedAccessTrustProviderArrayOutputWithContext(context.Context) InstanceVerifiedAccessTrustProviderArrayOutput +} + +type InstanceVerifiedAccessTrustProviderArray []InstanceVerifiedAccessTrustProviderInput + +func (InstanceVerifiedAccessTrustProviderArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]InstanceVerifiedAccessTrustProvider)(nil)).Elem() +} + +func (i InstanceVerifiedAccessTrustProviderArray) ToInstanceVerifiedAccessTrustProviderArrayOutput() InstanceVerifiedAccessTrustProviderArrayOutput { + return i.ToInstanceVerifiedAccessTrustProviderArrayOutputWithContext(context.Background()) +} + +func (i InstanceVerifiedAccessTrustProviderArray) ToInstanceVerifiedAccessTrustProviderArrayOutputWithContext(ctx context.Context) InstanceVerifiedAccessTrustProviderArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(InstanceVerifiedAccessTrustProviderArrayOutput) +} + +func (i InstanceVerifiedAccessTrustProviderArray) ToOutput(ctx context.Context) pulumix.Output[[]InstanceVerifiedAccessTrustProvider] { + return pulumix.Output[[]InstanceVerifiedAccessTrustProvider]{ + OutputState: i.ToInstanceVerifiedAccessTrustProviderArrayOutputWithContext(ctx).OutputState, + } +} + +type InstanceVerifiedAccessTrustProviderOutput struct{ *pulumi.OutputState } + +func (InstanceVerifiedAccessTrustProviderOutput) ElementType() reflect.Type { + return reflect.TypeOf((*InstanceVerifiedAccessTrustProvider)(nil)).Elem() +} + +func (o InstanceVerifiedAccessTrustProviderOutput) ToInstanceVerifiedAccessTrustProviderOutput() InstanceVerifiedAccessTrustProviderOutput { + return o +} + +func (o InstanceVerifiedAccessTrustProviderOutput) ToInstanceVerifiedAccessTrustProviderOutputWithContext(ctx context.Context) InstanceVerifiedAccessTrustProviderOutput { + return o +} + +func (o InstanceVerifiedAccessTrustProviderOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceVerifiedAccessTrustProvider] { + return pulumix.Output[InstanceVerifiedAccessTrustProvider]{ + OutputState: o.OutputState, + } +} + +// A description for the AWS Verified Access Instance. +func (o InstanceVerifiedAccessTrustProviderOutput) Description() pulumi.StringPtrOutput { + return o.ApplyT(func(v InstanceVerifiedAccessTrustProvider) *string { return v.Description }).(pulumi.StringPtrOutput) +} + +// The type of device-based trust provider. +func (o InstanceVerifiedAccessTrustProviderOutput) DeviceTrustProviderType() pulumi.StringPtrOutput { + return o.ApplyT(func(v InstanceVerifiedAccessTrustProvider) *string { return v.DeviceTrustProviderType }).(pulumi.StringPtrOutput) +} + +// The type of trust provider (user- or device-based). +func (o InstanceVerifiedAccessTrustProviderOutput) TrustProviderType() pulumi.StringPtrOutput { + return o.ApplyT(func(v InstanceVerifiedAccessTrustProvider) *string { return v.TrustProviderType }).(pulumi.StringPtrOutput) +} + +// The type of user-based trust provider. +func (o InstanceVerifiedAccessTrustProviderOutput) UserTrustProviderType() pulumi.StringPtrOutput { + return o.ApplyT(func(v InstanceVerifiedAccessTrustProvider) *string { return v.UserTrustProviderType }).(pulumi.StringPtrOutput) +} + +// The ID of the trust provider. +func (o InstanceVerifiedAccessTrustProviderOutput) VerifiedAccessTrustProviderId() pulumi.StringPtrOutput { + return o.ApplyT(func(v InstanceVerifiedAccessTrustProvider) *string { return v.VerifiedAccessTrustProviderId }).(pulumi.StringPtrOutput) +} + +type InstanceVerifiedAccessTrustProviderArrayOutput struct{ *pulumi.OutputState } + +func (InstanceVerifiedAccessTrustProviderArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]InstanceVerifiedAccessTrustProvider)(nil)).Elem() +} + +func (o InstanceVerifiedAccessTrustProviderArrayOutput) ToInstanceVerifiedAccessTrustProviderArrayOutput() InstanceVerifiedAccessTrustProviderArrayOutput { + return o +} + +func (o InstanceVerifiedAccessTrustProviderArrayOutput) ToInstanceVerifiedAccessTrustProviderArrayOutputWithContext(ctx context.Context) InstanceVerifiedAccessTrustProviderArrayOutput { + return o +} + +func (o InstanceVerifiedAccessTrustProviderArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]InstanceVerifiedAccessTrustProvider] { + return pulumix.Output[[]InstanceVerifiedAccessTrustProvider]{ + OutputState: o.OutputState, + } +} + +func (o InstanceVerifiedAccessTrustProviderArrayOutput) Index(i pulumi.IntInput) InstanceVerifiedAccessTrustProviderOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) InstanceVerifiedAccessTrustProvider { + return vs[0].([]InstanceVerifiedAccessTrustProvider)[vs[1].(int)] + }).(InstanceVerifiedAccessTrustProviderOutput) +} + type TrustProviderDeviceOptions struct { TenantId *string `pulumi:"tenantId"` } @@ -419,10 +576,14 @@ func (o TrustProviderOidcOptionsPtrOutput) UserInfoEndpoint() pulumi.StringPtrOu } func init() { + pulumi.RegisterInputType(reflect.TypeOf((*InstanceVerifiedAccessTrustProviderInput)(nil)).Elem(), InstanceVerifiedAccessTrustProviderArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*InstanceVerifiedAccessTrustProviderArrayInput)(nil)).Elem(), InstanceVerifiedAccessTrustProviderArray{}) pulumi.RegisterInputType(reflect.TypeOf((*TrustProviderDeviceOptionsInput)(nil)).Elem(), TrustProviderDeviceOptionsArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*TrustProviderDeviceOptionsPtrInput)(nil)).Elem(), TrustProviderDeviceOptionsArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*TrustProviderOidcOptionsInput)(nil)).Elem(), TrustProviderOidcOptionsArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*TrustProviderOidcOptionsPtrInput)(nil)).Elem(), TrustProviderOidcOptionsArgs{}) + pulumi.RegisterOutputType(InstanceVerifiedAccessTrustProviderOutput{}) + pulumi.RegisterOutputType(InstanceVerifiedAccessTrustProviderArrayOutput{}) pulumi.RegisterOutputType(TrustProviderDeviceOptionsOutput{}) pulumi.RegisterOutputType(TrustProviderDeviceOptionsPtrOutput{}) pulumi.RegisterOutputType(TrustProviderOidcOptionsOutput{}) diff --git a/sdk/go/aws/wafv2/webAclAssociation.go b/sdk/go/aws/wafv2/webAclAssociation.go index 6c18da23d2a..8f491a6254f 100644 --- a/sdk/go/aws/wafv2/webAclAssociation.go +++ b/sdk/go/aws/wafv2/webAclAssociation.go @@ -138,7 +138,7 @@ import ( type WebAclAssociation struct { pulumi.CustomResourceState - // The Amazon Resource Name (ARN) of the resource to associate with the web ACL. This must be an ARN of an Application Load Balancer, an Amazon API Gateway stage, or an Amazon Cognito User Pool. + // The Amazon Resource Name (ARN) of the resource to associate with the web ACL. This must be an ARN of an Application Load Balancer, an Amazon API Gateway stage, an Amazon Cognito User Pool, an Amazon AppSync GraphQL API, an Amazon App Runner service, or an Amazon Verified Access instance. ResourceArn pulumi.StringOutput `pulumi:"resourceArn"` // The Amazon Resource Name (ARN) of the Web ACL that you want to associate with the resource. WebAclArn pulumi.StringOutput `pulumi:"webAclArn"` @@ -180,14 +180,14 @@ func GetWebAclAssociation(ctx *pulumi.Context, // Input properties used for looking up and filtering WebAclAssociation resources. type webAclAssociationState struct { - // The Amazon Resource Name (ARN) of the resource to associate with the web ACL. This must be an ARN of an Application Load Balancer, an Amazon API Gateway stage, or an Amazon Cognito User Pool. + // The Amazon Resource Name (ARN) of the resource to associate with the web ACL. This must be an ARN of an Application Load Balancer, an Amazon API Gateway stage, an Amazon Cognito User Pool, an Amazon AppSync GraphQL API, an Amazon App Runner service, or an Amazon Verified Access instance. ResourceArn *string `pulumi:"resourceArn"` // The Amazon Resource Name (ARN) of the Web ACL that you want to associate with the resource. WebAclArn *string `pulumi:"webAclArn"` } type WebAclAssociationState struct { - // The Amazon Resource Name (ARN) of the resource to associate with the web ACL. This must be an ARN of an Application Load Balancer, an Amazon API Gateway stage, or an Amazon Cognito User Pool. + // The Amazon Resource Name (ARN) of the resource to associate with the web ACL. This must be an ARN of an Application Load Balancer, an Amazon API Gateway stage, an Amazon Cognito User Pool, an Amazon AppSync GraphQL API, an Amazon App Runner service, or an Amazon Verified Access instance. ResourceArn pulumi.StringPtrInput // The Amazon Resource Name (ARN) of the Web ACL that you want to associate with the resource. WebAclArn pulumi.StringPtrInput @@ -198,7 +198,7 @@ func (WebAclAssociationState) ElementType() reflect.Type { } type webAclAssociationArgs struct { - // The Amazon Resource Name (ARN) of the resource to associate with the web ACL. This must be an ARN of an Application Load Balancer, an Amazon API Gateway stage, or an Amazon Cognito User Pool. + // The Amazon Resource Name (ARN) of the resource to associate with the web ACL. This must be an ARN of an Application Load Balancer, an Amazon API Gateway stage, an Amazon Cognito User Pool, an Amazon AppSync GraphQL API, an Amazon App Runner service, or an Amazon Verified Access instance. ResourceArn string `pulumi:"resourceArn"` // The Amazon Resource Name (ARN) of the Web ACL that you want to associate with the resource. WebAclArn string `pulumi:"webAclArn"` @@ -206,7 +206,7 @@ type webAclAssociationArgs struct { // The set of arguments for constructing a WebAclAssociation resource. type WebAclAssociationArgs struct { - // The Amazon Resource Name (ARN) of the resource to associate with the web ACL. This must be an ARN of an Application Load Balancer, an Amazon API Gateway stage, or an Amazon Cognito User Pool. + // The Amazon Resource Name (ARN) of the resource to associate with the web ACL. This must be an ARN of an Application Load Balancer, an Amazon API Gateway stage, an Amazon Cognito User Pool, an Amazon AppSync GraphQL API, an Amazon App Runner service, or an Amazon Verified Access instance. ResourceArn pulumi.StringInput // The Amazon Resource Name (ARN) of the Web ACL that you want to associate with the resource. WebAclArn pulumi.StringInput @@ -323,7 +323,7 @@ func (o WebAclAssociationOutput) ToOutput(ctx context.Context) pulumix.Output[*W } } -// The Amazon Resource Name (ARN) of the resource to associate with the web ACL. This must be an ARN of an Application Load Balancer, an Amazon API Gateway stage, or an Amazon Cognito User Pool. +// The Amazon Resource Name (ARN) of the resource to associate with the web ACL. This must be an ARN of an Application Load Balancer, an Amazon API Gateway stage, an Amazon Cognito User Pool, an Amazon AppSync GraphQL API, an Amazon App Runner service, or an Amazon Verified Access instance. func (o WebAclAssociationOutput) ResourceArn() pulumi.StringOutput { return o.ApplyT(func(v *WebAclAssociation) pulumi.StringOutput { return v.ResourceArn }).(pulumi.StringOutput) } diff --git a/sdk/java/src/main/java/com/pulumi/aws/cleanrooms/Collaboration.java b/sdk/java/src/main/java/com/pulumi/aws/cleanrooms/Collaboration.java index efac9514255..4e3a23ed38e 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/cleanrooms/Collaboration.java +++ b/sdk/java/src/main/java/com/pulumi/aws/cleanrooms/Collaboration.java @@ -72,36 +72,42 @@ * } * ``` * + * ## Import + * + * terraform import { + * + * to = aws_cleanrooms_collaboration.collaboration + * + * id = "1234abcd-12ab-34cd-56ef-1234567890ab" } Using `pulumi import`, import `aws:cleanrooms/collaboration:Collaboration` using the `id`. For exampleconsole % pulumi import aws:cleanrooms/collaboration:Collaboration 1234abcd-12ab-34cd-56ef-1234567890ab + * */ @ResourceType(type="aws:cleanrooms/collaboration:Collaboration") public class Collaboration extends com.pulumi.resources.CustomResource { /** - * The arn of the collaboration + * The arn of the collaboration. * */ @Export(name="arn", refs={String.class}, tree="[0]") private Output arn; /** - * @return The arn of the collaboration + * @return The arn of the collaboration. * */ public Output arn() { return this.arn; } /** - * The date and time the collaboration was created - * * `member status` - For each member included in the collaboration an additional computed attribute of status is added. These values [may be - * ound here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_MemberSummary.html#API-Type-MemberSummary-status) + * The date and time the collaboration was created. + * * `member status` - For each member included in the collaboration an additional computed attribute of status is added. These values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_MemberSummary.html#API-Type-MemberSummary-status). * */ @Export(name="createTime", refs={String.class}, tree="[0]") private Output createTime; /** - * @return The date and time the collaboration was created - * * `member status` - For each member included in the collaboration an additional computed attribute of status is added. These values [may be - * ound here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_MemberSummary.html#API-Type-MemberSummary-status) + * @return The date and time the collaboration was created. + * * `member status` - For each member included in the collaboration an additional computed attribute of status is added. These values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_MemberSummary.html#API-Type-MemberSummary-status). * */ public Output createTime() { @@ -122,26 +128,21 @@ public Output creatorDisplayName() { return this.creatorDisplayName; } /** - * The list of member abilities for the creator of the collaboration. Valid v - * lues [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-re - * uest-creatorMemberAbilities) + * The list of member abilities for the creator of the collaboration. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-creatorMemberAbilities). * */ @Export(name="creatorMemberAbilities", refs={List.class,String.class}, tree="[0,1]") private Output> creatorMemberAbilities; /** - * @return The list of member abilities for the creator of the collaboration. Valid v - * lues [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-re - * uest-creatorMemberAbilities) + * @return The list of member abilities for the creator of the collaboration. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-creatorMemberAbilities). * */ public Output> creatorMemberAbilities() { return this.creatorMemberAbilities; } /** - * a collection of settings which determine how the [c3r client](https://docs - * aws.amazon.com/clean-rooms/latest/userguide/crypto-computing.html) will encrypt data for use within this collaboration + * a collection of settings which determine how the [c3r client](https://docs.aws.amazon.com/clean-rooms/latest/userguide/crypto-computing.html) will encrypt data for use within this collaboration. * * `data_encryption_metadata.allow_clear_text` - (Required - Forces new resource) - Indicates whether encrypted tables can contain cleartext data. This is a boolea * field. * * `data_encryption_metadata.allow_duplicates` - (Required - Forces new resource ) - Indicates whether Fingerprint columns can contain duplicate entries. This is a @@ -156,8 +157,7 @@ public Output> creatorMemberAbilities() { private Output dataEncryptionMetadata; /** - * @return a collection of settings which determine how the [c3r client](https://docs - * aws.amazon.com/clean-rooms/latest/userguide/crypto-computing.html) will encrypt data for use within this collaboration + * @return a collection of settings which determine how the [c3r client](https://docs.aws.amazon.com/clean-rooms/latest/userguide/crypto-computing.html) will encrypt data for use within this collaboration. * * `data_encryption_metadata.allow_clear_text` - (Required - Forces new resource) - Indicates whether encrypted tables can contain cleartext data. This is a boolea * field. * * `data_encryption_metadata.allow_duplicates` - (Required - Forces new resource ) - Indicates whether Fingerprint columns can contain duplicate entries. This is a @@ -187,10 +187,9 @@ public Output description() { } /** * Additional members of the collaboration which will be invited to join the collaboration. - * * `member.account_id` - (Required - Forces new resource) - The account id for the invited member - * * `member.display_name` - (Required - Forces new resource) - The display name for the invited member - * * `member.member_abilities` - (Required - Forces new resource) - The list of abilities for the invited member. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-creatorMemberAbiliti - * s + * * `member.account_id` - (Required - Forces new resource) - The account id for the invited member. + * * `member.display_name` - (Required - Forces new resource) - The display name for the invited member. + * * `member.member_abilities` - (Required - Forces new resource) - The list of abilities for the invited member. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-creatorMemberAbilities). * */ @Export(name="members", refs={List.class,CollaborationMember.class}, tree="[0,1]") @@ -198,10 +197,9 @@ public Output description() { /** * @return Additional members of the collaboration which will be invited to join the collaboration. - * * `member.account_id` - (Required - Forces new resource) - The account id for the invited member - * * `member.display_name` - (Required - Forces new resource) - The display name for the invited member - * * `member.member_abilities` - (Required - Forces new resource) - The list of abilities for the invited member. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-creatorMemberAbiliti - * s + * * `member.account_id` - (Required - Forces new resource) - The account id for the invited member. + * * `member.display_name` - (Required - Forces new resource) - The display name for the invited member. + * * `member.member_abilities` - (Required - Forces new resource) - The list of abilities for the invited member. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-creatorMemberAbilities). * */ public Output>> members() { @@ -222,18 +220,16 @@ public Output name() { return this.name; } /** - * Determines if members of the collaboration can enable query logs within their own - * emberships. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-Cr - * ateCollaboration-request-queryLogStatus). + * Determines if members of the collaboration can enable query logs within their own. + * emberships. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-queryLogStatus). * */ @Export(name="queryLogStatus", refs={String.class}, tree="[0]") private Output queryLogStatus; /** - * @return Determines if members of the collaboration can enable query logs within their own - * emberships. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-Cr - * ateCollaboration-request-queryLogStatus). + * @return Determines if members of the collaboration can enable query logs within their own. + * emberships. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-queryLogStatus). * */ public Output queryLogStatus() { diff --git a/sdk/java/src/main/java/com/pulumi/aws/cleanrooms/CollaborationArgs.java b/sdk/java/src/main/java/com/pulumi/aws/cleanrooms/CollaborationArgs.java index e0c13d397b3..b7b21a58cba 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/cleanrooms/CollaborationArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/cleanrooms/CollaborationArgs.java @@ -35,18 +35,14 @@ public Output creatorDisplayName() { } /** - * The list of member abilities for the creator of the collaboration. Valid v - * lues [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-re - * uest-creatorMemberAbilities) + * The list of member abilities for the creator of the collaboration. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-creatorMemberAbilities). * */ @Import(name="creatorMemberAbilities", required=true) private Output> creatorMemberAbilities; /** - * @return The list of member abilities for the creator of the collaboration. Valid v - * lues [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-re - * uest-creatorMemberAbilities) + * @return The list of member abilities for the creator of the collaboration. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-creatorMemberAbilities). * */ public Output> creatorMemberAbilities() { @@ -54,8 +50,7 @@ public Output> creatorMemberAbilities() { } /** - * a collection of settings which determine how the [c3r client](https://docs - * aws.amazon.com/clean-rooms/latest/userguide/crypto-computing.html) will encrypt data for use within this collaboration + * a collection of settings which determine how the [c3r client](https://docs.aws.amazon.com/clean-rooms/latest/userguide/crypto-computing.html) will encrypt data for use within this collaboration. * * `data_encryption_metadata.allow_clear_text` - (Required - Forces new resource) - Indicates whether encrypted tables can contain cleartext data. This is a boolea * field. * * `data_encryption_metadata.allow_duplicates` - (Required - Forces new resource ) - Indicates whether Fingerprint columns can contain duplicate entries. This is a @@ -70,8 +65,7 @@ public Output> creatorMemberAbilities() { private @Nullable Output dataEncryptionMetadata; /** - * @return a collection of settings which determine how the [c3r client](https://docs - * aws.amazon.com/clean-rooms/latest/userguide/crypto-computing.html) will encrypt data for use within this collaboration + * @return a collection of settings which determine how the [c3r client](https://docs.aws.amazon.com/clean-rooms/latest/userguide/crypto-computing.html) will encrypt data for use within this collaboration. * * `data_encryption_metadata.allow_clear_text` - (Required - Forces new resource) - Indicates whether encrypted tables can contain cleartext data. This is a boolea * field. * * `data_encryption_metadata.allow_duplicates` - (Required - Forces new resource ) - Indicates whether Fingerprint columns can contain duplicate entries. This is a @@ -103,10 +97,9 @@ public Output description() { /** * Additional members of the collaboration which will be invited to join the collaboration. - * * `member.account_id` - (Required - Forces new resource) - The account id for the invited member - * * `member.display_name` - (Required - Forces new resource) - The display name for the invited member - * * `member.member_abilities` - (Required - Forces new resource) - The list of abilities for the invited member. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-creatorMemberAbiliti - * s + * * `member.account_id` - (Required - Forces new resource) - The account id for the invited member. + * * `member.display_name` - (Required - Forces new resource) - The display name for the invited member. + * * `member.member_abilities` - (Required - Forces new resource) - The list of abilities for the invited member. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-creatorMemberAbilities). * */ @Import(name="members") @@ -114,10 +107,9 @@ public Output description() { /** * @return Additional members of the collaboration which will be invited to join the collaboration. - * * `member.account_id` - (Required - Forces new resource) - The account id for the invited member - * * `member.display_name` - (Required - Forces new resource) - The display name for the invited member - * * `member.member_abilities` - (Required - Forces new resource) - The list of abilities for the invited member. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-creatorMemberAbiliti - * s + * * `member.account_id` - (Required - Forces new resource) - The account id for the invited member. + * * `member.display_name` - (Required - Forces new resource) - The display name for the invited member. + * * `member.member_abilities` - (Required - Forces new resource) - The list of abilities for the invited member. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-creatorMemberAbilities). * */ public Optional>> members() { @@ -140,18 +132,16 @@ public Optional> name() { } /** - * Determines if members of the collaboration can enable query logs within their own - * emberships. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-Cr - * ateCollaboration-request-queryLogStatus). + * Determines if members of the collaboration can enable query logs within their own. + * emberships. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-queryLogStatus). * */ @Import(name="queryLogStatus", required=true) private Output queryLogStatus; /** - * @return Determines if members of the collaboration can enable query logs within their own - * emberships. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-Cr - * ateCollaboration-request-queryLogStatus). + * @return Determines if members of the collaboration can enable query logs within their own. + * emberships. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-queryLogStatus). * */ public Output queryLogStatus() { @@ -226,9 +216,7 @@ public Builder creatorDisplayName(String creatorDisplayName) { } /** - * @param creatorMemberAbilities The list of member abilities for the creator of the collaboration. Valid v - * lues [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-re - * uest-creatorMemberAbilities) + * @param creatorMemberAbilities The list of member abilities for the creator of the collaboration. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-creatorMemberAbilities). * * @return builder * @@ -239,9 +227,7 @@ public Builder creatorMemberAbilities(Output> creatorMemberAbilitie } /** - * @param creatorMemberAbilities The list of member abilities for the creator of the collaboration. Valid v - * lues [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-re - * uest-creatorMemberAbilities) + * @param creatorMemberAbilities The list of member abilities for the creator of the collaboration. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-creatorMemberAbilities). * * @return builder * @@ -251,9 +237,7 @@ public Builder creatorMemberAbilities(List creatorMemberAbilities) { } /** - * @param creatorMemberAbilities The list of member abilities for the creator of the collaboration. Valid v - * lues [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-re - * uest-creatorMemberAbilities) + * @param creatorMemberAbilities The list of member abilities for the creator of the collaboration. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-creatorMemberAbilities). * * @return builder * @@ -263,8 +247,7 @@ public Builder creatorMemberAbilities(String... creatorMemberAbilities) { } /** - * @param dataEncryptionMetadata a collection of settings which determine how the [c3r client](https://docs - * aws.amazon.com/clean-rooms/latest/userguide/crypto-computing.html) will encrypt data for use within this collaboration + * @param dataEncryptionMetadata a collection of settings which determine how the [c3r client](https://docs.aws.amazon.com/clean-rooms/latest/userguide/crypto-computing.html) will encrypt data for use within this collaboration. * * `data_encryption_metadata.allow_clear_text` - (Required - Forces new resource) - Indicates whether encrypted tables can contain cleartext data. This is a boolea * field. * * `data_encryption_metadata.allow_duplicates` - (Required - Forces new resource ) - Indicates whether Fingerprint columns can contain duplicate entries. This is a @@ -283,8 +266,7 @@ public Builder dataEncryptionMetadata(@Nullable Output> members) /** * @param members Additional members of the collaboration which will be invited to join the collaboration. - * * `member.account_id` - (Required - Forces new resource) - The account id for the invited member - * * `member.display_name` - (Required - Forces new resource) - The display name for the invited member - * * `member.member_abilities` - (Required - Forces new resource) - The list of abilities for the invited member. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-creatorMemberAbiliti - * s + * * `member.account_id` - (Required - Forces new resource) - The account id for the invited member. + * * `member.display_name` - (Required - Forces new resource) - The display name for the invited member. + * * `member.member_abilities` - (Required - Forces new resource) - The list of abilities for the invited member. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-creatorMemberAbilities). * * @return builder * @@ -353,10 +333,9 @@ public Builder members(List members) { /** * @param members Additional members of the collaboration which will be invited to join the collaboration. - * * `member.account_id` - (Required - Forces new resource) - The account id for the invited member - * * `member.display_name` - (Required - Forces new resource) - The display name for the invited member - * * `member.member_abilities` - (Required - Forces new resource) - The list of abilities for the invited member. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-creatorMemberAbiliti - * s + * * `member.account_id` - (Required - Forces new resource) - The account id for the invited member. + * * `member.display_name` - (Required - Forces new resource) - The display name for the invited member. + * * `member.member_abilities` - (Required - Forces new resource) - The list of abilities for the invited member. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-creatorMemberAbilities). * * @return builder * @@ -387,9 +366,8 @@ public Builder name(String name) { } /** - * @param queryLogStatus Determines if members of the collaboration can enable query logs within their own - * emberships. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-Cr - * ateCollaboration-request-queryLogStatus). + * @param queryLogStatus Determines if members of the collaboration can enable query logs within their own. + * emberships. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-queryLogStatus). * * @return builder * @@ -400,9 +378,8 @@ public Builder queryLogStatus(Output queryLogStatus) { } /** - * @param queryLogStatus Determines if members of the collaboration can enable query logs within their own - * emberships. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-Cr - * ateCollaboration-request-queryLogStatus). + * @param queryLogStatus Determines if members of the collaboration can enable query logs within their own. + * emberships. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-queryLogStatus). * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/aws/cleanrooms/inputs/CollaborationState.java b/sdk/java/src/main/java/com/pulumi/aws/cleanrooms/inputs/CollaborationState.java index 5fe967e1a39..25e7b8a1463 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/cleanrooms/inputs/CollaborationState.java +++ b/sdk/java/src/main/java/com/pulumi/aws/cleanrooms/inputs/CollaborationState.java @@ -20,14 +20,14 @@ public final class CollaborationState extends com.pulumi.resources.ResourceArgs public static final CollaborationState Empty = new CollaborationState(); /** - * The arn of the collaboration + * The arn of the collaboration. * */ @Import(name="arn") private @Nullable Output arn; /** - * @return The arn of the collaboration + * @return The arn of the collaboration. * */ public Optional> arn() { @@ -35,18 +35,16 @@ public Optional> arn() { } /** - * The date and time the collaboration was created - * * `member status` - For each member included in the collaboration an additional computed attribute of status is added. These values [may be - * ound here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_MemberSummary.html#API-Type-MemberSummary-status) + * The date and time the collaboration was created. + * * `member status` - For each member included in the collaboration an additional computed attribute of status is added. These values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_MemberSummary.html#API-Type-MemberSummary-status). * */ @Import(name="createTime") private @Nullable Output createTime; /** - * @return The date and time the collaboration was created - * * `member status` - For each member included in the collaboration an additional computed attribute of status is added. These values [may be - * ound here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_MemberSummary.html#API-Type-MemberSummary-status) + * @return The date and time the collaboration was created. + * * `member status` - For each member included in the collaboration an additional computed attribute of status is added. These values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_MemberSummary.html#API-Type-MemberSummary-status). * */ public Optional> createTime() { @@ -69,18 +67,14 @@ public Optional> creatorDisplayName() { } /** - * The list of member abilities for the creator of the collaboration. Valid v - * lues [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-re - * uest-creatorMemberAbilities) + * The list of member abilities for the creator of the collaboration. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-creatorMemberAbilities). * */ @Import(name="creatorMemberAbilities") private @Nullable Output> creatorMemberAbilities; /** - * @return The list of member abilities for the creator of the collaboration. Valid v - * lues [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-re - * uest-creatorMemberAbilities) + * @return The list of member abilities for the creator of the collaboration. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-creatorMemberAbilities). * */ public Optional>> creatorMemberAbilities() { @@ -88,8 +82,7 @@ public Optional>> creatorMemberAbilities() { } /** - * a collection of settings which determine how the [c3r client](https://docs - * aws.amazon.com/clean-rooms/latest/userguide/crypto-computing.html) will encrypt data for use within this collaboration + * a collection of settings which determine how the [c3r client](https://docs.aws.amazon.com/clean-rooms/latest/userguide/crypto-computing.html) will encrypt data for use within this collaboration. * * `data_encryption_metadata.allow_clear_text` - (Required - Forces new resource) - Indicates whether encrypted tables can contain cleartext data. This is a boolea * field. * * `data_encryption_metadata.allow_duplicates` - (Required - Forces new resource ) - Indicates whether Fingerprint columns can contain duplicate entries. This is a @@ -104,8 +97,7 @@ public Optional>> creatorMemberAbilities() { private @Nullable Output dataEncryptionMetadata; /** - * @return a collection of settings which determine how the [c3r client](https://docs - * aws.amazon.com/clean-rooms/latest/userguide/crypto-computing.html) will encrypt data for use within this collaboration + * @return a collection of settings which determine how the [c3r client](https://docs.aws.amazon.com/clean-rooms/latest/userguide/crypto-computing.html) will encrypt data for use within this collaboration. * * `data_encryption_metadata.allow_clear_text` - (Required - Forces new resource) - Indicates whether encrypted tables can contain cleartext data. This is a boolea * field. * * `data_encryption_metadata.allow_duplicates` - (Required - Forces new resource ) - Indicates whether Fingerprint columns can contain duplicate entries. This is a @@ -137,10 +129,9 @@ public Optional> description() { /** * Additional members of the collaboration which will be invited to join the collaboration. - * * `member.account_id` - (Required - Forces new resource) - The account id for the invited member - * * `member.display_name` - (Required - Forces new resource) - The display name for the invited member - * * `member.member_abilities` - (Required - Forces new resource) - The list of abilities for the invited member. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-creatorMemberAbiliti - * s + * * `member.account_id` - (Required - Forces new resource) - The account id for the invited member. + * * `member.display_name` - (Required - Forces new resource) - The display name for the invited member. + * * `member.member_abilities` - (Required - Forces new resource) - The list of abilities for the invited member. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-creatorMemberAbilities). * */ @Import(name="members") @@ -148,10 +139,9 @@ public Optional> description() { /** * @return Additional members of the collaboration which will be invited to join the collaboration. - * * `member.account_id` - (Required - Forces new resource) - The account id for the invited member - * * `member.display_name` - (Required - Forces new resource) - The display name for the invited member - * * `member.member_abilities` - (Required - Forces new resource) - The list of abilities for the invited member. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-creatorMemberAbiliti - * s + * * `member.account_id` - (Required - Forces new resource) - The account id for the invited member. + * * `member.display_name` - (Required - Forces new resource) - The display name for the invited member. + * * `member.member_abilities` - (Required - Forces new resource) - The list of abilities for the invited member. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-creatorMemberAbilities). * */ public Optional>> members() { @@ -174,18 +164,16 @@ public Optional> name() { } /** - * Determines if members of the collaboration can enable query logs within their own - * emberships. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-Cr - * ateCollaboration-request-queryLogStatus). + * Determines if members of the collaboration can enable query logs within their own. + * emberships. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-queryLogStatus). * */ @Import(name="queryLogStatus") private @Nullable Output queryLogStatus; /** - * @return Determines if members of the collaboration can enable query logs within their own - * emberships. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-Cr - * ateCollaboration-request-queryLogStatus). + * @return Determines if members of the collaboration can enable query logs within their own. + * emberships. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-queryLogStatus). * */ public Optional> queryLogStatus() { @@ -269,7 +257,7 @@ public Builder(CollaborationState defaults) { } /** - * @param arn The arn of the collaboration + * @param arn The arn of the collaboration. * * @return builder * @@ -280,7 +268,7 @@ public Builder arn(@Nullable Output arn) { } /** - * @param arn The arn of the collaboration + * @param arn The arn of the collaboration. * * @return builder * @@ -290,9 +278,8 @@ public Builder arn(String arn) { } /** - * @param createTime The date and time the collaboration was created - * * `member status` - For each member included in the collaboration an additional computed attribute of status is added. These values [may be - * ound here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_MemberSummary.html#API-Type-MemberSummary-status) + * @param createTime The date and time the collaboration was created. + * * `member status` - For each member included in the collaboration an additional computed attribute of status is added. These values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_MemberSummary.html#API-Type-MemberSummary-status). * * @return builder * @@ -303,9 +290,8 @@ public Builder createTime(@Nullable Output createTime) { } /** - * @param createTime The date and time the collaboration was created - * * `member status` - For each member included in the collaboration an additional computed attribute of status is added. These values [may be - * ound here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_MemberSummary.html#API-Type-MemberSummary-status) + * @param createTime The date and time the collaboration was created. + * * `member status` - For each member included in the collaboration an additional computed attribute of status is added. These values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_MemberSummary.html#API-Type-MemberSummary-status). * * @return builder * @@ -336,9 +322,7 @@ public Builder creatorDisplayName(String creatorDisplayName) { } /** - * @param creatorMemberAbilities The list of member abilities for the creator of the collaboration. Valid v - * lues [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-re - * uest-creatorMemberAbilities) + * @param creatorMemberAbilities The list of member abilities for the creator of the collaboration. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-creatorMemberAbilities). * * @return builder * @@ -349,9 +333,7 @@ public Builder creatorMemberAbilities(@Nullable Output> creatorMemb } /** - * @param creatorMemberAbilities The list of member abilities for the creator of the collaboration. Valid v - * lues [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-re - * uest-creatorMemberAbilities) + * @param creatorMemberAbilities The list of member abilities for the creator of the collaboration. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-creatorMemberAbilities). * * @return builder * @@ -361,9 +343,7 @@ public Builder creatorMemberAbilities(List creatorMemberAbilities) { } /** - * @param creatorMemberAbilities The list of member abilities for the creator of the collaboration. Valid v - * lues [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-re - * uest-creatorMemberAbilities) + * @param creatorMemberAbilities The list of member abilities for the creator of the collaboration. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-creatorMemberAbilities). * * @return builder * @@ -373,8 +353,7 @@ public Builder creatorMemberAbilities(String... creatorMemberAbilities) { } /** - * @param dataEncryptionMetadata a collection of settings which determine how the [c3r client](https://docs - * aws.amazon.com/clean-rooms/latest/userguide/crypto-computing.html) will encrypt data for use within this collaboration + * @param dataEncryptionMetadata a collection of settings which determine how the [c3r client](https://docs.aws.amazon.com/clean-rooms/latest/userguide/crypto-computing.html) will encrypt data for use within this collaboration. * * `data_encryption_metadata.allow_clear_text` - (Required - Forces new resource) - Indicates whether encrypted tables can contain cleartext data. This is a boolea * field. * * `data_encryption_metadata.allow_duplicates` - (Required - Forces new resource ) - Indicates whether Fingerprint columns can contain duplicate entries. This is a @@ -393,8 +372,7 @@ public Builder dataEncryptionMetadata(@Nullable Output> members) /** * @param members Additional members of the collaboration which will be invited to join the collaboration. - * * `member.account_id` - (Required - Forces new resource) - The account id for the invited member - * * `member.display_name` - (Required - Forces new resource) - The display name for the invited member - * * `member.member_abilities` - (Required - Forces new resource) - The list of abilities for the invited member. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-creatorMemberAbiliti - * s + * * `member.account_id` - (Required - Forces new resource) - The account id for the invited member. + * * `member.display_name` - (Required - Forces new resource) - The display name for the invited member. + * * `member.member_abilities` - (Required - Forces new resource) - The list of abilities for the invited member. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-creatorMemberAbilities). * * @return builder * @@ -463,10 +439,9 @@ public Builder members(List members) { /** * @param members Additional members of the collaboration which will be invited to join the collaboration. - * * `member.account_id` - (Required - Forces new resource) - The account id for the invited member - * * `member.display_name` - (Required - Forces new resource) - The display name for the invited member - * * `member.member_abilities` - (Required - Forces new resource) - The list of abilities for the invited member. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-creatorMemberAbiliti - * s + * * `member.account_id` - (Required - Forces new resource) - The account id for the invited member. + * * `member.display_name` - (Required - Forces new resource) - The display name for the invited member. + * * `member.member_abilities` - (Required - Forces new resource) - The list of abilities for the invited member. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-creatorMemberAbilities). * * @return builder * @@ -497,9 +472,8 @@ public Builder name(String name) { } /** - * @param queryLogStatus Determines if members of the collaboration can enable query logs within their own - * emberships. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-Cr - * ateCollaboration-request-queryLogStatus). + * @param queryLogStatus Determines if members of the collaboration can enable query logs within their own. + * emberships. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-queryLogStatus). * * @return builder * @@ -510,9 +484,8 @@ public Builder queryLogStatus(@Nullable Output queryLogStatus) { } /** - * @param queryLogStatus Determines if members of the collaboration can enable query logs within their own - * emberships. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-Cr - * ateCollaboration-request-queryLogStatus). + * @param queryLogStatus Determines if members of the collaboration can enable query logs within their own. + * emberships. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-queryLogStatus). * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2/NetworkInsightsPath.java b/sdk/java/src/main/java/com/pulumi/aws/ec2/NetworkInsightsPath.java index d75808dc881..6e912862101 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2/NetworkInsightsPath.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2/NetworkInsightsPath.java @@ -78,14 +78,14 @@ public Output arn() { return this.arn; } /** - * ID or ARN of the resource which is the source of the path. Can be an Instance, Internet Gateway, Network Interface, Transit Gateway, VPC Endpoint, VPC Peering Connection or VPN Gateway. If the resource is in another account, you must specify an ARN. + * ID or ARN of the resource which is the destination of the path. Can be an Instance, Internet Gateway, Network Interface, Transit Gateway, VPC Endpoint, VPC Peering Connection or VPN Gateway. If the resource is in another account, you must specify an ARN. * */ @Export(name="destination", refs={String.class}, tree="[0]") private Output destination; /** - * @return ID or ARN of the resource which is the source of the path. Can be an Instance, Internet Gateway, Network Interface, Transit Gateway, VPC Endpoint, VPC Peering Connection or VPN Gateway. If the resource is in another account, you must specify an ARN. + * @return ID or ARN of the resource which is the destination of the path. Can be an Instance, Internet Gateway, Network Interface, Transit Gateway, VPC Endpoint, VPC Peering Connection or VPN Gateway. If the resource is in another account, you must specify an ARN. * */ public Output destination() { diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2/NetworkInsightsPathArgs.java b/sdk/java/src/main/java/com/pulumi/aws/ec2/NetworkInsightsPathArgs.java index 838cde3f084..de33b6159dc 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2/NetworkInsightsPathArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2/NetworkInsightsPathArgs.java @@ -18,14 +18,14 @@ public final class NetworkInsightsPathArgs extends com.pulumi.resources.Resource public static final NetworkInsightsPathArgs Empty = new NetworkInsightsPathArgs(); /** - * ID or ARN of the resource which is the source of the path. Can be an Instance, Internet Gateway, Network Interface, Transit Gateway, VPC Endpoint, VPC Peering Connection or VPN Gateway. If the resource is in another account, you must specify an ARN. + * ID or ARN of the resource which is the destination of the path. Can be an Instance, Internet Gateway, Network Interface, Transit Gateway, VPC Endpoint, VPC Peering Connection or VPN Gateway. If the resource is in another account, you must specify an ARN. * */ @Import(name="destination", required=true) private Output destination; /** - * @return ID or ARN of the resource which is the source of the path. Can be an Instance, Internet Gateway, Network Interface, Transit Gateway, VPC Endpoint, VPC Peering Connection or VPN Gateway. If the resource is in another account, you must specify an ARN. + * @return ID or ARN of the resource which is the destination of the path. Can be an Instance, Internet Gateway, Network Interface, Transit Gateway, VPC Endpoint, VPC Peering Connection or VPN Gateway. If the resource is in another account, you must specify an ARN. * */ public Output destination() { @@ -157,7 +157,7 @@ public Builder(NetworkInsightsPathArgs defaults) { } /** - * @param destination ID or ARN of the resource which is the source of the path. Can be an Instance, Internet Gateway, Network Interface, Transit Gateway, VPC Endpoint, VPC Peering Connection or VPN Gateway. If the resource is in another account, you must specify an ARN. + * @param destination ID or ARN of the resource which is the destination of the path. Can be an Instance, Internet Gateway, Network Interface, Transit Gateway, VPC Endpoint, VPC Peering Connection or VPN Gateway. If the resource is in another account, you must specify an ARN. * * @return builder * @@ -168,7 +168,7 @@ public Builder destination(Output destination) { } /** - * @param destination ID or ARN of the resource which is the source of the path. Can be an Instance, Internet Gateway, Network Interface, Transit Gateway, VPC Endpoint, VPC Peering Connection or VPN Gateway. If the resource is in another account, you must specify an ARN. + * @param destination ID or ARN of the resource which is the destination of the path. Can be an Instance, Internet Gateway, Network Interface, Transit Gateway, VPC Endpoint, VPC Peering Connection or VPN Gateway. If the resource is in another account, you must specify an ARN. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2/inputs/NetworkInsightsPathState.java b/sdk/java/src/main/java/com/pulumi/aws/ec2/inputs/NetworkInsightsPathState.java index 91d92d26daa..4076e27dd74 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2/inputs/NetworkInsightsPathState.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2/inputs/NetworkInsightsPathState.java @@ -33,14 +33,14 @@ public Optional> arn() { } /** - * ID or ARN of the resource which is the source of the path. Can be an Instance, Internet Gateway, Network Interface, Transit Gateway, VPC Endpoint, VPC Peering Connection or VPN Gateway. If the resource is in another account, you must specify an ARN. + * ID or ARN of the resource which is the destination of the path. Can be an Instance, Internet Gateway, Network Interface, Transit Gateway, VPC Endpoint, VPC Peering Connection or VPN Gateway. If the resource is in another account, you must specify an ARN. * */ @Import(name="destination") private @Nullable Output destination; /** - * @return ID or ARN of the resource which is the source of the path. Can be an Instance, Internet Gateway, Network Interface, Transit Gateway, VPC Endpoint, VPC Peering Connection or VPN Gateway. If the resource is in another account, you must specify an ARN. + * @return ID or ARN of the resource which is the destination of the path. Can be an Instance, Internet Gateway, Network Interface, Transit Gateway, VPC Endpoint, VPC Peering Connection or VPN Gateway. If the resource is in another account, you must specify an ARN. * */ public Optional> destination() { @@ -250,7 +250,7 @@ public Builder arn(String arn) { } /** - * @param destination ID or ARN of the resource which is the source of the path. Can be an Instance, Internet Gateway, Network Interface, Transit Gateway, VPC Endpoint, VPC Peering Connection or VPN Gateway. If the resource is in another account, you must specify an ARN. + * @param destination ID or ARN of the resource which is the destination of the path. Can be an Instance, Internet Gateway, Network Interface, Transit Gateway, VPC Endpoint, VPC Peering Connection or VPN Gateway. If the resource is in another account, you must specify an ARN. * * @return builder * @@ -261,7 +261,7 @@ public Builder destination(@Nullable Output destination) { } /** - * @param destination ID or ARN of the resource which is the source of the path. Can be an Instance, Internet Gateway, Network Interface, Transit Gateway, VPC Endpoint, VPC Peering Connection or VPN Gateway. If the resource is in another account, you must specify an ARN. + * @param destination ID or ARN of the resource which is the destination of the path. Can be an Instance, Internet Gateway, Network Interface, Transit Gateway, VPC Endpoint, VPC Peering Connection or VPN Gateway. If the resource is in another account, you must specify an ARN. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/aws/elasticache/Cluster.java b/sdk/java/src/main/java/com/pulumi/aws/elasticache/Cluster.java index f36aa99f631..a2671c659f8 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/elasticache/Cluster.java +++ b/sdk/java/src/main/java/com/pulumi/aws/elasticache/Cluster.java @@ -710,14 +710,14 @@ public Output> tagsAll() { * */ @Export(name="transitEncryptionEnabled", refs={Boolean.class}, tree="[0]") - private Output transitEncryptionEnabled; + private Output transitEncryptionEnabled; /** * @return Enable encryption in-transit. Supported only with Memcached versions `1.6.12` and later, running in a VPC. See the [ElastiCache in-transit encryption](https://docs.aws.amazon.com/AmazonElastiCache/latest/mem-ug/in-transit-encryption-mc.html) documentation for more details. * */ - public Output> transitEncryptionEnabled() { - return Codegen.optional(this.transitEncryptionEnabled); + public Output transitEncryptionEnabled() { + return this.transitEncryptionEnabled; } /** diff --git a/sdk/java/src/main/java/com/pulumi/aws/fsx/FsxFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/fsx/FsxFunctions.java index 083e2db8e7e..2809eed885e 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/fsx/FsxFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/fsx/FsxFunctions.java @@ -4,10 +4,19 @@ package com.pulumi.aws.fsx; import com.pulumi.aws.Utilities; +import com.pulumi.aws.fsx.inputs.GetOntapFileSystemArgs; +import com.pulumi.aws.fsx.inputs.GetOntapFileSystemPlainArgs; +import com.pulumi.aws.fsx.inputs.GetOntapStorageVirtualMachineArgs; +import com.pulumi.aws.fsx.inputs.GetOntapStorageVirtualMachinePlainArgs; +import com.pulumi.aws.fsx.inputs.GetOntapStorageVirtualMachinesArgs; +import com.pulumi.aws.fsx.inputs.GetOntapStorageVirtualMachinesPlainArgs; import com.pulumi.aws.fsx.inputs.GetOpenZfsSnapshotArgs; import com.pulumi.aws.fsx.inputs.GetOpenZfsSnapshotPlainArgs; import com.pulumi.aws.fsx.inputs.GetWindowsFileSystemArgs; import com.pulumi.aws.fsx.inputs.GetWindowsFileSystemPlainArgs; +import com.pulumi.aws.fsx.outputs.GetOntapFileSystemResult; +import com.pulumi.aws.fsx.outputs.GetOntapStorageVirtualMachineResult; +import com.pulumi.aws.fsx.outputs.GetOntapStorageVirtualMachinesResult; import com.pulumi.aws.fsx.outputs.GetOpenZfsSnapshotResult; import com.pulumi.aws.fsx.outputs.GetWindowsFileSystemResult; import com.pulumi.core.Output; @@ -17,6 +26,830 @@ import java.util.concurrent.CompletableFuture; public final class FsxFunctions { + /** + * Retrieve information on FSx ONTAP File System. + * + * ## Example Usage + * ### Basic Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.aws.fsx.FsxFunctions; + * import com.pulumi.aws.fsx.inputs.GetOntapFileSystemArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var example = FsxFunctions.getOntapFileSystem(GetOntapFileSystemArgs.builder() + * .id("fs-12345678") + * .build()); + * + * } + * } + * ``` + * + */ + public static Output getOntapFileSystem(GetOntapFileSystemArgs args) { + return getOntapFileSystem(args, InvokeOptions.Empty); + } + /** + * Retrieve information on FSx ONTAP File System. + * + * ## Example Usage + * ### Basic Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.aws.fsx.FsxFunctions; + * import com.pulumi.aws.fsx.inputs.GetOntapFileSystemArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var example = FsxFunctions.getOntapFileSystem(GetOntapFileSystemArgs.builder() + * .id("fs-12345678") + * .build()); + * + * } + * } + * ``` + * + */ + public static CompletableFuture getOntapFileSystemPlain(GetOntapFileSystemPlainArgs args) { + return getOntapFileSystemPlain(args, InvokeOptions.Empty); + } + /** + * Retrieve information on FSx ONTAP File System. + * + * ## Example Usage + * ### Basic Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.aws.fsx.FsxFunctions; + * import com.pulumi.aws.fsx.inputs.GetOntapFileSystemArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var example = FsxFunctions.getOntapFileSystem(GetOntapFileSystemArgs.builder() + * .id("fs-12345678") + * .build()); + * + * } + * } + * ``` + * + */ + public static Output getOntapFileSystem(GetOntapFileSystemArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("aws:fsx/getOntapFileSystem:getOntapFileSystem", TypeShape.of(GetOntapFileSystemResult.class), args, Utilities.withVersion(options)); + } + /** + * Retrieve information on FSx ONTAP File System. + * + * ## Example Usage + * ### Basic Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.aws.fsx.FsxFunctions; + * import com.pulumi.aws.fsx.inputs.GetOntapFileSystemArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var example = FsxFunctions.getOntapFileSystem(GetOntapFileSystemArgs.builder() + * .id("fs-12345678") + * .build()); + * + * } + * } + * ``` + * + */ + public static CompletableFuture getOntapFileSystemPlain(GetOntapFileSystemPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("aws:fsx/getOntapFileSystem:getOntapFileSystem", TypeShape.of(GetOntapFileSystemResult.class), args, Utilities.withVersion(options)); + } + /** + * Retrieve information on FSx ONTAP Storage Virtual Machine (SVM). + * + * ## Example Usage + * ### Basic Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.aws.fsx.FsxFunctions; + * import com.pulumi.aws.fsx.inputs.GetOntapStorageVirtualMachineArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var example = FsxFunctions.getOntapStorageVirtualMachine(GetOntapStorageVirtualMachineArgs.builder() + * .id("svm-12345678") + * .build()); + * + * } + * } + * ``` + * ### Filter Example + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.aws.fsx.FsxFunctions; + * import com.pulumi.aws.fsx.inputs.GetOntapStorageVirtualMachineArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var example = FsxFunctions.getOntapStorageVirtualMachine(GetOntapStorageVirtualMachineArgs.builder() + * .filters(GetOntapStorageVirtualMachineFilterArgs.builder() + * .name("file-system-id") + * .values("fs-12345678") + * .build()) + * .build()); + * + * } + * } + * ``` + * + */ + public static Output getOntapStorageVirtualMachine() { + return getOntapStorageVirtualMachine(GetOntapStorageVirtualMachineArgs.Empty, InvokeOptions.Empty); + } + /** + * Retrieve information on FSx ONTAP Storage Virtual Machine (SVM). + * + * ## Example Usage + * ### Basic Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.aws.fsx.FsxFunctions; + * import com.pulumi.aws.fsx.inputs.GetOntapStorageVirtualMachineArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var example = FsxFunctions.getOntapStorageVirtualMachine(GetOntapStorageVirtualMachineArgs.builder() + * .id("svm-12345678") + * .build()); + * + * } + * } + * ``` + * ### Filter Example + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.aws.fsx.FsxFunctions; + * import com.pulumi.aws.fsx.inputs.GetOntapStorageVirtualMachineArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var example = FsxFunctions.getOntapStorageVirtualMachine(GetOntapStorageVirtualMachineArgs.builder() + * .filters(GetOntapStorageVirtualMachineFilterArgs.builder() + * .name("file-system-id") + * .values("fs-12345678") + * .build()) + * .build()); + * + * } + * } + * ``` + * + */ + public static CompletableFuture getOntapStorageVirtualMachinePlain() { + return getOntapStorageVirtualMachinePlain(GetOntapStorageVirtualMachinePlainArgs.Empty, InvokeOptions.Empty); + } + /** + * Retrieve information on FSx ONTAP Storage Virtual Machine (SVM). + * + * ## Example Usage + * ### Basic Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.aws.fsx.FsxFunctions; + * import com.pulumi.aws.fsx.inputs.GetOntapStorageVirtualMachineArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var example = FsxFunctions.getOntapStorageVirtualMachine(GetOntapStorageVirtualMachineArgs.builder() + * .id("svm-12345678") + * .build()); + * + * } + * } + * ``` + * ### Filter Example + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.aws.fsx.FsxFunctions; + * import com.pulumi.aws.fsx.inputs.GetOntapStorageVirtualMachineArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var example = FsxFunctions.getOntapStorageVirtualMachine(GetOntapStorageVirtualMachineArgs.builder() + * .filters(GetOntapStorageVirtualMachineFilterArgs.builder() + * .name("file-system-id") + * .values("fs-12345678") + * .build()) + * .build()); + * + * } + * } + * ``` + * + */ + public static Output getOntapStorageVirtualMachine(GetOntapStorageVirtualMachineArgs args) { + return getOntapStorageVirtualMachine(args, InvokeOptions.Empty); + } + /** + * Retrieve information on FSx ONTAP Storage Virtual Machine (SVM). + * + * ## Example Usage + * ### Basic Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.aws.fsx.FsxFunctions; + * import com.pulumi.aws.fsx.inputs.GetOntapStorageVirtualMachineArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var example = FsxFunctions.getOntapStorageVirtualMachine(GetOntapStorageVirtualMachineArgs.builder() + * .id("svm-12345678") + * .build()); + * + * } + * } + * ``` + * ### Filter Example + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.aws.fsx.FsxFunctions; + * import com.pulumi.aws.fsx.inputs.GetOntapStorageVirtualMachineArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var example = FsxFunctions.getOntapStorageVirtualMachine(GetOntapStorageVirtualMachineArgs.builder() + * .filters(GetOntapStorageVirtualMachineFilterArgs.builder() + * .name("file-system-id") + * .values("fs-12345678") + * .build()) + * .build()); + * + * } + * } + * ``` + * + */ + public static CompletableFuture getOntapStorageVirtualMachinePlain(GetOntapStorageVirtualMachinePlainArgs args) { + return getOntapStorageVirtualMachinePlain(args, InvokeOptions.Empty); + } + /** + * Retrieve information on FSx ONTAP Storage Virtual Machine (SVM). + * + * ## Example Usage + * ### Basic Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.aws.fsx.FsxFunctions; + * import com.pulumi.aws.fsx.inputs.GetOntapStorageVirtualMachineArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var example = FsxFunctions.getOntapStorageVirtualMachine(GetOntapStorageVirtualMachineArgs.builder() + * .id("svm-12345678") + * .build()); + * + * } + * } + * ``` + * ### Filter Example + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.aws.fsx.FsxFunctions; + * import com.pulumi.aws.fsx.inputs.GetOntapStorageVirtualMachineArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var example = FsxFunctions.getOntapStorageVirtualMachine(GetOntapStorageVirtualMachineArgs.builder() + * .filters(GetOntapStorageVirtualMachineFilterArgs.builder() + * .name("file-system-id") + * .values("fs-12345678") + * .build()) + * .build()); + * + * } + * } + * ``` + * + */ + public static Output getOntapStorageVirtualMachine(GetOntapStorageVirtualMachineArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("aws:fsx/getOntapStorageVirtualMachine:getOntapStorageVirtualMachine", TypeShape.of(GetOntapStorageVirtualMachineResult.class), args, Utilities.withVersion(options)); + } + /** + * Retrieve information on FSx ONTAP Storage Virtual Machine (SVM). + * + * ## Example Usage + * ### Basic Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.aws.fsx.FsxFunctions; + * import com.pulumi.aws.fsx.inputs.GetOntapStorageVirtualMachineArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var example = FsxFunctions.getOntapStorageVirtualMachine(GetOntapStorageVirtualMachineArgs.builder() + * .id("svm-12345678") + * .build()); + * + * } + * } + * ``` + * ### Filter Example + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.aws.fsx.FsxFunctions; + * import com.pulumi.aws.fsx.inputs.GetOntapStorageVirtualMachineArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var example = FsxFunctions.getOntapStorageVirtualMachine(GetOntapStorageVirtualMachineArgs.builder() + * .filters(GetOntapStorageVirtualMachineFilterArgs.builder() + * .name("file-system-id") + * .values("fs-12345678") + * .build()) + * .build()); + * + * } + * } + * ``` + * + */ + public static CompletableFuture getOntapStorageVirtualMachinePlain(GetOntapStorageVirtualMachinePlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("aws:fsx/getOntapStorageVirtualMachine:getOntapStorageVirtualMachine", TypeShape.of(GetOntapStorageVirtualMachineResult.class), args, Utilities.withVersion(options)); + } + /** + * This resource can be useful for getting back a set of FSx ONTAP Storage Virtual Machine (SVM) IDs. + * + * ## Example Usage + * + * The following shows outputting all SVM IDs for a given FSx ONTAP File System. + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.aws.fsx.FsxFunctions; + * import com.pulumi.aws.fsx.inputs.GetOntapStorageVirtualMachinesArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var example = FsxFunctions.getOntapStorageVirtualMachines(GetOntapStorageVirtualMachinesArgs.builder() + * .filters(GetOntapStorageVirtualMachinesFilterArgs.builder() + * .name("file-system-id") + * .values("fs-12345678") + * .build()) + * .build()); + * + * } + * } + * ``` + * + */ + public static Output getOntapStorageVirtualMachines() { + return getOntapStorageVirtualMachines(GetOntapStorageVirtualMachinesArgs.Empty, InvokeOptions.Empty); + } + /** + * This resource can be useful for getting back a set of FSx ONTAP Storage Virtual Machine (SVM) IDs. + * + * ## Example Usage + * + * The following shows outputting all SVM IDs for a given FSx ONTAP File System. + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.aws.fsx.FsxFunctions; + * import com.pulumi.aws.fsx.inputs.GetOntapStorageVirtualMachinesArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var example = FsxFunctions.getOntapStorageVirtualMachines(GetOntapStorageVirtualMachinesArgs.builder() + * .filters(GetOntapStorageVirtualMachinesFilterArgs.builder() + * .name("file-system-id") + * .values("fs-12345678") + * .build()) + * .build()); + * + * } + * } + * ``` + * + */ + public static CompletableFuture getOntapStorageVirtualMachinesPlain() { + return getOntapStorageVirtualMachinesPlain(GetOntapStorageVirtualMachinesPlainArgs.Empty, InvokeOptions.Empty); + } + /** + * This resource can be useful for getting back a set of FSx ONTAP Storage Virtual Machine (SVM) IDs. + * + * ## Example Usage + * + * The following shows outputting all SVM IDs for a given FSx ONTAP File System. + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.aws.fsx.FsxFunctions; + * import com.pulumi.aws.fsx.inputs.GetOntapStorageVirtualMachinesArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var example = FsxFunctions.getOntapStorageVirtualMachines(GetOntapStorageVirtualMachinesArgs.builder() + * .filters(GetOntapStorageVirtualMachinesFilterArgs.builder() + * .name("file-system-id") + * .values("fs-12345678") + * .build()) + * .build()); + * + * } + * } + * ``` + * + */ + public static Output getOntapStorageVirtualMachines(GetOntapStorageVirtualMachinesArgs args) { + return getOntapStorageVirtualMachines(args, InvokeOptions.Empty); + } + /** + * This resource can be useful for getting back a set of FSx ONTAP Storage Virtual Machine (SVM) IDs. + * + * ## Example Usage + * + * The following shows outputting all SVM IDs for a given FSx ONTAP File System. + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.aws.fsx.FsxFunctions; + * import com.pulumi.aws.fsx.inputs.GetOntapStorageVirtualMachinesArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var example = FsxFunctions.getOntapStorageVirtualMachines(GetOntapStorageVirtualMachinesArgs.builder() + * .filters(GetOntapStorageVirtualMachinesFilterArgs.builder() + * .name("file-system-id") + * .values("fs-12345678") + * .build()) + * .build()); + * + * } + * } + * ``` + * + */ + public static CompletableFuture getOntapStorageVirtualMachinesPlain(GetOntapStorageVirtualMachinesPlainArgs args) { + return getOntapStorageVirtualMachinesPlain(args, InvokeOptions.Empty); + } + /** + * This resource can be useful for getting back a set of FSx ONTAP Storage Virtual Machine (SVM) IDs. + * + * ## Example Usage + * + * The following shows outputting all SVM IDs for a given FSx ONTAP File System. + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.aws.fsx.FsxFunctions; + * import com.pulumi.aws.fsx.inputs.GetOntapStorageVirtualMachinesArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var example = FsxFunctions.getOntapStorageVirtualMachines(GetOntapStorageVirtualMachinesArgs.builder() + * .filters(GetOntapStorageVirtualMachinesFilterArgs.builder() + * .name("file-system-id") + * .values("fs-12345678") + * .build()) + * .build()); + * + * } + * } + * ``` + * + */ + public static Output getOntapStorageVirtualMachines(GetOntapStorageVirtualMachinesArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("aws:fsx/getOntapStorageVirtualMachines:getOntapStorageVirtualMachines", TypeShape.of(GetOntapStorageVirtualMachinesResult.class), args, Utilities.withVersion(options)); + } + /** + * This resource can be useful for getting back a set of FSx ONTAP Storage Virtual Machine (SVM) IDs. + * + * ## Example Usage + * + * The following shows outputting all SVM IDs for a given FSx ONTAP File System. + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.aws.fsx.FsxFunctions; + * import com.pulumi.aws.fsx.inputs.GetOntapStorageVirtualMachinesArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var example = FsxFunctions.getOntapStorageVirtualMachines(GetOntapStorageVirtualMachinesArgs.builder() + * .filters(GetOntapStorageVirtualMachinesFilterArgs.builder() + * .name("file-system-id") + * .values("fs-12345678") + * .build()) + * .build()); + * + * } + * } + * ``` + * + */ + public static CompletableFuture getOntapStorageVirtualMachinesPlain(GetOntapStorageVirtualMachinesPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("aws:fsx/getOntapStorageVirtualMachines:getOntapStorageVirtualMachines", TypeShape.of(GetOntapStorageVirtualMachinesResult.class), args, Utilities.withVersion(options)); + } /** * Use this data source to get information about an Amazon FSx for OpenZFS Snapshot for use when provisioning new Volumes. * diff --git a/sdk/java/src/main/java/com/pulumi/aws/fsx/inputs/GetOntapFileSystemArgs.java b/sdk/java/src/main/java/com/pulumi/aws/fsx/inputs/GetOntapFileSystemArgs.java new file mode 100644 index 00000000000..7c93921316d --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/fsx/inputs/GetOntapFileSystemArgs.java @@ -0,0 +1,122 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.aws.fsx.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Map; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetOntapFileSystemArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetOntapFileSystemArgs Empty = new GetOntapFileSystemArgs(); + + /** + * Identifier of the file system (e.g. `fs-12345678`). + * + */ + @Import(name="id", required=true) + private Output id; + + /** + * @return Identifier of the file system (e.g. `fs-12345678`). + * + */ + public Output id() { + return this.id; + } + + /** + * The tags associated with the file system. + * + */ + @Import(name="tags") + private @Nullable Output> tags; + + /** + * @return The tags associated with the file system. + * + */ + public Optional>> tags() { + return Optional.ofNullable(this.tags); + } + + private GetOntapFileSystemArgs() {} + + private GetOntapFileSystemArgs(GetOntapFileSystemArgs $) { + this.id = $.id; + this.tags = $.tags; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetOntapFileSystemArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetOntapFileSystemArgs $; + + public Builder() { + $ = new GetOntapFileSystemArgs(); + } + + public Builder(GetOntapFileSystemArgs defaults) { + $ = new GetOntapFileSystemArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param id Identifier of the file system (e.g. `fs-12345678`). + * + * @return builder + * + */ + public Builder id(Output id) { + $.id = id; + return this; + } + + /** + * @param id Identifier of the file system (e.g. `fs-12345678`). + * + * @return builder + * + */ + public Builder id(String id) { + return id(Output.of(id)); + } + + /** + * @param tags The tags associated with the file system. + * + * @return builder + * + */ + public Builder tags(@Nullable Output> tags) { + $.tags = tags; + return this; + } + + /** + * @param tags The tags associated with the file system. + * + * @return builder + * + */ + public Builder tags(Map tags) { + return tags(Output.of(tags)); + } + + public GetOntapFileSystemArgs build() { + $.id = Objects.requireNonNull($.id, "expected parameter 'id' to be non-null"); + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/fsx/inputs/GetOntapFileSystemPlainArgs.java b/sdk/java/src/main/java/com/pulumi/aws/fsx/inputs/GetOntapFileSystemPlainArgs.java new file mode 100644 index 00000000000..d6114d3778c --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/fsx/inputs/GetOntapFileSystemPlainArgs.java @@ -0,0 +1,101 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.aws.fsx.inputs; + +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Map; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetOntapFileSystemPlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetOntapFileSystemPlainArgs Empty = new GetOntapFileSystemPlainArgs(); + + /** + * Identifier of the file system (e.g. `fs-12345678`). + * + */ + @Import(name="id", required=true) + private String id; + + /** + * @return Identifier of the file system (e.g. `fs-12345678`). + * + */ + public String id() { + return this.id; + } + + /** + * The tags associated with the file system. + * + */ + @Import(name="tags") + private @Nullable Map tags; + + /** + * @return The tags associated with the file system. + * + */ + public Optional> tags() { + return Optional.ofNullable(this.tags); + } + + private GetOntapFileSystemPlainArgs() {} + + private GetOntapFileSystemPlainArgs(GetOntapFileSystemPlainArgs $) { + this.id = $.id; + this.tags = $.tags; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetOntapFileSystemPlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetOntapFileSystemPlainArgs $; + + public Builder() { + $ = new GetOntapFileSystemPlainArgs(); + } + + public Builder(GetOntapFileSystemPlainArgs defaults) { + $ = new GetOntapFileSystemPlainArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param id Identifier of the file system (e.g. `fs-12345678`). + * + * @return builder + * + */ + public Builder id(String id) { + $.id = id; + return this; + } + + /** + * @param tags The tags associated with the file system. + * + * @return builder + * + */ + public Builder tags(@Nullable Map tags) { + $.tags = tags; + return this; + } + + public GetOntapFileSystemPlainArgs build() { + $.id = Objects.requireNonNull($.id, "expected parameter 'id' to be non-null"); + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/fsx/inputs/GetOntapStorageVirtualMachineArgs.java b/sdk/java/src/main/java/com/pulumi/aws/fsx/inputs/GetOntapStorageVirtualMachineArgs.java new file mode 100644 index 00000000000..f6cbaf7d5c5 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/fsx/inputs/GetOntapStorageVirtualMachineArgs.java @@ -0,0 +1,150 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.aws.fsx.inputs; + +import com.pulumi.aws.fsx.inputs.GetOntapStorageVirtualMachineFilterArgs; +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.List; +import java.util.Map; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetOntapStorageVirtualMachineArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetOntapStorageVirtualMachineArgs Empty = new GetOntapStorageVirtualMachineArgs(); + + /** + * Configuration block. Detailed below. + * + */ + @Import(name="filters") + private @Nullable Output> filters; + + /** + * @return Configuration block. Detailed below. + * + */ + public Optional>> filters() { + return Optional.ofNullable(this.filters); + } + + /** + * Identifier of the storage virtual machine (e.g. `svm-12345678`). + * + */ + @Import(name="id") + private @Nullable Output id; + + /** + * @return Identifier of the storage virtual machine (e.g. `svm-12345678`). + * + */ + public Optional> id() { + return Optional.ofNullable(this.id); + } + + @Import(name="tags") + private @Nullable Output> tags; + + public Optional>> tags() { + return Optional.ofNullable(this.tags); + } + + private GetOntapStorageVirtualMachineArgs() {} + + private GetOntapStorageVirtualMachineArgs(GetOntapStorageVirtualMachineArgs $) { + this.filters = $.filters; + this.id = $.id; + this.tags = $.tags; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetOntapStorageVirtualMachineArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetOntapStorageVirtualMachineArgs $; + + public Builder() { + $ = new GetOntapStorageVirtualMachineArgs(); + } + + public Builder(GetOntapStorageVirtualMachineArgs defaults) { + $ = new GetOntapStorageVirtualMachineArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param filters Configuration block. Detailed below. + * + * @return builder + * + */ + public Builder filters(@Nullable Output> filters) { + $.filters = filters; + return this; + } + + /** + * @param filters Configuration block. Detailed below. + * + * @return builder + * + */ + public Builder filters(List filters) { + return filters(Output.of(filters)); + } + + /** + * @param filters Configuration block. Detailed below. + * + * @return builder + * + */ + public Builder filters(GetOntapStorageVirtualMachineFilterArgs... filters) { + return filters(List.of(filters)); + } + + /** + * @param id Identifier of the storage virtual machine (e.g. `svm-12345678`). + * + * @return builder + * + */ + public Builder id(@Nullable Output id) { + $.id = id; + return this; + } + + /** + * @param id Identifier of the storage virtual machine (e.g. `svm-12345678`). + * + * @return builder + * + */ + public Builder id(String id) { + return id(Output.of(id)); + } + + public Builder tags(@Nullable Output> tags) { + $.tags = tags; + return this; + } + + public Builder tags(Map tags) { + return tags(Output.of(tags)); + } + + public GetOntapStorageVirtualMachineArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/fsx/inputs/GetOntapStorageVirtualMachineFilter.java b/sdk/java/src/main/java/com/pulumi/aws/fsx/inputs/GetOntapStorageVirtualMachineFilter.java new file mode 100644 index 00000000000..84aa20d04d3 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/fsx/inputs/GetOntapStorageVirtualMachineFilter.java @@ -0,0 +1,110 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.aws.fsx.inputs; + +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.List; +import java.util.Objects; + + +public final class GetOntapStorageVirtualMachineFilter extends com.pulumi.resources.InvokeArgs { + + public static final GetOntapStorageVirtualMachineFilter Empty = new GetOntapStorageVirtualMachineFilter(); + + /** + * Name of the field to filter by, as defined by [the underlying AWS API](https://docs.aws.amazon.com/fsx/latest/APIReference/API_StorageVirtualMachineFilter.html). + * + */ + @Import(name="name", required=true) + private String name; + + /** + * @return Name of the field to filter by, as defined by [the underlying AWS API](https://docs.aws.amazon.com/fsx/latest/APIReference/API_StorageVirtualMachineFilter.html). + * + */ + public String name() { + return this.name; + } + + /** + * Set of values that are accepted for the given field. An SVM will be selected if any one of the given values matches. + * + */ + @Import(name="values", required=true) + private List values; + + /** + * @return Set of values that are accepted for the given field. An SVM will be selected if any one of the given values matches. + * + */ + public List values() { + return this.values; + } + + private GetOntapStorageVirtualMachineFilter() {} + + private GetOntapStorageVirtualMachineFilter(GetOntapStorageVirtualMachineFilter $) { + this.name = $.name; + this.values = $.values; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetOntapStorageVirtualMachineFilter defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetOntapStorageVirtualMachineFilter $; + + public Builder() { + $ = new GetOntapStorageVirtualMachineFilter(); + } + + public Builder(GetOntapStorageVirtualMachineFilter defaults) { + $ = new GetOntapStorageVirtualMachineFilter(Objects.requireNonNull(defaults)); + } + + /** + * @param name Name of the field to filter by, as defined by [the underlying AWS API](https://docs.aws.amazon.com/fsx/latest/APIReference/API_StorageVirtualMachineFilter.html). + * + * @return builder + * + */ + public Builder name(String name) { + $.name = name; + return this; + } + + /** + * @param values Set of values that are accepted for the given field. An SVM will be selected if any one of the given values matches. + * + * @return builder + * + */ + public Builder values(List values) { + $.values = values; + return this; + } + + /** + * @param values Set of values that are accepted for the given field. An SVM will be selected if any one of the given values matches. + * + * @return builder + * + */ + public Builder values(String... values) { + return values(List.of(values)); + } + + public GetOntapStorageVirtualMachineFilter build() { + $.name = Objects.requireNonNull($.name, "expected parameter 'name' to be non-null"); + $.values = Objects.requireNonNull($.values, "expected parameter 'values' to be non-null"); + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/fsx/inputs/GetOntapStorageVirtualMachineFilterArgs.java b/sdk/java/src/main/java/com/pulumi/aws/fsx/inputs/GetOntapStorageVirtualMachineFilterArgs.java new file mode 100644 index 00000000000..60271329b65 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/fsx/inputs/GetOntapStorageVirtualMachineFilterArgs.java @@ -0,0 +1,131 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.aws.fsx.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.List; +import java.util.Objects; + + +public final class GetOntapStorageVirtualMachineFilterArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetOntapStorageVirtualMachineFilterArgs Empty = new GetOntapStorageVirtualMachineFilterArgs(); + + /** + * Name of the field to filter by, as defined by [the underlying AWS API](https://docs.aws.amazon.com/fsx/latest/APIReference/API_StorageVirtualMachineFilter.html). + * + */ + @Import(name="name", required=true) + private Output name; + + /** + * @return Name of the field to filter by, as defined by [the underlying AWS API](https://docs.aws.amazon.com/fsx/latest/APIReference/API_StorageVirtualMachineFilter.html). + * + */ + public Output name() { + return this.name; + } + + /** + * Set of values that are accepted for the given field. An SVM will be selected if any one of the given values matches. + * + */ + @Import(name="values", required=true) + private Output> values; + + /** + * @return Set of values that are accepted for the given field. An SVM will be selected if any one of the given values matches. + * + */ + public Output> values() { + return this.values; + } + + private GetOntapStorageVirtualMachineFilterArgs() {} + + private GetOntapStorageVirtualMachineFilterArgs(GetOntapStorageVirtualMachineFilterArgs $) { + this.name = $.name; + this.values = $.values; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetOntapStorageVirtualMachineFilterArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetOntapStorageVirtualMachineFilterArgs $; + + public Builder() { + $ = new GetOntapStorageVirtualMachineFilterArgs(); + } + + public Builder(GetOntapStorageVirtualMachineFilterArgs defaults) { + $ = new GetOntapStorageVirtualMachineFilterArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param name Name of the field to filter by, as defined by [the underlying AWS API](https://docs.aws.amazon.com/fsx/latest/APIReference/API_StorageVirtualMachineFilter.html). + * + * @return builder + * + */ + public Builder name(Output name) { + $.name = name; + return this; + } + + /** + * @param name Name of the field to filter by, as defined by [the underlying AWS API](https://docs.aws.amazon.com/fsx/latest/APIReference/API_StorageVirtualMachineFilter.html). + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + /** + * @param values Set of values that are accepted for the given field. An SVM will be selected if any one of the given values matches. + * + * @return builder + * + */ + public Builder values(Output> values) { + $.values = values; + return this; + } + + /** + * @param values Set of values that are accepted for the given field. An SVM will be selected if any one of the given values matches. + * + * @return builder + * + */ + public Builder values(List values) { + return values(Output.of(values)); + } + + /** + * @param values Set of values that are accepted for the given field. An SVM will be selected if any one of the given values matches. + * + * @return builder + * + */ + public Builder values(String... values) { + return values(List.of(values)); + } + + public GetOntapStorageVirtualMachineFilterArgs build() { + $.name = Objects.requireNonNull($.name, "expected parameter 'name' to be non-null"); + $.values = Objects.requireNonNull($.values, "expected parameter 'values' to be non-null"); + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/fsx/inputs/GetOntapStorageVirtualMachinePlainArgs.java b/sdk/java/src/main/java/com/pulumi/aws/fsx/inputs/GetOntapStorageVirtualMachinePlainArgs.java new file mode 100644 index 00000000000..d17ed4b9aa8 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/fsx/inputs/GetOntapStorageVirtualMachinePlainArgs.java @@ -0,0 +1,125 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.aws.fsx.inputs; + +import com.pulumi.aws.fsx.inputs.GetOntapStorageVirtualMachineFilter; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.List; +import java.util.Map; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetOntapStorageVirtualMachinePlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetOntapStorageVirtualMachinePlainArgs Empty = new GetOntapStorageVirtualMachinePlainArgs(); + + /** + * Configuration block. Detailed below. + * + */ + @Import(name="filters") + private @Nullable List filters; + + /** + * @return Configuration block. Detailed below. + * + */ + public Optional> filters() { + return Optional.ofNullable(this.filters); + } + + /** + * Identifier of the storage virtual machine (e.g. `svm-12345678`). + * + */ + @Import(name="id") + private @Nullable String id; + + /** + * @return Identifier of the storage virtual machine (e.g. `svm-12345678`). + * + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + @Import(name="tags") + private @Nullable Map tags; + + public Optional> tags() { + return Optional.ofNullable(this.tags); + } + + private GetOntapStorageVirtualMachinePlainArgs() {} + + private GetOntapStorageVirtualMachinePlainArgs(GetOntapStorageVirtualMachinePlainArgs $) { + this.filters = $.filters; + this.id = $.id; + this.tags = $.tags; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetOntapStorageVirtualMachinePlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetOntapStorageVirtualMachinePlainArgs $; + + public Builder() { + $ = new GetOntapStorageVirtualMachinePlainArgs(); + } + + public Builder(GetOntapStorageVirtualMachinePlainArgs defaults) { + $ = new GetOntapStorageVirtualMachinePlainArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param filters Configuration block. Detailed below. + * + * @return builder + * + */ + public Builder filters(@Nullable List filters) { + $.filters = filters; + return this; + } + + /** + * @param filters Configuration block. Detailed below. + * + * @return builder + * + */ + public Builder filters(GetOntapStorageVirtualMachineFilter... filters) { + return filters(List.of(filters)); + } + + /** + * @param id Identifier of the storage virtual machine (e.g. `svm-12345678`). + * + * @return builder + * + */ + public Builder id(@Nullable String id) { + $.id = id; + return this; + } + + public Builder tags(@Nullable Map tags) { + $.tags = tags; + return this; + } + + public GetOntapStorageVirtualMachinePlainArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/fsx/inputs/GetOntapStorageVirtualMachinesArgs.java b/sdk/java/src/main/java/com/pulumi/aws/fsx/inputs/GetOntapStorageVirtualMachinesArgs.java new file mode 100644 index 00000000000..f6562f021da --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/fsx/inputs/GetOntapStorageVirtualMachinesArgs.java @@ -0,0 +1,94 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.aws.fsx.inputs; + +import com.pulumi.aws.fsx.inputs.GetOntapStorageVirtualMachinesFilterArgs; +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetOntapStorageVirtualMachinesArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetOntapStorageVirtualMachinesArgs Empty = new GetOntapStorageVirtualMachinesArgs(); + + /** + * Configuration block. Detailed below. + * + */ + @Import(name="filters") + private @Nullable Output> filters; + + /** + * @return Configuration block. Detailed below. + * + */ + public Optional>> filters() { + return Optional.ofNullable(this.filters); + } + + private GetOntapStorageVirtualMachinesArgs() {} + + private GetOntapStorageVirtualMachinesArgs(GetOntapStorageVirtualMachinesArgs $) { + this.filters = $.filters; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetOntapStorageVirtualMachinesArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetOntapStorageVirtualMachinesArgs $; + + public Builder() { + $ = new GetOntapStorageVirtualMachinesArgs(); + } + + public Builder(GetOntapStorageVirtualMachinesArgs defaults) { + $ = new GetOntapStorageVirtualMachinesArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param filters Configuration block. Detailed below. + * + * @return builder + * + */ + public Builder filters(@Nullable Output> filters) { + $.filters = filters; + return this; + } + + /** + * @param filters Configuration block. Detailed below. + * + * @return builder + * + */ + public Builder filters(List filters) { + return filters(Output.of(filters)); + } + + /** + * @param filters Configuration block. Detailed below. + * + * @return builder + * + */ + public Builder filters(GetOntapStorageVirtualMachinesFilterArgs... filters) { + return filters(List.of(filters)); + } + + public GetOntapStorageVirtualMachinesArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/fsx/inputs/GetOntapStorageVirtualMachinesFilter.java b/sdk/java/src/main/java/com/pulumi/aws/fsx/inputs/GetOntapStorageVirtualMachinesFilter.java new file mode 100644 index 00000000000..8bfbe4cc918 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/fsx/inputs/GetOntapStorageVirtualMachinesFilter.java @@ -0,0 +1,110 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.aws.fsx.inputs; + +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.List; +import java.util.Objects; + + +public final class GetOntapStorageVirtualMachinesFilter extends com.pulumi.resources.InvokeArgs { + + public static final GetOntapStorageVirtualMachinesFilter Empty = new GetOntapStorageVirtualMachinesFilter(); + + /** + * Name of the field to filter by, as defined by [the underlying AWS API](https://docs.aws.amazon.com/fsx/latest/APIReference/API_StorageVirtualMachineFilter.html). + * + */ + @Import(name="name", required=true) + private String name; + + /** + * @return Name of the field to filter by, as defined by [the underlying AWS API](https://docs.aws.amazon.com/fsx/latest/APIReference/API_StorageVirtualMachineFilter.html). + * + */ + public String name() { + return this.name; + } + + /** + * Set of values that are accepted for the given field. An SVM will be selected if any one of the given values matches. + * + */ + @Import(name="values", required=true) + private List values; + + /** + * @return Set of values that are accepted for the given field. An SVM will be selected if any one of the given values matches. + * + */ + public List values() { + return this.values; + } + + private GetOntapStorageVirtualMachinesFilter() {} + + private GetOntapStorageVirtualMachinesFilter(GetOntapStorageVirtualMachinesFilter $) { + this.name = $.name; + this.values = $.values; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetOntapStorageVirtualMachinesFilter defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetOntapStorageVirtualMachinesFilter $; + + public Builder() { + $ = new GetOntapStorageVirtualMachinesFilter(); + } + + public Builder(GetOntapStorageVirtualMachinesFilter defaults) { + $ = new GetOntapStorageVirtualMachinesFilter(Objects.requireNonNull(defaults)); + } + + /** + * @param name Name of the field to filter by, as defined by [the underlying AWS API](https://docs.aws.amazon.com/fsx/latest/APIReference/API_StorageVirtualMachineFilter.html). + * + * @return builder + * + */ + public Builder name(String name) { + $.name = name; + return this; + } + + /** + * @param values Set of values that are accepted for the given field. An SVM will be selected if any one of the given values matches. + * + * @return builder + * + */ + public Builder values(List values) { + $.values = values; + return this; + } + + /** + * @param values Set of values that are accepted for the given field. An SVM will be selected if any one of the given values matches. + * + * @return builder + * + */ + public Builder values(String... values) { + return values(List.of(values)); + } + + public GetOntapStorageVirtualMachinesFilter build() { + $.name = Objects.requireNonNull($.name, "expected parameter 'name' to be non-null"); + $.values = Objects.requireNonNull($.values, "expected parameter 'values' to be non-null"); + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/fsx/inputs/GetOntapStorageVirtualMachinesFilterArgs.java b/sdk/java/src/main/java/com/pulumi/aws/fsx/inputs/GetOntapStorageVirtualMachinesFilterArgs.java new file mode 100644 index 00000000000..87af28bdeec --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/fsx/inputs/GetOntapStorageVirtualMachinesFilterArgs.java @@ -0,0 +1,131 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.aws.fsx.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.List; +import java.util.Objects; + + +public final class GetOntapStorageVirtualMachinesFilterArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetOntapStorageVirtualMachinesFilterArgs Empty = new GetOntapStorageVirtualMachinesFilterArgs(); + + /** + * Name of the field to filter by, as defined by [the underlying AWS API](https://docs.aws.amazon.com/fsx/latest/APIReference/API_StorageVirtualMachineFilter.html). + * + */ + @Import(name="name", required=true) + private Output name; + + /** + * @return Name of the field to filter by, as defined by [the underlying AWS API](https://docs.aws.amazon.com/fsx/latest/APIReference/API_StorageVirtualMachineFilter.html). + * + */ + public Output name() { + return this.name; + } + + /** + * Set of values that are accepted for the given field. An SVM will be selected if any one of the given values matches. + * + */ + @Import(name="values", required=true) + private Output> values; + + /** + * @return Set of values that are accepted for the given field. An SVM will be selected if any one of the given values matches. + * + */ + public Output> values() { + return this.values; + } + + private GetOntapStorageVirtualMachinesFilterArgs() {} + + private GetOntapStorageVirtualMachinesFilterArgs(GetOntapStorageVirtualMachinesFilterArgs $) { + this.name = $.name; + this.values = $.values; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetOntapStorageVirtualMachinesFilterArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetOntapStorageVirtualMachinesFilterArgs $; + + public Builder() { + $ = new GetOntapStorageVirtualMachinesFilterArgs(); + } + + public Builder(GetOntapStorageVirtualMachinesFilterArgs defaults) { + $ = new GetOntapStorageVirtualMachinesFilterArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param name Name of the field to filter by, as defined by [the underlying AWS API](https://docs.aws.amazon.com/fsx/latest/APIReference/API_StorageVirtualMachineFilter.html). + * + * @return builder + * + */ + public Builder name(Output name) { + $.name = name; + return this; + } + + /** + * @param name Name of the field to filter by, as defined by [the underlying AWS API](https://docs.aws.amazon.com/fsx/latest/APIReference/API_StorageVirtualMachineFilter.html). + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + /** + * @param values Set of values that are accepted for the given field. An SVM will be selected if any one of the given values matches. + * + * @return builder + * + */ + public Builder values(Output> values) { + $.values = values; + return this; + } + + /** + * @param values Set of values that are accepted for the given field. An SVM will be selected if any one of the given values matches. + * + * @return builder + * + */ + public Builder values(List values) { + return values(Output.of(values)); + } + + /** + * @param values Set of values that are accepted for the given field. An SVM will be selected if any one of the given values matches. + * + * @return builder + * + */ + public Builder values(String... values) { + return values(List.of(values)); + } + + public GetOntapStorageVirtualMachinesFilterArgs build() { + $.name = Objects.requireNonNull($.name, "expected parameter 'name' to be non-null"); + $.values = Objects.requireNonNull($.values, "expected parameter 'values' to be non-null"); + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/fsx/inputs/GetOntapStorageVirtualMachinesPlainArgs.java b/sdk/java/src/main/java/com/pulumi/aws/fsx/inputs/GetOntapStorageVirtualMachinesPlainArgs.java new file mode 100644 index 00000000000..625e214d4fc --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/fsx/inputs/GetOntapStorageVirtualMachinesPlainArgs.java @@ -0,0 +1,83 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.aws.fsx.inputs; + +import com.pulumi.aws.fsx.inputs.GetOntapStorageVirtualMachinesFilter; +import com.pulumi.core.annotations.Import; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetOntapStorageVirtualMachinesPlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetOntapStorageVirtualMachinesPlainArgs Empty = new GetOntapStorageVirtualMachinesPlainArgs(); + + /** + * Configuration block. Detailed below. + * + */ + @Import(name="filters") + private @Nullable List filters; + + /** + * @return Configuration block. Detailed below. + * + */ + public Optional> filters() { + return Optional.ofNullable(this.filters); + } + + private GetOntapStorageVirtualMachinesPlainArgs() {} + + private GetOntapStorageVirtualMachinesPlainArgs(GetOntapStorageVirtualMachinesPlainArgs $) { + this.filters = $.filters; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetOntapStorageVirtualMachinesPlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetOntapStorageVirtualMachinesPlainArgs $; + + public Builder() { + $ = new GetOntapStorageVirtualMachinesPlainArgs(); + } + + public Builder(GetOntapStorageVirtualMachinesPlainArgs defaults) { + $ = new GetOntapStorageVirtualMachinesPlainArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param filters Configuration block. Detailed below. + * + * @return builder + * + */ + public Builder filters(@Nullable List filters) { + $.filters = filters; + return this; + } + + /** + * @param filters Configuration block. Detailed below. + * + * @return builder + * + */ + public Builder filters(GetOntapStorageVirtualMachinesFilter... filters) { + return filters(List.of(filters)); + } + + public GetOntapStorageVirtualMachinesPlainArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/fsx/outputs/GetOntapFileSystemDiskIopsConfiguration.java b/sdk/java/src/main/java/com/pulumi/aws/fsx/outputs/GetOntapFileSystemDiskIopsConfiguration.java new file mode 100644 index 00000000000..50fd1caacdd --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/fsx/outputs/GetOntapFileSystemDiskIopsConfiguration.java @@ -0,0 +1,75 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.aws.fsx.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.Integer; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetOntapFileSystemDiskIopsConfiguration { + /** + * @return The total number of SSD IOPS provisioned for the file system. + * + */ + private Integer iops; + /** + * @return Specifies whether the file system is using the `AUTOMATIC` setting of SSD IOPS of 3 IOPS per GB of storage capacity, or if it using a `USER_PROVISIONED` value. + * + */ + private String mode; + + private GetOntapFileSystemDiskIopsConfiguration() {} + /** + * @return The total number of SSD IOPS provisioned for the file system. + * + */ + public Integer iops() { + return this.iops; + } + /** + * @return Specifies whether the file system is using the `AUTOMATIC` setting of SSD IOPS of 3 IOPS per GB of storage capacity, or if it using a `USER_PROVISIONED` value. + * + */ + public String mode() { + return this.mode; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetOntapFileSystemDiskIopsConfiguration defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private Integer iops; + private String mode; + public Builder() {} + public Builder(GetOntapFileSystemDiskIopsConfiguration defaults) { + Objects.requireNonNull(defaults); + this.iops = defaults.iops; + this.mode = defaults.mode; + } + + @CustomType.Setter + public Builder iops(Integer iops) { + this.iops = Objects.requireNonNull(iops); + return this; + } + @CustomType.Setter + public Builder mode(String mode) { + this.mode = Objects.requireNonNull(mode); + return this; + } + public GetOntapFileSystemDiskIopsConfiguration build() { + final var o = new GetOntapFileSystemDiskIopsConfiguration(); + o.iops = iops; + o.mode = mode; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/fsx/outputs/GetOntapFileSystemEndpoint.java b/sdk/java/src/main/java/com/pulumi/aws/fsx/outputs/GetOntapFileSystemEndpoint.java new file mode 100644 index 00000000000..4ffadbb8533 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/fsx/outputs/GetOntapFileSystemEndpoint.java @@ -0,0 +1,82 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.aws.fsx.outputs; + +import com.pulumi.aws.fsx.outputs.GetOntapFileSystemEndpointIntercluster; +import com.pulumi.aws.fsx.outputs.GetOntapFileSystemEndpointManagement; +import com.pulumi.core.annotations.CustomType; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetOntapFileSystemEndpoint { + /** + * @return A FileSystemEndpoint for managing your file system by setting up NetApp SnapMirror with other ONTAP systems. See FileSystemEndpoint below. + * + */ + private List interclusters; + /** + * @return A FileSystemEndpoint for managing your file system using the NetApp ONTAP CLI and NetApp ONTAP API. See FileSystemEndpoint below. + * + */ + private List managements; + + private GetOntapFileSystemEndpoint() {} + /** + * @return A FileSystemEndpoint for managing your file system by setting up NetApp SnapMirror with other ONTAP systems. See FileSystemEndpoint below. + * + */ + public List interclusters() { + return this.interclusters; + } + /** + * @return A FileSystemEndpoint for managing your file system using the NetApp ONTAP CLI and NetApp ONTAP API. See FileSystemEndpoint below. + * + */ + public List managements() { + return this.managements; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetOntapFileSystemEndpoint defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private List interclusters; + private List managements; + public Builder() {} + public Builder(GetOntapFileSystemEndpoint defaults) { + Objects.requireNonNull(defaults); + this.interclusters = defaults.interclusters; + this.managements = defaults.managements; + } + + @CustomType.Setter + public Builder interclusters(List interclusters) { + this.interclusters = Objects.requireNonNull(interclusters); + return this; + } + public Builder interclusters(GetOntapFileSystemEndpointIntercluster... interclusters) { + return interclusters(List.of(interclusters)); + } + @CustomType.Setter + public Builder managements(List managements) { + this.managements = Objects.requireNonNull(managements); + return this; + } + public Builder managements(GetOntapFileSystemEndpointManagement... managements) { + return managements(List.of(managements)); + } + public GetOntapFileSystemEndpoint build() { + final var o = new GetOntapFileSystemEndpoint(); + o.interclusters = interclusters; + o.managements = managements; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/fsx/outputs/GetOntapFileSystemEndpointIntercluster.java b/sdk/java/src/main/java/com/pulumi/aws/fsx/outputs/GetOntapFileSystemEndpointIntercluster.java new file mode 100644 index 00000000000..ecdcba788ac --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/fsx/outputs/GetOntapFileSystemEndpointIntercluster.java @@ -0,0 +1,70 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.aws.fsx.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetOntapFileSystemEndpointIntercluster { + /** + * @return DNS name for the file system (e.g. `fs-12345678.corp.example.com`). + * + */ + private String dnsName; + private List ipAddresses; + + private GetOntapFileSystemEndpointIntercluster() {} + /** + * @return DNS name for the file system (e.g. `fs-12345678.corp.example.com`). + * + */ + public String dnsName() { + return this.dnsName; + } + public List ipAddresses() { + return this.ipAddresses; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetOntapFileSystemEndpointIntercluster defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String dnsName; + private List ipAddresses; + public Builder() {} + public Builder(GetOntapFileSystemEndpointIntercluster defaults) { + Objects.requireNonNull(defaults); + this.dnsName = defaults.dnsName; + this.ipAddresses = defaults.ipAddresses; + } + + @CustomType.Setter + public Builder dnsName(String dnsName) { + this.dnsName = Objects.requireNonNull(dnsName); + return this; + } + @CustomType.Setter + public Builder ipAddresses(List ipAddresses) { + this.ipAddresses = Objects.requireNonNull(ipAddresses); + return this; + } + public Builder ipAddresses(String... ipAddresses) { + return ipAddresses(List.of(ipAddresses)); + } + public GetOntapFileSystemEndpointIntercluster build() { + final var o = new GetOntapFileSystemEndpointIntercluster(); + o.dnsName = dnsName; + o.ipAddresses = ipAddresses; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/fsx/outputs/GetOntapFileSystemEndpointManagement.java b/sdk/java/src/main/java/com/pulumi/aws/fsx/outputs/GetOntapFileSystemEndpointManagement.java new file mode 100644 index 00000000000..d729f2f750d --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/fsx/outputs/GetOntapFileSystemEndpointManagement.java @@ -0,0 +1,70 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.aws.fsx.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetOntapFileSystemEndpointManagement { + /** + * @return DNS name for the file system (e.g. `fs-12345678.corp.example.com`). + * + */ + private String dnsName; + private List ipAddresses; + + private GetOntapFileSystemEndpointManagement() {} + /** + * @return DNS name for the file system (e.g. `fs-12345678.corp.example.com`). + * + */ + public String dnsName() { + return this.dnsName; + } + public List ipAddresses() { + return this.ipAddresses; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetOntapFileSystemEndpointManagement defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String dnsName; + private List ipAddresses; + public Builder() {} + public Builder(GetOntapFileSystemEndpointManagement defaults) { + Objects.requireNonNull(defaults); + this.dnsName = defaults.dnsName; + this.ipAddresses = defaults.ipAddresses; + } + + @CustomType.Setter + public Builder dnsName(String dnsName) { + this.dnsName = Objects.requireNonNull(dnsName); + return this; + } + @CustomType.Setter + public Builder ipAddresses(List ipAddresses) { + this.ipAddresses = Objects.requireNonNull(ipAddresses); + return this; + } + public Builder ipAddresses(String... ipAddresses) { + return ipAddresses(List.of(ipAddresses)); + } + public GetOntapFileSystemEndpointManagement build() { + final var o = new GetOntapFileSystemEndpointManagement(); + o.dnsName = dnsName; + o.ipAddresses = ipAddresses; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/fsx/outputs/GetOntapFileSystemResult.java b/sdk/java/src/main/java/com/pulumi/aws/fsx/outputs/GetOntapFileSystemResult.java new file mode 100644 index 00000000000..5b2cfbd7bf0 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/fsx/outputs/GetOntapFileSystemResult.java @@ -0,0 +1,474 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.aws.fsx.outputs; + +import com.pulumi.aws.fsx.outputs.GetOntapFileSystemDiskIopsConfiguration; +import com.pulumi.aws.fsx.outputs.GetOntapFileSystemEndpoint; +import com.pulumi.core.annotations.CustomType; +import java.lang.Integer; +import java.lang.String; +import java.util.List; +import java.util.Map; +import java.util.Objects; + +@CustomType +public final class GetOntapFileSystemResult { + /** + * @return Amazon Resource Name of the file system. + * + */ + private String arn; + /** + * @return The number of days to retain automatic backups. + * + */ + private Integer automaticBackupRetentionDays; + /** + * @return The preferred time (in `HH:MM` format) to take daily automatic backups, in the UTC time zone. + * + */ + private String dailyAutomaticBackupStartTime; + /** + * @return The file system deployment type. + * + */ + private String deploymentType; + /** + * @return The SSD IOPS configuration for the Amazon FSx for NetApp ONTAP file system, specifying the number of provisioned IOPS and the provision mode. See Disk IOPS Below. + * + */ + private List diskIopsConfigurations; + /** + * @return DNS name for the file system (e.g. `fs-12345678.corp.example.com`). + * + */ + private String dnsName; + /** + * @return (Multi-AZ only) Specifies the IP address range in which the endpoints to access your file system exist. + * + */ + private String endpointIpAddressRange; + /** + * @return The Management and Intercluster FileSystemEndpoints that are used to access data or to manage the file system using the NetApp ONTAP CLI, REST API, or NetApp SnapMirror. See FileSystemEndpoints below. + * + */ + private List endpoints; + /** + * @return Identifier of the file system (e.g. `fs-12345678`). + * + */ + private String id; + /** + * @return ARN for the KMS Key to encrypt the file system at rest. + * + */ + private String kmsKeyId; + /** + * @return The IDs of the elastic network interfaces from which a specific file system is accessible. + * + */ + private List networkInterfaceIds; + /** + * @return AWS account identifier that created the file system. + * + */ + private String ownerId; + /** + * @return Specifies the subnet in which you want the preferred file server to be located. + * + */ + private String preferredSubnetId; + /** + * @return (Multi-AZ only) The VPC route tables in which your file system's endpoints exist. + * + */ + private List routeTableIds; + /** + * @return The storage capacity of the file system in gibibytes (GiB). + * + */ + private Integer storageCapacity; + /** + * @return The type of storage the file system is using. If set to `SSD`, the file system uses solid state drive storage. If set to `HDD`, the file system uses hard disk drive storage. + * + */ + private String storageType; + /** + * @return Specifies the IDs of the subnets that the file system is accessible from. For the MULTI_AZ_1 file system deployment type, there are two subnet IDs, one for the preferred file server and one for the standby file server. The preferred file server subnet identified in the `preferred_subnet_id` property. + * + */ + private List subnetIds; + /** + * @return The tags associated with the file system. + * + */ + private Map tags; + /** + * @return The sustained throughput of an Amazon FSx file system in Megabytes per second (MBps). + * + */ + private Integer throughputCapacity; + /** + * @return The ID of the primary virtual private cloud (VPC) for the file system. + * + */ + private String vpcId; + /** + * @return The preferred start time (in `D:HH:MM` format) to perform weekly maintenance, in the UTC time zone. + * + */ + private String weeklyMaintenanceStartTime; + + private GetOntapFileSystemResult() {} + /** + * @return Amazon Resource Name of the file system. + * + */ + public String arn() { + return this.arn; + } + /** + * @return The number of days to retain automatic backups. + * + */ + public Integer automaticBackupRetentionDays() { + return this.automaticBackupRetentionDays; + } + /** + * @return The preferred time (in `HH:MM` format) to take daily automatic backups, in the UTC time zone. + * + */ + public String dailyAutomaticBackupStartTime() { + return this.dailyAutomaticBackupStartTime; + } + /** + * @return The file system deployment type. + * + */ + public String deploymentType() { + return this.deploymentType; + } + /** + * @return The SSD IOPS configuration for the Amazon FSx for NetApp ONTAP file system, specifying the number of provisioned IOPS and the provision mode. See Disk IOPS Below. + * + */ + public List diskIopsConfigurations() { + return this.diskIopsConfigurations; + } + /** + * @return DNS name for the file system (e.g. `fs-12345678.corp.example.com`). + * + */ + public String dnsName() { + return this.dnsName; + } + /** + * @return (Multi-AZ only) Specifies the IP address range in which the endpoints to access your file system exist. + * + */ + public String endpointIpAddressRange() { + return this.endpointIpAddressRange; + } + /** + * @return The Management and Intercluster FileSystemEndpoints that are used to access data or to manage the file system using the NetApp ONTAP CLI, REST API, or NetApp SnapMirror. See FileSystemEndpoints below. + * + */ + public List endpoints() { + return this.endpoints; + } + /** + * @return Identifier of the file system (e.g. `fs-12345678`). + * + */ + public String id() { + return this.id; + } + /** + * @return ARN for the KMS Key to encrypt the file system at rest. + * + */ + public String kmsKeyId() { + return this.kmsKeyId; + } + /** + * @return The IDs of the elastic network interfaces from which a specific file system is accessible. + * + */ + public List networkInterfaceIds() { + return this.networkInterfaceIds; + } + /** + * @return AWS account identifier that created the file system. + * + */ + public String ownerId() { + return this.ownerId; + } + /** + * @return Specifies the subnet in which you want the preferred file server to be located. + * + */ + public String preferredSubnetId() { + return this.preferredSubnetId; + } + /** + * @return (Multi-AZ only) The VPC route tables in which your file system's endpoints exist. + * + */ + public List routeTableIds() { + return this.routeTableIds; + } + /** + * @return The storage capacity of the file system in gibibytes (GiB). + * + */ + public Integer storageCapacity() { + return this.storageCapacity; + } + /** + * @return The type of storage the file system is using. If set to `SSD`, the file system uses solid state drive storage. If set to `HDD`, the file system uses hard disk drive storage. + * + */ + public String storageType() { + return this.storageType; + } + /** + * @return Specifies the IDs of the subnets that the file system is accessible from. For the MULTI_AZ_1 file system deployment type, there are two subnet IDs, one for the preferred file server and one for the standby file server. The preferred file server subnet identified in the `preferred_subnet_id` property. + * + */ + public List subnetIds() { + return this.subnetIds; + } + /** + * @return The tags associated with the file system. + * + */ + public Map tags() { + return this.tags; + } + /** + * @return The sustained throughput of an Amazon FSx file system in Megabytes per second (MBps). + * + */ + public Integer throughputCapacity() { + return this.throughputCapacity; + } + /** + * @return The ID of the primary virtual private cloud (VPC) for the file system. + * + */ + public String vpcId() { + return this.vpcId; + } + /** + * @return The preferred start time (in `D:HH:MM` format) to perform weekly maintenance, in the UTC time zone. + * + */ + public String weeklyMaintenanceStartTime() { + return this.weeklyMaintenanceStartTime; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetOntapFileSystemResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String arn; + private Integer automaticBackupRetentionDays; + private String dailyAutomaticBackupStartTime; + private String deploymentType; + private List diskIopsConfigurations; + private String dnsName; + private String endpointIpAddressRange; + private List endpoints; + private String id; + private String kmsKeyId; + private List networkInterfaceIds; + private String ownerId; + private String preferredSubnetId; + private List routeTableIds; + private Integer storageCapacity; + private String storageType; + private List subnetIds; + private Map tags; + private Integer throughputCapacity; + private String vpcId; + private String weeklyMaintenanceStartTime; + public Builder() {} + public Builder(GetOntapFileSystemResult defaults) { + Objects.requireNonNull(defaults); + this.arn = defaults.arn; + this.automaticBackupRetentionDays = defaults.automaticBackupRetentionDays; + this.dailyAutomaticBackupStartTime = defaults.dailyAutomaticBackupStartTime; + this.deploymentType = defaults.deploymentType; + this.diskIopsConfigurations = defaults.diskIopsConfigurations; + this.dnsName = defaults.dnsName; + this.endpointIpAddressRange = defaults.endpointIpAddressRange; + this.endpoints = defaults.endpoints; + this.id = defaults.id; + this.kmsKeyId = defaults.kmsKeyId; + this.networkInterfaceIds = defaults.networkInterfaceIds; + this.ownerId = defaults.ownerId; + this.preferredSubnetId = defaults.preferredSubnetId; + this.routeTableIds = defaults.routeTableIds; + this.storageCapacity = defaults.storageCapacity; + this.storageType = defaults.storageType; + this.subnetIds = defaults.subnetIds; + this.tags = defaults.tags; + this.throughputCapacity = defaults.throughputCapacity; + this.vpcId = defaults.vpcId; + this.weeklyMaintenanceStartTime = defaults.weeklyMaintenanceStartTime; + } + + @CustomType.Setter + public Builder arn(String arn) { + this.arn = Objects.requireNonNull(arn); + return this; + } + @CustomType.Setter + public Builder automaticBackupRetentionDays(Integer automaticBackupRetentionDays) { + this.automaticBackupRetentionDays = Objects.requireNonNull(automaticBackupRetentionDays); + return this; + } + @CustomType.Setter + public Builder dailyAutomaticBackupStartTime(String dailyAutomaticBackupStartTime) { + this.dailyAutomaticBackupStartTime = Objects.requireNonNull(dailyAutomaticBackupStartTime); + return this; + } + @CustomType.Setter + public Builder deploymentType(String deploymentType) { + this.deploymentType = Objects.requireNonNull(deploymentType); + return this; + } + @CustomType.Setter + public Builder diskIopsConfigurations(List diskIopsConfigurations) { + this.diskIopsConfigurations = Objects.requireNonNull(diskIopsConfigurations); + return this; + } + public Builder diskIopsConfigurations(GetOntapFileSystemDiskIopsConfiguration... diskIopsConfigurations) { + return diskIopsConfigurations(List.of(diskIopsConfigurations)); + } + @CustomType.Setter + public Builder dnsName(String dnsName) { + this.dnsName = Objects.requireNonNull(dnsName); + return this; + } + @CustomType.Setter + public Builder endpointIpAddressRange(String endpointIpAddressRange) { + this.endpointIpAddressRange = Objects.requireNonNull(endpointIpAddressRange); + return this; + } + @CustomType.Setter + public Builder endpoints(List endpoints) { + this.endpoints = Objects.requireNonNull(endpoints); + return this; + } + public Builder endpoints(GetOntapFileSystemEndpoint... endpoints) { + return endpoints(List.of(endpoints)); + } + @CustomType.Setter + public Builder id(String id) { + this.id = Objects.requireNonNull(id); + return this; + } + @CustomType.Setter + public Builder kmsKeyId(String kmsKeyId) { + this.kmsKeyId = Objects.requireNonNull(kmsKeyId); + return this; + } + @CustomType.Setter + public Builder networkInterfaceIds(List networkInterfaceIds) { + this.networkInterfaceIds = Objects.requireNonNull(networkInterfaceIds); + return this; + } + public Builder networkInterfaceIds(String... networkInterfaceIds) { + return networkInterfaceIds(List.of(networkInterfaceIds)); + } + @CustomType.Setter + public Builder ownerId(String ownerId) { + this.ownerId = Objects.requireNonNull(ownerId); + return this; + } + @CustomType.Setter + public Builder preferredSubnetId(String preferredSubnetId) { + this.preferredSubnetId = Objects.requireNonNull(preferredSubnetId); + return this; + } + @CustomType.Setter + public Builder routeTableIds(List routeTableIds) { + this.routeTableIds = Objects.requireNonNull(routeTableIds); + return this; + } + public Builder routeTableIds(String... routeTableIds) { + return routeTableIds(List.of(routeTableIds)); + } + @CustomType.Setter + public Builder storageCapacity(Integer storageCapacity) { + this.storageCapacity = Objects.requireNonNull(storageCapacity); + return this; + } + @CustomType.Setter + public Builder storageType(String storageType) { + this.storageType = Objects.requireNonNull(storageType); + return this; + } + @CustomType.Setter + public Builder subnetIds(List subnetIds) { + this.subnetIds = Objects.requireNonNull(subnetIds); + return this; + } + public Builder subnetIds(String... subnetIds) { + return subnetIds(List.of(subnetIds)); + } + @CustomType.Setter + public Builder tags(Map tags) { + this.tags = Objects.requireNonNull(tags); + return this; + } + @CustomType.Setter + public Builder throughputCapacity(Integer throughputCapacity) { + this.throughputCapacity = Objects.requireNonNull(throughputCapacity); + return this; + } + @CustomType.Setter + public Builder vpcId(String vpcId) { + this.vpcId = Objects.requireNonNull(vpcId); + return this; + } + @CustomType.Setter + public Builder weeklyMaintenanceStartTime(String weeklyMaintenanceStartTime) { + this.weeklyMaintenanceStartTime = Objects.requireNonNull(weeklyMaintenanceStartTime); + return this; + } + public GetOntapFileSystemResult build() { + final var o = new GetOntapFileSystemResult(); + o.arn = arn; + o.automaticBackupRetentionDays = automaticBackupRetentionDays; + o.dailyAutomaticBackupStartTime = dailyAutomaticBackupStartTime; + o.deploymentType = deploymentType; + o.diskIopsConfigurations = diskIopsConfigurations; + o.dnsName = dnsName; + o.endpointIpAddressRange = endpointIpAddressRange; + o.endpoints = endpoints; + o.id = id; + o.kmsKeyId = kmsKeyId; + o.networkInterfaceIds = networkInterfaceIds; + o.ownerId = ownerId; + o.preferredSubnetId = preferredSubnetId; + o.routeTableIds = routeTableIds; + o.storageCapacity = storageCapacity; + o.storageType = storageType; + o.subnetIds = subnetIds; + o.tags = tags; + o.throughputCapacity = throughputCapacity; + o.vpcId = vpcId; + o.weeklyMaintenanceStartTime = weeklyMaintenanceStartTime; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/fsx/outputs/GetOntapStorageVirtualMachineActiveDirectoryConfiguration.java b/sdk/java/src/main/java/com/pulumi/aws/fsx/outputs/GetOntapStorageVirtualMachineActiveDirectoryConfiguration.java new file mode 100644 index 00000000000..9c0a28306f6 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/fsx/outputs/GetOntapStorageVirtualMachineActiveDirectoryConfiguration.java @@ -0,0 +1,71 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.aws.fsx.outputs; + +import com.pulumi.aws.fsx.outputs.GetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfiguration; +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetOntapStorageVirtualMachineActiveDirectoryConfiguration { + /** + * @return The NetBIOS name of the AD computer object to which the SVM is joined. + * + */ + private String netbiosName; + private List selfManagedActiveDirectoryConfigurations; + + private GetOntapStorageVirtualMachineActiveDirectoryConfiguration() {} + /** + * @return The NetBIOS name of the AD computer object to which the SVM is joined. + * + */ + public String netbiosName() { + return this.netbiosName; + } + public List selfManagedActiveDirectoryConfigurations() { + return this.selfManagedActiveDirectoryConfigurations; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetOntapStorageVirtualMachineActiveDirectoryConfiguration defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String netbiosName; + private List selfManagedActiveDirectoryConfigurations; + public Builder() {} + public Builder(GetOntapStorageVirtualMachineActiveDirectoryConfiguration defaults) { + Objects.requireNonNull(defaults); + this.netbiosName = defaults.netbiosName; + this.selfManagedActiveDirectoryConfigurations = defaults.selfManagedActiveDirectoryConfigurations; + } + + @CustomType.Setter + public Builder netbiosName(String netbiosName) { + this.netbiosName = Objects.requireNonNull(netbiosName); + return this; + } + @CustomType.Setter + public Builder selfManagedActiveDirectoryConfigurations(List selfManagedActiveDirectoryConfigurations) { + this.selfManagedActiveDirectoryConfigurations = Objects.requireNonNull(selfManagedActiveDirectoryConfigurations); + return this; + } + public Builder selfManagedActiveDirectoryConfigurations(GetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfiguration... selfManagedActiveDirectoryConfigurations) { + return selfManagedActiveDirectoryConfigurations(List.of(selfManagedActiveDirectoryConfigurations)); + } + public GetOntapStorageVirtualMachineActiveDirectoryConfiguration build() { + final var o = new GetOntapStorageVirtualMachineActiveDirectoryConfiguration(); + o.netbiosName = netbiosName; + o.selfManagedActiveDirectoryConfigurations = selfManagedActiveDirectoryConfigurations; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/fsx/outputs/GetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfiguration.java b/sdk/java/src/main/java/com/pulumi/aws/fsx/outputs/GetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfiguration.java new file mode 100644 index 00000000000..c3a80ac7520 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/fsx/outputs/GetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfiguration.java @@ -0,0 +1,138 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.aws.fsx.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfiguration { + /** + * @return A list of up to three IP addresses of DNS servers or domain controllers in the self-managed AD directory. + * + */ + private List dnsIps; + /** + * @return The fully qualified domain name of the self-managed AD directory. + * + */ + private String domainName; + /** + * @return The name of the domain group whose members have administrative privileges for the FSx file system. + * + */ + private String fileSystemAdministratorsGroup; + /** + * @return The fully qualified distinguished name of the organizational unit within the self-managed AD directory to which the Windows File Server or ONTAP storage virtual machine (SVM) instance is joined. + * + */ + private String organizationalUnitDistinguishedName; + /** + * @return The user name for the service account on your self-managed AD domain that FSx uses to join to your AD domain. + * + */ + private String username; + + private GetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfiguration() {} + /** + * @return A list of up to three IP addresses of DNS servers or domain controllers in the self-managed AD directory. + * + */ + public List dnsIps() { + return this.dnsIps; + } + /** + * @return The fully qualified domain name of the self-managed AD directory. + * + */ + public String domainName() { + return this.domainName; + } + /** + * @return The name of the domain group whose members have administrative privileges for the FSx file system. + * + */ + public String fileSystemAdministratorsGroup() { + return this.fileSystemAdministratorsGroup; + } + /** + * @return The fully qualified distinguished name of the organizational unit within the self-managed AD directory to which the Windows File Server or ONTAP storage virtual machine (SVM) instance is joined. + * + */ + public String organizationalUnitDistinguishedName() { + return this.organizationalUnitDistinguishedName; + } + /** + * @return The user name for the service account on your self-managed AD domain that FSx uses to join to your AD domain. + * + */ + public String username() { + return this.username; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfiguration defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private List dnsIps; + private String domainName; + private String fileSystemAdministratorsGroup; + private String organizationalUnitDistinguishedName; + private String username; + public Builder() {} + public Builder(GetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfiguration defaults) { + Objects.requireNonNull(defaults); + this.dnsIps = defaults.dnsIps; + this.domainName = defaults.domainName; + this.fileSystemAdministratorsGroup = defaults.fileSystemAdministratorsGroup; + this.organizationalUnitDistinguishedName = defaults.organizationalUnitDistinguishedName; + this.username = defaults.username; + } + + @CustomType.Setter + public Builder dnsIps(List dnsIps) { + this.dnsIps = Objects.requireNonNull(dnsIps); + return this; + } + public Builder dnsIps(String... dnsIps) { + return dnsIps(List.of(dnsIps)); + } + @CustomType.Setter + public Builder domainName(String domainName) { + this.domainName = Objects.requireNonNull(domainName); + return this; + } + @CustomType.Setter + public Builder fileSystemAdministratorsGroup(String fileSystemAdministratorsGroup) { + this.fileSystemAdministratorsGroup = Objects.requireNonNull(fileSystemAdministratorsGroup); + return this; + } + @CustomType.Setter + public Builder organizationalUnitDistinguishedName(String organizationalUnitDistinguishedName) { + this.organizationalUnitDistinguishedName = Objects.requireNonNull(organizationalUnitDistinguishedName); + return this; + } + @CustomType.Setter + public Builder username(String username) { + this.username = Objects.requireNonNull(username); + return this; + } + public GetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfiguration build() { + final var o = new GetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfiguration(); + o.dnsIps = dnsIps; + o.domainName = domainName; + o.fileSystemAdministratorsGroup = fileSystemAdministratorsGroup; + o.organizationalUnitDistinguishedName = organizationalUnitDistinguishedName; + o.username = username; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/fsx/outputs/GetOntapStorageVirtualMachineEndpoint.java b/sdk/java/src/main/java/com/pulumi/aws/fsx/outputs/GetOntapStorageVirtualMachineEndpoint.java new file mode 100644 index 00000000000..4ccec9c8205 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/fsx/outputs/GetOntapStorageVirtualMachineEndpoint.java @@ -0,0 +1,122 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.aws.fsx.outputs; + +import com.pulumi.aws.fsx.outputs.GetOntapStorageVirtualMachineEndpointIscsi; +import com.pulumi.aws.fsx.outputs.GetOntapStorageVirtualMachineEndpointManagement; +import com.pulumi.aws.fsx.outputs.GetOntapStorageVirtualMachineEndpointNf; +import com.pulumi.aws.fsx.outputs.GetOntapStorageVirtualMachineEndpointSmb; +import com.pulumi.core.annotations.CustomType; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetOntapStorageVirtualMachineEndpoint { + private List iscsis; + /** + * @return An endpoint for managing SVMs using the NetApp ONTAP CLI, NetApp ONTAP API, or NetApp CloudManager. See SVM Endpoint below. + * + */ + private List managements; + /** + * @return An endpoint for connecting using the Network File System (NFS) protocol. See SVM Endpoint below. + * + */ + private List nfs; + /** + * @return An endpoint for connecting using the Server Message Block (SMB) protocol. See SVM Endpoint below. + * + */ + private List smbs; + + private GetOntapStorageVirtualMachineEndpoint() {} + public List iscsis() { + return this.iscsis; + } + /** + * @return An endpoint for managing SVMs using the NetApp ONTAP CLI, NetApp ONTAP API, or NetApp CloudManager. See SVM Endpoint below. + * + */ + public List managements() { + return this.managements; + } + /** + * @return An endpoint for connecting using the Network File System (NFS) protocol. See SVM Endpoint below. + * + */ + public List nfs() { + return this.nfs; + } + /** + * @return An endpoint for connecting using the Server Message Block (SMB) protocol. See SVM Endpoint below. + * + */ + public List smbs() { + return this.smbs; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetOntapStorageVirtualMachineEndpoint defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private List iscsis; + private List managements; + private List nfs; + private List smbs; + public Builder() {} + public Builder(GetOntapStorageVirtualMachineEndpoint defaults) { + Objects.requireNonNull(defaults); + this.iscsis = defaults.iscsis; + this.managements = defaults.managements; + this.nfs = defaults.nfs; + this.smbs = defaults.smbs; + } + + @CustomType.Setter + public Builder iscsis(List iscsis) { + this.iscsis = Objects.requireNonNull(iscsis); + return this; + } + public Builder iscsis(GetOntapStorageVirtualMachineEndpointIscsi... iscsis) { + return iscsis(List.of(iscsis)); + } + @CustomType.Setter + public Builder managements(List managements) { + this.managements = Objects.requireNonNull(managements); + return this; + } + public Builder managements(GetOntapStorageVirtualMachineEndpointManagement... managements) { + return managements(List.of(managements)); + } + @CustomType.Setter + public Builder nfs(List nfs) { + this.nfs = Objects.requireNonNull(nfs); + return this; + } + public Builder nfs(GetOntapStorageVirtualMachineEndpointNf... nfs) { + return nfs(List.of(nfs)); + } + @CustomType.Setter + public Builder smbs(List smbs) { + this.smbs = Objects.requireNonNull(smbs); + return this; + } + public Builder smbs(GetOntapStorageVirtualMachineEndpointSmb... smbs) { + return smbs(List.of(smbs)); + } + public GetOntapStorageVirtualMachineEndpoint build() { + final var o = new GetOntapStorageVirtualMachineEndpoint(); + o.iscsis = iscsis; + o.managements = managements; + o.nfs = nfs; + o.smbs = smbs; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/fsx/outputs/GetOntapStorageVirtualMachineEndpointIscsi.java b/sdk/java/src/main/java/com/pulumi/aws/fsx/outputs/GetOntapStorageVirtualMachineEndpointIscsi.java new file mode 100644 index 00000000000..d9521cd3d38 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/fsx/outputs/GetOntapStorageVirtualMachineEndpointIscsi.java @@ -0,0 +1,62 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.aws.fsx.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetOntapStorageVirtualMachineEndpointIscsi { + private String dnsName; + private List ipAddresses; + + private GetOntapStorageVirtualMachineEndpointIscsi() {} + public String dnsName() { + return this.dnsName; + } + public List ipAddresses() { + return this.ipAddresses; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetOntapStorageVirtualMachineEndpointIscsi defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String dnsName; + private List ipAddresses; + public Builder() {} + public Builder(GetOntapStorageVirtualMachineEndpointIscsi defaults) { + Objects.requireNonNull(defaults); + this.dnsName = defaults.dnsName; + this.ipAddresses = defaults.ipAddresses; + } + + @CustomType.Setter + public Builder dnsName(String dnsName) { + this.dnsName = Objects.requireNonNull(dnsName); + return this; + } + @CustomType.Setter + public Builder ipAddresses(List ipAddresses) { + this.ipAddresses = Objects.requireNonNull(ipAddresses); + return this; + } + public Builder ipAddresses(String... ipAddresses) { + return ipAddresses(List.of(ipAddresses)); + } + public GetOntapStorageVirtualMachineEndpointIscsi build() { + final var o = new GetOntapStorageVirtualMachineEndpointIscsi(); + o.dnsName = dnsName; + o.ipAddresses = ipAddresses; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/fsx/outputs/GetOntapStorageVirtualMachineEndpointManagement.java b/sdk/java/src/main/java/com/pulumi/aws/fsx/outputs/GetOntapStorageVirtualMachineEndpointManagement.java new file mode 100644 index 00000000000..3b65dc7defe --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/fsx/outputs/GetOntapStorageVirtualMachineEndpointManagement.java @@ -0,0 +1,62 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.aws.fsx.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetOntapStorageVirtualMachineEndpointManagement { + private String dnsName; + private List ipAddresses; + + private GetOntapStorageVirtualMachineEndpointManagement() {} + public String dnsName() { + return this.dnsName; + } + public List ipAddresses() { + return this.ipAddresses; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetOntapStorageVirtualMachineEndpointManagement defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String dnsName; + private List ipAddresses; + public Builder() {} + public Builder(GetOntapStorageVirtualMachineEndpointManagement defaults) { + Objects.requireNonNull(defaults); + this.dnsName = defaults.dnsName; + this.ipAddresses = defaults.ipAddresses; + } + + @CustomType.Setter + public Builder dnsName(String dnsName) { + this.dnsName = Objects.requireNonNull(dnsName); + return this; + } + @CustomType.Setter + public Builder ipAddresses(List ipAddresses) { + this.ipAddresses = Objects.requireNonNull(ipAddresses); + return this; + } + public Builder ipAddresses(String... ipAddresses) { + return ipAddresses(List.of(ipAddresses)); + } + public GetOntapStorageVirtualMachineEndpointManagement build() { + final var o = new GetOntapStorageVirtualMachineEndpointManagement(); + o.dnsName = dnsName; + o.ipAddresses = ipAddresses; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/fsx/outputs/GetOntapStorageVirtualMachineEndpointNf.java b/sdk/java/src/main/java/com/pulumi/aws/fsx/outputs/GetOntapStorageVirtualMachineEndpointNf.java new file mode 100644 index 00000000000..7a75711f75b --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/fsx/outputs/GetOntapStorageVirtualMachineEndpointNf.java @@ -0,0 +1,62 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.aws.fsx.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetOntapStorageVirtualMachineEndpointNf { + private String dnsName; + private List ipAddresses; + + private GetOntapStorageVirtualMachineEndpointNf() {} + public String dnsName() { + return this.dnsName; + } + public List ipAddresses() { + return this.ipAddresses; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetOntapStorageVirtualMachineEndpointNf defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String dnsName; + private List ipAddresses; + public Builder() {} + public Builder(GetOntapStorageVirtualMachineEndpointNf defaults) { + Objects.requireNonNull(defaults); + this.dnsName = defaults.dnsName; + this.ipAddresses = defaults.ipAddresses; + } + + @CustomType.Setter + public Builder dnsName(String dnsName) { + this.dnsName = Objects.requireNonNull(dnsName); + return this; + } + @CustomType.Setter + public Builder ipAddresses(List ipAddresses) { + this.ipAddresses = Objects.requireNonNull(ipAddresses); + return this; + } + public Builder ipAddresses(String... ipAddresses) { + return ipAddresses(List.of(ipAddresses)); + } + public GetOntapStorageVirtualMachineEndpointNf build() { + final var o = new GetOntapStorageVirtualMachineEndpointNf(); + o.dnsName = dnsName; + o.ipAddresses = ipAddresses; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/fsx/outputs/GetOntapStorageVirtualMachineEndpointSmb.java b/sdk/java/src/main/java/com/pulumi/aws/fsx/outputs/GetOntapStorageVirtualMachineEndpointSmb.java new file mode 100644 index 00000000000..e3cc9f84b18 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/fsx/outputs/GetOntapStorageVirtualMachineEndpointSmb.java @@ -0,0 +1,62 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.aws.fsx.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetOntapStorageVirtualMachineEndpointSmb { + private String dnsName; + private List ipAddresses; + + private GetOntapStorageVirtualMachineEndpointSmb() {} + public String dnsName() { + return this.dnsName; + } + public List ipAddresses() { + return this.ipAddresses; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetOntapStorageVirtualMachineEndpointSmb defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String dnsName; + private List ipAddresses; + public Builder() {} + public Builder(GetOntapStorageVirtualMachineEndpointSmb defaults) { + Objects.requireNonNull(defaults); + this.dnsName = defaults.dnsName; + this.ipAddresses = defaults.ipAddresses; + } + + @CustomType.Setter + public Builder dnsName(String dnsName) { + this.dnsName = Objects.requireNonNull(dnsName); + return this; + } + @CustomType.Setter + public Builder ipAddresses(List ipAddresses) { + this.ipAddresses = Objects.requireNonNull(ipAddresses); + return this; + } + public Builder ipAddresses(String... ipAddresses) { + return ipAddresses(List.of(ipAddresses)); + } + public GetOntapStorageVirtualMachineEndpointSmb build() { + final var o = new GetOntapStorageVirtualMachineEndpointSmb(); + o.dnsName = dnsName; + o.ipAddresses = ipAddresses; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/fsx/outputs/GetOntapStorageVirtualMachineFilter.java b/sdk/java/src/main/java/com/pulumi/aws/fsx/outputs/GetOntapStorageVirtualMachineFilter.java new file mode 100644 index 00000000000..d849bc71608 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/fsx/outputs/GetOntapStorageVirtualMachineFilter.java @@ -0,0 +1,78 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.aws.fsx.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetOntapStorageVirtualMachineFilter { + /** + * @return Name of the field to filter by, as defined by [the underlying AWS API](https://docs.aws.amazon.com/fsx/latest/APIReference/API_StorageVirtualMachineFilter.html). + * + */ + private String name; + /** + * @return Set of values that are accepted for the given field. An SVM will be selected if any one of the given values matches. + * + */ + private List values; + + private GetOntapStorageVirtualMachineFilter() {} + /** + * @return Name of the field to filter by, as defined by [the underlying AWS API](https://docs.aws.amazon.com/fsx/latest/APIReference/API_StorageVirtualMachineFilter.html). + * + */ + public String name() { + return this.name; + } + /** + * @return Set of values that are accepted for the given field. An SVM will be selected if any one of the given values matches. + * + */ + public List values() { + return this.values; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetOntapStorageVirtualMachineFilter defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String name; + private List values; + public Builder() {} + public Builder(GetOntapStorageVirtualMachineFilter defaults) { + Objects.requireNonNull(defaults); + this.name = defaults.name; + this.values = defaults.values; + } + + @CustomType.Setter + public Builder name(String name) { + this.name = Objects.requireNonNull(name); + return this; + } + @CustomType.Setter + public Builder values(List values) { + this.values = Objects.requireNonNull(values); + return this; + } + public Builder values(String... values) { + return values(List.of(values)); + } + public GetOntapStorageVirtualMachineFilter build() { + final var o = new GetOntapStorageVirtualMachineFilter(); + o.name = name; + o.values = values; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/fsx/outputs/GetOntapStorageVirtualMachineLifecycleTransitionReason.java b/sdk/java/src/main/java/com/pulumi/aws/fsx/outputs/GetOntapStorageVirtualMachineLifecycleTransitionReason.java new file mode 100644 index 00000000000..16a97d9fb9d --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/fsx/outputs/GetOntapStorageVirtualMachineLifecycleTransitionReason.java @@ -0,0 +1,54 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.aws.fsx.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetOntapStorageVirtualMachineLifecycleTransitionReason { + /** + * @return A detailed message. + * + */ + private String message; + + private GetOntapStorageVirtualMachineLifecycleTransitionReason() {} + /** + * @return A detailed message. + * + */ + public String message() { + return this.message; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetOntapStorageVirtualMachineLifecycleTransitionReason defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String message; + public Builder() {} + public Builder(GetOntapStorageVirtualMachineLifecycleTransitionReason defaults) { + Objects.requireNonNull(defaults); + this.message = defaults.message; + } + + @CustomType.Setter + public Builder message(String message) { + this.message = Objects.requireNonNull(message); + return this; + } + public GetOntapStorageVirtualMachineLifecycleTransitionReason build() { + final var o = new GetOntapStorageVirtualMachineLifecycleTransitionReason(); + o.message = message; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/fsx/outputs/GetOntapStorageVirtualMachineResult.java b/sdk/java/src/main/java/com/pulumi/aws/fsx/outputs/GetOntapStorageVirtualMachineResult.java new file mode 100644 index 00000000000..af6d3960c5c --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/fsx/outputs/GetOntapStorageVirtualMachineResult.java @@ -0,0 +1,297 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.aws.fsx.outputs; + +import com.pulumi.aws.fsx.outputs.GetOntapStorageVirtualMachineActiveDirectoryConfiguration; +import com.pulumi.aws.fsx.outputs.GetOntapStorageVirtualMachineEndpoint; +import com.pulumi.aws.fsx.outputs.GetOntapStorageVirtualMachineFilter; +import com.pulumi.aws.fsx.outputs.GetOntapStorageVirtualMachineLifecycleTransitionReason; +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.List; +import java.util.Map; +import java.util.Objects; +import javax.annotation.Nullable; + +@CustomType +public final class GetOntapStorageVirtualMachineResult { + /** + * @return The Microsoft Active Directory configuration to which the SVM is joined, if applicable. See Active Directory Configuration below. + * + */ + private List activeDirectoryConfigurations; + /** + * @return Amazon Resource Name of the SVM. + * + */ + private String arn; + /** + * @return The time that the SVM was created. + * + */ + private String creationTime; + /** + * @return The endpoints that are used to access data or to manage the SVM using the NetApp ONTAP CLI, REST API, or NetApp CloudManager. They are the Iscsi, Management, Nfs, and Smb endpoints. See SVM Endpoints below. + * + */ + private List endpoints; + /** + * @return Identifier of the file system (e.g. `fs-12345678`). + * + */ + private String fileSystemId; + private @Nullable List filters; + /** + * @return The SVM's system generated unique ID. + * + */ + private String id; + /** + * @return The SVM's lifecycle status. + * + */ + private String lifecycleStatus; + /** + * @return Describes why the SVM lifecycle state changed. See Lifecycle Transition Reason below. + * + */ + private List lifecycleTransitionReasons; + /** + * @return The name of the SVM, if provisioned. + * + */ + private String name; + /** + * @return The SVM's subtype. + * + */ + private String subtype; + private Map tags; + /** + * @return The SVM's UUID. + * + */ + private String uuid; + + private GetOntapStorageVirtualMachineResult() {} + /** + * @return The Microsoft Active Directory configuration to which the SVM is joined, if applicable. See Active Directory Configuration below. + * + */ + public List activeDirectoryConfigurations() { + return this.activeDirectoryConfigurations; + } + /** + * @return Amazon Resource Name of the SVM. + * + */ + public String arn() { + return this.arn; + } + /** + * @return The time that the SVM was created. + * + */ + public String creationTime() { + return this.creationTime; + } + /** + * @return The endpoints that are used to access data or to manage the SVM using the NetApp ONTAP CLI, REST API, or NetApp CloudManager. They are the Iscsi, Management, Nfs, and Smb endpoints. See SVM Endpoints below. + * + */ + public List endpoints() { + return this.endpoints; + } + /** + * @return Identifier of the file system (e.g. `fs-12345678`). + * + */ + public String fileSystemId() { + return this.fileSystemId; + } + public List filters() { + return this.filters == null ? List.of() : this.filters; + } + /** + * @return The SVM's system generated unique ID. + * + */ + public String id() { + return this.id; + } + /** + * @return The SVM's lifecycle status. + * + */ + public String lifecycleStatus() { + return this.lifecycleStatus; + } + /** + * @return Describes why the SVM lifecycle state changed. See Lifecycle Transition Reason below. + * + */ + public List lifecycleTransitionReasons() { + return this.lifecycleTransitionReasons; + } + /** + * @return The name of the SVM, if provisioned. + * + */ + public String name() { + return this.name; + } + /** + * @return The SVM's subtype. + * + */ + public String subtype() { + return this.subtype; + } + public Map tags() { + return this.tags; + } + /** + * @return The SVM's UUID. + * + */ + public String uuid() { + return this.uuid; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetOntapStorageVirtualMachineResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private List activeDirectoryConfigurations; + private String arn; + private String creationTime; + private List endpoints; + private String fileSystemId; + private @Nullable List filters; + private String id; + private String lifecycleStatus; + private List lifecycleTransitionReasons; + private String name; + private String subtype; + private Map tags; + private String uuid; + public Builder() {} + public Builder(GetOntapStorageVirtualMachineResult defaults) { + Objects.requireNonNull(defaults); + this.activeDirectoryConfigurations = defaults.activeDirectoryConfigurations; + this.arn = defaults.arn; + this.creationTime = defaults.creationTime; + this.endpoints = defaults.endpoints; + this.fileSystemId = defaults.fileSystemId; + this.filters = defaults.filters; + this.id = defaults.id; + this.lifecycleStatus = defaults.lifecycleStatus; + this.lifecycleTransitionReasons = defaults.lifecycleTransitionReasons; + this.name = defaults.name; + this.subtype = defaults.subtype; + this.tags = defaults.tags; + this.uuid = defaults.uuid; + } + + @CustomType.Setter + public Builder activeDirectoryConfigurations(List activeDirectoryConfigurations) { + this.activeDirectoryConfigurations = Objects.requireNonNull(activeDirectoryConfigurations); + return this; + } + public Builder activeDirectoryConfigurations(GetOntapStorageVirtualMachineActiveDirectoryConfiguration... activeDirectoryConfigurations) { + return activeDirectoryConfigurations(List.of(activeDirectoryConfigurations)); + } + @CustomType.Setter + public Builder arn(String arn) { + this.arn = Objects.requireNonNull(arn); + return this; + } + @CustomType.Setter + public Builder creationTime(String creationTime) { + this.creationTime = Objects.requireNonNull(creationTime); + return this; + } + @CustomType.Setter + public Builder endpoints(List endpoints) { + this.endpoints = Objects.requireNonNull(endpoints); + return this; + } + public Builder endpoints(GetOntapStorageVirtualMachineEndpoint... endpoints) { + return endpoints(List.of(endpoints)); + } + @CustomType.Setter + public Builder fileSystemId(String fileSystemId) { + this.fileSystemId = Objects.requireNonNull(fileSystemId); + return this; + } + @CustomType.Setter + public Builder filters(@Nullable List filters) { + this.filters = filters; + return this; + } + public Builder filters(GetOntapStorageVirtualMachineFilter... filters) { + return filters(List.of(filters)); + } + @CustomType.Setter + public Builder id(String id) { + this.id = Objects.requireNonNull(id); + return this; + } + @CustomType.Setter + public Builder lifecycleStatus(String lifecycleStatus) { + this.lifecycleStatus = Objects.requireNonNull(lifecycleStatus); + return this; + } + @CustomType.Setter + public Builder lifecycleTransitionReasons(List lifecycleTransitionReasons) { + this.lifecycleTransitionReasons = Objects.requireNonNull(lifecycleTransitionReasons); + return this; + } + public Builder lifecycleTransitionReasons(GetOntapStorageVirtualMachineLifecycleTransitionReason... lifecycleTransitionReasons) { + return lifecycleTransitionReasons(List.of(lifecycleTransitionReasons)); + } + @CustomType.Setter + public Builder name(String name) { + this.name = Objects.requireNonNull(name); + return this; + } + @CustomType.Setter + public Builder subtype(String subtype) { + this.subtype = Objects.requireNonNull(subtype); + return this; + } + @CustomType.Setter + public Builder tags(Map tags) { + this.tags = Objects.requireNonNull(tags); + return this; + } + @CustomType.Setter + public Builder uuid(String uuid) { + this.uuid = Objects.requireNonNull(uuid); + return this; + } + public GetOntapStorageVirtualMachineResult build() { + final var o = new GetOntapStorageVirtualMachineResult(); + o.activeDirectoryConfigurations = activeDirectoryConfigurations; + o.arn = arn; + o.creationTime = creationTime; + o.endpoints = endpoints; + o.fileSystemId = fileSystemId; + o.filters = filters; + o.id = id; + o.lifecycleStatus = lifecycleStatus; + o.lifecycleTransitionReasons = lifecycleTransitionReasons; + o.name = name; + o.subtype = subtype; + o.tags = tags; + o.uuid = uuid; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/fsx/outputs/GetOntapStorageVirtualMachinesFilter.java b/sdk/java/src/main/java/com/pulumi/aws/fsx/outputs/GetOntapStorageVirtualMachinesFilter.java new file mode 100644 index 00000000000..aed1916cd59 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/fsx/outputs/GetOntapStorageVirtualMachinesFilter.java @@ -0,0 +1,78 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.aws.fsx.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetOntapStorageVirtualMachinesFilter { + /** + * @return Name of the field to filter by, as defined by [the underlying AWS API](https://docs.aws.amazon.com/fsx/latest/APIReference/API_StorageVirtualMachineFilter.html). + * + */ + private String name; + /** + * @return Set of values that are accepted for the given field. An SVM will be selected if any one of the given values matches. + * + */ + private List values; + + private GetOntapStorageVirtualMachinesFilter() {} + /** + * @return Name of the field to filter by, as defined by [the underlying AWS API](https://docs.aws.amazon.com/fsx/latest/APIReference/API_StorageVirtualMachineFilter.html). + * + */ + public String name() { + return this.name; + } + /** + * @return Set of values that are accepted for the given field. An SVM will be selected if any one of the given values matches. + * + */ + public List values() { + return this.values; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetOntapStorageVirtualMachinesFilter defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String name; + private List values; + public Builder() {} + public Builder(GetOntapStorageVirtualMachinesFilter defaults) { + Objects.requireNonNull(defaults); + this.name = defaults.name; + this.values = defaults.values; + } + + @CustomType.Setter + public Builder name(String name) { + this.name = Objects.requireNonNull(name); + return this; + } + @CustomType.Setter + public Builder values(List values) { + this.values = Objects.requireNonNull(values); + return this; + } + public Builder values(String... values) { + return values(List.of(values)); + } + public GetOntapStorageVirtualMachinesFilter build() { + final var o = new GetOntapStorageVirtualMachinesFilter(); + o.name = name; + o.values = values; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/fsx/outputs/GetOntapStorageVirtualMachinesResult.java b/sdk/java/src/main/java/com/pulumi/aws/fsx/outputs/GetOntapStorageVirtualMachinesResult.java new file mode 100644 index 00000000000..a86e48f9ee4 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/fsx/outputs/GetOntapStorageVirtualMachinesResult.java @@ -0,0 +1,95 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.aws.fsx.outputs; + +import com.pulumi.aws.fsx.outputs.GetOntapStorageVirtualMachinesFilter; +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import javax.annotation.Nullable; + +@CustomType +public final class GetOntapStorageVirtualMachinesResult { + private @Nullable List filters; + /** + * @return The provider-assigned unique ID for this managed resource. + * + */ + private String id; + /** + * @return List of all SVM IDs found. + * + */ + private List ids; + + private GetOntapStorageVirtualMachinesResult() {} + public List filters() { + return this.filters == null ? List.of() : this.filters; + } + /** + * @return The provider-assigned unique ID for this managed resource. + * + */ + public String id() { + return this.id; + } + /** + * @return List of all SVM IDs found. + * + */ + public List ids() { + return this.ids; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetOntapStorageVirtualMachinesResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable List filters; + private String id; + private List ids; + public Builder() {} + public Builder(GetOntapStorageVirtualMachinesResult defaults) { + Objects.requireNonNull(defaults); + this.filters = defaults.filters; + this.id = defaults.id; + this.ids = defaults.ids; + } + + @CustomType.Setter + public Builder filters(@Nullable List filters) { + this.filters = filters; + return this; + } + public Builder filters(GetOntapStorageVirtualMachinesFilter... filters) { + return filters(List.of(filters)); + } + @CustomType.Setter + public Builder id(String id) { + this.id = Objects.requireNonNull(id); + return this; + } + @CustomType.Setter + public Builder ids(List ids) { + this.ids = Objects.requireNonNull(ids); + return this; + } + public Builder ids(String... ids) { + return ids(List.of(ids)); + } + public GetOntapStorageVirtualMachinesResult build() { + final var o = new GetOntapStorageVirtualMachinesResult(); + o.filters = filters; + o.id = id; + o.ids = ids; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/mq/Broker.java b/sdk/java/src/main/java/com/pulumi/aws/mq/Broker.java index f8e69159e97..d14e2e59ce2 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/mq/Broker.java +++ b/sdk/java/src/main/java/com/pulumi/aws/mq/Broker.java @@ -29,7 +29,7 @@ * * > For more information on Amazon MQ, see [Amazon MQ documentation](https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/welcome.html). * - * > **NOTE:** Amazon MQ currently places limits on **RabbitMQ** brokers. For example, a RabbitMQ broker cannot have: instances with an associated IP address of an ENI attached to the broker, an associated LDAP server to authenticate and authorize broker connections, storage type `EFS`, audit logging, or `configuration` blocks. Although this resource allows you to create RabbitMQ users, RabbitMQ users cannot have console access or groups. Also, Amazon MQ does not return information about RabbitMQ users so drift detection is not possible. + * > **NOTE:** Amazon MQ currently places limits on **RabbitMQ** brokers. For example, a RabbitMQ broker cannot have: instances with an associated IP address of an ENI attached to the broker, an associated LDAP server to authenticate and authorize broker connections, storage type `EFS`, or audit logging. Although this resource allows you to create RabbitMQ users, RabbitMQ users cannot have console access or groups. Also, Amazon MQ does not return information about RabbitMQ users so drift detection is not possible. * * > **NOTE:** Changes to an MQ Broker can occur when you change a parameter, such as `configuration` or `user`, and are reflected in the next maintenance window. Because of this, the provider may report a difference in its planning phase because a modification has not yet taken place. You can use the `apply_immediately` flag to instruct the service to apply the change immediately (see documentation below). Using `apply_immediately` can result in a brief downtime as the broker reboots. * @@ -204,14 +204,14 @@ public Output brokerName() { return this.brokerName; } /** - * Configuration block for broker configuration. Applies to `engine_type` of `ActiveMQ` only. Detailed below. + * Configuration block for broker configuration. Applies to `engine_type` of `ActiveMQ` and `RabbitMQ` only. Detailed below. * */ @Export(name="configuration", refs={BrokerConfiguration.class}, tree="[0]") private Output configuration; /** - * @return Configuration block for broker configuration. Applies to `engine_type` of `ActiveMQ` only. Detailed below. + * @return Configuration block for broker configuration. Applies to `engine_type` of `ActiveMQ` and `RabbitMQ` only. Detailed below. * */ public Output configuration() { diff --git a/sdk/java/src/main/java/com/pulumi/aws/mq/BrokerArgs.java b/sdk/java/src/main/java/com/pulumi/aws/mq/BrokerArgs.java index 3e29a2c4a53..745698f65bd 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/mq/BrokerArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/mq/BrokerArgs.java @@ -85,14 +85,14 @@ public Optional> brokerName() { } /** - * Configuration block for broker configuration. Applies to `engine_type` of `ActiveMQ` only. Detailed below. + * Configuration block for broker configuration. Applies to `engine_type` of `ActiveMQ` and `RabbitMQ` only. Detailed below. * */ @Import(name="configuration") private @Nullable Output configuration; /** - * @return Configuration block for broker configuration. Applies to `engine_type` of `ActiveMQ` only. Detailed below. + * @return Configuration block for broker configuration. Applies to `engine_type` of `ActiveMQ` and `RabbitMQ` only. Detailed below. * */ public Optional> configuration() { @@ -440,7 +440,7 @@ public Builder brokerName(String brokerName) { } /** - * @param configuration Configuration block for broker configuration. Applies to `engine_type` of `ActiveMQ` only. Detailed below. + * @param configuration Configuration block for broker configuration. Applies to `engine_type` of `ActiveMQ` and `RabbitMQ` only. Detailed below. * * @return builder * @@ -451,7 +451,7 @@ public Builder configuration(@Nullable Output configura } /** - * @param configuration Configuration block for broker configuration. Applies to `engine_type` of `ActiveMQ` only. Detailed below. + * @param configuration Configuration block for broker configuration. Applies to `engine_type` of `ActiveMQ` and `RabbitMQ` only. Detailed below. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/aws/mq/Configuration.java b/sdk/java/src/main/java/com/pulumi/aws/mq/Configuration.java index 035c68e518e..be8d3791172 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/mq/Configuration.java +++ b/sdk/java/src/main/java/com/pulumi/aws/mq/Configuration.java @@ -23,6 +23,7 @@ * For more information on Amazon MQ, see [Amazon MQ documentation](https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/welcome.html). * * ## Example Usage + * ### ActiveMQ * ```java * package generated_program; * @@ -64,6 +65,42 @@ * } * } * ``` + * ### RabbitMQ + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.aws.mq.Configuration; + * import com.pulumi.aws.mq.ConfigurationArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * var example = new Configuration("example", ConfigurationArgs.builder() + * .data(""" + * # Default RabbitMQ delivery acknowledgement timeout is 30 minutes in milliseconds + * consumer_timeout = 1800000 + * + * """) + * .description("Example Configuration") + * .engineType("RabbitMQ") + * .engineVersion("3.11.16") + * .build()); + * + * } + * } + * ``` * * ## Import * @@ -105,14 +142,14 @@ public Output authenticationStrategy() { return this.authenticationStrategy; } /** - * Broker configuration in XML format. See [official docs](https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/amazon-mq-broker-configuration-parameters.html) for supported parameters and format of the XML. + * Broker configuration in XML format for `ActiveMQ` or [Cuttlefish](https://github.com/Kyorai/cuttlefish) format for `RabbitMQ`. See [official docs](https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/amazon-mq-broker-configuration-parameters.html) for supported parameters and format of the XML. * */ @Export(name="data", refs={String.class}, tree="[0]") private Output data; /** - * @return Broker configuration in XML format. See [official docs](https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/amazon-mq-broker-configuration-parameters.html) for supported parameters and format of the XML. + * @return Broker configuration in XML format for `ActiveMQ` or [Cuttlefish](https://github.com/Kyorai/cuttlefish) format for `RabbitMQ`. See [official docs](https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/amazon-mq-broker-configuration-parameters.html) for supported parameters and format of the XML. * */ public Output data() { diff --git a/sdk/java/src/main/java/com/pulumi/aws/mq/ConfigurationArgs.java b/sdk/java/src/main/java/com/pulumi/aws/mq/ConfigurationArgs.java index 69a1ee71adb..19cd7b938d3 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/mq/ConfigurationArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/mq/ConfigurationArgs.java @@ -32,14 +32,14 @@ public Optional> authenticationStrategy() { } /** - * Broker configuration in XML format. See [official docs](https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/amazon-mq-broker-configuration-parameters.html) for supported parameters and format of the XML. + * Broker configuration in XML format for `ActiveMQ` or [Cuttlefish](https://github.com/Kyorai/cuttlefish) format for `RabbitMQ`. See [official docs](https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/amazon-mq-broker-configuration-parameters.html) for supported parameters and format of the XML. * */ @Import(name="data", required=true) private Output data; /** - * @return Broker configuration in XML format. See [official docs](https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/amazon-mq-broker-configuration-parameters.html) for supported parameters and format of the XML. + * @return Broker configuration in XML format for `ActiveMQ` or [Cuttlefish](https://github.com/Kyorai/cuttlefish) format for `RabbitMQ`. See [official docs](https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/amazon-mq-broker-configuration-parameters.html) for supported parameters and format of the XML. * */ public Output data() { @@ -177,7 +177,7 @@ public Builder authenticationStrategy(String authenticationStrategy) { } /** - * @param data Broker configuration in XML format. See [official docs](https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/amazon-mq-broker-configuration-parameters.html) for supported parameters and format of the XML. + * @param data Broker configuration in XML format for `ActiveMQ` or [Cuttlefish](https://github.com/Kyorai/cuttlefish) format for `RabbitMQ`. See [official docs](https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/amazon-mq-broker-configuration-parameters.html) for supported parameters and format of the XML. * * @return builder * @@ -188,7 +188,7 @@ public Builder data(Output data) { } /** - * @param data Broker configuration in XML format. See [official docs](https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/amazon-mq-broker-configuration-parameters.html) for supported parameters and format of the XML. + * @param data Broker configuration in XML format for `ActiveMQ` or [Cuttlefish](https://github.com/Kyorai/cuttlefish) format for `RabbitMQ`. See [official docs](https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/amazon-mq-broker-configuration-parameters.html) for supported parameters and format of the XML. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/aws/mq/inputs/BrokerState.java b/sdk/java/src/main/java/com/pulumi/aws/mq/inputs/BrokerState.java index 34738e341c9..363d84278fa 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/mq/inputs/BrokerState.java +++ b/sdk/java/src/main/java/com/pulumi/aws/mq/inputs/BrokerState.java @@ -101,14 +101,14 @@ public Optional> brokerName() { } /** - * Configuration block for broker configuration. Applies to `engine_type` of `ActiveMQ` only. Detailed below. + * Configuration block for broker configuration. Applies to `engine_type` of `ActiveMQ` and `RabbitMQ` only. Detailed below. * */ @Import(name="configuration") private @Nullable Output configuration; /** - * @return Configuration block for broker configuration. Applies to `engine_type` of `ActiveMQ` only. Detailed below. + * @return Configuration block for broker configuration. Applies to `engine_type` of `ActiveMQ` and `RabbitMQ` only. Detailed below. * */ public Optional> configuration() { @@ -540,7 +540,7 @@ public Builder brokerName(String brokerName) { } /** - * @param configuration Configuration block for broker configuration. Applies to `engine_type` of `ActiveMQ` only. Detailed below. + * @param configuration Configuration block for broker configuration. Applies to `engine_type` of `ActiveMQ` and `RabbitMQ` only. Detailed below. * * @return builder * @@ -551,7 +551,7 @@ public Builder configuration(@Nullable Output configura } /** - * @param configuration Configuration block for broker configuration. Applies to `engine_type` of `ActiveMQ` only. Detailed below. + * @param configuration Configuration block for broker configuration. Applies to `engine_type` of `ActiveMQ` and `RabbitMQ` only. Detailed below. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/aws/mq/inputs/ConfigurationState.java b/sdk/java/src/main/java/com/pulumi/aws/mq/inputs/ConfigurationState.java index 71ebb85dd19..2058ef5bcf1 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/mq/inputs/ConfigurationState.java +++ b/sdk/java/src/main/java/com/pulumi/aws/mq/inputs/ConfigurationState.java @@ -48,14 +48,14 @@ public Optional> authenticationStrategy() { } /** - * Broker configuration in XML format. See [official docs](https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/amazon-mq-broker-configuration-parameters.html) for supported parameters and format of the XML. + * Broker configuration in XML format for `ActiveMQ` or [Cuttlefish](https://github.com/Kyorai/cuttlefish) format for `RabbitMQ`. See [official docs](https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/amazon-mq-broker-configuration-parameters.html) for supported parameters and format of the XML. * */ @Import(name="data") private @Nullable Output data; /** - * @return Broker configuration in XML format. See [official docs](https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/amazon-mq-broker-configuration-parameters.html) for supported parameters and format of the XML. + * @return Broker configuration in XML format for `ActiveMQ` or [Cuttlefish](https://github.com/Kyorai/cuttlefish) format for `RabbitMQ`. See [official docs](https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/amazon-mq-broker-configuration-parameters.html) for supported parameters and format of the XML. * */ public Optional> data() { @@ -255,7 +255,7 @@ public Builder authenticationStrategy(String authenticationStrategy) { } /** - * @param data Broker configuration in XML format. See [official docs](https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/amazon-mq-broker-configuration-parameters.html) for supported parameters and format of the XML. + * @param data Broker configuration in XML format for `ActiveMQ` or [Cuttlefish](https://github.com/Kyorai/cuttlefish) format for `RabbitMQ`. See [official docs](https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/amazon-mq-broker-configuration-parameters.html) for supported parameters and format of the XML. * * @return builder * @@ -266,7 +266,7 @@ public Builder data(@Nullable Output data) { } /** - * @param data Broker configuration in XML format. See [official docs](https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/amazon-mq-broker-configuration-parameters.html) for supported parameters and format of the XML. + * @param data Broker configuration in XML format for `ActiveMQ` or [Cuttlefish](https://github.com/Kyorai/cuttlefish) format for `RabbitMQ`. See [official docs](https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/amazon-mq-broker-configuration-parameters.html) for supported parameters and format of the XML. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/aws/opensearch/Package.java b/sdk/java/src/main/java/com/pulumi/aws/opensearch/Package.java new file mode 100644 index 00000000000..49e548f48d0 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/opensearch/Package.java @@ -0,0 +1,159 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.aws.opensearch; + +import com.pulumi.aws.Utilities; +import com.pulumi.aws.opensearch.PackageArgs; +import com.pulumi.aws.opensearch.inputs.PackageState; +import com.pulumi.aws.opensearch.outputs.PackagePackageSource; +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Export; +import com.pulumi.core.annotations.ResourceType; +import com.pulumi.core.internal.Codegen; +import java.lang.String; +import java.util.Optional; +import javax.annotation.Nullable; + +/** + * Manages an AWS Opensearch Package. + * + * ## Example Usage + * + * ## Import + * + * terraform import { + * + * to = aws_opensearch_package.example + * + * id = "package-id" } Using `pulumi import`, import AWS Opensearch Packages using the Package ID. For exampleconsole % pulumi import aws:opensearch/package:Package example package-id + * + */ +@ResourceType(type="aws:opensearch/package:Package") +public class Package extends com.pulumi.resources.CustomResource { + /** + * The current version of the package. + * + */ + @Export(name="availablePackageVersion", refs={String.class}, tree="[0]") + private Output availablePackageVersion; + + /** + * @return The current version of the package. + * + */ + public Output availablePackageVersion() { + return this.availablePackageVersion; + } + /** + * Description of the package. + * + */ + @Export(name="packageDescription", refs={String.class}, tree="[0]") + private Output packageDescription; + + /** + * @return Description of the package. + * + */ + public Output> packageDescription() { + return Codegen.optional(this.packageDescription); + } + @Export(name="packageId", refs={String.class}, tree="[0]") + private Output packageId; + + public Output packageId() { + return this.packageId; + } + /** + * Unique name for the package. + * + */ + @Export(name="packageName", refs={String.class}, tree="[0]") + private Output packageName; + + /** + * @return Unique name for the package. + * + */ + public Output packageName() { + return this.packageName; + } + /** + * Configuration block for the package source options. + * + */ + @Export(name="packageSource", refs={PackagePackageSource.class}, tree="[0]") + private Output packageSource; + + /** + * @return Configuration block for the package source options. + * + */ + public Output packageSource() { + return this.packageSource; + } + /** + * The type of package. + * + */ + @Export(name="packageType", refs={String.class}, tree="[0]") + private Output packageType; + + /** + * @return The type of package. + * + */ + public Output packageType() { + return this.packageType; + } + + /** + * + * @param name The _unique_ name of the resulting resource. + */ + public Package(String name) { + this(name, PackageArgs.Empty); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + */ + public Package(String name, PackageArgs args) { + this(name, args, null); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + * @param options A bag of options that control this resource's behavior. + */ + public Package(String name, PackageArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("aws:opensearch/package:Package", name, args == null ? PackageArgs.Empty : args, makeResourceOptions(options, Codegen.empty())); + } + + private Package(String name, Output id, @Nullable PackageState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("aws:opensearch/package:Package", name, state, makeResourceOptions(options, id)); + } + + private static com.pulumi.resources.CustomResourceOptions makeResourceOptions(@Nullable com.pulumi.resources.CustomResourceOptions options, @Nullable Output id) { + var defaultOptions = com.pulumi.resources.CustomResourceOptions.builder() + .version(Utilities.getVersion()) + .build(); + return com.pulumi.resources.CustomResourceOptions.merge(defaultOptions, options, id); + } + + /** + * Get an existing Host resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param state + * @param options Optional settings to control the behavior of the CustomResource. + */ + public static Package get(String name, Output id, @Nullable PackageState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + return new Package(name, id, state, options); + } +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/opensearch/PackageArgs.java b/sdk/java/src/main/java/com/pulumi/aws/opensearch/PackageArgs.java new file mode 100644 index 00000000000..baa9dd67ab9 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/opensearch/PackageArgs.java @@ -0,0 +1,198 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.aws.opensearch; + +import com.pulumi.aws.opensearch.inputs.PackagePackageSourceArgs; +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class PackageArgs extends com.pulumi.resources.ResourceArgs { + + public static final PackageArgs Empty = new PackageArgs(); + + /** + * Description of the package. + * + */ + @Import(name="packageDescription") + private @Nullable Output packageDescription; + + /** + * @return Description of the package. + * + */ + public Optional> packageDescription() { + return Optional.ofNullable(this.packageDescription); + } + + /** + * Unique name for the package. + * + */ + @Import(name="packageName", required=true) + private Output packageName; + + /** + * @return Unique name for the package. + * + */ + public Output packageName() { + return this.packageName; + } + + /** + * Configuration block for the package source options. + * + */ + @Import(name="packageSource", required=true) + private Output packageSource; + + /** + * @return Configuration block for the package source options. + * + */ + public Output packageSource() { + return this.packageSource; + } + + /** + * The type of package. + * + */ + @Import(name="packageType", required=true) + private Output packageType; + + /** + * @return The type of package. + * + */ + public Output packageType() { + return this.packageType; + } + + private PackageArgs() {} + + private PackageArgs(PackageArgs $) { + this.packageDescription = $.packageDescription; + this.packageName = $.packageName; + this.packageSource = $.packageSource; + this.packageType = $.packageType; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(PackageArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private PackageArgs $; + + public Builder() { + $ = new PackageArgs(); + } + + public Builder(PackageArgs defaults) { + $ = new PackageArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param packageDescription Description of the package. + * + * @return builder + * + */ + public Builder packageDescription(@Nullable Output packageDescription) { + $.packageDescription = packageDescription; + return this; + } + + /** + * @param packageDescription Description of the package. + * + * @return builder + * + */ + public Builder packageDescription(String packageDescription) { + return packageDescription(Output.of(packageDescription)); + } + + /** + * @param packageName Unique name for the package. + * + * @return builder + * + */ + public Builder packageName(Output packageName) { + $.packageName = packageName; + return this; + } + + /** + * @param packageName Unique name for the package. + * + * @return builder + * + */ + public Builder packageName(String packageName) { + return packageName(Output.of(packageName)); + } + + /** + * @param packageSource Configuration block for the package source options. + * + * @return builder + * + */ + public Builder packageSource(Output packageSource) { + $.packageSource = packageSource; + return this; + } + + /** + * @param packageSource Configuration block for the package source options. + * + * @return builder + * + */ + public Builder packageSource(PackagePackageSourceArgs packageSource) { + return packageSource(Output.of(packageSource)); + } + + /** + * @param packageType The type of package. + * + * @return builder + * + */ + public Builder packageType(Output packageType) { + $.packageType = packageType; + return this; + } + + /** + * @param packageType The type of package. + * + * @return builder + * + */ + public Builder packageType(String packageType) { + return packageType(Output.of(packageType)); + } + + public PackageArgs build() { + $.packageName = Objects.requireNonNull($.packageName, "expected parameter 'packageName' to be non-null"); + $.packageSource = Objects.requireNonNull($.packageSource, "expected parameter 'packageSource' to be non-null"); + $.packageType = Objects.requireNonNull($.packageType, "expected parameter 'packageType' to be non-null"); + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/opensearch/PackageAssociation.java b/sdk/java/src/main/java/com/pulumi/aws/opensearch/PackageAssociation.java new file mode 100644 index 00000000000..e5b08f29fe9 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/opensearch/PackageAssociation.java @@ -0,0 +1,159 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.aws.opensearch; + +import com.pulumi.aws.Utilities; +import com.pulumi.aws.opensearch.PackageAssociationArgs; +import com.pulumi.aws.opensearch.inputs.PackageAssociationState; +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Export; +import com.pulumi.core.annotations.ResourceType; +import com.pulumi.core.internal.Codegen; +import java.lang.String; +import javax.annotation.Nullable; + +/** + * Manages an AWS Opensearch Package Association. + * + * ## Example Usage + * ### Basic Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.aws.opensearch.Domain; + * import com.pulumi.aws.opensearch.DomainArgs; + * import com.pulumi.aws.opensearch.inputs.DomainClusterConfigArgs; + * import com.pulumi.aws.opensearch.Package; + * import com.pulumi.aws.opensearch.PackageArgs; + * import com.pulumi.aws.opensearch.inputs.PackagePackageSourceArgs; + * import com.pulumi.aws.opensearch.PackageAssociation; + * import com.pulumi.aws.opensearch.PackageAssociationArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * var myDomain = new Domain("myDomain", DomainArgs.builder() + * .engineVersion("Elasticsearch_7.10") + * .clusterConfig(DomainClusterConfigArgs.builder() + * .instanceType("r4.large.search") + * .build()) + * .build()); + * + * var examplePackage = new Package("examplePackage", PackageArgs.builder() + * .packageName("example-txt") + * .packageSource(PackagePackageSourceArgs.builder() + * .s3BucketName(aws_s3_bucket.my_opensearch_packages().bucket()) + * .s3Key(aws_s3_object.example().key()) + * .build()) + * .packageType("TXT-DICTIONARY") + * .build()); + * + * var examplePackageAssociation = new PackageAssociation("examplePackageAssociation", PackageAssociationArgs.builder() + * .packageId(examplePackage.id()) + * .domainName(myDomain.domainName()) + * .build()); + * + * } + * } + * ``` + * + */ +@ResourceType(type="aws:opensearch/packageAssociation:PackageAssociation") +public class PackageAssociation extends com.pulumi.resources.CustomResource { + /** + * Name of the domain to associate the package with. + * + */ + @Export(name="domainName", refs={String.class}, tree="[0]") + private Output domainName; + + /** + * @return Name of the domain to associate the package with. + * + */ + public Output domainName() { + return this.domainName; + } + /** + * Internal ID of the package to associate with a domain. + * + */ + @Export(name="packageId", refs={String.class}, tree="[0]") + private Output packageId; + + /** + * @return Internal ID of the package to associate with a domain. + * + */ + public Output packageId() { + return this.packageId; + } + @Export(name="referencePath", refs={String.class}, tree="[0]") + private Output referencePath; + + public Output referencePath() { + return this.referencePath; + } + + /** + * + * @param name The _unique_ name of the resulting resource. + */ + public PackageAssociation(String name) { + this(name, PackageAssociationArgs.Empty); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + */ + public PackageAssociation(String name, PackageAssociationArgs args) { + this(name, args, null); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + * @param options A bag of options that control this resource's behavior. + */ + public PackageAssociation(String name, PackageAssociationArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("aws:opensearch/packageAssociation:PackageAssociation", name, args == null ? PackageAssociationArgs.Empty : args, makeResourceOptions(options, Codegen.empty())); + } + + private PackageAssociation(String name, Output id, @Nullable PackageAssociationState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("aws:opensearch/packageAssociation:PackageAssociation", name, state, makeResourceOptions(options, id)); + } + + private static com.pulumi.resources.CustomResourceOptions makeResourceOptions(@Nullable com.pulumi.resources.CustomResourceOptions options, @Nullable Output id) { + var defaultOptions = com.pulumi.resources.CustomResourceOptions.builder() + .version(Utilities.getVersion()) + .build(); + return com.pulumi.resources.CustomResourceOptions.merge(defaultOptions, options, id); + } + + /** + * Get an existing Host resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param state + * @param options Optional settings to control the behavior of the CustomResource. + */ + public static PackageAssociation get(String name, Output id, @Nullable PackageAssociationState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + return new PackageAssociation(name, id, state, options); + } +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/opensearch/PackageAssociationArgs.java b/sdk/java/src/main/java/com/pulumi/aws/opensearch/PackageAssociationArgs.java new file mode 100644 index 00000000000..6688878512f --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/opensearch/PackageAssociationArgs.java @@ -0,0 +1,120 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.aws.opensearch; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; + + +public final class PackageAssociationArgs extends com.pulumi.resources.ResourceArgs { + + public static final PackageAssociationArgs Empty = new PackageAssociationArgs(); + + /** + * Name of the domain to associate the package with. + * + */ + @Import(name="domainName", required=true) + private Output domainName; + + /** + * @return Name of the domain to associate the package with. + * + */ + public Output domainName() { + return this.domainName; + } + + /** + * Internal ID of the package to associate with a domain. + * + */ + @Import(name="packageId", required=true) + private Output packageId; + + /** + * @return Internal ID of the package to associate with a domain. + * + */ + public Output packageId() { + return this.packageId; + } + + private PackageAssociationArgs() {} + + private PackageAssociationArgs(PackageAssociationArgs $) { + this.domainName = $.domainName; + this.packageId = $.packageId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(PackageAssociationArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private PackageAssociationArgs $; + + public Builder() { + $ = new PackageAssociationArgs(); + } + + public Builder(PackageAssociationArgs defaults) { + $ = new PackageAssociationArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param domainName Name of the domain to associate the package with. + * + * @return builder + * + */ + public Builder domainName(Output domainName) { + $.domainName = domainName; + return this; + } + + /** + * @param domainName Name of the domain to associate the package with. + * + * @return builder + * + */ + public Builder domainName(String domainName) { + return domainName(Output.of(domainName)); + } + + /** + * @param packageId Internal ID of the package to associate with a domain. + * + * @return builder + * + */ + public Builder packageId(Output packageId) { + $.packageId = packageId; + return this; + } + + /** + * @param packageId Internal ID of the package to associate with a domain. + * + * @return builder + * + */ + public Builder packageId(String packageId) { + return packageId(Output.of(packageId)); + } + + public PackageAssociationArgs build() { + $.domainName = Objects.requireNonNull($.domainName, "expected parameter 'domainName' to be non-null"); + $.packageId = Objects.requireNonNull($.packageId, "expected parameter 'packageId' to be non-null"); + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/opensearch/inputs/PackageAssociationState.java b/sdk/java/src/main/java/com/pulumi/aws/opensearch/inputs/PackageAssociationState.java new file mode 100644 index 00000000000..0d8f97e0b77 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/opensearch/inputs/PackageAssociationState.java @@ -0,0 +1,137 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.aws.opensearch.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class PackageAssociationState extends com.pulumi.resources.ResourceArgs { + + public static final PackageAssociationState Empty = new PackageAssociationState(); + + /** + * Name of the domain to associate the package with. + * + */ + @Import(name="domainName") + private @Nullable Output domainName; + + /** + * @return Name of the domain to associate the package with. + * + */ + public Optional> domainName() { + return Optional.ofNullable(this.domainName); + } + + /** + * Internal ID of the package to associate with a domain. + * + */ + @Import(name="packageId") + private @Nullable Output packageId; + + /** + * @return Internal ID of the package to associate with a domain. + * + */ + public Optional> packageId() { + return Optional.ofNullable(this.packageId); + } + + @Import(name="referencePath") + private @Nullable Output referencePath; + + public Optional> referencePath() { + return Optional.ofNullable(this.referencePath); + } + + private PackageAssociationState() {} + + private PackageAssociationState(PackageAssociationState $) { + this.domainName = $.domainName; + this.packageId = $.packageId; + this.referencePath = $.referencePath; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(PackageAssociationState defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private PackageAssociationState $; + + public Builder() { + $ = new PackageAssociationState(); + } + + public Builder(PackageAssociationState defaults) { + $ = new PackageAssociationState(Objects.requireNonNull(defaults)); + } + + /** + * @param domainName Name of the domain to associate the package with. + * + * @return builder + * + */ + public Builder domainName(@Nullable Output domainName) { + $.domainName = domainName; + return this; + } + + /** + * @param domainName Name of the domain to associate the package with. + * + * @return builder + * + */ + public Builder domainName(String domainName) { + return domainName(Output.of(domainName)); + } + + /** + * @param packageId Internal ID of the package to associate with a domain. + * + * @return builder + * + */ + public Builder packageId(@Nullable Output packageId) { + $.packageId = packageId; + return this; + } + + /** + * @param packageId Internal ID of the package to associate with a domain. + * + * @return builder + * + */ + public Builder packageId(String packageId) { + return packageId(Output.of(packageId)); + } + + public Builder referencePath(@Nullable Output referencePath) { + $.referencePath = referencePath; + return this; + } + + public Builder referencePath(String referencePath) { + return referencePath(Output.of(referencePath)); + } + + public PackageAssociationState build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/opensearch/inputs/PackagePackageSourceArgs.java b/sdk/java/src/main/java/com/pulumi/aws/opensearch/inputs/PackagePackageSourceArgs.java new file mode 100644 index 00000000000..84c1c24fcc8 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/opensearch/inputs/PackagePackageSourceArgs.java @@ -0,0 +1,120 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.aws.opensearch.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; + + +public final class PackagePackageSourceArgs extends com.pulumi.resources.ResourceArgs { + + public static final PackagePackageSourceArgs Empty = new PackagePackageSourceArgs(); + + /** + * The name of the Amazon S3 bucket containing the package. + * + */ + @Import(name="s3BucketName", required=true) + private Output s3BucketName; + + /** + * @return The name of the Amazon S3 bucket containing the package. + * + */ + public Output s3BucketName() { + return this.s3BucketName; + } + + /** + * Key (file name) of the package. + * + */ + @Import(name="s3Key", required=true) + private Output s3Key; + + /** + * @return Key (file name) of the package. + * + */ + public Output s3Key() { + return this.s3Key; + } + + private PackagePackageSourceArgs() {} + + private PackagePackageSourceArgs(PackagePackageSourceArgs $) { + this.s3BucketName = $.s3BucketName; + this.s3Key = $.s3Key; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(PackagePackageSourceArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private PackagePackageSourceArgs $; + + public Builder() { + $ = new PackagePackageSourceArgs(); + } + + public Builder(PackagePackageSourceArgs defaults) { + $ = new PackagePackageSourceArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param s3BucketName The name of the Amazon S3 bucket containing the package. + * + * @return builder + * + */ + public Builder s3BucketName(Output s3BucketName) { + $.s3BucketName = s3BucketName; + return this; + } + + /** + * @param s3BucketName The name of the Amazon S3 bucket containing the package. + * + * @return builder + * + */ + public Builder s3BucketName(String s3BucketName) { + return s3BucketName(Output.of(s3BucketName)); + } + + /** + * @param s3Key Key (file name) of the package. + * + * @return builder + * + */ + public Builder s3Key(Output s3Key) { + $.s3Key = s3Key; + return this; + } + + /** + * @param s3Key Key (file name) of the package. + * + * @return builder + * + */ + public Builder s3Key(String s3Key) { + return s3Key(Output.of(s3Key)); + } + + public PackagePackageSourceArgs build() { + $.s3BucketName = Objects.requireNonNull($.s3BucketName, "expected parameter 's3BucketName' to be non-null"); + $.s3Key = Objects.requireNonNull($.s3Key, "expected parameter 's3Key' to be non-null"); + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/opensearch/inputs/PackageState.java b/sdk/java/src/main/java/com/pulumi/aws/opensearch/inputs/PackageState.java new file mode 100644 index 00000000000..2222f51092b --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/opensearch/inputs/PackageState.java @@ -0,0 +1,249 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.aws.opensearch.inputs; + +import com.pulumi.aws.opensearch.inputs.PackagePackageSourceArgs; +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class PackageState extends com.pulumi.resources.ResourceArgs { + + public static final PackageState Empty = new PackageState(); + + /** + * The current version of the package. + * + */ + @Import(name="availablePackageVersion") + private @Nullable Output availablePackageVersion; + + /** + * @return The current version of the package. + * + */ + public Optional> availablePackageVersion() { + return Optional.ofNullable(this.availablePackageVersion); + } + + /** + * Description of the package. + * + */ + @Import(name="packageDescription") + private @Nullable Output packageDescription; + + /** + * @return Description of the package. + * + */ + public Optional> packageDescription() { + return Optional.ofNullable(this.packageDescription); + } + + @Import(name="packageId") + private @Nullable Output packageId; + + public Optional> packageId() { + return Optional.ofNullable(this.packageId); + } + + /** + * Unique name for the package. + * + */ + @Import(name="packageName") + private @Nullable Output packageName; + + /** + * @return Unique name for the package. + * + */ + public Optional> packageName() { + return Optional.ofNullable(this.packageName); + } + + /** + * Configuration block for the package source options. + * + */ + @Import(name="packageSource") + private @Nullable Output packageSource; + + /** + * @return Configuration block for the package source options. + * + */ + public Optional> packageSource() { + return Optional.ofNullable(this.packageSource); + } + + /** + * The type of package. + * + */ + @Import(name="packageType") + private @Nullable Output packageType; + + /** + * @return The type of package. + * + */ + public Optional> packageType() { + return Optional.ofNullable(this.packageType); + } + + private PackageState() {} + + private PackageState(PackageState $) { + this.availablePackageVersion = $.availablePackageVersion; + this.packageDescription = $.packageDescription; + this.packageId = $.packageId; + this.packageName = $.packageName; + this.packageSource = $.packageSource; + this.packageType = $.packageType; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(PackageState defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private PackageState $; + + public Builder() { + $ = new PackageState(); + } + + public Builder(PackageState defaults) { + $ = new PackageState(Objects.requireNonNull(defaults)); + } + + /** + * @param availablePackageVersion The current version of the package. + * + * @return builder + * + */ + public Builder availablePackageVersion(@Nullable Output availablePackageVersion) { + $.availablePackageVersion = availablePackageVersion; + return this; + } + + /** + * @param availablePackageVersion The current version of the package. + * + * @return builder + * + */ + public Builder availablePackageVersion(String availablePackageVersion) { + return availablePackageVersion(Output.of(availablePackageVersion)); + } + + /** + * @param packageDescription Description of the package. + * + * @return builder + * + */ + public Builder packageDescription(@Nullable Output packageDescription) { + $.packageDescription = packageDescription; + return this; + } + + /** + * @param packageDescription Description of the package. + * + * @return builder + * + */ + public Builder packageDescription(String packageDescription) { + return packageDescription(Output.of(packageDescription)); + } + + public Builder packageId(@Nullable Output packageId) { + $.packageId = packageId; + return this; + } + + public Builder packageId(String packageId) { + return packageId(Output.of(packageId)); + } + + /** + * @param packageName Unique name for the package. + * + * @return builder + * + */ + public Builder packageName(@Nullable Output packageName) { + $.packageName = packageName; + return this; + } + + /** + * @param packageName Unique name for the package. + * + * @return builder + * + */ + public Builder packageName(String packageName) { + return packageName(Output.of(packageName)); + } + + /** + * @param packageSource Configuration block for the package source options. + * + * @return builder + * + */ + public Builder packageSource(@Nullable Output packageSource) { + $.packageSource = packageSource; + return this; + } + + /** + * @param packageSource Configuration block for the package source options. + * + * @return builder + * + */ + public Builder packageSource(PackagePackageSourceArgs packageSource) { + return packageSource(Output.of(packageSource)); + } + + /** + * @param packageType The type of package. + * + * @return builder + * + */ + public Builder packageType(@Nullable Output packageType) { + $.packageType = packageType; + return this; + } + + /** + * @param packageType The type of package. + * + * @return builder + * + */ + public Builder packageType(String packageType) { + return packageType(Output.of(packageType)); + } + + public PackageState build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/opensearch/outputs/PackagePackageSource.java b/sdk/java/src/main/java/com/pulumi/aws/opensearch/outputs/PackagePackageSource.java new file mode 100644 index 00000000000..4ea8186592c --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/opensearch/outputs/PackagePackageSource.java @@ -0,0 +1,74 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.aws.opensearch.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class PackagePackageSource { + /** + * @return The name of the Amazon S3 bucket containing the package. + * + */ + private String s3BucketName; + /** + * @return Key (file name) of the package. + * + */ + private String s3Key; + + private PackagePackageSource() {} + /** + * @return The name of the Amazon S3 bucket containing the package. + * + */ + public String s3BucketName() { + return this.s3BucketName; + } + /** + * @return Key (file name) of the package. + * + */ + public String s3Key() { + return this.s3Key; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(PackagePackageSource defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String s3BucketName; + private String s3Key; + public Builder() {} + public Builder(PackagePackageSource defaults) { + Objects.requireNonNull(defaults); + this.s3BucketName = defaults.s3BucketName; + this.s3Key = defaults.s3Key; + } + + @CustomType.Setter + public Builder s3BucketName(String s3BucketName) { + this.s3BucketName = Objects.requireNonNull(s3BucketName); + return this; + } + @CustomType.Setter + public Builder s3Key(String s3Key) { + this.s3Key = Objects.requireNonNull(s3Key); + return this; + } + public PackagePackageSource build() { + final var o = new PackagePackageSource(); + o.s3BucketName = s3BucketName; + o.s3Key = s3Key; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/organizations/OrganizationsFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/organizations/OrganizationsFunctions.java index 89875baebfc..3ba3fe740c0 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/organizations/OrganizationsFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/organizations/OrganizationsFunctions.java @@ -8,10 +8,12 @@ import com.pulumi.aws.organizations.inputs.GetDelegatedAdministratorsPlainArgs; import com.pulumi.aws.organizations.inputs.GetDelegatedServicesArgs; import com.pulumi.aws.organizations.inputs.GetDelegatedServicesPlainArgs; +import com.pulumi.aws.organizations.inputs.GetOrganizationalUnitArgs; import com.pulumi.aws.organizations.inputs.GetOrganizationalUnitChildAccountsArgs; import com.pulumi.aws.organizations.inputs.GetOrganizationalUnitChildAccountsPlainArgs; import com.pulumi.aws.organizations.inputs.GetOrganizationalUnitDescendantAccountsArgs; import com.pulumi.aws.organizations.inputs.GetOrganizationalUnitDescendantAccountsPlainArgs; +import com.pulumi.aws.organizations.inputs.GetOrganizationalUnitPlainArgs; import com.pulumi.aws.organizations.inputs.GetOrganizationalUnitsArgs; import com.pulumi.aws.organizations.inputs.GetOrganizationalUnitsPlainArgs; import com.pulumi.aws.organizations.inputs.GetPoliciesArgs; @@ -27,6 +29,7 @@ import com.pulumi.aws.organizations.outputs.GetOrganizationResult; import com.pulumi.aws.organizations.outputs.GetOrganizationalUnitChildAccountsResult; import com.pulumi.aws.organizations.outputs.GetOrganizationalUnitDescendantAccountsResult; +import com.pulumi.aws.organizations.outputs.GetOrganizationalUnitResult; import com.pulumi.aws.organizations.outputs.GetOrganizationalUnitsResult; import com.pulumi.aws.organizations.outputs.GetPoliciesForTargetResult; import com.pulumi.aws.organizations.outputs.GetPoliciesResult; @@ -968,6 +971,170 @@ public static Output getOrganization(InvokeArgs args, Inv public static CompletableFuture getOrganizationPlain(InvokeArgs args, InvokeOptions options) { return Deployment.getInstance().invokeAsync("aws:organizations/getOrganization:getOrganization", TypeShape.of(GetOrganizationResult.class), args, Utilities.withVersion(options)); } + /** + * Data source for getting an AWS Organizations Organizational Unit. + * + * ## Example Usage + * ### Basic Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.aws.organizations.OrganizationsFunctions; + * import com.pulumi.aws.organizations.inputs.GetOrganizationalUnitArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var org = OrganizationsFunctions.getOrganization(); + * + * final var ou = OrganizationsFunctions.getOrganizationalUnit(GetOrganizationalUnitArgs.builder() + * .parentId(org.applyValue(getOrganizationResult -> getOrganizationResult.roots()[0].id())) + * .name("dev") + * .build()); + * + * } + * } + * ``` + * + */ + public static Output getOrganizationalUnit(GetOrganizationalUnitArgs args) { + return getOrganizationalUnit(args, InvokeOptions.Empty); + } + /** + * Data source for getting an AWS Organizations Organizational Unit. + * + * ## Example Usage + * ### Basic Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.aws.organizations.OrganizationsFunctions; + * import com.pulumi.aws.organizations.inputs.GetOrganizationalUnitArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var org = OrganizationsFunctions.getOrganization(); + * + * final var ou = OrganizationsFunctions.getOrganizationalUnit(GetOrganizationalUnitArgs.builder() + * .parentId(org.applyValue(getOrganizationResult -> getOrganizationResult.roots()[0].id())) + * .name("dev") + * .build()); + * + * } + * } + * ``` + * + */ + public static CompletableFuture getOrganizationalUnitPlain(GetOrganizationalUnitPlainArgs args) { + return getOrganizationalUnitPlain(args, InvokeOptions.Empty); + } + /** + * Data source for getting an AWS Organizations Organizational Unit. + * + * ## Example Usage + * ### Basic Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.aws.organizations.OrganizationsFunctions; + * import com.pulumi.aws.organizations.inputs.GetOrganizationalUnitArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var org = OrganizationsFunctions.getOrganization(); + * + * final var ou = OrganizationsFunctions.getOrganizationalUnit(GetOrganizationalUnitArgs.builder() + * .parentId(org.applyValue(getOrganizationResult -> getOrganizationResult.roots()[0].id())) + * .name("dev") + * .build()); + * + * } + * } + * ``` + * + */ + public static Output getOrganizationalUnit(GetOrganizationalUnitArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("aws:organizations/getOrganizationalUnit:getOrganizationalUnit", TypeShape.of(GetOrganizationalUnitResult.class), args, Utilities.withVersion(options)); + } + /** + * Data source for getting an AWS Organizations Organizational Unit. + * + * ## Example Usage + * ### Basic Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.aws.organizations.OrganizationsFunctions; + * import com.pulumi.aws.organizations.inputs.GetOrganizationalUnitArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var org = OrganizationsFunctions.getOrganization(); + * + * final var ou = OrganizationsFunctions.getOrganizationalUnit(GetOrganizationalUnitArgs.builder() + * .parentId(org.applyValue(getOrganizationResult -> getOrganizationResult.roots()[0].id())) + * .name("dev") + * .build()); + * + * } + * } + * ``` + * + */ + public static CompletableFuture getOrganizationalUnitPlain(GetOrganizationalUnitPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("aws:organizations/getOrganizationalUnit:getOrganizationalUnit", TypeShape.of(GetOrganizationalUnitResult.class), args, Utilities.withVersion(options)); + } /** * Get all direct child accounts under a parent organizational unit. This only provides immediate children, not all children. * diff --git a/sdk/java/src/main/java/com/pulumi/aws/organizations/inputs/GetOrganizationalUnitArgs.java b/sdk/java/src/main/java/com/pulumi/aws/organizations/inputs/GetOrganizationalUnitArgs.java new file mode 100644 index 00000000000..6967b50ae8b --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/organizations/inputs/GetOrganizationalUnitArgs.java @@ -0,0 +1,120 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.aws.organizations.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; + + +public final class GetOrganizationalUnitArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetOrganizationalUnitArgs Empty = new GetOrganizationalUnitArgs(); + + /** + * Name of the organizational unit + * + */ + @Import(name="name", required=true) + private Output name; + + /** + * @return Name of the organizational unit + * + */ + public Output name() { + return this.name; + } + + /** + * Parent ID of the organizational unit. + * + */ + @Import(name="parentId", required=true) + private Output parentId; + + /** + * @return Parent ID of the organizational unit. + * + */ + public Output parentId() { + return this.parentId; + } + + private GetOrganizationalUnitArgs() {} + + private GetOrganizationalUnitArgs(GetOrganizationalUnitArgs $) { + this.name = $.name; + this.parentId = $.parentId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetOrganizationalUnitArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetOrganizationalUnitArgs $; + + public Builder() { + $ = new GetOrganizationalUnitArgs(); + } + + public Builder(GetOrganizationalUnitArgs defaults) { + $ = new GetOrganizationalUnitArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param name Name of the organizational unit + * + * @return builder + * + */ + public Builder name(Output name) { + $.name = name; + return this; + } + + /** + * @param name Name of the organizational unit + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + /** + * @param parentId Parent ID of the organizational unit. + * + * @return builder + * + */ + public Builder parentId(Output parentId) { + $.parentId = parentId; + return this; + } + + /** + * @param parentId Parent ID of the organizational unit. + * + * @return builder + * + */ + public Builder parentId(String parentId) { + return parentId(Output.of(parentId)); + } + + public GetOrganizationalUnitArgs build() { + $.name = Objects.requireNonNull($.name, "expected parameter 'name' to be non-null"); + $.parentId = Objects.requireNonNull($.parentId, "expected parameter 'parentId' to be non-null"); + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/organizations/inputs/GetOrganizationalUnitPlainArgs.java b/sdk/java/src/main/java/com/pulumi/aws/organizations/inputs/GetOrganizationalUnitPlainArgs.java new file mode 100644 index 00000000000..bbbb3ff1171 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/organizations/inputs/GetOrganizationalUnitPlainArgs.java @@ -0,0 +1,99 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.aws.organizations.inputs; + +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; + + +public final class GetOrganizationalUnitPlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetOrganizationalUnitPlainArgs Empty = new GetOrganizationalUnitPlainArgs(); + + /** + * Name of the organizational unit + * + */ + @Import(name="name", required=true) + private String name; + + /** + * @return Name of the organizational unit + * + */ + public String name() { + return this.name; + } + + /** + * Parent ID of the organizational unit. + * + */ + @Import(name="parentId", required=true) + private String parentId; + + /** + * @return Parent ID of the organizational unit. + * + */ + public String parentId() { + return this.parentId; + } + + private GetOrganizationalUnitPlainArgs() {} + + private GetOrganizationalUnitPlainArgs(GetOrganizationalUnitPlainArgs $) { + this.name = $.name; + this.parentId = $.parentId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetOrganizationalUnitPlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetOrganizationalUnitPlainArgs $; + + public Builder() { + $ = new GetOrganizationalUnitPlainArgs(); + } + + public Builder(GetOrganizationalUnitPlainArgs defaults) { + $ = new GetOrganizationalUnitPlainArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param name Name of the organizational unit + * + * @return builder + * + */ + public Builder name(String name) { + $.name = name; + return this; + } + + /** + * @param parentId Parent ID of the organizational unit. + * + * @return builder + * + */ + public Builder parentId(String parentId) { + $.parentId = parentId; + return this; + } + + public GetOrganizationalUnitPlainArgs build() { + $.name = Objects.requireNonNull($.name, "expected parameter 'name' to be non-null"); + $.parentId = Objects.requireNonNull($.parentId, "expected parameter 'parentId' to be non-null"); + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/organizations/outputs/GetOrganizationalUnitResult.java b/sdk/java/src/main/java/com/pulumi/aws/organizations/outputs/GetOrganizationalUnitResult.java new file mode 100644 index 00000000000..f307a762ec4 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/organizations/outputs/GetOrganizationalUnitResult.java @@ -0,0 +1,98 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.aws.organizations.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetOrganizationalUnitResult { + /** + * @return ARN of the organizational unit + * + */ + private String arn; + /** + * @return The provider-assigned unique ID for this managed resource. + * + */ + private String id; + private String name; + private String parentId; + + private GetOrganizationalUnitResult() {} + /** + * @return ARN of the organizational unit + * + */ + public String arn() { + return this.arn; + } + /** + * @return The provider-assigned unique ID for this managed resource. + * + */ + public String id() { + return this.id; + } + public String name() { + return this.name; + } + public String parentId() { + return this.parentId; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetOrganizationalUnitResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String arn; + private String id; + private String name; + private String parentId; + public Builder() {} + public Builder(GetOrganizationalUnitResult defaults) { + Objects.requireNonNull(defaults); + this.arn = defaults.arn; + this.id = defaults.id; + this.name = defaults.name; + this.parentId = defaults.parentId; + } + + @CustomType.Setter + public Builder arn(String arn) { + this.arn = Objects.requireNonNull(arn); + return this; + } + @CustomType.Setter + public Builder id(String id) { + this.id = Objects.requireNonNull(id); + return this; + } + @CustomType.Setter + public Builder name(String name) { + this.name = Objects.requireNonNull(name); + return this; + } + @CustomType.Setter + public Builder parentId(String parentId) { + this.parentId = Objects.requireNonNull(parentId); + return this; + } + public GetOrganizationalUnitResult build() { + final var o = new GetOrganizationalUnitResult(); + o.arn = arn; + o.id = id; + o.name = name; + o.parentId = parentId; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/rds/OptionGroup.java b/sdk/java/src/main/java/com/pulumi/aws/rds/OptionGroup.java index 291a3924eaa..77a177917d5 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/rds/OptionGroup.java +++ b/sdk/java/src/main/java/com/pulumi/aws/rds/OptionGroup.java @@ -88,7 +88,7 @@ * * ## Import * - * Using `pulumi import`, import DB Option groups using the `name`. For example: + * Using `pulumi import`, import DB option groups using the `name`. For example: * * ```sh * $ pulumi import aws:rds/optionGroup:OptionGroup example mysql-option-group @@ -98,14 +98,14 @@ @ResourceType(type="aws:rds/optionGroup:OptionGroup") public class OptionGroup extends com.pulumi.resources.CustomResource { /** - * The ARN of the db option group. + * ARN of the DB option group. * */ @Export(name="arn", refs={String.class}, tree="[0]") private Output arn; /** - * @return The ARN of the db option group. + * @return ARN of the DB option group. * */ public Output arn() { @@ -140,14 +140,14 @@ public Output majorEngineVersion() { return this.majorEngineVersion; } /** - * The Name of the setting. + * Name of the option group. If omitted, the provider will assign a random, unique name. Must be lowercase, to match as it is stored in AWS. * */ @Export(name="name", refs={String.class}, tree="[0]") private Output name; /** - * @return The Name of the setting. + * @return Name of the option group. If omitted, the provider will assign a random, unique name. Must be lowercase, to match as it is stored in AWS. * */ public Output name() { @@ -168,49 +168,49 @@ public Output namePrefix() { return this.namePrefix; } /** - * The description of the option group. Defaults to "Managed by Pulumi". + * Description of the option group. * */ @Export(name="optionGroupDescription", refs={String.class}, tree="[0]") private Output optionGroupDescription; /** - * @return The description of the option group. Defaults to "Managed by Pulumi". + * @return Description of the option group. * */ public Output optionGroupDescription() { return this.optionGroupDescription; } /** - * A list of Options to apply. + * List of options to apply. * */ @Export(name="options", refs={List.class,OptionGroupOption.class}, tree="[0,1]") private Output> options; /** - * @return A list of Options to apply. + * @return List of options to apply. * */ public Output>> options() { return Codegen.optional(this.options); } /** - * A map of tags to assign to the resource. .If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. + * Map of tags to assign to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. * */ @Export(name="tags", refs={Map.class,String.class}, tree="[0,1,1]") private Output> tags; /** - * @return A map of tags to assign to the resource. .If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. + * @return Map of tags to assign to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. * */ public Output>> tags() { return Codegen.optional(this.tags); } /** - * A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block. + * Map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block. * * @deprecated * Please use `tags` instead. @@ -221,7 +221,7 @@ public Output>> tags() { private Output> tagsAll; /** - * @return A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block. + * @return Map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block. * */ public Output> tagsAll() { diff --git a/sdk/java/src/main/java/com/pulumi/aws/rds/OptionGroupArgs.java b/sdk/java/src/main/java/com/pulumi/aws/rds/OptionGroupArgs.java index bd5e7f233bb..b08c6ebff59 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/rds/OptionGroupArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/rds/OptionGroupArgs.java @@ -50,14 +50,14 @@ public Output majorEngineVersion() { } /** - * The Name of the setting. + * Name of the option group. If omitted, the provider will assign a random, unique name. Must be lowercase, to match as it is stored in AWS. * */ @Import(name="name") private @Nullable Output name; /** - * @return The Name of the setting. + * @return Name of the option group. If omitted, the provider will assign a random, unique name. Must be lowercase, to match as it is stored in AWS. * */ public Optional> name() { @@ -80,14 +80,14 @@ public Optional> namePrefix() { } /** - * The description of the option group. Defaults to "Managed by Pulumi". + * Description of the option group. * */ @Import(name="optionGroupDescription") private @Nullable Output optionGroupDescription; /** - * @return The description of the option group. Defaults to "Managed by Pulumi". + * @return Description of the option group. * */ public Optional> optionGroupDescription() { @@ -95,14 +95,14 @@ public Optional> optionGroupDescription() { } /** - * A list of Options to apply. + * List of options to apply. * */ @Import(name="options") private @Nullable Output> options; /** - * @return A list of Options to apply. + * @return List of options to apply. * */ public Optional>> options() { @@ -110,14 +110,14 @@ public Optional>> options() { } /** - * A map of tags to assign to the resource. .If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. + * Map of tags to assign to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. * */ @Import(name="tags") private @Nullable Output> tags; /** - * @return A map of tags to assign to the resource. .If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. + * @return Map of tags to assign to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. * */ public Optional>> tags() { @@ -197,7 +197,7 @@ public Builder majorEngineVersion(String majorEngineVersion) { } /** - * @param name The Name of the setting. + * @param name Name of the option group. If omitted, the provider will assign a random, unique name. Must be lowercase, to match as it is stored in AWS. * * @return builder * @@ -208,7 +208,7 @@ public Builder name(@Nullable Output name) { } /** - * @param name The Name of the setting. + * @param name Name of the option group. If omitted, the provider will assign a random, unique name. Must be lowercase, to match as it is stored in AWS. * * @return builder * @@ -239,7 +239,7 @@ public Builder namePrefix(String namePrefix) { } /** - * @param optionGroupDescription The description of the option group. Defaults to "Managed by Pulumi". + * @param optionGroupDescription Description of the option group. * * @return builder * @@ -250,7 +250,7 @@ public Builder optionGroupDescription(@Nullable Output optionGroupDescri } /** - * @param optionGroupDescription The description of the option group. Defaults to "Managed by Pulumi". + * @param optionGroupDescription Description of the option group. * * @return builder * @@ -260,7 +260,7 @@ public Builder optionGroupDescription(String optionGroupDescription) { } /** - * @param options A list of Options to apply. + * @param options List of options to apply. * * @return builder * @@ -271,7 +271,7 @@ public Builder options(@Nullable Output> options) { } /** - * @param options A list of Options to apply. + * @param options List of options to apply. * * @return builder * @@ -281,7 +281,7 @@ public Builder options(List options) { } /** - * @param options A list of Options to apply. + * @param options List of options to apply. * * @return builder * @@ -291,7 +291,7 @@ public Builder options(OptionGroupOptionArgs... options) { } /** - * @param tags A map of tags to assign to the resource. .If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. + * @param tags Map of tags to assign to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. * * @return builder * @@ -302,7 +302,7 @@ public Builder tags(@Nullable Output> tags) { } /** - * @param tags A map of tags to assign to the resource. .If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. + * @param tags Map of tags to assign to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/aws/rds/inputs/OptionGroupOptionArgs.java b/sdk/java/src/main/java/com/pulumi/aws/rds/inputs/OptionGroupOptionArgs.java index 40ada7fac32..a906f360633 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/rds/inputs/OptionGroupOptionArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/rds/inputs/OptionGroupOptionArgs.java @@ -19,14 +19,14 @@ public final class OptionGroupOptionArgs extends com.pulumi.resources.ResourceAr public static final OptionGroupOptionArgs Empty = new OptionGroupOptionArgs(); /** - * A list of DB Security Groups for which the option is enabled. + * List of DB Security Groups for which the option is enabled. * */ @Import(name="dbSecurityGroupMemberships") private @Nullable Output> dbSecurityGroupMemberships; /** - * @return A list of DB Security Groups for which the option is enabled. + * @return List of DB Security Groups for which the option is enabled. * */ public Optional>> dbSecurityGroupMemberships() { @@ -34,14 +34,14 @@ public Optional>> dbSecurityGroupMemberships() { } /** - * The Name of the Option (e.g., MEMCACHED). + * Name of the option (e.g., MEMCACHED). * */ @Import(name="optionName", required=true) private Output optionName; /** - * @return The Name of the Option (e.g., MEMCACHED). + * @return Name of the option (e.g., MEMCACHED). * */ public Output optionName() { @@ -49,14 +49,14 @@ public Output optionName() { } /** - * A list of option settings to apply. + * List of option settings to apply. * */ @Import(name="optionSettings") private @Nullable Output> optionSettings; /** - * @return A list of option settings to apply. + * @return List of option settings to apply. * */ public Optional>> optionSettings() { @@ -64,14 +64,14 @@ public Optional>> optionSettings } /** - * The Port number when connecting to the Option (e.g., 11211). + * Port number when connecting to the option (e.g., 11211). Leaving out or removing `port` from your configuration does not remove or clear a port from the option in AWS. AWS may assign a default port. Not including `port` in your configuration means that the AWS provider will ignore a previously set value, a value set by AWS, and any port changes. * */ @Import(name="port") private @Nullable Output port; /** - * @return The Port number when connecting to the Option (e.g., 11211). + * @return Port number when connecting to the option (e.g., 11211). Leaving out or removing `port` from your configuration does not remove or clear a port from the option in AWS. AWS may assign a default port. Not including `port` in your configuration means that the AWS provider will ignore a previously set value, a value set by AWS, and any port changes. * */ public Optional> port() { @@ -79,14 +79,14 @@ public Optional> port() { } /** - * The version of the option (e.g., 13.1.0.0). + * Version of the option (e.g., 13.1.0.0). Leaving out or removing `version` from your configuration does not remove or clear a version from the option in AWS. AWS may assign a default version. Not including `version` in your configuration means that the AWS provider will ignore a previously set value, a value set by AWS, and any version changes. * */ @Import(name="version") private @Nullable Output version; /** - * @return The version of the option (e.g., 13.1.0.0). + * @return Version of the option (e.g., 13.1.0.0). Leaving out or removing `version` from your configuration does not remove or clear a version from the option in AWS. AWS may assign a default version. Not including `version` in your configuration means that the AWS provider will ignore a previously set value, a value set by AWS, and any version changes. * */ public Optional> version() { @@ -94,14 +94,14 @@ public Optional> version() { } /** - * A list of VPC Security Groups for which the option is enabled. + * List of VPC Security Groups for which the option is enabled. * */ @Import(name="vpcSecurityGroupMemberships") private @Nullable Output> vpcSecurityGroupMemberships; /** - * @return A list of VPC Security Groups for which the option is enabled. + * @return List of VPC Security Groups for which the option is enabled. * */ public Optional>> vpcSecurityGroupMemberships() { @@ -138,7 +138,7 @@ public Builder(OptionGroupOptionArgs defaults) { } /** - * @param dbSecurityGroupMemberships A list of DB Security Groups for which the option is enabled. + * @param dbSecurityGroupMemberships List of DB Security Groups for which the option is enabled. * * @return builder * @@ -149,7 +149,7 @@ public Builder dbSecurityGroupMemberships(@Nullable Output> dbSecur } /** - * @param dbSecurityGroupMemberships A list of DB Security Groups for which the option is enabled. + * @param dbSecurityGroupMemberships List of DB Security Groups for which the option is enabled. * * @return builder * @@ -159,7 +159,7 @@ public Builder dbSecurityGroupMemberships(List dbSecurityGroupMembership } /** - * @param dbSecurityGroupMemberships A list of DB Security Groups for which the option is enabled. + * @param dbSecurityGroupMemberships List of DB Security Groups for which the option is enabled. * * @return builder * @@ -169,7 +169,7 @@ public Builder dbSecurityGroupMemberships(String... dbSecurityGroupMemberships) } /** - * @param optionName The Name of the Option (e.g., MEMCACHED). + * @param optionName Name of the option (e.g., MEMCACHED). * * @return builder * @@ -180,7 +180,7 @@ public Builder optionName(Output optionName) { } /** - * @param optionName The Name of the Option (e.g., MEMCACHED). + * @param optionName Name of the option (e.g., MEMCACHED). * * @return builder * @@ -190,7 +190,7 @@ public Builder optionName(String optionName) { } /** - * @param optionSettings A list of option settings to apply. + * @param optionSettings List of option settings to apply. * * @return builder * @@ -201,7 +201,7 @@ public Builder optionSettings(@Nullable Output optionSet } /** - * @param optionSettings A list of option settings to apply. + * @param optionSettings List of option settings to apply. * * @return builder * @@ -221,7 +221,7 @@ public Builder optionSettings(OptionGroupOptionOptionSettingArgs... optionSettin } /** - * @param port The Port number when connecting to the Option (e.g., 11211). + * @param port Port number when connecting to the option (e.g., 11211). Leaving out or removing `port` from your configuration does not remove or clear a port from the option in AWS. AWS may assign a default port. Not including `port` in your configuration means that the AWS provider will ignore a previously set value, a value set by AWS, and any port changes. * * @return builder * @@ -232,7 +232,7 @@ public Builder port(@Nullable Output port) { } /** - * @param port The Port number when connecting to the Option (e.g., 11211). + * @param port Port number when connecting to the option (e.g., 11211). Leaving out or removing `port` from your configuration does not remove or clear a port from the option in AWS. AWS may assign a default port. Not including `port` in your configuration means that the AWS provider will ignore a previously set value, a value set by AWS, and any port changes. * * @return builder * @@ -242,7 +242,7 @@ public Builder port(Integer port) { } /** - * @param version The version of the option (e.g., 13.1.0.0). + * @param version Version of the option (e.g., 13.1.0.0). Leaving out or removing `version` from your configuration does not remove or clear a version from the option in AWS. AWS may assign a default version. Not including `version` in your configuration means that the AWS provider will ignore a previously set value, a value set by AWS, and any version changes. * * @return builder * @@ -253,7 +253,7 @@ public Builder version(@Nullable Output version) { } /** - * @param version The version of the option (e.g., 13.1.0.0). + * @param version Version of the option (e.g., 13.1.0.0). Leaving out or removing `version` from your configuration does not remove or clear a version from the option in AWS. AWS may assign a default version. Not including `version` in your configuration means that the AWS provider will ignore a previously set value, a value set by AWS, and any version changes. * * @return builder * @@ -263,7 +263,7 @@ public Builder version(String version) { } /** - * @param vpcSecurityGroupMemberships A list of VPC Security Groups for which the option is enabled. + * @param vpcSecurityGroupMemberships List of VPC Security Groups for which the option is enabled. * * @return builder * @@ -274,7 +274,7 @@ public Builder vpcSecurityGroupMemberships(@Nullable Output> vpcSec } /** - * @param vpcSecurityGroupMemberships A list of VPC Security Groups for which the option is enabled. + * @param vpcSecurityGroupMemberships List of VPC Security Groups for which the option is enabled. * * @return builder * @@ -284,7 +284,7 @@ public Builder vpcSecurityGroupMemberships(List vpcSecurityGroupMembersh } /** - * @param vpcSecurityGroupMemberships A list of VPC Security Groups for which the option is enabled. + * @param vpcSecurityGroupMemberships List of VPC Security Groups for which the option is enabled. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/aws/rds/inputs/OptionGroupOptionOptionSettingArgs.java b/sdk/java/src/main/java/com/pulumi/aws/rds/inputs/OptionGroupOptionOptionSettingArgs.java index bab4a0b324a..956d8ed148d 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/rds/inputs/OptionGroupOptionOptionSettingArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/rds/inputs/OptionGroupOptionOptionSettingArgs.java @@ -14,14 +14,14 @@ public final class OptionGroupOptionOptionSettingArgs extends com.pulumi.resourc public static final OptionGroupOptionOptionSettingArgs Empty = new OptionGroupOptionOptionSettingArgs(); /** - * The Name of the setting. + * Name of the setting. * */ @Import(name="name", required=true) private Output name; /** - * @return The Name of the setting. + * @return Name of the setting. * */ public Output name() { @@ -29,14 +29,14 @@ public Output name() { } /** - * The Value of the setting. + * Value of the setting. * */ @Import(name="value", required=true) private Output value; /** - * @return The Value of the setting. + * @return Value of the setting. * */ public Output value() { @@ -69,7 +69,7 @@ public Builder(OptionGroupOptionOptionSettingArgs defaults) { } /** - * @param name The Name of the setting. + * @param name Name of the setting. * * @return builder * @@ -80,7 +80,7 @@ public Builder name(Output name) { } /** - * @param name The Name of the setting. + * @param name Name of the setting. * * @return builder * @@ -90,7 +90,7 @@ public Builder name(String name) { } /** - * @param value The Value of the setting. + * @param value Value of the setting. * * @return builder * @@ -101,7 +101,7 @@ public Builder value(Output value) { } /** - * @param value The Value of the setting. + * @param value Value of the setting. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/aws/rds/inputs/OptionGroupState.java b/sdk/java/src/main/java/com/pulumi/aws/rds/inputs/OptionGroupState.java index d4b53b1402c..5223c92d242 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/rds/inputs/OptionGroupState.java +++ b/sdk/java/src/main/java/com/pulumi/aws/rds/inputs/OptionGroupState.java @@ -20,14 +20,14 @@ public final class OptionGroupState extends com.pulumi.resources.ResourceArgs { public static final OptionGroupState Empty = new OptionGroupState(); /** - * The ARN of the db option group. + * ARN of the DB option group. * */ @Import(name="arn") private @Nullable Output arn; /** - * @return The ARN of the db option group. + * @return ARN of the DB option group. * */ public Optional> arn() { @@ -65,14 +65,14 @@ public Optional> majorEngineVersion() { } /** - * The Name of the setting. + * Name of the option group. If omitted, the provider will assign a random, unique name. Must be lowercase, to match as it is stored in AWS. * */ @Import(name="name") private @Nullable Output name; /** - * @return The Name of the setting. + * @return Name of the option group. If omitted, the provider will assign a random, unique name. Must be lowercase, to match as it is stored in AWS. * */ public Optional> name() { @@ -95,14 +95,14 @@ public Optional> namePrefix() { } /** - * The description of the option group. Defaults to "Managed by Pulumi". + * Description of the option group. * */ @Import(name="optionGroupDescription") private @Nullable Output optionGroupDescription; /** - * @return The description of the option group. Defaults to "Managed by Pulumi". + * @return Description of the option group. * */ public Optional> optionGroupDescription() { @@ -110,14 +110,14 @@ public Optional> optionGroupDescription() { } /** - * A list of Options to apply. + * List of options to apply. * */ @Import(name="options") private @Nullable Output> options; /** - * @return A list of Options to apply. + * @return List of options to apply. * */ public Optional>> options() { @@ -125,14 +125,14 @@ public Optional>> options() { } /** - * A map of tags to assign to the resource. .If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. + * Map of tags to assign to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. * */ @Import(name="tags") private @Nullable Output> tags; /** - * @return A map of tags to assign to the resource. .If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. + * @return Map of tags to assign to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. * */ public Optional>> tags() { @@ -140,7 +140,7 @@ public Optional>> tags() { } /** - * A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block. + * Map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block. * * @deprecated * Please use `tags` instead. @@ -151,7 +151,7 @@ public Optional>> tags() { private @Nullable Output> tagsAll; /** - * @return A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block. + * @return Map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block. * * @deprecated * Please use `tags` instead. @@ -195,7 +195,7 @@ public Builder(OptionGroupState defaults) { } /** - * @param arn The ARN of the db option group. + * @param arn ARN of the DB option group. * * @return builder * @@ -206,7 +206,7 @@ public Builder arn(@Nullable Output arn) { } /** - * @param arn The ARN of the db option group. + * @param arn ARN of the DB option group. * * @return builder * @@ -258,7 +258,7 @@ public Builder majorEngineVersion(String majorEngineVersion) { } /** - * @param name The Name of the setting. + * @param name Name of the option group. If omitted, the provider will assign a random, unique name. Must be lowercase, to match as it is stored in AWS. * * @return builder * @@ -269,7 +269,7 @@ public Builder name(@Nullable Output name) { } /** - * @param name The Name of the setting. + * @param name Name of the option group. If omitted, the provider will assign a random, unique name. Must be lowercase, to match as it is stored in AWS. * * @return builder * @@ -300,7 +300,7 @@ public Builder namePrefix(String namePrefix) { } /** - * @param optionGroupDescription The description of the option group. Defaults to "Managed by Pulumi". + * @param optionGroupDescription Description of the option group. * * @return builder * @@ -311,7 +311,7 @@ public Builder optionGroupDescription(@Nullable Output optionGroupDescri } /** - * @param optionGroupDescription The description of the option group. Defaults to "Managed by Pulumi". + * @param optionGroupDescription Description of the option group. * * @return builder * @@ -321,7 +321,7 @@ public Builder optionGroupDescription(String optionGroupDescription) { } /** - * @param options A list of Options to apply. + * @param options List of options to apply. * * @return builder * @@ -332,7 +332,7 @@ public Builder options(@Nullable Output> options) { } /** - * @param options A list of Options to apply. + * @param options List of options to apply. * * @return builder * @@ -342,7 +342,7 @@ public Builder options(List options) { } /** - * @param options A list of Options to apply. + * @param options List of options to apply. * * @return builder * @@ -352,7 +352,7 @@ public Builder options(OptionGroupOptionArgs... options) { } /** - * @param tags A map of tags to assign to the resource. .If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. + * @param tags Map of tags to assign to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. * * @return builder * @@ -363,7 +363,7 @@ public Builder tags(@Nullable Output> tags) { } /** - * @param tags A map of tags to assign to the resource. .If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. + * @param tags Map of tags to assign to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. * * @return builder * @@ -373,7 +373,7 @@ public Builder tags(Map tags) { } /** - * @param tagsAll A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block. + * @param tagsAll Map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block. * * @return builder * @@ -388,7 +388,7 @@ public Builder tagsAll(@Nullable Output> tagsAll) { } /** - * @param tagsAll A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block. + * @param tagsAll Map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/aws/rds/outputs/OptionGroupOption.java b/sdk/java/src/main/java/com/pulumi/aws/rds/outputs/OptionGroupOption.java index 0b5a862e163..f516179d253 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/rds/outputs/OptionGroupOption.java +++ b/sdk/java/src/main/java/com/pulumi/aws/rds/outputs/OptionGroupOption.java @@ -15,74 +15,74 @@ @CustomType public final class OptionGroupOption { /** - * @return A list of DB Security Groups for which the option is enabled. + * @return List of DB Security Groups for which the option is enabled. * */ private @Nullable List dbSecurityGroupMemberships; /** - * @return The Name of the Option (e.g., MEMCACHED). + * @return Name of the option (e.g., MEMCACHED). * */ private String optionName; /** - * @return A list of option settings to apply. + * @return List of option settings to apply. * */ private @Nullable List optionSettings; /** - * @return The Port number when connecting to the Option (e.g., 11211). + * @return Port number when connecting to the option (e.g., 11211). Leaving out or removing `port` from your configuration does not remove or clear a port from the option in AWS. AWS may assign a default port. Not including `port` in your configuration means that the AWS provider will ignore a previously set value, a value set by AWS, and any port changes. * */ private @Nullable Integer port; /** - * @return The version of the option (e.g., 13.1.0.0). + * @return Version of the option (e.g., 13.1.0.0). Leaving out or removing `version` from your configuration does not remove or clear a version from the option in AWS. AWS may assign a default version. Not including `version` in your configuration means that the AWS provider will ignore a previously set value, a value set by AWS, and any version changes. * */ private @Nullable String version; /** - * @return A list of VPC Security Groups for which the option is enabled. + * @return List of VPC Security Groups for which the option is enabled. * */ private @Nullable List vpcSecurityGroupMemberships; private OptionGroupOption() {} /** - * @return A list of DB Security Groups for which the option is enabled. + * @return List of DB Security Groups for which the option is enabled. * */ public List dbSecurityGroupMemberships() { return this.dbSecurityGroupMemberships == null ? List.of() : this.dbSecurityGroupMemberships; } /** - * @return The Name of the Option (e.g., MEMCACHED). + * @return Name of the option (e.g., MEMCACHED). * */ public String optionName() { return this.optionName; } /** - * @return A list of option settings to apply. + * @return List of option settings to apply. * */ public List optionSettings() { return this.optionSettings == null ? List.of() : this.optionSettings; } /** - * @return The Port number when connecting to the Option (e.g., 11211). + * @return Port number when connecting to the option (e.g., 11211). Leaving out or removing `port` from your configuration does not remove or clear a port from the option in AWS. AWS may assign a default port. Not including `port` in your configuration means that the AWS provider will ignore a previously set value, a value set by AWS, and any port changes. * */ public Optional port() { return Optional.ofNullable(this.port); } /** - * @return The version of the option (e.g., 13.1.0.0). + * @return Version of the option (e.g., 13.1.0.0). Leaving out or removing `version` from your configuration does not remove or clear a version from the option in AWS. AWS may assign a default version. Not including `version` in your configuration means that the AWS provider will ignore a previously set value, a value set by AWS, and any version changes. * */ public Optional version() { return Optional.ofNullable(this.version); } /** - * @return A list of VPC Security Groups for which the option is enabled. + * @return List of VPC Security Groups for which the option is enabled. * */ public List vpcSecurityGroupMemberships() { diff --git a/sdk/java/src/main/java/com/pulumi/aws/rds/outputs/OptionGroupOptionOptionSetting.java b/sdk/java/src/main/java/com/pulumi/aws/rds/outputs/OptionGroupOptionOptionSetting.java index 8d9c54b6b68..adb88fe1a4a 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/rds/outputs/OptionGroupOptionOptionSetting.java +++ b/sdk/java/src/main/java/com/pulumi/aws/rds/outputs/OptionGroupOptionOptionSetting.java @@ -10,26 +10,26 @@ @CustomType public final class OptionGroupOptionOptionSetting { /** - * @return The Name of the setting. + * @return Name of the setting. * */ private String name; /** - * @return The Value of the setting. + * @return Value of the setting. * */ private String value; private OptionGroupOptionOptionSetting() {} /** - * @return The Name of the setting. + * @return Name of the setting. * */ public String name() { return this.name; } /** - * @return The Value of the setting. + * @return Value of the setting. * */ public String value() { diff --git a/sdk/java/src/main/java/com/pulumi/aws/s3/BucketObjectv2.java b/sdk/java/src/main/java/com/pulumi/aws/s3/BucketObjectv2.java index afb7f29e400..5ef36237b73 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/s3/BucketObjectv2.java +++ b/sdk/java/src/main/java/com/pulumi/aws/s3/BucketObjectv2.java @@ -300,6 +300,76 @@ public Output bucketKeyEnabled() { public Output> cacheControl() { return Codegen.optional(this.cacheControl); } + /** + * Indicates the algorithm used to create the checksum for the object. If a value is specified and the object is encrypted with KMS, you must have permission to use the `kms:Decrypt` action. Valid values: `CRC32`, `CRC32C`, `SHA1`, `SHA256`. + * + */ + @Export(name="checksumAlgorithm", refs={String.class}, tree="[0]") + private Output checksumAlgorithm; + + /** + * @return Indicates the algorithm used to create the checksum for the object. If a value is specified and the object is encrypted with KMS, you must have permission to use the `kms:Decrypt` action. Valid values: `CRC32`, `CRC32C`, `SHA1`, `SHA256`. + * + */ + public Output> checksumAlgorithm() { + return Codegen.optional(this.checksumAlgorithm); + } + /** + * The base64-encoded, 32-bit CRC32 checksum of the object. + * + */ + @Export(name="checksumCrc32", refs={String.class}, tree="[0]") + private Output checksumCrc32; + + /** + * @return The base64-encoded, 32-bit CRC32 checksum of the object. + * + */ + public Output checksumCrc32() { + return this.checksumCrc32; + } + /** + * The base64-encoded, 32-bit CRC32C checksum of the object. + * + */ + @Export(name="checksumCrc32c", refs={String.class}, tree="[0]") + private Output checksumCrc32c; + + /** + * @return The base64-encoded, 32-bit CRC32C checksum of the object. + * + */ + public Output checksumCrc32c() { + return this.checksumCrc32c; + } + /** + * The base64-encoded, 160-bit SHA-1 digest of the object. + * + */ + @Export(name="checksumSha1", refs={String.class}, tree="[0]") + private Output checksumSha1; + + /** + * @return The base64-encoded, 160-bit SHA-1 digest of the object. + * + */ + public Output checksumSha1() { + return this.checksumSha1; + } + /** + * The base64-encoded, 256-bit SHA-256 digest of the object. + * + */ + @Export(name="checksumSha256", refs={String.class}, tree="[0]") + private Output checksumSha256; + + /** + * @return The base64-encoded, 256-bit SHA-256 digest of the object. + * + */ + public Output checksumSha256() { + return this.checksumSha256; + } /** * Literal string value to use as the object content, which will be uploaded as UTF-8-encoded text. * diff --git a/sdk/java/src/main/java/com/pulumi/aws/s3/BucketObjectv2Args.java b/sdk/java/src/main/java/com/pulumi/aws/s3/BucketObjectv2Args.java index c27330b0455..8524272f7ac 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/s3/BucketObjectv2Args.java +++ b/sdk/java/src/main/java/com/pulumi/aws/s3/BucketObjectv2Args.java @@ -78,6 +78,21 @@ public Optional> cacheControl() { return Optional.ofNullable(this.cacheControl); } + /** + * Indicates the algorithm used to create the checksum for the object. If a value is specified and the object is encrypted with KMS, you must have permission to use the `kms:Decrypt` action. Valid values: `CRC32`, `CRC32C`, `SHA1`, `SHA256`. + * + */ + @Import(name="checksumAlgorithm") + private @Nullable Output checksumAlgorithm; + + /** + * @return Indicates the algorithm used to create the checksum for the object. If a value is specified and the object is encrypted with KMS, you must have permission to use the `kms:Decrypt` action. Valid values: `CRC32`, `CRC32C`, `SHA1`, `SHA256`. + * + */ + public Optional> checksumAlgorithm() { + return Optional.ofNullable(this.checksumAlgorithm); + } + /** * Literal string value to use as the object content, which will be uploaded as UTF-8-encoded text. * @@ -397,6 +412,7 @@ private BucketObjectv2Args(BucketObjectv2Args $) { this.bucket = $.bucket; this.bucketKeyEnabled = $.bucketKeyEnabled; this.cacheControl = $.cacheControl; + this.checksumAlgorithm = $.checksumAlgorithm; this.content = $.content; this.contentBase64 = $.contentBase64; this.contentDisposition = $.contentDisposition; @@ -521,6 +537,27 @@ public Builder cacheControl(String cacheControl) { return cacheControl(Output.of(cacheControl)); } + /** + * @param checksumAlgorithm Indicates the algorithm used to create the checksum for the object. If a value is specified and the object is encrypted with KMS, you must have permission to use the `kms:Decrypt` action. Valid values: `CRC32`, `CRC32C`, `SHA1`, `SHA256`. + * + * @return builder + * + */ + public Builder checksumAlgorithm(@Nullable Output checksumAlgorithm) { + $.checksumAlgorithm = checksumAlgorithm; + return this; + } + + /** + * @param checksumAlgorithm Indicates the algorithm used to create the checksum for the object. If a value is specified and the object is encrypted with KMS, you must have permission to use the `kms:Decrypt` action. Valid values: `CRC32`, `CRC32C`, `SHA1`, `SHA256`. + * + * @return builder + * + */ + public Builder checksumAlgorithm(String checksumAlgorithm) { + return checksumAlgorithm(Output.of(checksumAlgorithm)); + } + /** * @param content Literal string value to use as the object content, which will be uploaded as UTF-8-encoded text. * diff --git a/sdk/java/src/main/java/com/pulumi/aws/s3/ObjectCopy.java b/sdk/java/src/main/java/com/pulumi/aws/s3/ObjectCopy.java index 04bff4de849..f0061eae0b5 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/s3/ObjectCopy.java +++ b/sdk/java/src/main/java/com/pulumi/aws/s3/ObjectCopy.java @@ -110,6 +110,76 @@ public Output bucketKeyEnabled() { public Output cacheControl() { return this.cacheControl; } + /** + * Indicates the algorithm used to create the checksum for the object. If a value is specified and the object is encrypted with KMS, you must have permission to use the `kms:Decrypt` action. Valid values: `CRC32`, `CRC32C`, `SHA1`, `SHA256`. + * + */ + @Export(name="checksumAlgorithm", refs={String.class}, tree="[0]") + private Output checksumAlgorithm; + + /** + * @return Indicates the algorithm used to create the checksum for the object. If a value is specified and the object is encrypted with KMS, you must have permission to use the `kms:Decrypt` action. Valid values: `CRC32`, `CRC32C`, `SHA1`, `SHA256`. + * + */ + public Output> checksumAlgorithm() { + return Codegen.optional(this.checksumAlgorithm); + } + /** + * The base64-encoded, 32-bit CRC32 checksum of the object. + * + */ + @Export(name="checksumCrc32", refs={String.class}, tree="[0]") + private Output checksumCrc32; + + /** + * @return The base64-encoded, 32-bit CRC32 checksum of the object. + * + */ + public Output checksumCrc32() { + return this.checksumCrc32; + } + /** + * The base64-encoded, 32-bit CRC32C checksum of the object. + * + */ + @Export(name="checksumCrc32c", refs={String.class}, tree="[0]") + private Output checksumCrc32c; + + /** + * @return The base64-encoded, 32-bit CRC32C checksum of the object. + * + */ + public Output checksumCrc32c() { + return this.checksumCrc32c; + } + /** + * The base64-encoded, 160-bit SHA-1 digest of the object. + * + */ + @Export(name="checksumSha1", refs={String.class}, tree="[0]") + private Output checksumSha1; + + /** + * @return The base64-encoded, 160-bit SHA-1 digest of the object. + * + */ + public Output checksumSha1() { + return this.checksumSha1; + } + /** + * The base64-encoded, 256-bit SHA-256 digest of the object. + * + */ + @Export(name="checksumSha256", refs={String.class}, tree="[0]") + private Output checksumSha256; + + /** + * @return The base64-encoded, 256-bit SHA-256 digest of the object. + * + */ + public Output checksumSha256() { + return this.checksumSha256; + } /** * Specifies presentational information for the object. Read [w3c content_disposition](http://www.w3.org/Protocols/rfc2616/rfc2616-sec19.html#sec19.5.1) for further information. * diff --git a/sdk/java/src/main/java/com/pulumi/aws/s3/ObjectCopyArgs.java b/sdk/java/src/main/java/com/pulumi/aws/s3/ObjectCopyArgs.java index fb6c5006941..1bd5dab50fa 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/s3/ObjectCopyArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/s3/ObjectCopyArgs.java @@ -71,6 +71,21 @@ public Optional> cacheControl() { return Optional.ofNullable(this.cacheControl); } + /** + * Indicates the algorithm used to create the checksum for the object. If a value is specified and the object is encrypted with KMS, you must have permission to use the `kms:Decrypt` action. Valid values: `CRC32`, `CRC32C`, `SHA1`, `SHA256`. + * + */ + @Import(name="checksumAlgorithm") + private @Nullable Output checksumAlgorithm; + + /** + * @return Indicates the algorithm used to create the checksum for the object. If a value is specified and the object is encrypted with KMS, you must have permission to use the `kms:Decrypt` action. Valid values: `CRC32`, `CRC32C`, `SHA1`, `SHA256`. + * + */ + public Optional> checksumAlgorithm() { + return Optional.ofNullable(this.checksumAlgorithm); + } + /** * Specifies presentational information for the object. Read [w3c content_disposition](http://www.w3.org/Protocols/rfc2616/rfc2616-sec19.html#sec19.5.1) for further information. * @@ -592,6 +607,7 @@ private ObjectCopyArgs(ObjectCopyArgs $) { this.bucket = $.bucket; this.bucketKeyEnabled = $.bucketKeyEnabled; this.cacheControl = $.cacheControl; + this.checksumAlgorithm = $.checksumAlgorithm; this.contentDisposition = $.contentDisposition; this.contentEncoding = $.contentEncoding; this.contentLanguage = $.contentLanguage; @@ -718,6 +734,27 @@ public Builder cacheControl(String cacheControl) { return cacheControl(Output.of(cacheControl)); } + /** + * @param checksumAlgorithm Indicates the algorithm used to create the checksum for the object. If a value is specified and the object is encrypted with KMS, you must have permission to use the `kms:Decrypt` action. Valid values: `CRC32`, `CRC32C`, `SHA1`, `SHA256`. + * + * @return builder + * + */ + public Builder checksumAlgorithm(@Nullable Output checksumAlgorithm) { + $.checksumAlgorithm = checksumAlgorithm; + return this; + } + + /** + * @param checksumAlgorithm Indicates the algorithm used to create the checksum for the object. If a value is specified and the object is encrypted with KMS, you must have permission to use the `kms:Decrypt` action. Valid values: `CRC32`, `CRC32C`, `SHA1`, `SHA256`. + * + * @return builder + * + */ + public Builder checksumAlgorithm(String checksumAlgorithm) { + return checksumAlgorithm(Output.of(checksumAlgorithm)); + } + /** * @param contentDisposition Specifies presentational information for the object. Read [w3c content_disposition](http://www.w3.org/Protocols/rfc2616/rfc2616-sec19.html#sec19.5.1) for further information. * diff --git a/sdk/java/src/main/java/com/pulumi/aws/s3/inputs/BucketObjectv2State.java b/sdk/java/src/main/java/com/pulumi/aws/s3/inputs/BucketObjectv2State.java index 4be077b429e..0f84cdf87e0 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/s3/inputs/BucketObjectv2State.java +++ b/sdk/java/src/main/java/com/pulumi/aws/s3/inputs/BucketObjectv2State.java @@ -78,6 +78,81 @@ public Optional> cacheControl() { return Optional.ofNullable(this.cacheControl); } + /** + * Indicates the algorithm used to create the checksum for the object. If a value is specified and the object is encrypted with KMS, you must have permission to use the `kms:Decrypt` action. Valid values: `CRC32`, `CRC32C`, `SHA1`, `SHA256`. + * + */ + @Import(name="checksumAlgorithm") + private @Nullable Output checksumAlgorithm; + + /** + * @return Indicates the algorithm used to create the checksum for the object. If a value is specified and the object is encrypted with KMS, you must have permission to use the `kms:Decrypt` action. Valid values: `CRC32`, `CRC32C`, `SHA1`, `SHA256`. + * + */ + public Optional> checksumAlgorithm() { + return Optional.ofNullable(this.checksumAlgorithm); + } + + /** + * The base64-encoded, 32-bit CRC32 checksum of the object. + * + */ + @Import(name="checksumCrc32") + private @Nullable Output checksumCrc32; + + /** + * @return The base64-encoded, 32-bit CRC32 checksum of the object. + * + */ + public Optional> checksumCrc32() { + return Optional.ofNullable(this.checksumCrc32); + } + + /** + * The base64-encoded, 32-bit CRC32C checksum of the object. + * + */ + @Import(name="checksumCrc32c") + private @Nullable Output checksumCrc32c; + + /** + * @return The base64-encoded, 32-bit CRC32C checksum of the object. + * + */ + public Optional> checksumCrc32c() { + return Optional.ofNullable(this.checksumCrc32c); + } + + /** + * The base64-encoded, 160-bit SHA-1 digest of the object. + * + */ + @Import(name="checksumSha1") + private @Nullable Output checksumSha1; + + /** + * @return The base64-encoded, 160-bit SHA-1 digest of the object. + * + */ + public Optional> checksumSha1() { + return Optional.ofNullable(this.checksumSha1); + } + + /** + * The base64-encoded, 256-bit SHA-256 digest of the object. + * + */ + @Import(name="checksumSha256") + private @Nullable Output checksumSha256; + + /** + * @return The base64-encoded, 256-bit SHA-256 digest of the object. + * + */ + public Optional> checksumSha256() { + return Optional.ofNullable(this.checksumSha256); + } + /** * Literal string value to use as the object content, which will be uploaded as UTF-8-encoded text. * @@ -435,6 +510,11 @@ private BucketObjectv2State(BucketObjectv2State $) { this.bucket = $.bucket; this.bucketKeyEnabled = $.bucketKeyEnabled; this.cacheControl = $.cacheControl; + this.checksumAlgorithm = $.checksumAlgorithm; + this.checksumCrc32 = $.checksumCrc32; + this.checksumCrc32c = $.checksumCrc32c; + this.checksumSha1 = $.checksumSha1; + this.checksumSha256 = $.checksumSha256; this.content = $.content; this.contentBase64 = $.contentBase64; this.contentDisposition = $.contentDisposition; @@ -561,6 +641,111 @@ public Builder cacheControl(String cacheControl) { return cacheControl(Output.of(cacheControl)); } + /** + * @param checksumAlgorithm Indicates the algorithm used to create the checksum for the object. If a value is specified and the object is encrypted with KMS, you must have permission to use the `kms:Decrypt` action. Valid values: `CRC32`, `CRC32C`, `SHA1`, `SHA256`. + * + * @return builder + * + */ + public Builder checksumAlgorithm(@Nullable Output checksumAlgorithm) { + $.checksumAlgorithm = checksumAlgorithm; + return this; + } + + /** + * @param checksumAlgorithm Indicates the algorithm used to create the checksum for the object. If a value is specified and the object is encrypted with KMS, you must have permission to use the `kms:Decrypt` action. Valid values: `CRC32`, `CRC32C`, `SHA1`, `SHA256`. + * + * @return builder + * + */ + public Builder checksumAlgorithm(String checksumAlgorithm) { + return checksumAlgorithm(Output.of(checksumAlgorithm)); + } + + /** + * @param checksumCrc32 The base64-encoded, 32-bit CRC32 checksum of the object. + * + * @return builder + * + */ + public Builder checksumCrc32(@Nullable Output checksumCrc32) { + $.checksumCrc32 = checksumCrc32; + return this; + } + + /** + * @param checksumCrc32 The base64-encoded, 32-bit CRC32 checksum of the object. + * + * @return builder + * + */ + public Builder checksumCrc32(String checksumCrc32) { + return checksumCrc32(Output.of(checksumCrc32)); + } + + /** + * @param checksumCrc32c The base64-encoded, 32-bit CRC32C checksum of the object. + * + * @return builder + * + */ + public Builder checksumCrc32c(@Nullable Output checksumCrc32c) { + $.checksumCrc32c = checksumCrc32c; + return this; + } + + /** + * @param checksumCrc32c The base64-encoded, 32-bit CRC32C checksum of the object. + * + * @return builder + * + */ + public Builder checksumCrc32c(String checksumCrc32c) { + return checksumCrc32c(Output.of(checksumCrc32c)); + } + + /** + * @param checksumSha1 The base64-encoded, 160-bit SHA-1 digest of the object. + * + * @return builder + * + */ + public Builder checksumSha1(@Nullable Output checksumSha1) { + $.checksumSha1 = checksumSha1; + return this; + } + + /** + * @param checksumSha1 The base64-encoded, 160-bit SHA-1 digest of the object. + * + * @return builder + * + */ + public Builder checksumSha1(String checksumSha1) { + return checksumSha1(Output.of(checksumSha1)); + } + + /** + * @param checksumSha256 The base64-encoded, 256-bit SHA-256 digest of the object. + * + * @return builder + * + */ + public Builder checksumSha256(@Nullable Output checksumSha256) { + $.checksumSha256 = checksumSha256; + return this; + } + + /** + * @param checksumSha256 The base64-encoded, 256-bit SHA-256 digest of the object. + * + * @return builder + * + */ + public Builder checksumSha256(String checksumSha256) { + return checksumSha256(Output.of(checksumSha256)); + } + /** * @param content Literal string value to use as the object content, which will be uploaded as UTF-8-encoded text. * diff --git a/sdk/java/src/main/java/com/pulumi/aws/s3/inputs/GetObjectArgs.java b/sdk/java/src/main/java/com/pulumi/aws/s3/inputs/GetObjectArgs.java index f646ad1eec8..f5ddc2903b0 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/s3/inputs/GetObjectArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/s3/inputs/GetObjectArgs.java @@ -31,6 +31,21 @@ public Output bucket() { return this.bucket; } + /** + * To retrieve the object's checksum, this argument must be `ENABLED`. If you enable `checksum_mode` and the object is encrypted with KMS, you must have permission to use the `kms:Decrypt` action. Valid values: `ENABLED` + * + */ + @Import(name="checksumMode") + private @Nullable Output checksumMode; + + /** + * @return To retrieve the object's checksum, this argument must be `ENABLED`. If you enable `checksum_mode` and the object is encrypted with KMS, you must have permission to use the `kms:Decrypt` action. Valid values: `ENABLED` + * + */ + public Optional> checksumMode() { + return Optional.ofNullable(this.checksumMode); + } + /** * Full path to the object inside the bucket * @@ -87,6 +102,7 @@ private GetObjectArgs() {} private GetObjectArgs(GetObjectArgs $) { this.bucket = $.bucket; + this.checksumMode = $.checksumMode; this.key = $.key; this.range = $.range; this.tags = $.tags; @@ -132,6 +148,27 @@ public Builder bucket(String bucket) { return bucket(Output.of(bucket)); } + /** + * @param checksumMode To retrieve the object's checksum, this argument must be `ENABLED`. If you enable `checksum_mode` and the object is encrypted with KMS, you must have permission to use the `kms:Decrypt` action. Valid values: `ENABLED` + * + * @return builder + * + */ + public Builder checksumMode(@Nullable Output checksumMode) { + $.checksumMode = checksumMode; + return this; + } + + /** + * @param checksumMode To retrieve the object's checksum, this argument must be `ENABLED`. If you enable `checksum_mode` and the object is encrypted with KMS, you must have permission to use the `kms:Decrypt` action. Valid values: `ENABLED` + * + * @return builder + * + */ + public Builder checksumMode(String checksumMode) { + return checksumMode(Output.of(checksumMode)); + } + /** * @param key Full path to the object inside the bucket * diff --git a/sdk/java/src/main/java/com/pulumi/aws/s3/inputs/GetObjectPlainArgs.java b/sdk/java/src/main/java/com/pulumi/aws/s3/inputs/GetObjectPlainArgs.java index 8309ce3b873..ef6d570bdb4 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/s3/inputs/GetObjectPlainArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/s3/inputs/GetObjectPlainArgs.java @@ -30,6 +30,21 @@ public String bucket() { return this.bucket; } + /** + * To retrieve the object's checksum, this argument must be `ENABLED`. If you enable `checksum_mode` and the object is encrypted with KMS, you must have permission to use the `kms:Decrypt` action. Valid values: `ENABLED` + * + */ + @Import(name="checksumMode") + private @Nullable String checksumMode; + + /** + * @return To retrieve the object's checksum, this argument must be `ENABLED`. If you enable `checksum_mode` and the object is encrypted with KMS, you must have permission to use the `kms:Decrypt` action. Valid values: `ENABLED` + * + */ + public Optional checksumMode() { + return Optional.ofNullable(this.checksumMode); + } + /** * Full path to the object inside the bucket * @@ -86,6 +101,7 @@ private GetObjectPlainArgs() {} private GetObjectPlainArgs(GetObjectPlainArgs $) { this.bucket = $.bucket; + this.checksumMode = $.checksumMode; this.key = $.key; this.range = $.range; this.tags = $.tags; @@ -121,6 +137,17 @@ public Builder bucket(String bucket) { return this; } + /** + * @param checksumMode To retrieve the object's checksum, this argument must be `ENABLED`. If you enable `checksum_mode` and the object is encrypted with KMS, you must have permission to use the `kms:Decrypt` action. Valid values: `ENABLED` + * + * @return builder + * + */ + public Builder checksumMode(@Nullable String checksumMode) { + $.checksumMode = checksumMode; + return this; + } + /** * @param key Full path to the object inside the bucket * diff --git a/sdk/java/src/main/java/com/pulumi/aws/s3/inputs/ObjectCopyState.java b/sdk/java/src/main/java/com/pulumi/aws/s3/inputs/ObjectCopyState.java index 5ae6a720215..df90ceb5dff 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/s3/inputs/ObjectCopyState.java +++ b/sdk/java/src/main/java/com/pulumi/aws/s3/inputs/ObjectCopyState.java @@ -71,6 +71,81 @@ public Optional> cacheControl() { return Optional.ofNullable(this.cacheControl); } + /** + * Indicates the algorithm used to create the checksum for the object. If a value is specified and the object is encrypted with KMS, you must have permission to use the `kms:Decrypt` action. Valid values: `CRC32`, `CRC32C`, `SHA1`, `SHA256`. + * + */ + @Import(name="checksumAlgorithm") + private @Nullable Output checksumAlgorithm; + + /** + * @return Indicates the algorithm used to create the checksum for the object. If a value is specified and the object is encrypted with KMS, you must have permission to use the `kms:Decrypt` action. Valid values: `CRC32`, `CRC32C`, `SHA1`, `SHA256`. + * + */ + public Optional> checksumAlgorithm() { + return Optional.ofNullable(this.checksumAlgorithm); + } + + /** + * The base64-encoded, 32-bit CRC32 checksum of the object. + * + */ + @Import(name="checksumCrc32") + private @Nullable Output checksumCrc32; + + /** + * @return The base64-encoded, 32-bit CRC32 checksum of the object. + * + */ + public Optional> checksumCrc32() { + return Optional.ofNullable(this.checksumCrc32); + } + + /** + * The base64-encoded, 32-bit CRC32C checksum of the object. + * + */ + @Import(name="checksumCrc32c") + private @Nullable Output checksumCrc32c; + + /** + * @return The base64-encoded, 32-bit CRC32C checksum of the object. + * + */ + public Optional> checksumCrc32c() { + return Optional.ofNullable(this.checksumCrc32c); + } + + /** + * The base64-encoded, 160-bit SHA-1 digest of the object. + * + */ + @Import(name="checksumSha1") + private @Nullable Output checksumSha1; + + /** + * @return The base64-encoded, 160-bit SHA-1 digest of the object. + * + */ + public Optional> checksumSha1() { + return Optional.ofNullable(this.checksumSha1); + } + + /** + * The base64-encoded, 256-bit SHA-256 digest of the object. + * + */ + @Import(name="checksumSha256") + private @Nullable Output checksumSha256; + + /** + * @return The base64-encoded, 256-bit SHA-256 digest of the object. + * + */ + public Optional> checksumSha256() { + return Optional.ofNullable(this.checksumSha256); + } + /** * Specifies presentational information for the object. Read [w3c content_disposition](http://www.w3.org/Protocols/rfc2616/rfc2616-sec19.html#sec19.5.1) for further information. * @@ -705,6 +780,11 @@ private ObjectCopyState(ObjectCopyState $) { this.bucket = $.bucket; this.bucketKeyEnabled = $.bucketKeyEnabled; this.cacheControl = $.cacheControl; + this.checksumAlgorithm = $.checksumAlgorithm; + this.checksumCrc32 = $.checksumCrc32; + this.checksumCrc32c = $.checksumCrc32c; + this.checksumSha1 = $.checksumSha1; + this.checksumSha256 = $.checksumSha256; this.contentDisposition = $.contentDisposition; this.contentEncoding = $.contentEncoding; this.contentLanguage = $.contentLanguage; @@ -838,6 +918,111 @@ public Builder cacheControl(String cacheControl) { return cacheControl(Output.of(cacheControl)); } + /** + * @param checksumAlgorithm Indicates the algorithm used to create the checksum for the object. If a value is specified and the object is encrypted with KMS, you must have permission to use the `kms:Decrypt` action. Valid values: `CRC32`, `CRC32C`, `SHA1`, `SHA256`. + * + * @return builder + * + */ + public Builder checksumAlgorithm(@Nullable Output checksumAlgorithm) { + $.checksumAlgorithm = checksumAlgorithm; + return this; + } + + /** + * @param checksumAlgorithm Indicates the algorithm used to create the checksum for the object. If a value is specified and the object is encrypted with KMS, you must have permission to use the `kms:Decrypt` action. Valid values: `CRC32`, `CRC32C`, `SHA1`, `SHA256`. + * + * @return builder + * + */ + public Builder checksumAlgorithm(String checksumAlgorithm) { + return checksumAlgorithm(Output.of(checksumAlgorithm)); + } + + /** + * @param checksumCrc32 The base64-encoded, 32-bit CRC32 checksum of the object. + * + * @return builder + * + */ + public Builder checksumCrc32(@Nullable Output checksumCrc32) { + $.checksumCrc32 = checksumCrc32; + return this; + } + + /** + * @param checksumCrc32 The base64-encoded, 32-bit CRC32 checksum of the object. + * + * @return builder + * + */ + public Builder checksumCrc32(String checksumCrc32) { + return checksumCrc32(Output.of(checksumCrc32)); + } + + /** + * @param checksumCrc32c The base64-encoded, 32-bit CRC32C checksum of the object. + * + * @return builder + * + */ + public Builder checksumCrc32c(@Nullable Output checksumCrc32c) { + $.checksumCrc32c = checksumCrc32c; + return this; + } + + /** + * @param checksumCrc32c The base64-encoded, 32-bit CRC32C checksum of the object. + * + * @return builder + * + */ + public Builder checksumCrc32c(String checksumCrc32c) { + return checksumCrc32c(Output.of(checksumCrc32c)); + } + + /** + * @param checksumSha1 The base64-encoded, 160-bit SHA-1 digest of the object. + * + * @return builder + * + */ + public Builder checksumSha1(@Nullable Output checksumSha1) { + $.checksumSha1 = checksumSha1; + return this; + } + + /** + * @param checksumSha1 The base64-encoded, 160-bit SHA-1 digest of the object. + * + * @return builder + * + */ + public Builder checksumSha1(String checksumSha1) { + return checksumSha1(Output.of(checksumSha1)); + } + + /** + * @param checksumSha256 The base64-encoded, 256-bit SHA-256 digest of the object. + * + * @return builder + * + */ + public Builder checksumSha256(@Nullable Output checksumSha256) { + $.checksumSha256 = checksumSha256; + return this; + } + + /** + * @param checksumSha256 The base64-encoded, 256-bit SHA-256 digest of the object. + * + * @return builder + * + */ + public Builder checksumSha256(String checksumSha256) { + return checksumSha256(Output.of(checksumSha256)); + } + /** * @param contentDisposition Specifies presentational information for the object. Read [w3c content_disposition](http://www.w3.org/Protocols/rfc2616/rfc2616-sec19.html#sec19.5.1) for further information. * diff --git a/sdk/java/src/main/java/com/pulumi/aws/s3/outputs/GetObjectResult.java b/sdk/java/src/main/java/com/pulumi/aws/s3/outputs/GetObjectResult.java index e531d390f93..e85d8e5a68f 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/s3/outputs/GetObjectResult.java +++ b/sdk/java/src/main/java/com/pulumi/aws/s3/outputs/GetObjectResult.java @@ -30,6 +30,27 @@ public final class GetObjectResult { * */ private String cacheControl; + /** + * @return The base64-encoded, 32-bit CRC32 checksum of the object. + * + */ + private String checksumCrc32; + /** + * @return The base64-encoded, 32-bit CRC32C checksum of the object. + * + */ + private String checksumCrc32c; + private @Nullable String checksumMode; + /** + * @return The base64-encoded, 160-bit SHA-1 digest of the object. + * + */ + private String checksumSha1; + /** + * @return The base64-encoded, 256-bit SHA-256 digest of the object. + * + */ + private String checksumSha256; /** * @return Presentational information for the object. * @@ -158,6 +179,37 @@ public Boolean bucketKeyEnabled() { public String cacheControl() { return this.cacheControl; } + /** + * @return The base64-encoded, 32-bit CRC32 checksum of the object. + * + */ + public String checksumCrc32() { + return this.checksumCrc32; + } + /** + * @return The base64-encoded, 32-bit CRC32C checksum of the object. + * + */ + public String checksumCrc32c() { + return this.checksumCrc32c; + } + public Optional checksumMode() { + return Optional.ofNullable(this.checksumMode); + } + /** + * @return The base64-encoded, 160-bit SHA-1 digest of the object. + * + */ + public String checksumSha1() { + return this.checksumSha1; + } + /** + * @return The base64-encoded, 256-bit SHA-256 digest of the object. + * + */ + public String checksumSha256() { + return this.checksumSha256; + } /** * @return Presentational information for the object. * @@ -318,6 +370,11 @@ public static final class Builder { private String bucket; private Boolean bucketKeyEnabled; private String cacheControl; + private String checksumCrc32; + private String checksumCrc32c; + private @Nullable String checksumMode; + private String checksumSha1; + private String checksumSha256; private String contentDisposition; private String contentEncoding; private String contentLanguage; @@ -347,6 +404,11 @@ public Builder(GetObjectResult defaults) { this.bucket = defaults.bucket; this.bucketKeyEnabled = defaults.bucketKeyEnabled; this.cacheControl = defaults.cacheControl; + this.checksumCrc32 = defaults.checksumCrc32; + this.checksumCrc32c = defaults.checksumCrc32c; + this.checksumMode = defaults.checksumMode; + this.checksumSha1 = defaults.checksumSha1; + this.checksumSha256 = defaults.checksumSha256; this.contentDisposition = defaults.contentDisposition; this.contentEncoding = defaults.contentEncoding; this.contentLanguage = defaults.contentLanguage; @@ -392,6 +454,31 @@ public Builder cacheControl(String cacheControl) { return this; } @CustomType.Setter + public Builder checksumCrc32(String checksumCrc32) { + this.checksumCrc32 = Objects.requireNonNull(checksumCrc32); + return this; + } + @CustomType.Setter + public Builder checksumCrc32c(String checksumCrc32c) { + this.checksumCrc32c = Objects.requireNonNull(checksumCrc32c); + return this; + } + @CustomType.Setter + public Builder checksumMode(@Nullable String checksumMode) { + this.checksumMode = checksumMode; + return this; + } + @CustomType.Setter + public Builder checksumSha1(String checksumSha1) { + this.checksumSha1 = Objects.requireNonNull(checksumSha1); + return this; + } + @CustomType.Setter + public Builder checksumSha256(String checksumSha256) { + this.checksumSha256 = Objects.requireNonNull(checksumSha256); + return this; + } + @CustomType.Setter public Builder contentDisposition(String contentDisposition) { this.contentDisposition = Objects.requireNonNull(contentDisposition); return this; @@ -507,6 +594,11 @@ public GetObjectResult build() { o.bucket = bucket; o.bucketKeyEnabled = bucketKeyEnabled; o.cacheControl = cacheControl; + o.checksumCrc32 = checksumCrc32; + o.checksumCrc32c = checksumCrc32c; + o.checksumMode = checksumMode; + o.checksumSha1 = checksumSha1; + o.checksumSha256 = checksumSha256; o.contentDisposition = contentDisposition; o.contentEncoding = contentEncoding; o.contentLanguage = contentLanguage; diff --git a/sdk/java/src/main/java/com/pulumi/aws/s3control/inputs/MultiRegionAccessPointDetailsRegionArgs.java b/sdk/java/src/main/java/com/pulumi/aws/s3control/inputs/MultiRegionAccessPointDetailsRegionArgs.java index d2d7142bc08..5a0d4bfabb8 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/s3control/inputs/MultiRegionAccessPointDetailsRegionArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/s3control/inputs/MultiRegionAccessPointDetailsRegionArgs.java @@ -7,6 +7,8 @@ import com.pulumi.core.annotations.Import; import java.lang.String; import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; public final class MultiRegionAccessPointDetailsRegionArgs extends com.pulumi.resources.ResourceArgs { @@ -20,10 +22,26 @@ public Output bucket() { return this.bucket; } + @Import(name="bucketAccountId") + private @Nullable Output bucketAccountId; + + public Optional> bucketAccountId() { + return Optional.ofNullable(this.bucketAccountId); + } + + @Import(name="region") + private @Nullable Output region; + + public Optional> region() { + return Optional.ofNullable(this.region); + } + private MultiRegionAccessPointDetailsRegionArgs() {} private MultiRegionAccessPointDetailsRegionArgs(MultiRegionAccessPointDetailsRegionArgs $) { this.bucket = $.bucket; + this.bucketAccountId = $.bucketAccountId; + this.region = $.region; } public static Builder builder() { @@ -53,6 +71,24 @@ public Builder bucket(String bucket) { return bucket(Output.of(bucket)); } + public Builder bucketAccountId(@Nullable Output bucketAccountId) { + $.bucketAccountId = bucketAccountId; + return this; + } + + public Builder bucketAccountId(String bucketAccountId) { + return bucketAccountId(Output.of(bucketAccountId)); + } + + public Builder region(@Nullable Output region) { + $.region = region; + return this; + } + + public Builder region(String region) { + return region(Output.of(region)); + } + public MultiRegionAccessPointDetailsRegionArgs build() { $.bucket = Objects.requireNonNull($.bucket, "expected parameter 'bucket' to be non-null"); return $; diff --git a/sdk/java/src/main/java/com/pulumi/aws/s3control/outputs/GetMultiRegionAccessPointRegion.java b/sdk/java/src/main/java/com/pulumi/aws/s3control/outputs/GetMultiRegionAccessPointRegion.java index fab78f15d70..9e501cb6f8e 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/s3control/outputs/GetMultiRegionAccessPointRegion.java +++ b/sdk/java/src/main/java/com/pulumi/aws/s3control/outputs/GetMultiRegionAccessPointRegion.java @@ -14,6 +14,11 @@ public final class GetMultiRegionAccessPointRegion { * */ private String bucket; + /** + * @return The AWS account ID that owns the bucket. + * + */ + private String bucketAccountId; /** * @return The name of the region. * @@ -28,6 +33,13 @@ private GetMultiRegionAccessPointRegion() {} public String bucket() { return this.bucket; } + /** + * @return The AWS account ID that owns the bucket. + * + */ + public String bucketAccountId() { + return this.bucketAccountId; + } /** * @return The name of the region. * @@ -46,11 +58,13 @@ public static Builder builder(GetMultiRegionAccessPointRegion defaults) { @CustomType.Builder public static final class Builder { private String bucket; + private String bucketAccountId; private String region; public Builder() {} public Builder(GetMultiRegionAccessPointRegion defaults) { Objects.requireNonNull(defaults); this.bucket = defaults.bucket; + this.bucketAccountId = defaults.bucketAccountId; this.region = defaults.region; } @@ -60,6 +74,11 @@ public Builder bucket(String bucket) { return this; } @CustomType.Setter + public Builder bucketAccountId(String bucketAccountId) { + this.bucketAccountId = Objects.requireNonNull(bucketAccountId); + return this; + } + @CustomType.Setter public Builder region(String region) { this.region = Objects.requireNonNull(region); return this; @@ -67,6 +86,7 @@ public Builder region(String region) { public GetMultiRegionAccessPointRegion build() { final var o = new GetMultiRegionAccessPointRegion(); o.bucket = bucket; + o.bucketAccountId = bucketAccountId; o.region = region; return o; } diff --git a/sdk/java/src/main/java/com/pulumi/aws/s3control/outputs/MultiRegionAccessPointDetailsRegion.java b/sdk/java/src/main/java/com/pulumi/aws/s3control/outputs/MultiRegionAccessPointDetailsRegion.java index fc4550dec65..0362d675dc4 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/s3control/outputs/MultiRegionAccessPointDetailsRegion.java +++ b/sdk/java/src/main/java/com/pulumi/aws/s3control/outputs/MultiRegionAccessPointDetailsRegion.java @@ -6,15 +6,25 @@ import com.pulumi.core.annotations.CustomType; import java.lang.String; import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; @CustomType public final class MultiRegionAccessPointDetailsRegion { private String bucket; + private @Nullable String bucketAccountId; + private @Nullable String region; private MultiRegionAccessPointDetailsRegion() {} public String bucket() { return this.bucket; } + public Optional bucketAccountId() { + return Optional.ofNullable(this.bucketAccountId); + } + public Optional region() { + return Optional.ofNullable(this.region); + } public static Builder builder() { return new Builder(); @@ -26,10 +36,14 @@ public static Builder builder(MultiRegionAccessPointDetailsRegion defaults) { @CustomType.Builder public static final class Builder { private String bucket; + private @Nullable String bucketAccountId; + private @Nullable String region; public Builder() {} public Builder(MultiRegionAccessPointDetailsRegion defaults) { Objects.requireNonNull(defaults); this.bucket = defaults.bucket; + this.bucketAccountId = defaults.bucketAccountId; + this.region = defaults.region; } @CustomType.Setter @@ -37,9 +51,21 @@ public Builder bucket(String bucket) { this.bucket = Objects.requireNonNull(bucket); return this; } + @CustomType.Setter + public Builder bucketAccountId(@Nullable String bucketAccountId) { + this.bucketAccountId = bucketAccountId; + return this; + } + @CustomType.Setter + public Builder region(@Nullable String region) { + this.region = region; + return this; + } public MultiRegionAccessPointDetailsRegion build() { final var o = new MultiRegionAccessPointDetailsRegion(); o.bucket = bucket; + o.bucketAccountId = bucketAccountId; + o.region = region; return o; } } diff --git a/sdk/java/src/main/java/com/pulumi/aws/schemas/Schema.java b/sdk/java/src/main/java/com/pulumi/aws/schemas/Schema.java index 82ef6b2750f..65987aeae2c 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/schemas/Schema.java +++ b/sdk/java/src/main/java/com/pulumi/aws/schemas/Schema.java @@ -208,14 +208,14 @@ public Output> tagsAll() { return this.tagsAll; } /** - * The type of the schema. Valid values: `OpenApi3`. + * The type of the schema. Valid values: `OpenApi3` or `JSONSchemaDraft4`. * */ @Export(name="type", refs={String.class}, tree="[0]") private Output type; /** - * @return The type of the schema. Valid values: `OpenApi3`. + * @return The type of the schema. Valid values: `OpenApi3` or `JSONSchemaDraft4`. * */ public Output type() { diff --git a/sdk/java/src/main/java/com/pulumi/aws/schemas/SchemaArgs.java b/sdk/java/src/main/java/com/pulumi/aws/schemas/SchemaArgs.java index 316ea342a7d..27e0a7308a3 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/schemas/SchemaArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/schemas/SchemaArgs.java @@ -92,14 +92,14 @@ public Optional>> tags() { } /** - * The type of the schema. Valid values: `OpenApi3`. + * The type of the schema. Valid values: `OpenApi3` or `JSONSchemaDraft4`. * */ @Import(name="type", required=true) private Output type; /** - * @return The type of the schema. Valid values: `OpenApi3`. + * @return The type of the schema. Valid values: `OpenApi3` or `JSONSchemaDraft4`. * */ public Output type() { @@ -241,7 +241,7 @@ public Builder tags(Map tags) { } /** - * @param type The type of the schema. Valid values: `OpenApi3`. + * @param type The type of the schema. Valid values: `OpenApi3` or `JSONSchemaDraft4`. * * @return builder * @@ -252,7 +252,7 @@ public Builder type(Output type) { } /** - * @param type The type of the schema. Valid values: `OpenApi3`. + * @param type The type of the schema. Valid values: `OpenApi3` or `JSONSchemaDraft4`. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/aws/schemas/inputs/SchemaState.java b/sdk/java/src/main/java/com/pulumi/aws/schemas/inputs/SchemaState.java index 6e810b07066..b76800f112e 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/schemas/inputs/SchemaState.java +++ b/sdk/java/src/main/java/com/pulumi/aws/schemas/inputs/SchemaState.java @@ -145,14 +145,14 @@ public Optional>> tagsAll() { } /** - * The type of the schema. Valid values: `OpenApi3`. + * The type of the schema. Valid values: `OpenApi3` or `JSONSchemaDraft4`. * */ @Import(name="type") private @Nullable Output type; /** - * @return The type of the schema. Valid values: `OpenApi3`. + * @return The type of the schema. Valid values: `OpenApi3` or `JSONSchemaDraft4`. * */ public Optional> type() { @@ -400,7 +400,7 @@ public Builder tagsAll(Map tagsAll) { } /** - * @param type The type of the schema. Valid values: `OpenApi3`. + * @param type The type of the schema. Valid values: `OpenApi3` or `JSONSchemaDraft4`. * * @return builder * @@ -411,7 +411,7 @@ public Builder type(@Nullable Output type) { } /** - * @param type The type of the schema. Valid values: `OpenApi3`. + * @param type The type of the schema. Valid values: `OpenApi3` or `JSONSchemaDraft4`. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/aws/shield/ApplicationLayerAutomaticResponse.java b/sdk/java/src/main/java/com/pulumi/aws/shield/ApplicationLayerAutomaticResponse.java new file mode 100644 index 00000000000..375e9e63f86 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/shield/ApplicationLayerAutomaticResponse.java @@ -0,0 +1,149 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.aws.shield; + +import com.pulumi.aws.Utilities; +import com.pulumi.aws.shield.ApplicationLayerAutomaticResponseArgs; +import com.pulumi.aws.shield.inputs.ApplicationLayerAutomaticResponseState; +import com.pulumi.aws.shield.outputs.ApplicationLayerAutomaticResponseTimeouts; +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Export; +import com.pulumi.core.annotations.ResourceType; +import com.pulumi.core.internal.Codegen; +import java.lang.String; +import java.util.Optional; +import javax.annotation.Nullable; + +/** + * Resource for managing an AWS Shield Application Layer Automatic Response for automatic DDoS mitigation. + * + * ## Example Usage + * ### Basic Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.aws.AwsFunctions; + * import com.pulumi.aws.inputs.GetRegionArgs; + * import com.pulumi.aws.inputs.GetCallerIdentityArgs; + * import com.pulumi.aws.inputs.GetPartitionArgs; + * import com.pulumi.aws.shield.ApplicationLayerAutomaticResponse; + * import com.pulumi.aws.shield.ApplicationLayerAutomaticResponseArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var currentRegion = AwsFunctions.getRegion(); + * + * final var currentCallerIdentity = AwsFunctions.getCallerIdentity(); + * + * final var currentPartition = AwsFunctions.getPartition(); + * + * var example = new ApplicationLayerAutomaticResponse("example", ApplicationLayerAutomaticResponseArgs.builder() + * .action("COUNT") + * .resourceArn(String.format("arn:%s:cloudfront:%s:distribution/%s", currentPartition.applyValue(getPartitionResult -> getPartitionResult.partition()),currentCallerIdentity.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()),var_.distribution_id())) + * .build()); + * + * } + * } + * ``` + * + */ +@ResourceType(type="aws:shield/applicationLayerAutomaticResponse:ApplicationLayerAutomaticResponse") +public class ApplicationLayerAutomaticResponse extends com.pulumi.resources.CustomResource { + /** + * One of `COUNT` or `BLOCK` + * + */ + @Export(name="action", refs={String.class}, tree="[0]") + private Output action; + + /** + * @return One of `COUNT` or `BLOCK` + * + */ + public Output action() { + return this.action; + } + /** + * ARN of the resource to protect (Cloudfront Distributions and ALBs only at this time). + * + */ + @Export(name="resourceArn", refs={String.class}, tree="[0]") + private Output resourceArn; + + /** + * @return ARN of the resource to protect (Cloudfront Distributions and ALBs only at this time). + * + */ + public Output resourceArn() { + return this.resourceArn; + } + @Export(name="timeouts", refs={ApplicationLayerAutomaticResponseTimeouts.class}, tree="[0]") + private Output timeouts; + + public Output> timeouts() { + return Codegen.optional(this.timeouts); + } + + /** + * + * @param name The _unique_ name of the resulting resource. + */ + public ApplicationLayerAutomaticResponse(String name) { + this(name, ApplicationLayerAutomaticResponseArgs.Empty); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + */ + public ApplicationLayerAutomaticResponse(String name, ApplicationLayerAutomaticResponseArgs args) { + this(name, args, null); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + * @param options A bag of options that control this resource's behavior. + */ + public ApplicationLayerAutomaticResponse(String name, ApplicationLayerAutomaticResponseArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("aws:shield/applicationLayerAutomaticResponse:ApplicationLayerAutomaticResponse", name, args == null ? ApplicationLayerAutomaticResponseArgs.Empty : args, makeResourceOptions(options, Codegen.empty())); + } + + private ApplicationLayerAutomaticResponse(String name, Output id, @Nullable ApplicationLayerAutomaticResponseState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("aws:shield/applicationLayerAutomaticResponse:ApplicationLayerAutomaticResponse", name, state, makeResourceOptions(options, id)); + } + + private static com.pulumi.resources.CustomResourceOptions makeResourceOptions(@Nullable com.pulumi.resources.CustomResourceOptions options, @Nullable Output id) { + var defaultOptions = com.pulumi.resources.CustomResourceOptions.builder() + .version(Utilities.getVersion()) + .build(); + return com.pulumi.resources.CustomResourceOptions.merge(defaultOptions, options, id); + } + + /** + * Get an existing Host resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param state + * @param options Optional settings to control the behavior of the CustomResource. + */ + public static ApplicationLayerAutomaticResponse get(String name, Output id, @Nullable ApplicationLayerAutomaticResponseState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + return new ApplicationLayerAutomaticResponse(name, id, state, options); + } +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/shield/ApplicationLayerAutomaticResponseArgs.java b/sdk/java/src/main/java/com/pulumi/aws/shield/ApplicationLayerAutomaticResponseArgs.java new file mode 100644 index 00000000000..82a98a16517 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/shield/ApplicationLayerAutomaticResponseArgs.java @@ -0,0 +1,140 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.aws.shield; + +import com.pulumi.aws.shield.inputs.ApplicationLayerAutomaticResponseTimeoutsArgs; +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class ApplicationLayerAutomaticResponseArgs extends com.pulumi.resources.ResourceArgs { + + public static final ApplicationLayerAutomaticResponseArgs Empty = new ApplicationLayerAutomaticResponseArgs(); + + /** + * One of `COUNT` or `BLOCK` + * + */ + @Import(name="action", required=true) + private Output action; + + /** + * @return One of `COUNT` or `BLOCK` + * + */ + public Output action() { + return this.action; + } + + /** + * ARN of the resource to protect (Cloudfront Distributions and ALBs only at this time). + * + */ + @Import(name="resourceArn", required=true) + private Output resourceArn; + + /** + * @return ARN of the resource to protect (Cloudfront Distributions and ALBs only at this time). + * + */ + public Output resourceArn() { + return this.resourceArn; + } + + @Import(name="timeouts") + private @Nullable Output timeouts; + + public Optional> timeouts() { + return Optional.ofNullable(this.timeouts); + } + + private ApplicationLayerAutomaticResponseArgs() {} + + private ApplicationLayerAutomaticResponseArgs(ApplicationLayerAutomaticResponseArgs $) { + this.action = $.action; + this.resourceArn = $.resourceArn; + this.timeouts = $.timeouts; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(ApplicationLayerAutomaticResponseArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private ApplicationLayerAutomaticResponseArgs $; + + public Builder() { + $ = new ApplicationLayerAutomaticResponseArgs(); + } + + public Builder(ApplicationLayerAutomaticResponseArgs defaults) { + $ = new ApplicationLayerAutomaticResponseArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param action One of `COUNT` or `BLOCK` + * + * @return builder + * + */ + public Builder action(Output action) { + $.action = action; + return this; + } + + /** + * @param action One of `COUNT` or `BLOCK` + * + * @return builder + * + */ + public Builder action(String action) { + return action(Output.of(action)); + } + + /** + * @param resourceArn ARN of the resource to protect (Cloudfront Distributions and ALBs only at this time). + * + * @return builder + * + */ + public Builder resourceArn(Output resourceArn) { + $.resourceArn = resourceArn; + return this; + } + + /** + * @param resourceArn ARN of the resource to protect (Cloudfront Distributions and ALBs only at this time). + * + * @return builder + * + */ + public Builder resourceArn(String resourceArn) { + return resourceArn(Output.of(resourceArn)); + } + + public Builder timeouts(@Nullable Output timeouts) { + $.timeouts = timeouts; + return this; + } + + public Builder timeouts(ApplicationLayerAutomaticResponseTimeoutsArgs timeouts) { + return timeouts(Output.of(timeouts)); + } + + public ApplicationLayerAutomaticResponseArgs build() { + $.action = Objects.requireNonNull($.action, "expected parameter 'action' to be non-null"); + $.resourceArn = Objects.requireNonNull($.resourceArn, "expected parameter 'resourceArn' to be non-null"); + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/shield/inputs/ApplicationLayerAutomaticResponseState.java b/sdk/java/src/main/java/com/pulumi/aws/shield/inputs/ApplicationLayerAutomaticResponseState.java new file mode 100644 index 00000000000..df73bf03c33 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/shield/inputs/ApplicationLayerAutomaticResponseState.java @@ -0,0 +1,138 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.aws.shield.inputs; + +import com.pulumi.aws.shield.inputs.ApplicationLayerAutomaticResponseTimeoutsArgs; +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class ApplicationLayerAutomaticResponseState extends com.pulumi.resources.ResourceArgs { + + public static final ApplicationLayerAutomaticResponseState Empty = new ApplicationLayerAutomaticResponseState(); + + /** + * One of `COUNT` or `BLOCK` + * + */ + @Import(name="action") + private @Nullable Output action; + + /** + * @return One of `COUNT` or `BLOCK` + * + */ + public Optional> action() { + return Optional.ofNullable(this.action); + } + + /** + * ARN of the resource to protect (Cloudfront Distributions and ALBs only at this time). + * + */ + @Import(name="resourceArn") + private @Nullable Output resourceArn; + + /** + * @return ARN of the resource to protect (Cloudfront Distributions and ALBs only at this time). + * + */ + public Optional> resourceArn() { + return Optional.ofNullable(this.resourceArn); + } + + @Import(name="timeouts") + private @Nullable Output timeouts; + + public Optional> timeouts() { + return Optional.ofNullable(this.timeouts); + } + + private ApplicationLayerAutomaticResponseState() {} + + private ApplicationLayerAutomaticResponseState(ApplicationLayerAutomaticResponseState $) { + this.action = $.action; + this.resourceArn = $.resourceArn; + this.timeouts = $.timeouts; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(ApplicationLayerAutomaticResponseState defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private ApplicationLayerAutomaticResponseState $; + + public Builder() { + $ = new ApplicationLayerAutomaticResponseState(); + } + + public Builder(ApplicationLayerAutomaticResponseState defaults) { + $ = new ApplicationLayerAutomaticResponseState(Objects.requireNonNull(defaults)); + } + + /** + * @param action One of `COUNT` or `BLOCK` + * + * @return builder + * + */ + public Builder action(@Nullable Output action) { + $.action = action; + return this; + } + + /** + * @param action One of `COUNT` or `BLOCK` + * + * @return builder + * + */ + public Builder action(String action) { + return action(Output.of(action)); + } + + /** + * @param resourceArn ARN of the resource to protect (Cloudfront Distributions and ALBs only at this time). + * + * @return builder + * + */ + public Builder resourceArn(@Nullable Output resourceArn) { + $.resourceArn = resourceArn; + return this; + } + + /** + * @param resourceArn ARN of the resource to protect (Cloudfront Distributions and ALBs only at this time). + * + * @return builder + * + */ + public Builder resourceArn(String resourceArn) { + return resourceArn(Output.of(resourceArn)); + } + + public Builder timeouts(@Nullable Output timeouts) { + $.timeouts = timeouts; + return this; + } + + public Builder timeouts(ApplicationLayerAutomaticResponseTimeoutsArgs timeouts) { + return timeouts(Output.of(timeouts)); + } + + public ApplicationLayerAutomaticResponseState build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/shield/inputs/ApplicationLayerAutomaticResponseTimeoutsArgs.java b/sdk/java/src/main/java/com/pulumi/aws/shield/inputs/ApplicationLayerAutomaticResponseTimeoutsArgs.java new file mode 100644 index 00000000000..effdf9ca826 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/shield/inputs/ApplicationLayerAutomaticResponseTimeoutsArgs.java @@ -0,0 +1,97 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.aws.shield.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class ApplicationLayerAutomaticResponseTimeoutsArgs extends com.pulumi.resources.ResourceArgs { + + public static final ApplicationLayerAutomaticResponseTimeoutsArgs Empty = new ApplicationLayerAutomaticResponseTimeoutsArgs(); + + @Import(name="create") + private @Nullable Output create; + + public Optional> create() { + return Optional.ofNullable(this.create); + } + + @Import(name="delete") + private @Nullable Output delete; + + public Optional> delete() { + return Optional.ofNullable(this.delete); + } + + @Import(name="update") + private @Nullable Output update; + + public Optional> update() { + return Optional.ofNullable(this.update); + } + + private ApplicationLayerAutomaticResponseTimeoutsArgs() {} + + private ApplicationLayerAutomaticResponseTimeoutsArgs(ApplicationLayerAutomaticResponseTimeoutsArgs $) { + this.create = $.create; + this.delete = $.delete; + this.update = $.update; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(ApplicationLayerAutomaticResponseTimeoutsArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private ApplicationLayerAutomaticResponseTimeoutsArgs $; + + public Builder() { + $ = new ApplicationLayerAutomaticResponseTimeoutsArgs(); + } + + public Builder(ApplicationLayerAutomaticResponseTimeoutsArgs defaults) { + $ = new ApplicationLayerAutomaticResponseTimeoutsArgs(Objects.requireNonNull(defaults)); + } + + public Builder create(@Nullable Output create) { + $.create = create; + return this; + } + + public Builder create(String create) { + return create(Output.of(create)); + } + + public Builder delete(@Nullable Output delete) { + $.delete = delete; + return this; + } + + public Builder delete(String delete) { + return delete(Output.of(delete)); + } + + public Builder update(@Nullable Output update) { + $.update = update; + return this; + } + + public Builder update(String update) { + return update(Output.of(update)); + } + + public ApplicationLayerAutomaticResponseTimeoutsArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/shield/outputs/ApplicationLayerAutomaticResponseTimeouts.java b/sdk/java/src/main/java/com/pulumi/aws/shield/outputs/ApplicationLayerAutomaticResponseTimeouts.java new file mode 100644 index 00000000000..68dea0b2e27 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/shield/outputs/ApplicationLayerAutomaticResponseTimeouts.java @@ -0,0 +1,72 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.aws.shield.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class ApplicationLayerAutomaticResponseTimeouts { + private @Nullable String create; + private @Nullable String delete; + private @Nullable String update; + + private ApplicationLayerAutomaticResponseTimeouts() {} + public Optional create() { + return Optional.ofNullable(this.create); + } + public Optional delete() { + return Optional.ofNullable(this.delete); + } + public Optional update() { + return Optional.ofNullable(this.update); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(ApplicationLayerAutomaticResponseTimeouts defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String create; + private @Nullable String delete; + private @Nullable String update; + public Builder() {} + public Builder(ApplicationLayerAutomaticResponseTimeouts defaults) { + Objects.requireNonNull(defaults); + this.create = defaults.create; + this.delete = defaults.delete; + this.update = defaults.update; + } + + @CustomType.Setter + public Builder create(@Nullable String create) { + this.create = create; + return this; + } + @CustomType.Setter + public Builder delete(@Nullable String delete) { + this.delete = delete; + return this; + } + @CustomType.Setter + public Builder update(@Nullable String update) { + this.update = update; + return this; + } + public ApplicationLayerAutomaticResponseTimeouts build() { + final var o = new ApplicationLayerAutomaticResponseTimeouts(); + o.create = create; + o.delete = delete; + o.update = update; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/transfer/Connector.java b/sdk/java/src/main/java/com/pulumi/aws/transfer/Connector.java index 1e0865a3333..2271bcf1977 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/transfer/Connector.java +++ b/sdk/java/src/main/java/com/pulumi/aws/transfer/Connector.java @@ -7,6 +7,7 @@ import com.pulumi.aws.transfer.ConnectorArgs; import com.pulumi.aws.transfer.inputs.ConnectorState; import com.pulumi.aws.transfer.outputs.ConnectorAs2Config; +import com.pulumi.aws.transfer.outputs.ConnectorSftpConfig; import com.pulumi.core.Output; import com.pulumi.core.annotations.Export; import com.pulumi.core.annotations.ResourceType; @@ -62,6 +63,41 @@ * } * } * ``` + * ### SFTP Connector + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.aws.transfer.Connector; + * import com.pulumi.aws.transfer.ConnectorArgs; + * import com.pulumi.aws.transfer.inputs.ConnectorSftpConfigArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * var example = new Connector("example", ConnectorArgs.builder() + * .accessRole(aws_iam_role.test().arn()) + * .sftpConfig(ConnectorSftpConfigArgs.builder() + * .trustedHostKeys("ssh-rsa AAAAB3NYourKeysHere") + * .userSecretId(aws_secretsmanager_secret.example().id()) + * .build()) + * .url("sftp://test.com") + * .build()); + * + * } + * } + * ``` * * ## Import * @@ -103,28 +139,28 @@ public Output arn() { return this.arn; } /** - * The parameters to configure for the connector object. Fields documented below. + * Either SFTP or AS2 is configured.The parameters to configure for the connector object. Fields documented below. * */ @Export(name="as2Config", refs={ConnectorAs2Config.class}, tree="[0]") - private Output as2Config; + private Output as2Config; /** - * @return The parameters to configure for the connector object. Fields documented below. + * @return Either SFTP or AS2 is configured.The parameters to configure for the connector object. Fields documented below. * */ - public Output as2Config() { - return this.as2Config; + public Output> as2Config() { + return Codegen.optional(this.as2Config); } /** - * The unique identifier for the AS2 profile. + * The unique identifier for the AS2 profile or SFTP Profile. * */ @Export(name="connectorId", refs={String.class}, tree="[0]") private Output connectorId; /** - * @return The unique identifier for the AS2 profile. + * @return The unique identifier for the AS2 profile or SFTP Profile. * */ public Output connectorId() { @@ -144,6 +180,20 @@ public Output connectorId() { public Output> loggingRole() { return Codegen.optional(this.loggingRole); } + /** + * Either SFTP or AS2 is configured.The parameters to configure for the connector object. Fields documented below. + * + */ + @Export(name="sftpConfig", refs={ConnectorSftpConfig.class}, tree="[0]") + private Output sftpConfig; + + /** + * @return Either SFTP or AS2 is configured.The parameters to configure for the connector object. Fields documented below. + * + */ + public Output> sftpConfig() { + return Codegen.optional(this.sftpConfig); + } /** * A map of tags to assign to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. * @@ -171,14 +221,14 @@ public Output> tagsAll() { return this.tagsAll; } /** - * The URL of the partners AS2 endpoint. + * The URL of the partners AS2 endpoint or SFTP endpoint. * */ @Export(name="url", refs={String.class}, tree="[0]") private Output url; /** - * @return The URL of the partners AS2 endpoint. + * @return The URL of the partners AS2 endpoint or SFTP endpoint. * */ public Output url() { diff --git a/sdk/java/src/main/java/com/pulumi/aws/transfer/ConnectorArgs.java b/sdk/java/src/main/java/com/pulumi/aws/transfer/ConnectorArgs.java index e11279f810f..eeb48bbcc73 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/transfer/ConnectorArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/transfer/ConnectorArgs.java @@ -4,6 +4,7 @@ package com.pulumi.aws.transfer; import com.pulumi.aws.transfer.inputs.ConnectorAs2ConfigArgs; +import com.pulumi.aws.transfer.inputs.ConnectorSftpConfigArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import java.lang.String; @@ -33,18 +34,18 @@ public Output accessRole() { } /** - * The parameters to configure for the connector object. Fields documented below. + * Either SFTP or AS2 is configured.The parameters to configure for the connector object. Fields documented below. * */ - @Import(name="as2Config", required=true) - private Output as2Config; + @Import(name="as2Config") + private @Nullable Output as2Config; /** - * @return The parameters to configure for the connector object. Fields documented below. + * @return Either SFTP or AS2 is configured.The parameters to configure for the connector object. Fields documented below. * */ - public Output as2Config() { - return this.as2Config; + public Optional> as2Config() { + return Optional.ofNullable(this.as2Config); } /** @@ -62,6 +63,21 @@ public Optional> loggingRole() { return Optional.ofNullable(this.loggingRole); } + /** + * Either SFTP or AS2 is configured.The parameters to configure for the connector object. Fields documented below. + * + */ + @Import(name="sftpConfig") + private @Nullable Output sftpConfig; + + /** + * @return Either SFTP or AS2 is configured.The parameters to configure for the connector object. Fields documented below. + * + */ + public Optional> sftpConfig() { + return Optional.ofNullable(this.sftpConfig); + } + /** * A map of tags to assign to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. * @@ -78,14 +94,14 @@ public Optional>> tags() { } /** - * The URL of the partners AS2 endpoint. + * The URL of the partners AS2 endpoint or SFTP endpoint. * */ @Import(name="url", required=true) private Output url; /** - * @return The URL of the partners AS2 endpoint. + * @return The URL of the partners AS2 endpoint or SFTP endpoint. * */ public Output url() { @@ -98,6 +114,7 @@ private ConnectorArgs(ConnectorArgs $) { this.accessRole = $.accessRole; this.as2Config = $.as2Config; this.loggingRole = $.loggingRole; + this.sftpConfig = $.sftpConfig; this.tags = $.tags; this.url = $.url; } @@ -142,18 +159,18 @@ public Builder accessRole(String accessRole) { } /** - * @param as2Config The parameters to configure for the connector object. Fields documented below. + * @param as2Config Either SFTP or AS2 is configured.The parameters to configure for the connector object. Fields documented below. * * @return builder * */ - public Builder as2Config(Output as2Config) { + public Builder as2Config(@Nullable Output as2Config) { $.as2Config = as2Config; return this; } /** - * @param as2Config The parameters to configure for the connector object. Fields documented below. + * @param as2Config Either SFTP or AS2 is configured.The parameters to configure for the connector object. Fields documented below. * * @return builder * @@ -183,6 +200,27 @@ public Builder loggingRole(String loggingRole) { return loggingRole(Output.of(loggingRole)); } + /** + * @param sftpConfig Either SFTP or AS2 is configured.The parameters to configure for the connector object. Fields documented below. + * + * @return builder + * + */ + public Builder sftpConfig(@Nullable Output sftpConfig) { + $.sftpConfig = sftpConfig; + return this; + } + + /** + * @param sftpConfig Either SFTP or AS2 is configured.The parameters to configure for the connector object. Fields documented below. + * + * @return builder + * + */ + public Builder sftpConfig(ConnectorSftpConfigArgs sftpConfig) { + return sftpConfig(Output.of(sftpConfig)); + } + /** * @param tags A map of tags to assign to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. * @@ -205,7 +243,7 @@ public Builder tags(Map tags) { } /** - * @param url The URL of the partners AS2 endpoint. + * @param url The URL of the partners AS2 endpoint or SFTP endpoint. * * @return builder * @@ -216,7 +254,7 @@ public Builder url(Output url) { } /** - * @param url The URL of the partners AS2 endpoint. + * @param url The URL of the partners AS2 endpoint or SFTP endpoint. * * @return builder * @@ -227,7 +265,6 @@ public Builder url(String url) { public ConnectorArgs build() { $.accessRole = Objects.requireNonNull($.accessRole, "expected parameter 'accessRole' to be non-null"); - $.as2Config = Objects.requireNonNull($.as2Config, "expected parameter 'as2Config' to be non-null"); $.url = Objects.requireNonNull($.url, "expected parameter 'url' to be non-null"); return $; } diff --git a/sdk/java/src/main/java/com/pulumi/aws/transfer/inputs/ConnectorSftpConfigArgs.java b/sdk/java/src/main/java/com/pulumi/aws/transfer/inputs/ConnectorSftpConfigArgs.java new file mode 100644 index 00000000000..658152a0abc --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/transfer/inputs/ConnectorSftpConfigArgs.java @@ -0,0 +1,131 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.aws.transfer.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class ConnectorSftpConfigArgs extends com.pulumi.resources.ResourceArgs { + + public static final ConnectorSftpConfigArgs Empty = new ConnectorSftpConfigArgs(); + + /** + * A list of public portion of the host key, or keys, that are used to authenticate the user to the external server to which you are connecting.(https://docs.aws.amazon.com/transfer/latest/userguide/API_SftpConnectorConfig.html) + * + */ + @Import(name="trustedHostKeys") + private @Nullable Output> trustedHostKeys; + + /** + * @return A list of public portion of the host key, or keys, that are used to authenticate the user to the external server to which you are connecting.(https://docs.aws.amazon.com/transfer/latest/userguide/API_SftpConnectorConfig.html) + * + */ + public Optional>> trustedHostKeys() { + return Optional.ofNullable(this.trustedHostKeys); + } + + /** + * The identifier for the secret (in AWS Secrets Manager) that contains the SFTP user's private key, password, or both. The identifier can be either the Amazon Resource Name (ARN) or the name of the secret. + * + */ + @Import(name="userSecretId") + private @Nullable Output userSecretId; + + /** + * @return The identifier for the secret (in AWS Secrets Manager) that contains the SFTP user's private key, password, or both. The identifier can be either the Amazon Resource Name (ARN) or the name of the secret. + * + */ + public Optional> userSecretId() { + return Optional.ofNullable(this.userSecretId); + } + + private ConnectorSftpConfigArgs() {} + + private ConnectorSftpConfigArgs(ConnectorSftpConfigArgs $) { + this.trustedHostKeys = $.trustedHostKeys; + this.userSecretId = $.userSecretId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(ConnectorSftpConfigArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private ConnectorSftpConfigArgs $; + + public Builder() { + $ = new ConnectorSftpConfigArgs(); + } + + public Builder(ConnectorSftpConfigArgs defaults) { + $ = new ConnectorSftpConfigArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param trustedHostKeys A list of public portion of the host key, or keys, that are used to authenticate the user to the external server to which you are connecting.(https://docs.aws.amazon.com/transfer/latest/userguide/API_SftpConnectorConfig.html) + * + * @return builder + * + */ + public Builder trustedHostKeys(@Nullable Output> trustedHostKeys) { + $.trustedHostKeys = trustedHostKeys; + return this; + } + + /** + * @param trustedHostKeys A list of public portion of the host key, or keys, that are used to authenticate the user to the external server to which you are connecting.(https://docs.aws.amazon.com/transfer/latest/userguide/API_SftpConnectorConfig.html) + * + * @return builder + * + */ + public Builder trustedHostKeys(List trustedHostKeys) { + return trustedHostKeys(Output.of(trustedHostKeys)); + } + + /** + * @param trustedHostKeys A list of public portion of the host key, or keys, that are used to authenticate the user to the external server to which you are connecting.(https://docs.aws.amazon.com/transfer/latest/userguide/API_SftpConnectorConfig.html) + * + * @return builder + * + */ + public Builder trustedHostKeys(String... trustedHostKeys) { + return trustedHostKeys(List.of(trustedHostKeys)); + } + + /** + * @param userSecretId The identifier for the secret (in AWS Secrets Manager) that contains the SFTP user's private key, password, or both. The identifier can be either the Amazon Resource Name (ARN) or the name of the secret. + * + * @return builder + * + */ + public Builder userSecretId(@Nullable Output userSecretId) { + $.userSecretId = userSecretId; + return this; + } + + /** + * @param userSecretId The identifier for the secret (in AWS Secrets Manager) that contains the SFTP user's private key, password, or both. The identifier can be either the Amazon Resource Name (ARN) or the name of the secret. + * + * @return builder + * + */ + public Builder userSecretId(String userSecretId) { + return userSecretId(Output.of(userSecretId)); + } + + public ConnectorSftpConfigArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/transfer/inputs/ConnectorState.java b/sdk/java/src/main/java/com/pulumi/aws/transfer/inputs/ConnectorState.java index d4ad7f9d1d6..451db4e7de6 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/transfer/inputs/ConnectorState.java +++ b/sdk/java/src/main/java/com/pulumi/aws/transfer/inputs/ConnectorState.java @@ -4,6 +4,7 @@ package com.pulumi.aws.transfer.inputs; import com.pulumi.aws.transfer.inputs.ConnectorAs2ConfigArgs; +import com.pulumi.aws.transfer.inputs.ConnectorSftpConfigArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import java.lang.String; @@ -48,14 +49,14 @@ public Optional> arn() { } /** - * The parameters to configure for the connector object. Fields documented below. + * Either SFTP or AS2 is configured.The parameters to configure for the connector object. Fields documented below. * */ @Import(name="as2Config") private @Nullable Output as2Config; /** - * @return The parameters to configure for the connector object. Fields documented below. + * @return Either SFTP or AS2 is configured.The parameters to configure for the connector object. Fields documented below. * */ public Optional> as2Config() { @@ -63,14 +64,14 @@ public Optional> as2Config() { } /** - * The unique identifier for the AS2 profile. + * The unique identifier for the AS2 profile or SFTP Profile. * */ @Import(name="connectorId") private @Nullable Output connectorId; /** - * @return The unique identifier for the AS2 profile. + * @return The unique identifier for the AS2 profile or SFTP Profile. * */ public Optional> connectorId() { @@ -92,6 +93,21 @@ public Optional> loggingRole() { return Optional.ofNullable(this.loggingRole); } + /** + * Either SFTP or AS2 is configured.The parameters to configure for the connector object. Fields documented below. + * + */ + @Import(name="sftpConfig") + private @Nullable Output sftpConfig; + + /** + * @return Either SFTP or AS2 is configured.The parameters to configure for the connector object. Fields documented below. + * + */ + public Optional> sftpConfig() { + return Optional.ofNullable(this.sftpConfig); + } + /** * A map of tags to assign to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. * @@ -127,14 +143,14 @@ public Optional>> tagsAll() { } /** - * The URL of the partners AS2 endpoint. + * The URL of the partners AS2 endpoint or SFTP endpoint. * */ @Import(name="url") private @Nullable Output url; /** - * @return The URL of the partners AS2 endpoint. + * @return The URL of the partners AS2 endpoint or SFTP endpoint. * */ public Optional> url() { @@ -149,6 +165,7 @@ private ConnectorState(ConnectorState $) { this.as2Config = $.as2Config; this.connectorId = $.connectorId; this.loggingRole = $.loggingRole; + this.sftpConfig = $.sftpConfig; this.tags = $.tags; this.tagsAll = $.tagsAll; this.url = $.url; @@ -215,7 +232,7 @@ public Builder arn(String arn) { } /** - * @param as2Config The parameters to configure for the connector object. Fields documented below. + * @param as2Config Either SFTP or AS2 is configured.The parameters to configure for the connector object. Fields documented below. * * @return builder * @@ -226,7 +243,7 @@ public Builder as2Config(@Nullable Output as2Config) { } /** - * @param as2Config The parameters to configure for the connector object. Fields documented below. + * @param as2Config Either SFTP or AS2 is configured.The parameters to configure for the connector object. Fields documented below. * * @return builder * @@ -236,7 +253,7 @@ public Builder as2Config(ConnectorAs2ConfigArgs as2Config) { } /** - * @param connectorId The unique identifier for the AS2 profile. + * @param connectorId The unique identifier for the AS2 profile or SFTP Profile. * * @return builder * @@ -247,7 +264,7 @@ public Builder connectorId(@Nullable Output connectorId) { } /** - * @param connectorId The unique identifier for the AS2 profile. + * @param connectorId The unique identifier for the AS2 profile or SFTP Profile. * * @return builder * @@ -277,6 +294,27 @@ public Builder loggingRole(String loggingRole) { return loggingRole(Output.of(loggingRole)); } + /** + * @param sftpConfig Either SFTP or AS2 is configured.The parameters to configure for the connector object. Fields documented below. + * + * @return builder + * + */ + public Builder sftpConfig(@Nullable Output sftpConfig) { + $.sftpConfig = sftpConfig; + return this; + } + + /** + * @param sftpConfig Either SFTP or AS2 is configured.The parameters to configure for the connector object. Fields documented below. + * + * @return builder + * + */ + public Builder sftpConfig(ConnectorSftpConfigArgs sftpConfig) { + return sftpConfig(Output.of(sftpConfig)); + } + /** * @param tags A map of tags to assign to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. * @@ -324,7 +362,7 @@ public Builder tagsAll(Map tagsAll) { } /** - * @param url The URL of the partners AS2 endpoint. + * @param url The URL of the partners AS2 endpoint or SFTP endpoint. * * @return builder * @@ -335,7 +373,7 @@ public Builder url(@Nullable Output url) { } /** - * @param url The URL of the partners AS2 endpoint. + * @param url The URL of the partners AS2 endpoint or SFTP endpoint. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/aws/transfer/outputs/ConnectorSftpConfig.java b/sdk/java/src/main/java/com/pulumi/aws/transfer/outputs/ConnectorSftpConfig.java new file mode 100644 index 00000000000..02f15f1bced --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/transfer/outputs/ConnectorSftpConfig.java @@ -0,0 +1,80 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.aws.transfer.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class ConnectorSftpConfig { + /** + * @return A list of public portion of the host key, or keys, that are used to authenticate the user to the external server to which you are connecting.(https://docs.aws.amazon.com/transfer/latest/userguide/API_SftpConnectorConfig.html) + * + */ + private @Nullable List trustedHostKeys; + /** + * @return The identifier for the secret (in AWS Secrets Manager) that contains the SFTP user's private key, password, or both. The identifier can be either the Amazon Resource Name (ARN) or the name of the secret. + * + */ + private @Nullable String userSecretId; + + private ConnectorSftpConfig() {} + /** + * @return A list of public portion of the host key, or keys, that are used to authenticate the user to the external server to which you are connecting.(https://docs.aws.amazon.com/transfer/latest/userguide/API_SftpConnectorConfig.html) + * + */ + public List trustedHostKeys() { + return this.trustedHostKeys == null ? List.of() : this.trustedHostKeys; + } + /** + * @return The identifier for the secret (in AWS Secrets Manager) that contains the SFTP user's private key, password, or both. The identifier can be either the Amazon Resource Name (ARN) or the name of the secret. + * + */ + public Optional userSecretId() { + return Optional.ofNullable(this.userSecretId); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(ConnectorSftpConfig defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable List trustedHostKeys; + private @Nullable String userSecretId; + public Builder() {} + public Builder(ConnectorSftpConfig defaults) { + Objects.requireNonNull(defaults); + this.trustedHostKeys = defaults.trustedHostKeys; + this.userSecretId = defaults.userSecretId; + } + + @CustomType.Setter + public Builder trustedHostKeys(@Nullable List trustedHostKeys) { + this.trustedHostKeys = trustedHostKeys; + return this; + } + public Builder trustedHostKeys(String... trustedHostKeys) { + return trustedHostKeys(List.of(trustedHostKeys)); + } + @CustomType.Setter + public Builder userSecretId(@Nullable String userSecretId) { + this.userSecretId = userSecretId; + return this; + } + public ConnectorSftpConfig build() { + final var o = new ConnectorSftpConfig(); + o.trustedHostKeys = trustedHostKeys; + o.userSecretId = userSecretId; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/verifiedaccess/Instance.java b/sdk/java/src/main/java/com/pulumi/aws/verifiedaccess/Instance.java new file mode 100644 index 00000000000..9f212555e4b --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/verifiedaccess/Instance.java @@ -0,0 +1,201 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.aws.verifiedaccess; + +import com.pulumi.aws.Utilities; +import com.pulumi.aws.verifiedaccess.InstanceArgs; +import com.pulumi.aws.verifiedaccess.inputs.InstanceState; +import com.pulumi.aws.verifiedaccess.outputs.InstanceVerifiedAccessTrustProvider; +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Export; +import com.pulumi.core.annotations.ResourceType; +import com.pulumi.core.internal.Codegen; +import java.lang.String; +import java.util.List; +import java.util.Map; +import java.util.Optional; +import javax.annotation.Nullable; + +/** + * Resource for managing a Verified Access Instance. + * + * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.aws.verifiedaccess.Instance; + * import com.pulumi.aws.verifiedaccess.InstanceArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * var example = new Instance("example", InstanceArgs.builder() + * .description("example") + * .tags(Map.of("Name", "example")) + * .build()); + * + * } + * } + * ``` + * + * ## Import + * + * terraform import { + * + * to = aws_verifiedaccess_instance.example + * + * id = "vai-1234567890abcdef0" } Using `pulumi import`, import Transfer Workflows using the + * + * `id`. For exampleconsole % pulumi import aws:verifiedaccess/instance:Instance vai-1234567890abcdef0 + * + */ +@ResourceType(type="aws:verifiedaccess/instance:Instance") +public class Instance extends com.pulumi.resources.CustomResource { + /** + * The time that the Verified Access Instance was created. + * + */ + @Export(name="creationTime", refs={String.class}, tree="[0]") + private Output creationTime; + + /** + * @return The time that the Verified Access Instance was created. + * + */ + public Output creationTime() { + return this.creationTime; + } + /** + * A description for the AWS Verified Access Instance. + * + */ + @Export(name="description", refs={String.class}, tree="[0]") + private Output description; + + /** + * @return A description for the AWS Verified Access Instance. + * + */ + public Output> description() { + return Codegen.optional(this.description); + } + /** + * The time that the Verified Access Instance was last updated. + * + */ + @Export(name="lastUpdatedTime", refs={String.class}, tree="[0]") + private Output lastUpdatedTime; + + /** + * @return The time that the Verified Access Instance was last updated. + * + */ + public Output lastUpdatedTime() { + return this.lastUpdatedTime; + } + /** + * Key-value mapping of resource tags. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. + * + */ + @Export(name="tags", refs={Map.class,String.class}, tree="[0,1,1]") + private Output> tags; + + /** + * @return Key-value mapping of resource tags. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. + * + */ + public Output>> tags() { + return Codegen.optional(this.tags); + } + /** + * @deprecated + * Please use `tags` instead. + * + */ + @Deprecated /* Please use `tags` instead. */ + @Export(name="tagsAll", refs={Map.class,String.class}, tree="[0,1,1]") + private Output> tagsAll; + + public Output> tagsAll() { + return this.tagsAll; + } + /** + * One or more blocks of providing information about the AWS Verified Access Trust Providers. See verified_access_trust_providers below for details.One or more blocks + * + */ + @Export(name="verifiedAccessTrustProviders", refs={List.class,InstanceVerifiedAccessTrustProvider.class}, tree="[0,1]") + private Output> verifiedAccessTrustProviders; + + /** + * @return One or more blocks of providing information about the AWS Verified Access Trust Providers. See verified_access_trust_providers below for details.One or more blocks + * + */ + public Output> verifiedAccessTrustProviders() { + return this.verifiedAccessTrustProviders; + } + + /** + * + * @param name The _unique_ name of the resulting resource. + */ + public Instance(String name) { + this(name, InstanceArgs.Empty); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + */ + public Instance(String name, @Nullable InstanceArgs args) { + this(name, args, null); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + * @param options A bag of options that control this resource's behavior. + */ + public Instance(String name, @Nullable InstanceArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("aws:verifiedaccess/instance:Instance", name, args == null ? InstanceArgs.Empty : args, makeResourceOptions(options, Codegen.empty())); + } + + private Instance(String name, Output id, @Nullable InstanceState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("aws:verifiedaccess/instance:Instance", name, state, makeResourceOptions(options, id)); + } + + private static com.pulumi.resources.CustomResourceOptions makeResourceOptions(@Nullable com.pulumi.resources.CustomResourceOptions options, @Nullable Output id) { + var defaultOptions = com.pulumi.resources.CustomResourceOptions.builder() + .version(Utilities.getVersion()) + .additionalSecretOutputs(List.of( + "tagsAll" + )) + .build(); + return com.pulumi.resources.CustomResourceOptions.merge(defaultOptions, options, id); + } + + /** + * Get an existing Host resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param state + * @param options Optional settings to control the behavior of the CustomResource. + */ + public static Instance get(String name, Output id, @Nullable InstanceState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + return new Instance(name, id, state, options); + } +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/verifiedaccess/InstanceArgs.java b/sdk/java/src/main/java/com/pulumi/aws/verifiedaccess/InstanceArgs.java new file mode 100644 index 00000000000..65c956b2c56 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/verifiedaccess/InstanceArgs.java @@ -0,0 +1,121 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.aws.verifiedaccess; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Map; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class InstanceArgs extends com.pulumi.resources.ResourceArgs { + + public static final InstanceArgs Empty = new InstanceArgs(); + + /** + * A description for the AWS Verified Access Instance. + * + */ + @Import(name="description") + private @Nullable Output description; + + /** + * @return A description for the AWS Verified Access Instance. + * + */ + public Optional> description() { + return Optional.ofNullable(this.description); + } + + /** + * Key-value mapping of resource tags. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. + * + */ + @Import(name="tags") + private @Nullable Output> tags; + + /** + * @return Key-value mapping of resource tags. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. + * + */ + public Optional>> tags() { + return Optional.ofNullable(this.tags); + } + + private InstanceArgs() {} + + private InstanceArgs(InstanceArgs $) { + this.description = $.description; + this.tags = $.tags; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(InstanceArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private InstanceArgs $; + + public Builder() { + $ = new InstanceArgs(); + } + + public Builder(InstanceArgs defaults) { + $ = new InstanceArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param description A description for the AWS Verified Access Instance. + * + * @return builder + * + */ + public Builder description(@Nullable Output description) { + $.description = description; + return this; + } + + /** + * @param description A description for the AWS Verified Access Instance. + * + * @return builder + * + */ + public Builder description(String description) { + return description(Output.of(description)); + } + + /** + * @param tags Key-value mapping of resource tags. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. + * + * @return builder + * + */ + public Builder tags(@Nullable Output> tags) { + $.tags = tags; + return this; + } + + /** + * @param tags Key-value mapping of resource tags. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. + * + * @return builder + * + */ + public Builder tags(Map tags) { + return tags(Output.of(tags)); + } + + public InstanceArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/verifiedaccess/inputs/InstanceState.java b/sdk/java/src/main/java/com/pulumi/aws/verifiedaccess/inputs/InstanceState.java new file mode 100644 index 00000000000..7871fae7821 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/verifiedaccess/inputs/InstanceState.java @@ -0,0 +1,289 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.aws.verifiedaccess.inputs; + +import com.pulumi.aws.verifiedaccess.inputs.InstanceVerifiedAccessTrustProviderArgs; +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.List; +import java.util.Map; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class InstanceState extends com.pulumi.resources.ResourceArgs { + + public static final InstanceState Empty = new InstanceState(); + + /** + * The time that the Verified Access Instance was created. + * + */ + @Import(name="creationTime") + private @Nullable Output creationTime; + + /** + * @return The time that the Verified Access Instance was created. + * + */ + public Optional> creationTime() { + return Optional.ofNullable(this.creationTime); + } + + /** + * A description for the AWS Verified Access Instance. + * + */ + @Import(name="description") + private @Nullable Output description; + + /** + * @return A description for the AWS Verified Access Instance. + * + */ + public Optional> description() { + return Optional.ofNullable(this.description); + } + + /** + * The time that the Verified Access Instance was last updated. + * + */ + @Import(name="lastUpdatedTime") + private @Nullable Output lastUpdatedTime; + + /** + * @return The time that the Verified Access Instance was last updated. + * + */ + public Optional> lastUpdatedTime() { + return Optional.ofNullable(this.lastUpdatedTime); + } + + /** + * Key-value mapping of resource tags. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. + * + */ + @Import(name="tags") + private @Nullable Output> tags; + + /** + * @return Key-value mapping of resource tags. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. + * + */ + public Optional>> tags() { + return Optional.ofNullable(this.tags); + } + + /** + * @deprecated + * Please use `tags` instead. + * + */ + @Deprecated /* Please use `tags` instead. */ + @Import(name="tagsAll") + private @Nullable Output> tagsAll; + + /** + * @deprecated + * Please use `tags` instead. + * + */ + @Deprecated /* Please use `tags` instead. */ + public Optional>> tagsAll() { + return Optional.ofNullable(this.tagsAll); + } + + /** + * One or more blocks of providing information about the AWS Verified Access Trust Providers. See verified_access_trust_providers below for details.One or more blocks + * + */ + @Import(name="verifiedAccessTrustProviders") + private @Nullable Output> verifiedAccessTrustProviders; + + /** + * @return One or more blocks of providing information about the AWS Verified Access Trust Providers. See verified_access_trust_providers below for details.One or more blocks + * + */ + public Optional>> verifiedAccessTrustProviders() { + return Optional.ofNullable(this.verifiedAccessTrustProviders); + } + + private InstanceState() {} + + private InstanceState(InstanceState $) { + this.creationTime = $.creationTime; + this.description = $.description; + this.lastUpdatedTime = $.lastUpdatedTime; + this.tags = $.tags; + this.tagsAll = $.tagsAll; + this.verifiedAccessTrustProviders = $.verifiedAccessTrustProviders; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(InstanceState defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private InstanceState $; + + public Builder() { + $ = new InstanceState(); + } + + public Builder(InstanceState defaults) { + $ = new InstanceState(Objects.requireNonNull(defaults)); + } + + /** + * @param creationTime The time that the Verified Access Instance was created. + * + * @return builder + * + */ + public Builder creationTime(@Nullable Output creationTime) { + $.creationTime = creationTime; + return this; + } + + /** + * @param creationTime The time that the Verified Access Instance was created. + * + * @return builder + * + */ + public Builder creationTime(String creationTime) { + return creationTime(Output.of(creationTime)); + } + + /** + * @param description A description for the AWS Verified Access Instance. + * + * @return builder + * + */ + public Builder description(@Nullable Output description) { + $.description = description; + return this; + } + + /** + * @param description A description for the AWS Verified Access Instance. + * + * @return builder + * + */ + public Builder description(String description) { + return description(Output.of(description)); + } + + /** + * @param lastUpdatedTime The time that the Verified Access Instance was last updated. + * + * @return builder + * + */ + public Builder lastUpdatedTime(@Nullable Output lastUpdatedTime) { + $.lastUpdatedTime = lastUpdatedTime; + return this; + } + + /** + * @param lastUpdatedTime The time that the Verified Access Instance was last updated. + * + * @return builder + * + */ + public Builder lastUpdatedTime(String lastUpdatedTime) { + return lastUpdatedTime(Output.of(lastUpdatedTime)); + } + + /** + * @param tags Key-value mapping of resource tags. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. + * + * @return builder + * + */ + public Builder tags(@Nullable Output> tags) { + $.tags = tags; + return this; + } + + /** + * @param tags Key-value mapping of resource tags. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. + * + * @return builder + * + */ + public Builder tags(Map tags) { + return tags(Output.of(tags)); + } + + /** + * @return builder + * + * @deprecated + * Please use `tags` instead. + * + */ + @Deprecated /* Please use `tags` instead. */ + public Builder tagsAll(@Nullable Output> tagsAll) { + $.tagsAll = tagsAll; + return this; + } + + /** + * @return builder + * + * @deprecated + * Please use `tags` instead. + * + */ + @Deprecated /* Please use `tags` instead. */ + public Builder tagsAll(Map tagsAll) { + return tagsAll(Output.of(tagsAll)); + } + + /** + * @param verifiedAccessTrustProviders One or more blocks of providing information about the AWS Verified Access Trust Providers. See verified_access_trust_providers below for details.One or more blocks + * + * @return builder + * + */ + public Builder verifiedAccessTrustProviders(@Nullable Output> verifiedAccessTrustProviders) { + $.verifiedAccessTrustProviders = verifiedAccessTrustProviders; + return this; + } + + /** + * @param verifiedAccessTrustProviders One or more blocks of providing information about the AWS Verified Access Trust Providers. See verified_access_trust_providers below for details.One or more blocks + * + * @return builder + * + */ + public Builder verifiedAccessTrustProviders(List verifiedAccessTrustProviders) { + return verifiedAccessTrustProviders(Output.of(verifiedAccessTrustProviders)); + } + + /** + * @param verifiedAccessTrustProviders One or more blocks of providing information about the AWS Verified Access Trust Providers. See verified_access_trust_providers below for details.One or more blocks + * + * @return builder + * + */ + public Builder verifiedAccessTrustProviders(InstanceVerifiedAccessTrustProviderArgs... verifiedAccessTrustProviders) { + return verifiedAccessTrustProviders(List.of(verifiedAccessTrustProviders)); + } + + public InstanceState build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/verifiedaccess/inputs/InstanceVerifiedAccessTrustProviderArgs.java b/sdk/java/src/main/java/com/pulumi/aws/verifiedaccess/inputs/InstanceVerifiedAccessTrustProviderArgs.java new file mode 100644 index 00000000000..c76e9475a97 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/verifiedaccess/inputs/InstanceVerifiedAccessTrustProviderArgs.java @@ -0,0 +1,231 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.aws.verifiedaccess.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class InstanceVerifiedAccessTrustProviderArgs extends com.pulumi.resources.ResourceArgs { + + public static final InstanceVerifiedAccessTrustProviderArgs Empty = new InstanceVerifiedAccessTrustProviderArgs(); + + /** + * A description for the AWS Verified Access Instance. + * + */ + @Import(name="description") + private @Nullable Output description; + + /** + * @return A description for the AWS Verified Access Instance. + * + */ + public Optional> description() { + return Optional.ofNullable(this.description); + } + + /** + * The type of device-based trust provider. + * + */ + @Import(name="deviceTrustProviderType") + private @Nullable Output deviceTrustProviderType; + + /** + * @return The type of device-based trust provider. + * + */ + public Optional> deviceTrustProviderType() { + return Optional.ofNullable(this.deviceTrustProviderType); + } + + /** + * The type of trust provider (user- or device-based). + * + */ + @Import(name="trustProviderType") + private @Nullable Output trustProviderType; + + /** + * @return The type of trust provider (user- or device-based). + * + */ + public Optional> trustProviderType() { + return Optional.ofNullable(this.trustProviderType); + } + + /** + * The type of user-based trust provider. + * + */ + @Import(name="userTrustProviderType") + private @Nullable Output userTrustProviderType; + + /** + * @return The type of user-based trust provider. + * + */ + public Optional> userTrustProviderType() { + return Optional.ofNullable(this.userTrustProviderType); + } + + /** + * The ID of the trust provider. + * + */ + @Import(name="verifiedAccessTrustProviderId") + private @Nullable Output verifiedAccessTrustProviderId; + + /** + * @return The ID of the trust provider. + * + */ + public Optional> verifiedAccessTrustProviderId() { + return Optional.ofNullable(this.verifiedAccessTrustProviderId); + } + + private InstanceVerifiedAccessTrustProviderArgs() {} + + private InstanceVerifiedAccessTrustProviderArgs(InstanceVerifiedAccessTrustProviderArgs $) { + this.description = $.description; + this.deviceTrustProviderType = $.deviceTrustProviderType; + this.trustProviderType = $.trustProviderType; + this.userTrustProviderType = $.userTrustProviderType; + this.verifiedAccessTrustProviderId = $.verifiedAccessTrustProviderId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(InstanceVerifiedAccessTrustProviderArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private InstanceVerifiedAccessTrustProviderArgs $; + + public Builder() { + $ = new InstanceVerifiedAccessTrustProviderArgs(); + } + + public Builder(InstanceVerifiedAccessTrustProviderArgs defaults) { + $ = new InstanceVerifiedAccessTrustProviderArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param description A description for the AWS Verified Access Instance. + * + * @return builder + * + */ + public Builder description(@Nullable Output description) { + $.description = description; + return this; + } + + /** + * @param description A description for the AWS Verified Access Instance. + * + * @return builder + * + */ + public Builder description(String description) { + return description(Output.of(description)); + } + + /** + * @param deviceTrustProviderType The type of device-based trust provider. + * + * @return builder + * + */ + public Builder deviceTrustProviderType(@Nullable Output deviceTrustProviderType) { + $.deviceTrustProviderType = deviceTrustProviderType; + return this; + } + + /** + * @param deviceTrustProviderType The type of device-based trust provider. + * + * @return builder + * + */ + public Builder deviceTrustProviderType(String deviceTrustProviderType) { + return deviceTrustProviderType(Output.of(deviceTrustProviderType)); + } + + /** + * @param trustProviderType The type of trust provider (user- or device-based). + * + * @return builder + * + */ + public Builder trustProviderType(@Nullable Output trustProviderType) { + $.trustProviderType = trustProviderType; + return this; + } + + /** + * @param trustProviderType The type of trust provider (user- or device-based). + * + * @return builder + * + */ + public Builder trustProviderType(String trustProviderType) { + return trustProviderType(Output.of(trustProviderType)); + } + + /** + * @param userTrustProviderType The type of user-based trust provider. + * + * @return builder + * + */ + public Builder userTrustProviderType(@Nullable Output userTrustProviderType) { + $.userTrustProviderType = userTrustProviderType; + return this; + } + + /** + * @param userTrustProviderType The type of user-based trust provider. + * + * @return builder + * + */ + public Builder userTrustProviderType(String userTrustProviderType) { + return userTrustProviderType(Output.of(userTrustProviderType)); + } + + /** + * @param verifiedAccessTrustProviderId The ID of the trust provider. + * + * @return builder + * + */ + public Builder verifiedAccessTrustProviderId(@Nullable Output verifiedAccessTrustProviderId) { + $.verifiedAccessTrustProviderId = verifiedAccessTrustProviderId; + return this; + } + + /** + * @param verifiedAccessTrustProviderId The ID of the trust provider. + * + * @return builder + * + */ + public Builder verifiedAccessTrustProviderId(String verifiedAccessTrustProviderId) { + return verifiedAccessTrustProviderId(Output.of(verifiedAccessTrustProviderId)); + } + + public InstanceVerifiedAccessTrustProviderArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/verifiedaccess/outputs/InstanceVerifiedAccessTrustProvider.java b/sdk/java/src/main/java/com/pulumi/aws/verifiedaccess/outputs/InstanceVerifiedAccessTrustProvider.java new file mode 100644 index 00000000000..d5272ab4c1d --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/verifiedaccess/outputs/InstanceVerifiedAccessTrustProvider.java @@ -0,0 +1,136 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.aws.verifiedaccess.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class InstanceVerifiedAccessTrustProvider { + /** + * @return A description for the AWS Verified Access Instance. + * + */ + private @Nullable String description; + /** + * @return The type of device-based trust provider. + * + */ + private @Nullable String deviceTrustProviderType; + /** + * @return The type of trust provider (user- or device-based). + * + */ + private @Nullable String trustProviderType; + /** + * @return The type of user-based trust provider. + * + */ + private @Nullable String userTrustProviderType; + /** + * @return The ID of the trust provider. + * + */ + private @Nullable String verifiedAccessTrustProviderId; + + private InstanceVerifiedAccessTrustProvider() {} + /** + * @return A description for the AWS Verified Access Instance. + * + */ + public Optional description() { + return Optional.ofNullable(this.description); + } + /** + * @return The type of device-based trust provider. + * + */ + public Optional deviceTrustProviderType() { + return Optional.ofNullable(this.deviceTrustProviderType); + } + /** + * @return The type of trust provider (user- or device-based). + * + */ + public Optional trustProviderType() { + return Optional.ofNullable(this.trustProviderType); + } + /** + * @return The type of user-based trust provider. + * + */ + public Optional userTrustProviderType() { + return Optional.ofNullable(this.userTrustProviderType); + } + /** + * @return The ID of the trust provider. + * + */ + public Optional verifiedAccessTrustProviderId() { + return Optional.ofNullable(this.verifiedAccessTrustProviderId); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(InstanceVerifiedAccessTrustProvider defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String description; + private @Nullable String deviceTrustProviderType; + private @Nullable String trustProviderType; + private @Nullable String userTrustProviderType; + private @Nullable String verifiedAccessTrustProviderId; + public Builder() {} + public Builder(InstanceVerifiedAccessTrustProvider defaults) { + Objects.requireNonNull(defaults); + this.description = defaults.description; + this.deviceTrustProviderType = defaults.deviceTrustProviderType; + this.trustProviderType = defaults.trustProviderType; + this.userTrustProviderType = defaults.userTrustProviderType; + this.verifiedAccessTrustProviderId = defaults.verifiedAccessTrustProviderId; + } + + @CustomType.Setter + public Builder description(@Nullable String description) { + this.description = description; + return this; + } + @CustomType.Setter + public Builder deviceTrustProviderType(@Nullable String deviceTrustProviderType) { + this.deviceTrustProviderType = deviceTrustProviderType; + return this; + } + @CustomType.Setter + public Builder trustProviderType(@Nullable String trustProviderType) { + this.trustProviderType = trustProviderType; + return this; + } + @CustomType.Setter + public Builder userTrustProviderType(@Nullable String userTrustProviderType) { + this.userTrustProviderType = userTrustProviderType; + return this; + } + @CustomType.Setter + public Builder verifiedAccessTrustProviderId(@Nullable String verifiedAccessTrustProviderId) { + this.verifiedAccessTrustProviderId = verifiedAccessTrustProviderId; + return this; + } + public InstanceVerifiedAccessTrustProvider build() { + final var o = new InstanceVerifiedAccessTrustProvider(); + o.description = description; + o.deviceTrustProviderType = deviceTrustProviderType; + o.trustProviderType = trustProviderType; + o.userTrustProviderType = userTrustProviderType; + o.verifiedAccessTrustProviderId = verifiedAccessTrustProviderId; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/wafv2/WebAclAssociation.java b/sdk/java/src/main/java/com/pulumi/aws/wafv2/WebAclAssociation.java index 13661680b68..53a6db9b13a 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/wafv2/WebAclAssociation.java +++ b/sdk/java/src/main/java/com/pulumi/aws/wafv2/WebAclAssociation.java @@ -122,14 +122,14 @@ @ResourceType(type="aws:wafv2/webAclAssociation:WebAclAssociation") public class WebAclAssociation extends com.pulumi.resources.CustomResource { /** - * The Amazon Resource Name (ARN) of the resource to associate with the web ACL. This must be an ARN of an Application Load Balancer, an Amazon API Gateway stage, or an Amazon Cognito User Pool. + * The Amazon Resource Name (ARN) of the resource to associate with the web ACL. This must be an ARN of an Application Load Balancer, an Amazon API Gateway stage, an Amazon Cognito User Pool, an Amazon AppSync GraphQL API, an Amazon App Runner service, or an Amazon Verified Access instance. * */ @Export(name="resourceArn", refs={String.class}, tree="[0]") private Output resourceArn; /** - * @return The Amazon Resource Name (ARN) of the resource to associate with the web ACL. This must be an ARN of an Application Load Balancer, an Amazon API Gateway stage, or an Amazon Cognito User Pool. + * @return The Amazon Resource Name (ARN) of the resource to associate with the web ACL. This must be an ARN of an Application Load Balancer, an Amazon API Gateway stage, an Amazon Cognito User Pool, an Amazon AppSync GraphQL API, an Amazon App Runner service, or an Amazon Verified Access instance. * */ public Output resourceArn() { diff --git a/sdk/java/src/main/java/com/pulumi/aws/wafv2/WebAclAssociationArgs.java b/sdk/java/src/main/java/com/pulumi/aws/wafv2/WebAclAssociationArgs.java index 9eed357c062..351cc872857 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/wafv2/WebAclAssociationArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/wafv2/WebAclAssociationArgs.java @@ -14,14 +14,14 @@ public final class WebAclAssociationArgs extends com.pulumi.resources.ResourceAr public static final WebAclAssociationArgs Empty = new WebAclAssociationArgs(); /** - * The Amazon Resource Name (ARN) of the resource to associate with the web ACL. This must be an ARN of an Application Load Balancer, an Amazon API Gateway stage, or an Amazon Cognito User Pool. + * The Amazon Resource Name (ARN) of the resource to associate with the web ACL. This must be an ARN of an Application Load Balancer, an Amazon API Gateway stage, an Amazon Cognito User Pool, an Amazon AppSync GraphQL API, an Amazon App Runner service, or an Amazon Verified Access instance. * */ @Import(name="resourceArn", required=true) private Output resourceArn; /** - * @return The Amazon Resource Name (ARN) of the resource to associate with the web ACL. This must be an ARN of an Application Load Balancer, an Amazon API Gateway stage, or an Amazon Cognito User Pool. + * @return The Amazon Resource Name (ARN) of the resource to associate with the web ACL. This must be an ARN of an Application Load Balancer, an Amazon API Gateway stage, an Amazon Cognito User Pool, an Amazon AppSync GraphQL API, an Amazon App Runner service, or an Amazon Verified Access instance. * */ public Output resourceArn() { @@ -69,7 +69,7 @@ public Builder(WebAclAssociationArgs defaults) { } /** - * @param resourceArn The Amazon Resource Name (ARN) of the resource to associate with the web ACL. This must be an ARN of an Application Load Balancer, an Amazon API Gateway stage, or an Amazon Cognito User Pool. + * @param resourceArn The Amazon Resource Name (ARN) of the resource to associate with the web ACL. This must be an ARN of an Application Load Balancer, an Amazon API Gateway stage, an Amazon Cognito User Pool, an Amazon AppSync GraphQL API, an Amazon App Runner service, or an Amazon Verified Access instance. * * @return builder * @@ -80,7 +80,7 @@ public Builder resourceArn(Output resourceArn) { } /** - * @param resourceArn The Amazon Resource Name (ARN) of the resource to associate with the web ACL. This must be an ARN of an Application Load Balancer, an Amazon API Gateway stage, or an Amazon Cognito User Pool. + * @param resourceArn The Amazon Resource Name (ARN) of the resource to associate with the web ACL. This must be an ARN of an Application Load Balancer, an Amazon API Gateway stage, an Amazon Cognito User Pool, an Amazon AppSync GraphQL API, an Amazon App Runner service, or an Amazon Verified Access instance. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/aws/wafv2/inputs/WebAclAssociationState.java b/sdk/java/src/main/java/com/pulumi/aws/wafv2/inputs/WebAclAssociationState.java index 97cb4488e6c..9e18cef12c1 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/wafv2/inputs/WebAclAssociationState.java +++ b/sdk/java/src/main/java/com/pulumi/aws/wafv2/inputs/WebAclAssociationState.java @@ -16,14 +16,14 @@ public final class WebAclAssociationState extends com.pulumi.resources.ResourceA public static final WebAclAssociationState Empty = new WebAclAssociationState(); /** - * The Amazon Resource Name (ARN) of the resource to associate with the web ACL. This must be an ARN of an Application Load Balancer, an Amazon API Gateway stage, or an Amazon Cognito User Pool. + * The Amazon Resource Name (ARN) of the resource to associate with the web ACL. This must be an ARN of an Application Load Balancer, an Amazon API Gateway stage, an Amazon Cognito User Pool, an Amazon AppSync GraphQL API, an Amazon App Runner service, or an Amazon Verified Access instance. * */ @Import(name="resourceArn") private @Nullable Output resourceArn; /** - * @return The Amazon Resource Name (ARN) of the resource to associate with the web ACL. This must be an ARN of an Application Load Balancer, an Amazon API Gateway stage, or an Amazon Cognito User Pool. + * @return The Amazon Resource Name (ARN) of the resource to associate with the web ACL. This must be an ARN of an Application Load Balancer, an Amazon API Gateway stage, an Amazon Cognito User Pool, an Amazon AppSync GraphQL API, an Amazon App Runner service, or an Amazon Verified Access instance. * */ public Optional> resourceArn() { @@ -71,7 +71,7 @@ public Builder(WebAclAssociationState defaults) { } /** - * @param resourceArn The Amazon Resource Name (ARN) of the resource to associate with the web ACL. This must be an ARN of an Application Load Balancer, an Amazon API Gateway stage, or an Amazon Cognito User Pool. + * @param resourceArn The Amazon Resource Name (ARN) of the resource to associate with the web ACL. This must be an ARN of an Application Load Balancer, an Amazon API Gateway stage, an Amazon Cognito User Pool, an Amazon AppSync GraphQL API, an Amazon App Runner service, or an Amazon Verified Access instance. * * @return builder * @@ -82,7 +82,7 @@ public Builder resourceArn(@Nullable Output resourceArn) { } /** - * @param resourceArn The Amazon Resource Name (ARN) of the resource to associate with the web ACL. This must be an ARN of an Application Load Balancer, an Amazon API Gateway stage, or an Amazon Cognito User Pool. + * @param resourceArn The Amazon Resource Name (ARN) of the resource to associate with the web ACL. This must be an ARN of an Application Load Balancer, an Amazon API Gateway stage, an Amazon Cognito User Pool, an Amazon AppSync GraphQL API, an Amazon App Runner service, or an Amazon Verified Access instance. * * @return builder * diff --git a/sdk/nodejs/cleanrooms/collaboration.ts b/sdk/nodejs/cleanrooms/collaboration.ts index 34674d78bec..3e7e27c3ea4 100644 --- a/sdk/nodejs/cleanrooms/collaboration.ts +++ b/sdk/nodejs/cleanrooms/collaboration.ts @@ -42,6 +42,14 @@ import * as utilities from "../utilities"; * }, * }); * ``` + * + * ## Import + * + * terraform import { + * + * to = aws_cleanrooms_collaboration.collaboration + * + * id = "1234abcd-12ab-34cd-56ef-1234567890ab" } Using `pulumi import`, import `aws:cleanrooms/collaboration:Collaboration` using the `id`. For exampleconsole % pulumi import aws:cleanrooms/collaboration:Collaboration 1234abcd-12ab-34cd-56ef-1234567890ab */ export class Collaboration extends pulumi.CustomResource { /** @@ -72,13 +80,12 @@ export class Collaboration extends pulumi.CustomResource { } /** - * The arn of the collaboration + * The arn of the collaboration. */ public /*out*/ readonly arn!: pulumi.Output; /** - * The date and time the collaboration was created - * * `member status` - For each member included in the collaboration an additional computed attribute of status is added. These values [may be - * ound here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_MemberSummary.html#API-Type-MemberSummary-status) + * The date and time the collaboration was created. + * * `member status` - For each member included in the collaboration an additional computed attribute of status is added. These values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_MemberSummary.html#API-Type-MemberSummary-status). */ public /*out*/ readonly createTime!: pulumi.Output; /** @@ -86,14 +93,11 @@ export class Collaboration extends pulumi.CustomResource { */ public readonly creatorDisplayName!: pulumi.Output; /** - * The list of member abilities for the creator of the collaboration. Valid v - * lues [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-re - * uest-creatorMemberAbilities) + * The list of member abilities for the creator of the collaboration. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-creatorMemberAbilities). */ public readonly creatorMemberAbilities!: pulumi.Output; /** - * a collection of settings which determine how the [c3r client](https://docs - * aws.amazon.com/clean-rooms/latest/userguide/crypto-computing.html) will encrypt data for use within this collaboration + * a collection of settings which determine how the [c3r client](https://docs.aws.amazon.com/clean-rooms/latest/userguide/crypto-computing.html) will encrypt data for use within this collaboration. * * `data_encryption_metadata.allow_clear_text` - (Required - Forces new resource) - Indicates whether encrypted tables can contain cleartext data. This is a boolea * field. * * `data_encryption_metadata.allow_duplicates` - (Required - Forces new resource ) - Indicates whether Fingerprint columns can contain duplicate entries. This is a @@ -110,10 +114,9 @@ export class Collaboration extends pulumi.CustomResource { public readonly description!: pulumi.Output; /** * Additional members of the collaboration which will be invited to join the collaboration. - * * `member.account_id` - (Required - Forces new resource) - The account id for the invited member - * * `member.display_name` - (Required - Forces new resource) - The display name for the invited member - * * `member.member_abilities` - (Required - Forces new resource) - The list of abilities for the invited member. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-creatorMemberAbiliti - * s + * * `member.account_id` - (Required - Forces new resource) - The account id for the invited member. + * * `member.display_name` - (Required - Forces new resource) - The display name for the invited member. + * * `member.member_abilities` - (Required - Forces new resource) - The list of abilities for the invited member. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-creatorMemberAbilities). */ public readonly members!: pulumi.Output; /** @@ -121,9 +124,8 @@ export class Collaboration extends pulumi.CustomResource { */ public readonly name!: pulumi.Output; /** - * Determines if members of the collaboration can enable query logs within their own - * emberships. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-Cr - * ateCollaboration-request-queryLogStatus). + * Determines if members of the collaboration can enable query logs within their own. + * emberships. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-queryLogStatus). */ public readonly queryLogStatus!: pulumi.Output; /** @@ -200,13 +202,12 @@ export class Collaboration extends pulumi.CustomResource { */ export interface CollaborationState { /** - * The arn of the collaboration + * The arn of the collaboration. */ arn?: pulumi.Input; /** - * The date and time the collaboration was created - * * `member status` - For each member included in the collaboration an additional computed attribute of status is added. These values [may be - * ound here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_MemberSummary.html#API-Type-MemberSummary-status) + * The date and time the collaboration was created. + * * `member status` - For each member included in the collaboration an additional computed attribute of status is added. These values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_MemberSummary.html#API-Type-MemberSummary-status). */ createTime?: pulumi.Input; /** @@ -214,14 +215,11 @@ export interface CollaborationState { */ creatorDisplayName?: pulumi.Input; /** - * The list of member abilities for the creator of the collaboration. Valid v - * lues [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-re - * uest-creatorMemberAbilities) + * The list of member abilities for the creator of the collaboration. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-creatorMemberAbilities). */ creatorMemberAbilities?: pulumi.Input[]>; /** - * a collection of settings which determine how the [c3r client](https://docs - * aws.amazon.com/clean-rooms/latest/userguide/crypto-computing.html) will encrypt data for use within this collaboration + * a collection of settings which determine how the [c3r client](https://docs.aws.amazon.com/clean-rooms/latest/userguide/crypto-computing.html) will encrypt data for use within this collaboration. * * `data_encryption_metadata.allow_clear_text` - (Required - Forces new resource) - Indicates whether encrypted tables can contain cleartext data. This is a boolea * field. * * `data_encryption_metadata.allow_duplicates` - (Required - Forces new resource ) - Indicates whether Fingerprint columns can contain duplicate entries. This is a @@ -238,10 +236,9 @@ export interface CollaborationState { description?: pulumi.Input; /** * Additional members of the collaboration which will be invited to join the collaboration. - * * `member.account_id` - (Required - Forces new resource) - The account id for the invited member - * * `member.display_name` - (Required - Forces new resource) - The display name for the invited member - * * `member.member_abilities` - (Required - Forces new resource) - The list of abilities for the invited member. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-creatorMemberAbiliti - * s + * * `member.account_id` - (Required - Forces new resource) - The account id for the invited member. + * * `member.display_name` - (Required - Forces new resource) - The display name for the invited member. + * * `member.member_abilities` - (Required - Forces new resource) - The list of abilities for the invited member. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-creatorMemberAbilities). */ members?: pulumi.Input[]>; /** @@ -249,9 +246,8 @@ export interface CollaborationState { */ name?: pulumi.Input; /** - * Determines if members of the collaboration can enable query logs within their own - * emberships. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-Cr - * ateCollaboration-request-queryLogStatus). + * Determines if members of the collaboration can enable query logs within their own. + * emberships. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-queryLogStatus). */ queryLogStatus?: pulumi.Input; /** @@ -274,14 +270,11 @@ export interface CollaborationArgs { */ creatorDisplayName: pulumi.Input; /** - * The list of member abilities for the creator of the collaboration. Valid v - * lues [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-re - * uest-creatorMemberAbilities) + * The list of member abilities for the creator of the collaboration. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-creatorMemberAbilities). */ creatorMemberAbilities: pulumi.Input[]>; /** - * a collection of settings which determine how the [c3r client](https://docs - * aws.amazon.com/clean-rooms/latest/userguide/crypto-computing.html) will encrypt data for use within this collaboration + * a collection of settings which determine how the [c3r client](https://docs.aws.amazon.com/clean-rooms/latest/userguide/crypto-computing.html) will encrypt data for use within this collaboration. * * `data_encryption_metadata.allow_clear_text` - (Required - Forces new resource) - Indicates whether encrypted tables can contain cleartext data. This is a boolea * field. * * `data_encryption_metadata.allow_duplicates` - (Required - Forces new resource ) - Indicates whether Fingerprint columns can contain duplicate entries. This is a @@ -298,10 +291,9 @@ export interface CollaborationArgs { description: pulumi.Input; /** * Additional members of the collaboration which will be invited to join the collaboration. - * * `member.account_id` - (Required - Forces new resource) - The account id for the invited member - * * `member.display_name` - (Required - Forces new resource) - The display name for the invited member - * * `member.member_abilities` - (Required - Forces new resource) - The list of abilities for the invited member. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-creatorMemberAbiliti - * s + * * `member.account_id` - (Required - Forces new resource) - The account id for the invited member. + * * `member.display_name` - (Required - Forces new resource) - The display name for the invited member. + * * `member.member_abilities` - (Required - Forces new resource) - The list of abilities for the invited member. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-creatorMemberAbilities). */ members?: pulumi.Input[]>; /** @@ -309,9 +301,8 @@ export interface CollaborationArgs { */ name?: pulumi.Input; /** - * Determines if members of the collaboration can enable query logs within their own - * emberships. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-Cr - * ateCollaboration-request-queryLogStatus). + * Determines if members of the collaboration can enable query logs within their own. + * emberships. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-queryLogStatus). */ queryLogStatus: pulumi.Input; /** diff --git a/sdk/nodejs/ec2/networkInsightsPath.ts b/sdk/nodejs/ec2/networkInsightsPath.ts index 70c71e51aab..08092a6b38f 100644 --- a/sdk/nodejs/ec2/networkInsightsPath.ts +++ b/sdk/nodejs/ec2/networkInsightsPath.ts @@ -61,7 +61,7 @@ export class NetworkInsightsPath extends pulumi.CustomResource { */ public /*out*/ readonly arn!: pulumi.Output; /** - * ID or ARN of the resource which is the source of the path. Can be an Instance, Internet Gateway, Network Interface, Transit Gateway, VPC Endpoint, VPC Peering Connection or VPN Gateway. If the resource is in another account, you must specify an ARN. + * ID or ARN of the resource which is the destination of the path. Can be an Instance, Internet Gateway, Network Interface, Transit Gateway, VPC Endpoint, VPC Peering Connection or VPN Gateway. If the resource is in another account, you must specify an ARN. */ public readonly destination!: pulumi.Output; /** @@ -168,7 +168,7 @@ export interface NetworkInsightsPathState { */ arn?: pulumi.Input; /** - * ID or ARN of the resource which is the source of the path. Can be an Instance, Internet Gateway, Network Interface, Transit Gateway, VPC Endpoint, VPC Peering Connection or VPN Gateway. If the resource is in another account, you must specify an ARN. + * ID or ARN of the resource which is the destination of the path. Can be an Instance, Internet Gateway, Network Interface, Transit Gateway, VPC Endpoint, VPC Peering Connection or VPN Gateway. If the resource is in another account, you must specify an ARN. */ destination?: pulumi.Input; /** @@ -218,7 +218,7 @@ export interface NetworkInsightsPathState { */ export interface NetworkInsightsPathArgs { /** - * ID or ARN of the resource which is the source of the path. Can be an Instance, Internet Gateway, Network Interface, Transit Gateway, VPC Endpoint, VPC Peering Connection or VPN Gateway. If the resource is in another account, you must specify an ARN. + * ID or ARN of the resource which is the destination of the path. Can be an Instance, Internet Gateway, Network Interface, Transit Gateway, VPC Endpoint, VPC Peering Connection or VPN Gateway. If the resource is in another account, you must specify an ARN. */ destination: pulumi.Input; /** diff --git a/sdk/nodejs/elasticache/cluster.ts b/sdk/nodejs/elasticache/cluster.ts index 05b81a41144..9a80982488f 100644 --- a/sdk/nodejs/elasticache/cluster.ts +++ b/sdk/nodejs/elasticache/cluster.ts @@ -287,7 +287,7 @@ export class Cluster extends pulumi.CustomResource { /** * Enable encryption in-transit. Supported only with Memcached versions `1.6.12` and later, running in a VPC. See the [ElastiCache in-transit encryption](https://docs.aws.amazon.com/AmazonElastiCache/latest/mem-ug/in-transit-encryption-mc.html) documentation for more details. */ - public readonly transitEncryptionEnabled!: pulumi.Output; + public readonly transitEncryptionEnabled!: pulumi.Output; /** * Create a Cluster resource with the given unique name, arguments, and options. diff --git a/sdk/nodejs/fsx/getOntapFileSystem.ts b/sdk/nodejs/fsx/getOntapFileSystem.ts new file mode 100644 index 00000000000..d5e57a73cf3 --- /dev/null +++ b/sdk/nodejs/fsx/getOntapFileSystem.ts @@ -0,0 +1,168 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../types/input"; +import * as outputs from "../types/output"; +import * as enums from "../types/enums"; +import * as utilities from "../utilities"; + +/** + * Retrieve information on FSx ONTAP File System. + * + * ## Example Usage + * ### Basic Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as aws from "@pulumi/aws"; + * + * const example = aws.fsx.getOntapFileSystem({ + * id: "fs-12345678", + * }); + * ``` + */ +export function getOntapFileSystem(args: GetOntapFileSystemArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("aws:fsx/getOntapFileSystem:getOntapFileSystem", { + "id": args.id, + "tags": args.tags, + }, opts); +} + +/** + * A collection of arguments for invoking getOntapFileSystem. + */ +export interface GetOntapFileSystemArgs { + /** + * Identifier of the file system (e.g. `fs-12345678`). + */ + id: string; + /** + * The tags associated with the file system. + */ + tags?: {[key: string]: string}; +} + +/** + * A collection of values returned by getOntapFileSystem. + */ +export interface GetOntapFileSystemResult { + /** + * Amazon Resource Name of the file system. + */ + readonly arn: string; + /** + * The number of days to retain automatic backups. + */ + readonly automaticBackupRetentionDays: number; + /** + * The preferred time (in `HH:MM` format) to take daily automatic backups, in the UTC time zone. + */ + readonly dailyAutomaticBackupStartTime: string; + /** + * The file system deployment type. + */ + readonly deploymentType: string; + /** + * The SSD IOPS configuration for the Amazon FSx for NetApp ONTAP file system, specifying the number of provisioned IOPS and the provision mode. See Disk IOPS Below. + */ + readonly diskIopsConfigurations: outputs.fsx.GetOntapFileSystemDiskIopsConfiguration[]; + /** + * DNS name for the file system (e.g. `fs-12345678.corp.example.com`). + */ + readonly dnsName: string; + /** + * (Multi-AZ only) Specifies the IP address range in which the endpoints to access your file system exist. + */ + readonly endpointIpAddressRange: string; + /** + * The Management and Intercluster FileSystemEndpoints that are used to access data or to manage the file system using the NetApp ONTAP CLI, REST API, or NetApp SnapMirror. See FileSystemEndpoints below. + */ + readonly endpoints: outputs.fsx.GetOntapFileSystemEndpoint[]; + /** + * Identifier of the file system (e.g. `fs-12345678`). + */ + readonly id: string; + /** + * ARN for the KMS Key to encrypt the file system at rest. + */ + readonly kmsKeyId: string; + /** + * The IDs of the elastic network interfaces from which a specific file system is accessible. + */ + readonly networkInterfaceIds: string[]; + /** + * AWS account identifier that created the file system. + */ + readonly ownerId: string; + /** + * Specifies the subnet in which you want the preferred file server to be located. + */ + readonly preferredSubnetId: string; + /** + * (Multi-AZ only) The VPC route tables in which your file system's endpoints exist. + */ + readonly routeTableIds: string[]; + /** + * The storage capacity of the file system in gibibytes (GiB). + */ + readonly storageCapacity: number; + /** + * The type of storage the file system is using. If set to `SSD`, the file system uses solid state drive storage. If set to `HDD`, the file system uses hard disk drive storage. + */ + readonly storageType: string; + /** + * Specifies the IDs of the subnets that the file system is accessible from. For the MULTI_AZ_1 file system deployment type, there are two subnet IDs, one for the preferred file server and one for the standby file server. The preferred file server subnet identified in the `preferredSubnetId` property. + */ + readonly subnetIds: string[]; + /** + * The tags associated with the file system. + */ + readonly tags: {[key: string]: string}; + /** + * The sustained throughput of an Amazon FSx file system in Megabytes per second (MBps). + */ + readonly throughputCapacity: number; + /** + * The ID of the primary virtual private cloud (VPC) for the file system. + */ + readonly vpcId: string; + /** + * The preferred start time (in `D:HH:MM` format) to perform weekly maintenance, in the UTC time zone. + */ + readonly weeklyMaintenanceStartTime: string; +} +/** + * Retrieve information on FSx ONTAP File System. + * + * ## Example Usage + * ### Basic Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as aws from "@pulumi/aws"; + * + * const example = aws.fsx.getOntapFileSystem({ + * id: "fs-12345678", + * }); + * ``` + */ +export function getOntapFileSystemOutput(args: GetOntapFileSystemOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getOntapFileSystem(a, opts)) +} + +/** + * A collection of arguments for invoking getOntapFileSystem. + */ +export interface GetOntapFileSystemOutputArgs { + /** + * Identifier of the file system (e.g. `fs-12345678`). + */ + id: pulumi.Input; + /** + * The tags associated with the file system. + */ + tags?: pulumi.Input<{[key: string]: pulumi.Input}>; +} diff --git a/sdk/nodejs/fsx/getOntapStorageVirtualMachine.ts b/sdk/nodejs/fsx/getOntapStorageVirtualMachine.ts new file mode 100644 index 00000000000..8134d63a9d1 --- /dev/null +++ b/sdk/nodejs/fsx/getOntapStorageVirtualMachine.ts @@ -0,0 +1,160 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../types/input"; +import * as outputs from "../types/output"; +import * as enums from "../types/enums"; +import * as utilities from "../utilities"; + +/** + * Retrieve information on FSx ONTAP Storage Virtual Machine (SVM). + * + * ## Example Usage + * ### Basic Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as aws from "@pulumi/aws"; + * + * const example = aws.fsx.getOntapStorageVirtualMachine({ + * id: "svm-12345678", + * }); + * ``` + * ### Filter Example + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as aws from "@pulumi/aws"; + * + * const example = aws.fsx.getOntapStorageVirtualMachine({ + * filters: [{ + * name: "file-system-id", + * values: ["fs-12345678"], + * }], + * }); + * ``` + */ +export function getOntapStorageVirtualMachine(args?: GetOntapStorageVirtualMachineArgs, opts?: pulumi.InvokeOptions): Promise { + args = args || {}; + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("aws:fsx/getOntapStorageVirtualMachine:getOntapStorageVirtualMachine", { + "filters": args.filters, + "id": args.id, + "tags": args.tags, + }, opts); +} + +/** + * A collection of arguments for invoking getOntapStorageVirtualMachine. + */ +export interface GetOntapStorageVirtualMachineArgs { + /** + * Configuration block. Detailed below. + */ + filters?: inputs.fsx.GetOntapStorageVirtualMachineFilter[]; + /** + * Identifier of the storage virtual machine (e.g. `svm-12345678`). + */ + id?: string; + tags?: {[key: string]: string}; +} + +/** + * A collection of values returned by getOntapStorageVirtualMachine. + */ +export interface GetOntapStorageVirtualMachineResult { + /** + * The Microsoft Active Directory configuration to which the SVM is joined, if applicable. See Active Directory Configuration below. + */ + readonly activeDirectoryConfigurations: outputs.fsx.GetOntapStorageVirtualMachineActiveDirectoryConfiguration[]; + /** + * Amazon Resource Name of the SVM. + */ + readonly arn: string; + /** + * The time that the SVM was created. + */ + readonly creationTime: string; + /** + * The endpoints that are used to access data or to manage the SVM using the NetApp ONTAP CLI, REST API, or NetApp CloudManager. They are the Iscsi, Management, Nfs, and Smb endpoints. See SVM Endpoints below. + */ + readonly endpoints: outputs.fsx.GetOntapStorageVirtualMachineEndpoint[]; + /** + * Identifier of the file system (e.g. `fs-12345678`). + */ + readonly fileSystemId: string; + readonly filters?: outputs.fsx.GetOntapStorageVirtualMachineFilter[]; + /** + * The SVM's system generated unique ID. + */ + readonly id: string; + /** + * The SVM's lifecycle status. + */ + readonly lifecycleStatus: string; + /** + * Describes why the SVM lifecycle state changed. See Lifecycle Transition Reason below. + */ + readonly lifecycleTransitionReasons: outputs.fsx.GetOntapStorageVirtualMachineLifecycleTransitionReason[]; + /** + * The name of the SVM, if provisioned. + */ + readonly name: string; + /** + * The SVM's subtype. + */ + readonly subtype: string; + readonly tags: {[key: string]: string}; + /** + * The SVM's UUID. + */ + readonly uuid: string; +} +/** + * Retrieve information on FSx ONTAP Storage Virtual Machine (SVM). + * + * ## Example Usage + * ### Basic Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as aws from "@pulumi/aws"; + * + * const example = aws.fsx.getOntapStorageVirtualMachine({ + * id: "svm-12345678", + * }); + * ``` + * ### Filter Example + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as aws from "@pulumi/aws"; + * + * const example = aws.fsx.getOntapStorageVirtualMachine({ + * filters: [{ + * name: "file-system-id", + * values: ["fs-12345678"], + * }], + * }); + * ``` + */ +export function getOntapStorageVirtualMachineOutput(args?: GetOntapStorageVirtualMachineOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getOntapStorageVirtualMachine(a, opts)) +} + +/** + * A collection of arguments for invoking getOntapStorageVirtualMachine. + */ +export interface GetOntapStorageVirtualMachineOutputArgs { + /** + * Configuration block. Detailed below. + */ + filters?: pulumi.Input[]>; + /** + * Identifier of the storage virtual machine (e.g. `svm-12345678`). + */ + id?: pulumi.Input; + tags?: pulumi.Input<{[key: string]: pulumi.Input}>; +} diff --git a/sdk/nodejs/fsx/getOntapStorageVirtualMachines.ts b/sdk/nodejs/fsx/getOntapStorageVirtualMachines.ts new file mode 100644 index 00000000000..b03237133dd --- /dev/null +++ b/sdk/nodejs/fsx/getOntapStorageVirtualMachines.ts @@ -0,0 +1,93 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../types/input"; +import * as outputs from "../types/output"; +import * as enums from "../types/enums"; +import * as utilities from "../utilities"; + +/** + * This resource can be useful for getting back a set of FSx ONTAP Storage Virtual Machine (SVM) IDs. + * + * ## Example Usage + * + * The following shows outputting all SVM IDs for a given FSx ONTAP File System. + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as aws from "@pulumi/aws"; + * + * const example = aws.fsx.getOntapStorageVirtualMachines({ + * filters: [{ + * name: "file-system-id", + * values: ["fs-12345678"], + * }], + * }); + * ``` + */ +export function getOntapStorageVirtualMachines(args?: GetOntapStorageVirtualMachinesArgs, opts?: pulumi.InvokeOptions): Promise { + args = args || {}; + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("aws:fsx/getOntapStorageVirtualMachines:getOntapStorageVirtualMachines", { + "filters": args.filters, + }, opts); +} + +/** + * A collection of arguments for invoking getOntapStorageVirtualMachines. + */ +export interface GetOntapStorageVirtualMachinesArgs { + /** + * Configuration block. Detailed below. + */ + filters?: inputs.fsx.GetOntapStorageVirtualMachinesFilter[]; +} + +/** + * A collection of values returned by getOntapStorageVirtualMachines. + */ +export interface GetOntapStorageVirtualMachinesResult { + readonly filters?: outputs.fsx.GetOntapStorageVirtualMachinesFilter[]; + /** + * The provider-assigned unique ID for this managed resource. + */ + readonly id: string; + /** + * List of all SVM IDs found. + */ + readonly ids: string[]; +} +/** + * This resource can be useful for getting back a set of FSx ONTAP Storage Virtual Machine (SVM) IDs. + * + * ## Example Usage + * + * The following shows outputting all SVM IDs for a given FSx ONTAP File System. + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as aws from "@pulumi/aws"; + * + * const example = aws.fsx.getOntapStorageVirtualMachines({ + * filters: [{ + * name: "file-system-id", + * values: ["fs-12345678"], + * }], + * }); + * ``` + */ +export function getOntapStorageVirtualMachinesOutput(args?: GetOntapStorageVirtualMachinesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getOntapStorageVirtualMachines(a, opts)) +} + +/** + * A collection of arguments for invoking getOntapStorageVirtualMachines. + */ +export interface GetOntapStorageVirtualMachinesOutputArgs { + /** + * Configuration block. Detailed below. + */ + filters?: pulumi.Input[]>; +} diff --git a/sdk/nodejs/fsx/index.ts b/sdk/nodejs/fsx/index.ts index 16ce8bd4302..1dbe8c25fd4 100644 --- a/sdk/nodejs/fsx/index.ts +++ b/sdk/nodejs/fsx/index.ts @@ -20,6 +20,21 @@ export type FileCache = import("./fileCache").FileCache; export const FileCache: typeof import("./fileCache").FileCache = null as any; utilities.lazyLoad(exports, ["FileCache"], () => require("./fileCache")); +export { GetOntapFileSystemArgs, GetOntapFileSystemResult, GetOntapFileSystemOutputArgs } from "./getOntapFileSystem"; +export const getOntapFileSystem: typeof import("./getOntapFileSystem").getOntapFileSystem = null as any; +export const getOntapFileSystemOutput: typeof import("./getOntapFileSystem").getOntapFileSystemOutput = null as any; +utilities.lazyLoad(exports, ["getOntapFileSystem","getOntapFileSystemOutput"], () => require("./getOntapFileSystem")); + +export { GetOntapStorageVirtualMachineArgs, GetOntapStorageVirtualMachineResult, GetOntapStorageVirtualMachineOutputArgs } from "./getOntapStorageVirtualMachine"; +export const getOntapStorageVirtualMachine: typeof import("./getOntapStorageVirtualMachine").getOntapStorageVirtualMachine = null as any; +export const getOntapStorageVirtualMachineOutput: typeof import("./getOntapStorageVirtualMachine").getOntapStorageVirtualMachineOutput = null as any; +utilities.lazyLoad(exports, ["getOntapStorageVirtualMachine","getOntapStorageVirtualMachineOutput"], () => require("./getOntapStorageVirtualMachine")); + +export { GetOntapStorageVirtualMachinesArgs, GetOntapStorageVirtualMachinesResult, GetOntapStorageVirtualMachinesOutputArgs } from "./getOntapStorageVirtualMachines"; +export const getOntapStorageVirtualMachines: typeof import("./getOntapStorageVirtualMachines").getOntapStorageVirtualMachines = null as any; +export const getOntapStorageVirtualMachinesOutput: typeof import("./getOntapStorageVirtualMachines").getOntapStorageVirtualMachinesOutput = null as any; +utilities.lazyLoad(exports, ["getOntapStorageVirtualMachines","getOntapStorageVirtualMachinesOutput"], () => require("./getOntapStorageVirtualMachines")); + export { GetOpenZfsSnapshotArgs, GetOpenZfsSnapshotResult, GetOpenZfsSnapshotOutputArgs } from "./getOpenZfsSnapshot"; export const getOpenZfsSnapshot: typeof import("./getOpenZfsSnapshot").getOpenZfsSnapshot = null as any; export const getOpenZfsSnapshotOutput: typeof import("./getOpenZfsSnapshot").getOpenZfsSnapshotOutput = null as any; diff --git a/sdk/nodejs/mq/broker.ts b/sdk/nodejs/mq/broker.ts index 0f849e45bc0..7f1861938f7 100644 --- a/sdk/nodejs/mq/broker.ts +++ b/sdk/nodejs/mq/broker.ts @@ -12,7 +12,7 @@ import * as utilities from "../utilities"; * * > For more information on Amazon MQ, see [Amazon MQ documentation](https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/welcome.html). * - * > **NOTE:** Amazon MQ currently places limits on **RabbitMQ** brokers. For example, a RabbitMQ broker cannot have: instances with an associated IP address of an ENI attached to the broker, an associated LDAP server to authenticate and authorize broker connections, storage type `EFS`, audit logging, or `configuration` blocks. Although this resource allows you to create RabbitMQ users, RabbitMQ users cannot have console access or groups. Also, Amazon MQ does not return information about RabbitMQ users so drift detection is not possible. + * > **NOTE:** Amazon MQ currently places limits on **RabbitMQ** brokers. For example, a RabbitMQ broker cannot have: instances with an associated IP address of an ENI attached to the broker, an associated LDAP server to authenticate and authorize broker connections, storage type `EFS`, or audit logging. Although this resource allows you to create RabbitMQ users, RabbitMQ users cannot have console access or groups. Also, Amazon MQ does not return information about RabbitMQ users so drift detection is not possible. * * > **NOTE:** Changes to an MQ Broker can occur when you change a parameter, such as `configuration` or `user`, and are reflected in the next maintenance window. Because of this, the provider may report a difference in its planning phase because a modification has not yet taken place. You can use the `applyImmediately` flag to instruct the service to apply the change immediately (see documentation below). Using `applyImmediately` can result in a brief downtime as the broker reboots. * @@ -120,7 +120,7 @@ export class Broker extends pulumi.CustomResource { */ public readonly brokerName!: pulumi.Output; /** - * Configuration block for broker configuration. Applies to `engineType` of `ActiveMQ` only. Detailed below. + * Configuration block for broker configuration. Applies to `engineType` of `ActiveMQ` and `RabbitMQ` only. Detailed below. */ public readonly configuration!: pulumi.Output; /** @@ -307,7 +307,7 @@ export interface BrokerState { */ brokerName?: pulumi.Input; /** - * Configuration block for broker configuration. Applies to `engineType` of `ActiveMQ` only. Detailed below. + * Configuration block for broker configuration. Applies to `engineType` of `ActiveMQ` and `RabbitMQ` only. Detailed below. */ configuration?: pulumi.Input; /** @@ -412,7 +412,7 @@ export interface BrokerArgs { */ brokerName?: pulumi.Input; /** - * Configuration block for broker configuration. Applies to `engineType` of `ActiveMQ` only. Detailed below. + * Configuration block for broker configuration. Applies to `engineType` of `ActiveMQ` and `RabbitMQ` only. Detailed below. */ configuration?: pulumi.Input; /** diff --git a/sdk/nodejs/mq/configuration.ts b/sdk/nodejs/mq/configuration.ts index 646c561292b..adc8825946d 100644 --- a/sdk/nodejs/mq/configuration.ts +++ b/sdk/nodejs/mq/configuration.ts @@ -10,6 +10,7 @@ import * as utilities from "../utilities"; * For more information on Amazon MQ, see [Amazon MQ documentation](https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/welcome.html). * * ## Example Usage + * ### ActiveMQ * * ```typescript * import * as pulumi from "@pulumi/pulumi"; @@ -31,6 +32,22 @@ import * as utilities from "../utilities"; * engineVersion: "5.15.0", * }); * ``` + * ### RabbitMQ + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as aws from "@pulumi/aws"; + * + * const example = new aws.mq.Configuration("example", { + * data: `# Default RabbitMQ delivery acknowledgement timeout is 30 minutes in milliseconds + * consumer_timeout = 1800000 + * + * `, + * description: "Example Configuration", + * engineType: "RabbitMQ", + * engineVersion: "3.11.16", + * }); + * ``` * * ## Import * @@ -77,7 +94,7 @@ export class Configuration extends pulumi.CustomResource { */ public readonly authenticationStrategy!: pulumi.Output; /** - * Broker configuration in XML format. See [official docs](https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/amazon-mq-broker-configuration-parameters.html) for supported parameters and format of the XML. + * Broker configuration in XML format for `ActiveMQ` or [Cuttlefish](https://github.com/Kyorai/cuttlefish) format for `RabbitMQ`. See [official docs](https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/amazon-mq-broker-configuration-parameters.html) for supported parameters and format of the XML. */ public readonly data!: pulumi.Output; /** @@ -178,7 +195,7 @@ export interface ConfigurationState { */ authenticationStrategy?: pulumi.Input; /** - * Broker configuration in XML format. See [official docs](https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/amazon-mq-broker-configuration-parameters.html) for supported parameters and format of the XML. + * Broker configuration in XML format for `ActiveMQ` or [Cuttlefish](https://github.com/Kyorai/cuttlefish) format for `RabbitMQ`. See [official docs](https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/amazon-mq-broker-configuration-parameters.html) for supported parameters and format of the XML. */ data?: pulumi.Input; /** @@ -224,7 +241,7 @@ export interface ConfigurationArgs { */ authenticationStrategy?: pulumi.Input; /** - * Broker configuration in XML format. See [official docs](https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/amazon-mq-broker-configuration-parameters.html) for supported parameters and format of the XML. + * Broker configuration in XML format for `ActiveMQ` or [Cuttlefish](https://github.com/Kyorai/cuttlefish) format for `RabbitMQ`. See [official docs](https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/amazon-mq-broker-configuration-parameters.html) for supported parameters and format of the XML. */ data: pulumi.Input; /** diff --git a/sdk/nodejs/opensearch/index.ts b/sdk/nodejs/opensearch/index.ts index a5646815902..4a412fe275b 100644 --- a/sdk/nodejs/opensearch/index.ts +++ b/sdk/nodejs/opensearch/index.ts @@ -60,6 +60,16 @@ export type OutboundConnection = import("./outboundConnection").OutboundConnecti export const OutboundConnection: typeof import("./outboundConnection").OutboundConnection = null as any; utilities.lazyLoad(exports, ["OutboundConnection"], () => require("./outboundConnection")); +export { PackageArgs, PackageState } from "./package"; +export type Package = import("./package").Package; +export const Package: typeof import("./package").Package = null as any; +utilities.lazyLoad(exports, ["Package"], () => require("./package")); + +export { PackageAssociationArgs, PackageAssociationState } from "./packageAssociation"; +export type PackageAssociation = import("./packageAssociation").PackageAssociation; +export const PackageAssociation: typeof import("./packageAssociation").PackageAssociation = null as any; +utilities.lazyLoad(exports, ["PackageAssociation"], () => require("./packageAssociation")); + export { ServerlessAccessPolicyArgs, ServerlessAccessPolicyState } from "./serverlessAccessPolicy"; export type ServerlessAccessPolicy = import("./serverlessAccessPolicy").ServerlessAccessPolicy; export const ServerlessAccessPolicy: typeof import("./serverlessAccessPolicy").ServerlessAccessPolicy = null as any; @@ -105,6 +115,10 @@ const _module = { return new InboundConnectionAccepter(name, undefined, { urn }) case "aws:opensearch/outboundConnection:OutboundConnection": return new OutboundConnection(name, undefined, { urn }) + case "aws:opensearch/package:Package": + return new Package(name, undefined, { urn }) + case "aws:opensearch/packageAssociation:PackageAssociation": + return new PackageAssociation(name, undefined, { urn }) case "aws:opensearch/serverlessAccessPolicy:ServerlessAccessPolicy": return new ServerlessAccessPolicy(name, undefined, { urn }) case "aws:opensearch/serverlessCollection:ServerlessCollection": @@ -127,6 +141,8 @@ pulumi.runtime.registerResourceModule("aws", "opensearch/domainPolicy", _module) pulumi.runtime.registerResourceModule("aws", "opensearch/domainSamlOptions", _module) pulumi.runtime.registerResourceModule("aws", "opensearch/inboundConnectionAccepter", _module) pulumi.runtime.registerResourceModule("aws", "opensearch/outboundConnection", _module) +pulumi.runtime.registerResourceModule("aws", "opensearch/package", _module) +pulumi.runtime.registerResourceModule("aws", "opensearch/packageAssociation", _module) pulumi.runtime.registerResourceModule("aws", "opensearch/serverlessAccessPolicy", _module) pulumi.runtime.registerResourceModule("aws", "opensearch/serverlessCollection", _module) pulumi.runtime.registerResourceModule("aws", "opensearch/serverlessSecurityConfig", _module) diff --git a/sdk/nodejs/opensearch/package.ts b/sdk/nodejs/opensearch/package.ts new file mode 100644 index 00000000000..bcf0ef13657 --- /dev/null +++ b/sdk/nodejs/opensearch/package.ts @@ -0,0 +1,162 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../types/input"; +import * as outputs from "../types/output"; +import * as enums from "../types/enums"; +import * as utilities from "../utilities"; + +/** + * Manages an AWS Opensearch Package. + * + * ## Example Usage + * + * ## Import + * + * terraform import { + * + * to = aws_opensearch_package.example + * + * id = "package-id" } Using `pulumi import`, import AWS Opensearch Packages using the Package ID. For exampleconsole % pulumi import aws:opensearch/package:Package example package-id + */ +export class Package extends pulumi.CustomResource { + /** + * Get an existing Package resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param state Any extra arguments used during the lookup. + * @param opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, state?: PackageState, opts?: pulumi.CustomResourceOptions): Package { + return new Package(name, state, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'aws:opensearch/package:Package'; + + /** + * Returns true if the given object is an instance of Package. This is designed to work even + * when multiple copies of the Pulumi SDK have been loaded into the same process. + */ + public static isInstance(obj: any): obj is Package { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === Package.__pulumiType; + } + + /** + * The current version of the package. + */ + public /*out*/ readonly availablePackageVersion!: pulumi.Output; + /** + * Description of the package. + */ + public readonly packageDescription!: pulumi.Output; + public /*out*/ readonly packageId!: pulumi.Output; + /** + * Unique name for the package. + */ + public readonly packageName!: pulumi.Output; + /** + * Configuration block for the package source options. + */ + public readonly packageSource!: pulumi.Output; + /** + * The type of package. + */ + public readonly packageType!: pulumi.Output; + + /** + * Create a Package resource with the given unique name, arguments, and options. + * + * @param name The _unique_ name of the resource. + * @param args The arguments to use to populate this resource's properties. + * @param opts A bag of options that control this resource's behavior. + */ + constructor(name: string, args: PackageArgs, opts?: pulumi.CustomResourceOptions) + constructor(name: string, argsOrState?: PackageArgs | PackageState, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (opts.id) { + const state = argsOrState as PackageState | undefined; + resourceInputs["availablePackageVersion"] = state ? state.availablePackageVersion : undefined; + resourceInputs["packageDescription"] = state ? state.packageDescription : undefined; + resourceInputs["packageId"] = state ? state.packageId : undefined; + resourceInputs["packageName"] = state ? state.packageName : undefined; + resourceInputs["packageSource"] = state ? state.packageSource : undefined; + resourceInputs["packageType"] = state ? state.packageType : undefined; + } else { + const args = argsOrState as PackageArgs | undefined; + if ((!args || args.packageName === undefined) && !opts.urn) { + throw new Error("Missing required property 'packageName'"); + } + if ((!args || args.packageSource === undefined) && !opts.urn) { + throw new Error("Missing required property 'packageSource'"); + } + if ((!args || args.packageType === undefined) && !opts.urn) { + throw new Error("Missing required property 'packageType'"); + } + resourceInputs["packageDescription"] = args ? args.packageDescription : undefined; + resourceInputs["packageName"] = args ? args.packageName : undefined; + resourceInputs["packageSource"] = args ? args.packageSource : undefined; + resourceInputs["packageType"] = args ? args.packageType : undefined; + resourceInputs["availablePackageVersion"] = undefined /*out*/; + resourceInputs["packageId"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + super(Package.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * Input properties used for looking up and filtering Package resources. + */ +export interface PackageState { + /** + * The current version of the package. + */ + availablePackageVersion?: pulumi.Input; + /** + * Description of the package. + */ + packageDescription?: pulumi.Input; + packageId?: pulumi.Input; + /** + * Unique name for the package. + */ + packageName?: pulumi.Input; + /** + * Configuration block for the package source options. + */ + packageSource?: pulumi.Input; + /** + * The type of package. + */ + packageType?: pulumi.Input; +} + +/** + * The set of arguments for constructing a Package resource. + */ +export interface PackageArgs { + /** + * Description of the package. + */ + packageDescription?: pulumi.Input; + /** + * Unique name for the package. + */ + packageName: pulumi.Input; + /** + * Configuration block for the package source options. + */ + packageSource: pulumi.Input; + /** + * The type of package. + */ + packageType: pulumi.Input; +} diff --git a/sdk/nodejs/opensearch/packageAssociation.ts b/sdk/nodejs/opensearch/packageAssociation.ts new file mode 100644 index 00000000000..fe08ce74acb --- /dev/null +++ b/sdk/nodejs/opensearch/packageAssociation.ts @@ -0,0 +1,135 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as utilities from "../utilities"; + +/** + * Manages an AWS Opensearch Package Association. + * + * ## Example Usage + * ### Basic Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as aws from "@pulumi/aws"; + * + * const myDomain = new aws.opensearch.Domain("myDomain", { + * engineVersion: "Elasticsearch_7.10", + * clusterConfig: { + * instanceType: "r4.large.search", + * }, + * }); + * const examplePackage = new aws.opensearch.Package("examplePackage", { + * packageName: "example-txt", + * packageSource: { + * s3BucketName: aws_s3_bucket.my_opensearch_packages.bucket, + * s3Key: aws_s3_object.example.key, + * }, + * packageType: "TXT-DICTIONARY", + * }); + * const examplePackageAssociation = new aws.opensearch.PackageAssociation("examplePackageAssociation", { + * packageId: examplePackage.id, + * domainName: myDomain.domainName, + * }); + * ``` + */ +export class PackageAssociation extends pulumi.CustomResource { + /** + * Get an existing PackageAssociation resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param state Any extra arguments used during the lookup. + * @param opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, state?: PackageAssociationState, opts?: pulumi.CustomResourceOptions): PackageAssociation { + return new PackageAssociation(name, state, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'aws:opensearch/packageAssociation:PackageAssociation'; + + /** + * Returns true if the given object is an instance of PackageAssociation. This is designed to work even + * when multiple copies of the Pulumi SDK have been loaded into the same process. + */ + public static isInstance(obj: any): obj is PackageAssociation { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === PackageAssociation.__pulumiType; + } + + /** + * Name of the domain to associate the package with. + */ + public readonly domainName!: pulumi.Output; + /** + * Internal ID of the package to associate with a domain. + */ + public readonly packageId!: pulumi.Output; + public /*out*/ readonly referencePath!: pulumi.Output; + + /** + * Create a PackageAssociation resource with the given unique name, arguments, and options. + * + * @param name The _unique_ name of the resource. + * @param args The arguments to use to populate this resource's properties. + * @param opts A bag of options that control this resource's behavior. + */ + constructor(name: string, args: PackageAssociationArgs, opts?: pulumi.CustomResourceOptions) + constructor(name: string, argsOrState?: PackageAssociationArgs | PackageAssociationState, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (opts.id) { + const state = argsOrState as PackageAssociationState | undefined; + resourceInputs["domainName"] = state ? state.domainName : undefined; + resourceInputs["packageId"] = state ? state.packageId : undefined; + resourceInputs["referencePath"] = state ? state.referencePath : undefined; + } else { + const args = argsOrState as PackageAssociationArgs | undefined; + if ((!args || args.domainName === undefined) && !opts.urn) { + throw new Error("Missing required property 'domainName'"); + } + if ((!args || args.packageId === undefined) && !opts.urn) { + throw new Error("Missing required property 'packageId'"); + } + resourceInputs["domainName"] = args ? args.domainName : undefined; + resourceInputs["packageId"] = args ? args.packageId : undefined; + resourceInputs["referencePath"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + super(PackageAssociation.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * Input properties used for looking up and filtering PackageAssociation resources. + */ +export interface PackageAssociationState { + /** + * Name of the domain to associate the package with. + */ + domainName?: pulumi.Input; + /** + * Internal ID of the package to associate with a domain. + */ + packageId?: pulumi.Input; + referencePath?: pulumi.Input; +} + +/** + * The set of arguments for constructing a PackageAssociation resource. + */ +export interface PackageAssociationArgs { + /** + * Name of the domain to associate the package with. + */ + domainName: pulumi.Input; + /** + * Internal ID of the package to associate with a domain. + */ + packageId: pulumi.Input; +} diff --git a/sdk/nodejs/organizations/getOrganizationalUnit.ts b/sdk/nodejs/organizations/getOrganizationalUnit.ts new file mode 100644 index 00000000000..d2d8653291e --- /dev/null +++ b/sdk/nodejs/organizations/getOrganizationalUnit.ts @@ -0,0 +1,95 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as utilities from "../utilities"; + +/** + * Data source for getting an AWS Organizations Organizational Unit. + * + * ## Example Usage + * ### Basic Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as aws from "@pulumi/aws"; + * + * const org = aws.organizations.getOrganization({}); + * const ou = org.then(org => aws.organizations.getOrganizationalUnit({ + * parentId: org.roots?.[0]?.id, + * name: "dev", + * })); + * ``` + */ +export function getOrganizationalUnit(args: GetOrganizationalUnitArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("aws:organizations/getOrganizationalUnit:getOrganizationalUnit", { + "name": args.name, + "parentId": args.parentId, + }, opts); +} + +/** + * A collection of arguments for invoking getOrganizationalUnit. + */ +export interface GetOrganizationalUnitArgs { + /** + * Name of the organizational unit + */ + name: string; + /** + * Parent ID of the organizational unit. + */ + parentId: string; +} + +/** + * A collection of values returned by getOrganizationalUnit. + */ +export interface GetOrganizationalUnitResult { + /** + * ARN of the organizational unit + */ + readonly arn: string; + /** + * The provider-assigned unique ID for this managed resource. + */ + readonly id: string; + readonly name: string; + readonly parentId: string; +} +/** + * Data source for getting an AWS Organizations Organizational Unit. + * + * ## Example Usage + * ### Basic Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as aws from "@pulumi/aws"; + * + * const org = aws.organizations.getOrganization({}); + * const ou = org.then(org => aws.organizations.getOrganizationalUnit({ + * parentId: org.roots?.[0]?.id, + * name: "dev", + * })); + * ``` + */ +export function getOrganizationalUnitOutput(args: GetOrganizationalUnitOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getOrganizationalUnit(a, opts)) +} + +/** + * A collection of arguments for invoking getOrganizationalUnit. + */ +export interface GetOrganizationalUnitOutputArgs { + /** + * Name of the organizational unit + */ + name: pulumi.Input; + /** + * Parent ID of the organizational unit. + */ + parentId: pulumi.Input; +} diff --git a/sdk/nodejs/organizations/index.ts b/sdk/nodejs/organizations/index.ts index 8aaa53cde86..50799e984d4 100644 --- a/sdk/nodejs/organizations/index.ts +++ b/sdk/nodejs/organizations/index.ts @@ -30,6 +30,11 @@ export const getOrganization: typeof import("./getOrganization").getOrganization export const getOrganizationOutput: typeof import("./getOrganization").getOrganizationOutput = null as any; utilities.lazyLoad(exports, ["getOrganization","getOrganizationOutput"], () => require("./getOrganization")); +export { GetOrganizationalUnitArgs, GetOrganizationalUnitResult, GetOrganizationalUnitOutputArgs } from "./getOrganizationalUnit"; +export const getOrganizationalUnit: typeof import("./getOrganizationalUnit").getOrganizationalUnit = null as any; +export const getOrganizationalUnitOutput: typeof import("./getOrganizationalUnit").getOrganizationalUnitOutput = null as any; +utilities.lazyLoad(exports, ["getOrganizationalUnit","getOrganizationalUnitOutput"], () => require("./getOrganizationalUnit")); + export { GetOrganizationalUnitChildAccountsArgs, GetOrganizationalUnitChildAccountsResult, GetOrganizationalUnitChildAccountsOutputArgs } from "./getOrganizationalUnitChildAccounts"; export const getOrganizationalUnitChildAccounts: typeof import("./getOrganizationalUnitChildAccounts").getOrganizationalUnitChildAccounts = null as any; export const getOrganizationalUnitChildAccountsOutput: typeof import("./getOrganizationalUnitChildAccounts").getOrganizationalUnitChildAccountsOutput = null as any; diff --git a/sdk/nodejs/rds/optionGroup.ts b/sdk/nodejs/rds/optionGroup.ts index 65391346c85..30c4a53e23e 100644 --- a/sdk/nodejs/rds/optionGroup.ts +++ b/sdk/nodejs/rds/optionGroup.ts @@ -59,7 +59,7 @@ import * as utilities from "../utilities"; * * ## Import * - * Using `pulumi import`, import DB Option groups using the `name`. For example: + * Using `pulumi import`, import DB option groups using the `name`. For example: * * ```sh * $ pulumi import aws:rds/optionGroup:OptionGroup example mysql-option-group @@ -94,7 +94,7 @@ export class OptionGroup extends pulumi.CustomResource { } /** - * The ARN of the db option group. + * ARN of the DB option group. */ public /*out*/ readonly arn!: pulumi.Output; /** @@ -106,7 +106,7 @@ export class OptionGroup extends pulumi.CustomResource { */ public readonly majorEngineVersion!: pulumi.Output; /** - * The Name of the setting. + * Name of the option group. If omitted, the provider will assign a random, unique name. Must be lowercase, to match as it is stored in AWS. */ public readonly name!: pulumi.Output; /** @@ -114,19 +114,19 @@ export class OptionGroup extends pulumi.CustomResource { */ public readonly namePrefix!: pulumi.Output; /** - * The description of the option group. Defaults to "Managed by Pulumi". + * Description of the option group. */ public readonly optionGroupDescription!: pulumi.Output; /** - * A list of Options to apply. + * List of options to apply. */ public readonly options!: pulumi.Output; /** - * A 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. + * 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. */ public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; /** - * A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. + * Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. * * @deprecated Please use `tags` instead. */ @@ -184,7 +184,7 @@ export class OptionGroup extends pulumi.CustomResource { */ export interface OptionGroupState { /** - * The ARN of the db option group. + * ARN of the DB option group. */ arn?: pulumi.Input; /** @@ -196,7 +196,7 @@ export interface OptionGroupState { */ majorEngineVersion?: pulumi.Input; /** - * The Name of the setting. + * Name of the option group. If omitted, the provider will assign a random, unique name. Must be lowercase, to match as it is stored in AWS. */ name?: pulumi.Input; /** @@ -204,19 +204,19 @@ export interface OptionGroupState { */ namePrefix?: pulumi.Input; /** - * The description of the option group. Defaults to "Managed by Pulumi". + * Description of the option group. */ optionGroupDescription?: pulumi.Input; /** - * A list of Options to apply. + * List of options to apply. */ options?: pulumi.Input[]>; /** - * A 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. + * 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. */ tags?: pulumi.Input<{[key: string]: pulumi.Input}>; /** - * A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. + * Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. * * @deprecated Please use `tags` instead. */ @@ -236,7 +236,7 @@ export interface OptionGroupArgs { */ majorEngineVersion: pulumi.Input; /** - * The Name of the setting. + * Name of the option group. If omitted, the provider will assign a random, unique name. Must be lowercase, to match as it is stored in AWS. */ name?: pulumi.Input; /** @@ -244,15 +244,15 @@ export interface OptionGroupArgs { */ namePrefix?: pulumi.Input; /** - * The description of the option group. Defaults to "Managed by Pulumi". + * Description of the option group. */ optionGroupDescription?: pulumi.Input; /** - * A list of Options to apply. + * List of options to apply. */ options?: pulumi.Input[]>; /** - * A 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. + * 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. */ tags?: pulumi.Input<{[key: string]: pulumi.Input}>; } diff --git a/sdk/nodejs/s3/bucketObjectv2.ts b/sdk/nodejs/s3/bucketObjectv2.ts index 381b43b20d7..95ca03ecf91 100644 --- a/sdk/nodejs/s3/bucketObjectv2.ts +++ b/sdk/nodejs/s3/bucketObjectv2.ts @@ -161,6 +161,26 @@ export class BucketObjectv2 extends pulumi.CustomResource { * Caching behavior along the request/reply chain Read [w3c cacheControl](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9) for further details. */ public readonly cacheControl!: pulumi.Output; + /** + * Indicates the algorithm used to create the checksum for the object. If a value is specified and the object is encrypted with KMS, you must have permission to use the `kms:Decrypt` action. Valid values: `CRC32`, `CRC32C`, `SHA1`, `SHA256`. + */ + public readonly checksumAlgorithm!: pulumi.Output; + /** + * The base64-encoded, 32-bit CRC32 checksum of the object. + */ + public /*out*/ readonly checksumCrc32!: pulumi.Output; + /** + * The base64-encoded, 32-bit CRC32C checksum of the object. + */ + public /*out*/ readonly checksumCrc32c!: pulumi.Output; + /** + * The base64-encoded, 160-bit SHA-1 digest of the object. + */ + public /*out*/ readonly checksumSha1!: pulumi.Output; + /** + * The base64-encoded, 256-bit SHA-256 digest of the object. + */ + public /*out*/ readonly checksumSha256!: pulumi.Output; /** * Literal string value to use as the object content, which will be uploaded as UTF-8-encoded text. */ @@ -275,6 +295,11 @@ export class BucketObjectv2 extends pulumi.CustomResource { resourceInputs["bucket"] = state ? state.bucket : undefined; resourceInputs["bucketKeyEnabled"] = state ? state.bucketKeyEnabled : undefined; resourceInputs["cacheControl"] = state ? state.cacheControl : undefined; + resourceInputs["checksumAlgorithm"] = state ? state.checksumAlgorithm : undefined; + resourceInputs["checksumCrc32"] = state ? state.checksumCrc32 : undefined; + resourceInputs["checksumCrc32c"] = state ? state.checksumCrc32c : undefined; + resourceInputs["checksumSha1"] = state ? state.checksumSha1 : undefined; + resourceInputs["checksumSha256"] = state ? state.checksumSha256 : undefined; resourceInputs["content"] = state ? state.content : undefined; resourceInputs["contentBase64"] = state ? state.contentBase64 : undefined; resourceInputs["contentDisposition"] = state ? state.contentDisposition : undefined; @@ -306,6 +331,7 @@ export class BucketObjectv2 extends pulumi.CustomResource { resourceInputs["bucket"] = args ? args.bucket : undefined; resourceInputs["bucketKeyEnabled"] = args ? args.bucketKeyEnabled : undefined; resourceInputs["cacheControl"] = args ? args.cacheControl : undefined; + resourceInputs["checksumAlgorithm"] = args ? args.checksumAlgorithm : undefined; resourceInputs["content"] = args ? args.content : undefined; resourceInputs["contentBase64"] = args ? args.contentBase64 : undefined; resourceInputs["contentDisposition"] = args ? args.contentDisposition : undefined; @@ -326,6 +352,10 @@ export class BucketObjectv2 extends pulumi.CustomResource { resourceInputs["storageClass"] = args ? args.storageClass : undefined; resourceInputs["tags"] = args ? args.tags : undefined; resourceInputs["websiteRedirect"] = args ? args.websiteRedirect : undefined; + resourceInputs["checksumCrc32"] = undefined /*out*/; + resourceInputs["checksumCrc32c"] = undefined /*out*/; + resourceInputs["checksumSha1"] = undefined /*out*/; + resourceInputs["checksumSha256"] = undefined /*out*/; resourceInputs["tagsAll"] = undefined /*out*/; resourceInputs["versionId"] = undefined /*out*/; } @@ -358,6 +388,26 @@ export interface BucketObjectv2State { * Caching behavior along the request/reply chain Read [w3c cacheControl](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9) for further details. */ cacheControl?: pulumi.Input; + /** + * Indicates the algorithm used to create the checksum for the object. If a value is specified and the object is encrypted with KMS, you must have permission to use the `kms:Decrypt` action. Valid values: `CRC32`, `CRC32C`, `SHA1`, `SHA256`. + */ + checksumAlgorithm?: pulumi.Input; + /** + * The base64-encoded, 32-bit CRC32 checksum of the object. + */ + checksumCrc32?: pulumi.Input; + /** + * The base64-encoded, 32-bit CRC32C checksum of the object. + */ + checksumCrc32c?: pulumi.Input; + /** + * The base64-encoded, 160-bit SHA-1 digest of the object. + */ + checksumSha1?: pulumi.Input; + /** + * The base64-encoded, 256-bit SHA-256 digest of the object. + */ + checksumSha256?: pulumi.Input; /** * Literal string value to use as the object content, which will be uploaded as UTF-8-encoded text. */ @@ -476,6 +526,10 @@ export interface BucketObjectv2Args { * Caching behavior along the request/reply chain Read [w3c cacheControl](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9) for further details. */ cacheControl?: pulumi.Input; + /** + * Indicates the algorithm used to create the checksum for the object. If a value is specified and the object is encrypted with KMS, you must have permission to use the `kms:Decrypt` action. Valid values: `CRC32`, `CRC32C`, `SHA1`, `SHA256`. + */ + checksumAlgorithm?: pulumi.Input; /** * Literal string value to use as the object content, which will be uploaded as UTF-8-encoded text. */ diff --git a/sdk/nodejs/s3/getObject.ts b/sdk/nodejs/s3/getObject.ts index 67df8ace59a..8b216701421 100644 --- a/sdk/nodejs/s3/getObject.ts +++ b/sdk/nodejs/s3/getObject.ts @@ -58,6 +58,7 @@ export function getObject(args: GetObjectArgs, opts?: pulumi.InvokeOptions): Pro opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws:s3/getObject:getObject", { "bucket": args.bucket, + "checksumMode": args.checksumMode, "key": args.key, "range": args.range, "tags": args.tags, @@ -73,6 +74,10 @@ export interface GetObjectArgs { * Name of the bucket to read the object from. Alternatively, an [S3 access point](https://docs.aws.amazon.com/AmazonS3/latest/dev/using-access-points.html) ARN can be specified */ bucket: string; + /** + * To retrieve the object's checksum, this argument must be `ENABLED`. If you enable `checksumMode` and the object is encrypted with KMS, you must have permission to use the `kms:Decrypt` action. Valid values: `ENABLED` + */ + checksumMode?: string; /** * Full path to the object inside the bucket */ @@ -105,6 +110,23 @@ export interface GetObjectResult { * Caching behavior along the request/reply chain. */ readonly cacheControl: string; + /** + * The base64-encoded, 32-bit CRC32 checksum of the object. + */ + readonly checksumCrc32: string; + /** + * The base64-encoded, 32-bit CRC32C checksum of the object. + */ + readonly checksumCrc32c: string; + readonly checksumMode?: string; + /** + * The base64-encoded, 160-bit SHA-1 digest of the object. + */ + readonly checksumSha1: string; + /** + * The base64-encoded, 256-bit SHA-256 digest of the object. + */ + readonly checksumSha256: string; /** * Presentational information for the object. */ @@ -249,6 +271,10 @@ export interface GetObjectOutputArgs { * Name of the bucket to read the object from. Alternatively, an [S3 access point](https://docs.aws.amazon.com/AmazonS3/latest/dev/using-access-points.html) ARN can be specified */ bucket: pulumi.Input; + /** + * To retrieve the object's checksum, this argument must be `ENABLED`. If you enable `checksumMode` and the object is encrypted with KMS, you must have permission to use the `kms:Decrypt` action. Valid values: `ENABLED` + */ + checksumMode?: pulumi.Input; /** * Full path to the object inside the bucket */ diff --git a/sdk/nodejs/s3/objectCopy.ts b/sdk/nodejs/s3/objectCopy.ts index 46dfc551a1d..5d6eb74c810 100644 --- a/sdk/nodejs/s3/objectCopy.ts +++ b/sdk/nodejs/s3/objectCopy.ts @@ -69,6 +69,26 @@ export class ObjectCopy extends pulumi.CustomResource { * Specifies caching behavior along the request/reply chain Read [w3c cacheControl](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9) for further details. */ public readonly cacheControl!: pulumi.Output; + /** + * Indicates the algorithm used to create the checksum for the object. If a value is specified and the object is encrypted with KMS, you must have permission to use the `kms:Decrypt` action. Valid values: `CRC32`, `CRC32C`, `SHA1`, `SHA256`. + */ + public readonly checksumAlgorithm!: pulumi.Output; + /** + * The base64-encoded, 32-bit CRC32 checksum of the object. + */ + public /*out*/ readonly checksumCrc32!: pulumi.Output; + /** + * The base64-encoded, 32-bit CRC32C checksum of the object. + */ + public /*out*/ readonly checksumCrc32c!: pulumi.Output; + /** + * The base64-encoded, 160-bit SHA-1 digest of the object. + */ + public /*out*/ readonly checksumSha1!: pulumi.Output; + /** + * The base64-encoded, 256-bit SHA-256 digest of the object. + */ + public /*out*/ readonly checksumSha256!: pulumi.Output; /** * Specifies presentational information for the object. Read [w3c contentDisposition](http://www.w3.org/Protocols/rfc2616/rfc2616-sec19.html#sec19.5.1) for further information. */ @@ -255,6 +275,11 @@ export class ObjectCopy extends pulumi.CustomResource { resourceInputs["bucket"] = state ? state.bucket : undefined; resourceInputs["bucketKeyEnabled"] = state ? state.bucketKeyEnabled : undefined; resourceInputs["cacheControl"] = state ? state.cacheControl : undefined; + resourceInputs["checksumAlgorithm"] = state ? state.checksumAlgorithm : undefined; + resourceInputs["checksumCrc32"] = state ? state.checksumCrc32 : undefined; + resourceInputs["checksumCrc32c"] = state ? state.checksumCrc32c : undefined; + resourceInputs["checksumSha1"] = state ? state.checksumSha1 : undefined; + resourceInputs["checksumSha256"] = state ? state.checksumSha256 : undefined; resourceInputs["contentDisposition"] = state ? state.contentDisposition : undefined; resourceInputs["contentEncoding"] = state ? state.contentEncoding : undefined; resourceInputs["contentLanguage"] = state ? state.contentLanguage : undefined; @@ -311,6 +336,7 @@ export class ObjectCopy extends pulumi.CustomResource { resourceInputs["bucket"] = args ? args.bucket : undefined; resourceInputs["bucketKeyEnabled"] = args ? args.bucketKeyEnabled : undefined; resourceInputs["cacheControl"] = args ? args.cacheControl : undefined; + resourceInputs["checksumAlgorithm"] = args ? args.checksumAlgorithm : undefined; resourceInputs["contentDisposition"] = args ? args.contentDisposition : undefined; resourceInputs["contentEncoding"] = args ? args.contentEncoding : undefined; resourceInputs["contentLanguage"] = args ? args.contentLanguage : undefined; @@ -345,6 +371,10 @@ export class ObjectCopy extends pulumi.CustomResource { resourceInputs["taggingDirective"] = args ? args.taggingDirective : undefined; resourceInputs["tags"] = args ? args.tags : undefined; resourceInputs["websiteRedirect"] = args ? args.websiteRedirect : undefined; + resourceInputs["checksumCrc32"] = undefined /*out*/; + resourceInputs["checksumCrc32c"] = undefined /*out*/; + resourceInputs["checksumSha1"] = undefined /*out*/; + resourceInputs["checksumSha256"] = undefined /*out*/; resourceInputs["etag"] = undefined /*out*/; resourceInputs["expiration"] = undefined /*out*/; resourceInputs["lastModified"] = undefined /*out*/; @@ -377,6 +407,26 @@ export interface ObjectCopyState { * Specifies caching behavior along the request/reply chain Read [w3c cacheControl](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9) for further details. */ cacheControl?: pulumi.Input; + /** + * Indicates the algorithm used to create the checksum for the object. If a value is specified and the object is encrypted with KMS, you must have permission to use the `kms:Decrypt` action. Valid values: `CRC32`, `CRC32C`, `SHA1`, `SHA256`. + */ + checksumAlgorithm?: pulumi.Input; + /** + * The base64-encoded, 32-bit CRC32 checksum of the object. + */ + checksumCrc32?: pulumi.Input; + /** + * The base64-encoded, 32-bit CRC32C checksum of the object. + */ + checksumCrc32c?: pulumi.Input; + /** + * The base64-encoded, 160-bit SHA-1 digest of the object. + */ + checksumSha1?: pulumi.Input; + /** + * The base64-encoded, 256-bit SHA-256 digest of the object. + */ + checksumSha256?: pulumi.Input; /** * Specifies presentational information for the object. Read [w3c contentDisposition](http://www.w3.org/Protocols/rfc2616/rfc2616-sec19.html#sec19.5.1) for further information. */ @@ -564,6 +614,10 @@ export interface ObjectCopyArgs { * Specifies caching behavior along the request/reply chain Read [w3c cacheControl](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9) for further details. */ cacheControl?: pulumi.Input; + /** + * Indicates the algorithm used to create the checksum for the object. If a value is specified and the object is encrypted with KMS, you must have permission to use the `kms:Decrypt` action. Valid values: `CRC32`, `CRC32C`, `SHA1`, `SHA256`. + */ + checksumAlgorithm?: pulumi.Input; /** * Specifies presentational information for the object. Read [w3c contentDisposition](http://www.w3.org/Protocols/rfc2616/rfc2616-sec19.html#sec19.5.1) for further information. */ diff --git a/sdk/nodejs/schemas/schema.ts b/sdk/nodejs/schemas/schema.ts index 718e2995120..9b38a4a6a34 100644 --- a/sdk/nodejs/schemas/schema.ts +++ b/sdk/nodejs/schemas/schema.ts @@ -114,7 +114,7 @@ export class Schema extends pulumi.CustomResource { */ public /*out*/ readonly tagsAll!: pulumi.Output<{[key: string]: string}>; /** - * The type of the schema. Valid values: `OpenApi3`. + * The type of the schema. Valid values: `OpenApi3` or `JSONSchemaDraft4`. */ public readonly type!: pulumi.Output; /** @@ -219,7 +219,7 @@ export interface SchemaState { */ tagsAll?: pulumi.Input<{[key: string]: pulumi.Input}>; /** - * The type of the schema. Valid values: `OpenApi3`. + * The type of the schema. Valid values: `OpenApi3` or `JSONSchemaDraft4`. */ type?: pulumi.Input; /** @@ -257,7 +257,7 @@ export interface SchemaArgs { */ tags?: pulumi.Input<{[key: string]: pulumi.Input}>; /** - * The type of the schema. Valid values: `OpenApi3`. + * The type of the schema. Valid values: `OpenApi3` or `JSONSchemaDraft4`. */ type: pulumi.Input; } diff --git a/sdk/nodejs/shield/applicationLayerAutomaticResponse.ts b/sdk/nodejs/shield/applicationLayerAutomaticResponse.ts new file mode 100644 index 00000000000..902f1699609 --- /dev/null +++ b/sdk/nodejs/shield/applicationLayerAutomaticResponse.ts @@ -0,0 +1,128 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../types/input"; +import * as outputs from "../types/output"; +import * as enums from "../types/enums"; +import * as utilities from "../utilities"; + +/** + * Resource for managing an AWS Shield Application Layer Automatic Response for automatic DDoS mitigation. + * + * ## Example Usage + * ### Basic Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as aws from "@pulumi/aws"; + * + * const currentRegion = aws.getRegion({}); + * const currentCallerIdentity = aws.getCallerIdentity({}); + * const currentPartition = aws.getPartition({}); + * const example = new aws.shield.ApplicationLayerAutomaticResponse("example", { + * action: "COUNT", + * resourceArn: Promise.all([currentPartition, currentCallerIdentity]).then(([currentPartition, currentCallerIdentity]) => `arn:${currentPartition.partition}:cloudfront:${currentCallerIdentity.accountId}:distribution/${_var.distribution_id}`), + * }); + * ``` + */ +export class ApplicationLayerAutomaticResponse extends pulumi.CustomResource { + /** + * Get an existing ApplicationLayerAutomaticResponse resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param state Any extra arguments used during the lookup. + * @param opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, state?: ApplicationLayerAutomaticResponseState, opts?: pulumi.CustomResourceOptions): ApplicationLayerAutomaticResponse { + return new ApplicationLayerAutomaticResponse(name, state, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'aws:shield/applicationLayerAutomaticResponse:ApplicationLayerAutomaticResponse'; + + /** + * Returns true if the given object is an instance of ApplicationLayerAutomaticResponse. This is designed to work even + * when multiple copies of the Pulumi SDK have been loaded into the same process. + */ + public static isInstance(obj: any): obj is ApplicationLayerAutomaticResponse { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === ApplicationLayerAutomaticResponse.__pulumiType; + } + + /** + * One of `COUNT` or `BLOCK` + */ + public readonly action!: pulumi.Output; + /** + * ARN of the resource to protect (Cloudfront Distributions and ALBs only at this time). + */ + public readonly resourceArn!: pulumi.Output; + public readonly timeouts!: pulumi.Output; + + /** + * Create a ApplicationLayerAutomaticResponse resource with the given unique name, arguments, and options. + * + * @param name The _unique_ name of the resource. + * @param args The arguments to use to populate this resource's properties. + * @param opts A bag of options that control this resource's behavior. + */ + constructor(name: string, args: ApplicationLayerAutomaticResponseArgs, opts?: pulumi.CustomResourceOptions) + constructor(name: string, argsOrState?: ApplicationLayerAutomaticResponseArgs | ApplicationLayerAutomaticResponseState, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (opts.id) { + const state = argsOrState as ApplicationLayerAutomaticResponseState | undefined; + resourceInputs["action"] = state ? state.action : undefined; + resourceInputs["resourceArn"] = state ? state.resourceArn : undefined; + resourceInputs["timeouts"] = state ? state.timeouts : undefined; + } else { + const args = argsOrState as ApplicationLayerAutomaticResponseArgs | undefined; + if ((!args || args.action === undefined) && !opts.urn) { + throw new Error("Missing required property 'action'"); + } + if ((!args || args.resourceArn === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceArn'"); + } + resourceInputs["action"] = args ? args.action : undefined; + resourceInputs["resourceArn"] = args ? args.resourceArn : undefined; + resourceInputs["timeouts"] = args ? args.timeouts : undefined; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + super(ApplicationLayerAutomaticResponse.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * Input properties used for looking up and filtering ApplicationLayerAutomaticResponse resources. + */ +export interface ApplicationLayerAutomaticResponseState { + /** + * One of `COUNT` or `BLOCK` + */ + action?: pulumi.Input; + /** + * ARN of the resource to protect (Cloudfront Distributions and ALBs only at this time). + */ + resourceArn?: pulumi.Input; + timeouts?: pulumi.Input; +} + +/** + * The set of arguments for constructing a ApplicationLayerAutomaticResponse resource. + */ +export interface ApplicationLayerAutomaticResponseArgs { + /** + * One of `COUNT` or `BLOCK` + */ + action: pulumi.Input; + /** + * ARN of the resource to protect (Cloudfront Distributions and ALBs only at this time). + */ + resourceArn: pulumi.Input; + timeouts?: pulumi.Input; +} diff --git a/sdk/nodejs/shield/index.ts b/sdk/nodejs/shield/index.ts index a6b5e92e6da..184e7c121b3 100644 --- a/sdk/nodejs/shield/index.ts +++ b/sdk/nodejs/shield/index.ts @@ -5,6 +5,11 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "../utilities"; // Export members: +export { ApplicationLayerAutomaticResponseArgs, ApplicationLayerAutomaticResponseState } from "./applicationLayerAutomaticResponse"; +export type ApplicationLayerAutomaticResponse = import("./applicationLayerAutomaticResponse").ApplicationLayerAutomaticResponse; +export const ApplicationLayerAutomaticResponse: typeof import("./applicationLayerAutomaticResponse").ApplicationLayerAutomaticResponse = null as any; +utilities.lazyLoad(exports, ["ApplicationLayerAutomaticResponse"], () => require("./applicationLayerAutomaticResponse")); + export { DrtAccessLogBucketAssociationArgs, DrtAccessLogBucketAssociationState } from "./drtAccessLogBucketAssociation"; export type DrtAccessLogBucketAssociation = import("./drtAccessLogBucketAssociation").DrtAccessLogBucketAssociation; export const DrtAccessLogBucketAssociation: typeof import("./drtAccessLogBucketAssociation").DrtAccessLogBucketAssociation = null as any; @@ -35,6 +40,8 @@ const _module = { version: utilities.getVersion(), construct: (name: string, type: string, urn: string): pulumi.Resource => { switch (type) { + case "aws:shield/applicationLayerAutomaticResponse:ApplicationLayerAutomaticResponse": + return new ApplicationLayerAutomaticResponse(name, undefined, { urn }) case "aws:shield/drtAccessLogBucketAssociation:DrtAccessLogBucketAssociation": return new DrtAccessLogBucketAssociation(name, undefined, { urn }) case "aws:shield/drtAccessRoleArnAssociation:DrtAccessRoleArnAssociation": @@ -50,6 +57,7 @@ const _module = { } }, }; +pulumi.runtime.registerResourceModule("aws", "shield/applicationLayerAutomaticResponse", _module) pulumi.runtime.registerResourceModule("aws", "shield/drtAccessLogBucketAssociation", _module) pulumi.runtime.registerResourceModule("aws", "shield/drtAccessRoleArnAssociation", _module) pulumi.runtime.registerResourceModule("aws", "shield/protection", _module) diff --git a/sdk/nodejs/transfer/connector.ts b/sdk/nodejs/transfer/connector.ts index b49fb9a9f5a..dbd61331e5b 100644 --- a/sdk/nodejs/transfer/connector.ts +++ b/sdk/nodejs/transfer/connector.ts @@ -32,6 +32,21 @@ import * as utilities from "../utilities"; * url: "http://www.test.com", * }); * ``` + * ### SFTP Connector + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as aws from "@pulumi/aws"; + * + * const example = new aws.transfer.Connector("example", { + * accessRole: aws_iam_role.test.arn, + * sftpConfig: { + * trustedHostKeys: ["ssh-rsa AAAAB3NYourKeysHere"], + * userSecretId: aws_secretsmanager_secret.example.id, + * }, + * url: "sftp://test.com", + * }); + * ``` * * ## Import * @@ -78,17 +93,21 @@ export class Connector extends pulumi.CustomResource { */ public /*out*/ readonly arn!: pulumi.Output; /** - * The parameters to configure for the connector object. Fields documented below. + * Either SFTP or AS2 is configured.The parameters to configure for the connector object. Fields documented below. */ - public readonly as2Config!: pulumi.Output; + public readonly as2Config!: pulumi.Output; /** - * The unique identifier for the AS2 profile. + * The unique identifier for the AS2 profile or SFTP Profile. */ public /*out*/ readonly connectorId!: pulumi.Output; /** * The IAM Role which is required for allowing the connector to turn on CloudWatch logging for Amazon S3 events. */ public readonly loggingRole!: pulumi.Output; + /** + * Either SFTP or AS2 is configured.The parameters to configure for the connector object. Fields documented below. + */ + public readonly sftpConfig!: pulumi.Output; /** * A 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. */ @@ -98,7 +117,7 @@ export class Connector extends pulumi.CustomResource { */ public /*out*/ readonly tagsAll!: pulumi.Output<{[key: string]: string}>; /** - * The URL of the partners AS2 endpoint. + * The URL of the partners AS2 endpoint or SFTP endpoint. */ public readonly url!: pulumi.Output; @@ -120,6 +139,7 @@ export class Connector extends pulumi.CustomResource { resourceInputs["as2Config"] = state ? state.as2Config : undefined; resourceInputs["connectorId"] = state ? state.connectorId : undefined; resourceInputs["loggingRole"] = state ? state.loggingRole : undefined; + resourceInputs["sftpConfig"] = state ? state.sftpConfig : undefined; resourceInputs["tags"] = state ? state.tags : undefined; resourceInputs["tagsAll"] = state ? state.tagsAll : undefined; resourceInputs["url"] = state ? state.url : undefined; @@ -128,15 +148,13 @@ export class Connector extends pulumi.CustomResource { if ((!args || args.accessRole === undefined) && !opts.urn) { throw new Error("Missing required property 'accessRole'"); } - if ((!args || args.as2Config === undefined) && !opts.urn) { - throw new Error("Missing required property 'as2Config'"); - } if ((!args || args.url === undefined) && !opts.urn) { throw new Error("Missing required property 'url'"); } resourceInputs["accessRole"] = args ? args.accessRole : undefined; resourceInputs["as2Config"] = args ? args.as2Config : undefined; resourceInputs["loggingRole"] = args ? args.loggingRole : undefined; + resourceInputs["sftpConfig"] = args ? args.sftpConfig : undefined; resourceInputs["tags"] = args ? args.tags : undefined; resourceInputs["url"] = args ? args.url : undefined; resourceInputs["arn"] = undefined /*out*/; @@ -163,17 +181,21 @@ export interface ConnectorState { */ arn?: pulumi.Input; /** - * The parameters to configure for the connector object. Fields documented below. + * Either SFTP or AS2 is configured.The parameters to configure for the connector object. Fields documented below. */ as2Config?: pulumi.Input; /** - * The unique identifier for the AS2 profile. + * The unique identifier for the AS2 profile or SFTP Profile. */ connectorId?: pulumi.Input; /** * The IAM Role which is required for allowing the connector to turn on CloudWatch logging for Amazon S3 events. */ loggingRole?: pulumi.Input; + /** + * Either SFTP or AS2 is configured.The parameters to configure for the connector object. Fields documented below. + */ + sftpConfig?: pulumi.Input; /** * A 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. */ @@ -183,7 +205,7 @@ export interface ConnectorState { */ tagsAll?: pulumi.Input<{[key: string]: pulumi.Input}>; /** - * The URL of the partners AS2 endpoint. + * The URL of the partners AS2 endpoint or SFTP endpoint. */ url?: pulumi.Input; } @@ -197,19 +219,23 @@ export interface ConnectorArgs { */ accessRole: pulumi.Input; /** - * The parameters to configure for the connector object. Fields documented below. + * Either SFTP or AS2 is configured.The parameters to configure for the connector object. Fields documented below. */ - as2Config: pulumi.Input; + as2Config?: pulumi.Input; /** * The IAM Role which is required for allowing the connector to turn on CloudWatch logging for Amazon S3 events. */ loggingRole?: pulumi.Input; + /** + * Either SFTP or AS2 is configured.The parameters to configure for the connector object. Fields documented below. + */ + sftpConfig?: pulumi.Input; /** * A 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. */ tags?: pulumi.Input<{[key: string]: pulumi.Input}>; /** - * The URL of the partners AS2 endpoint. + * The URL of the partners AS2 endpoint or SFTP endpoint. */ url: pulumi.Input; } diff --git a/sdk/nodejs/tsconfig.json b/sdk/nodejs/tsconfig.json index 004898cf362..664750549fd 100644 --- a/sdk/nodejs/tsconfig.json +++ b/sdk/nodejs/tsconfig.json @@ -914,6 +914,9 @@ "fsx/backup.ts", "fsx/dataRepositoryAssociation.ts", "fsx/fileCache.ts", + "fsx/getOntapFileSystem.ts", + "fsx/getOntapStorageVirtualMachine.ts", + "fsx/getOntapStorageVirtualMachines.ts", "fsx/getOpenZfsSnapshot.ts", "fsx/getWindowsFileSystem.ts", "fsx/index.ts", @@ -1386,6 +1389,8 @@ "opensearch/inboundConnectionAccepter.ts", "opensearch/index.ts", "opensearch/outboundConnection.ts", + "opensearch/package.ts", + "opensearch/packageAssociation.ts", "opensearch/serverlessAccessPolicy.ts", "opensearch/serverlessCollection.ts", "opensearch/serverlessSecurityConfig.ts", @@ -1415,6 +1420,7 @@ "organizations/getDelegatedAdministrators.ts", "organizations/getDelegatedServices.ts", "organizations/getOrganization.ts", + "organizations/getOrganizationalUnit.ts", "organizations/getOrganizationalUnitChildAccounts.ts", "organizations/getOrganizationalUnitDescendantAccounts.ts", "organizations/getOrganizationalUnits.ts", @@ -1818,6 +1824,7 @@ "sfn/getStateMachineVersions.ts", "sfn/index.ts", "sfn/stateMachine.ts", + "shield/applicationLayerAutomaticResponse.ts", "shield/drtAccessLogBucketAssociation.ts", "shield/drtAccessRoleArnAssociation.ts", "shield/index.ts", @@ -1948,6 +1955,7 @@ "utilities.ts", "utils.ts", "verifiedaccess/index.ts", + "verifiedaccess/instance.ts", "verifiedaccess/trustProvider.ts", "vpc/getSecurityGroupRule.ts", "vpc/getSecurityGroupRules.ts", diff --git a/sdk/nodejs/types/input.ts b/sdk/nodejs/types/input.ts index bf45e0d36b5..5904ffa0251 100644 --- a/sdk/nodejs/types/input.ts +++ b/sdk/nodejs/types/input.ts @@ -25604,6 +25604,50 @@ export namespace fsx { storageCapacity: pulumi.Input; } + export interface GetOntapStorageVirtualMachineFilter { + /** + * Name of the field to filter by, as defined by [the underlying AWS API](https://docs.aws.amazon.com/fsx/latest/APIReference/API_StorageVirtualMachineFilter.html). + */ + name: string; + /** + * Set of values that are accepted for the given field. An SVM will be selected if any one of the given values matches. + */ + values: string[]; + } + + export interface GetOntapStorageVirtualMachineFilterArgs { + /** + * Name of the field to filter by, as defined by [the underlying AWS API](https://docs.aws.amazon.com/fsx/latest/APIReference/API_StorageVirtualMachineFilter.html). + */ + name: pulumi.Input; + /** + * Set of values that are accepted for the given field. An SVM will be selected if any one of the given values matches. + */ + values: pulumi.Input[]>; + } + + export interface GetOntapStorageVirtualMachinesFilter { + /** + * Name of the field to filter by, as defined by [the underlying AWS API](https://docs.aws.amazon.com/fsx/latest/APIReference/API_StorageVirtualMachineFilter.html). + */ + name: string; + /** + * Set of values that are accepted for the given field. An SVM will be selected if any one of the given values matches. + */ + values: string[]; + } + + export interface GetOntapStorageVirtualMachinesFilterArgs { + /** + * Name of the field to filter by, as defined by [the underlying AWS API](https://docs.aws.amazon.com/fsx/latest/APIReference/API_StorageVirtualMachineFilter.html). + */ + name: pulumi.Input; + /** + * Set of values that are accepted for the given field. An SVM will be selected if any one of the given values matches. + */ + values: pulumi.Input[]>; + } + export interface GetOpenZfsSnapshotFilter { /** * Name of the snapshot. @@ -40165,6 +40209,17 @@ export namespace opensearch { region: pulumi.Input; } + export interface PackagePackageSource { + /** + * The name of the Amazon S3 bucket containing the package. + */ + s3BucketName: pulumi.Input; + /** + * Key (file name) of the package. + */ + s3Key: pulumi.Input; + } + export interface ServerlessCollectionTimeouts { create?: pulumi.Input; delete?: pulumi.Input; @@ -44102,38 +44157,38 @@ export namespace rds { export interface OptionGroupOption { /** - * A list of DB Security Groups for which the option is enabled. + * List of DB Security Groups for which the option is enabled. */ dbSecurityGroupMemberships?: pulumi.Input[]>; /** - * The Name of the Option (e.g., MEMCACHED). + * Name of the option (e.g., MEMCACHED). */ optionName: pulumi.Input; /** - * A list of option settings to apply. + * List of option settings to apply. */ optionSettings?: pulumi.Input[]>; /** - * The Port number when connecting to the Option (e.g., 11211). + * Port number when connecting to the option (e.g., 11211). Leaving out or removing `port` from your configuration does not remove or clear a port from the option in AWS. AWS may assign a default port. Not including `port` in your configuration means that the AWS provider will ignore a previously set value, a value set by AWS, and any port changes. */ port?: pulumi.Input; /** - * The version of the option (e.g., 13.1.0.0). + * Version of the option (e.g., 13.1.0.0). Leaving out or removing `version` from your configuration does not remove or clear a version from the option in AWS. AWS may assign a default version. Not including `version` in your configuration means that the AWS provider will ignore a previously set value, a value set by AWS, and any version changes. */ version?: pulumi.Input; /** - * A list of VPC Security Groups for which the option is enabled. + * List of VPC Security Groups for which the option is enabled. */ vpcSecurityGroupMemberships?: pulumi.Input[]>; } export interface OptionGroupOptionOptionSetting { /** - * The Name of the setting. + * Name of the setting. */ name: pulumi.Input; /** - * The Value of the setting. + * Value of the setting. */ value: pulumi.Input; } @@ -47126,6 +47181,8 @@ export namespace s3control { export interface MultiRegionAccessPointDetailsRegion { bucket: pulumi.Input; + bucketAccountId?: pulumi.Input; + region?: pulumi.Input; } export interface MultiRegionAccessPointPolicyDetails { @@ -51859,6 +51916,12 @@ export namespace sfn { } export namespace shield { + export interface ApplicationLayerAutomaticResponseTimeouts { + create?: pulumi.Input; + delete?: pulumi.Input; + update?: pulumi.Input; + } + export interface DrtAccessLogBucketAssociationTimeouts { create?: pulumi.Input; delete?: pulumi.Input; @@ -52859,6 +52922,17 @@ export namespace transfer { signingAlgorithm: pulumi.Input; } + export interface ConnectorSftpConfig { + /** + * A list of public portion of the host key, or keys, that are used to authenticate the user to the external server to which you are connecting.(https://docs.aws.amazon.com/transfer/latest/userguide/API_SftpConnectorConfig.html) + */ + trustedHostKeys?: pulumi.Input[]>; + /** + * The identifier for the secret (in AWS Secrets Manager) that contains the SFTP user's private key, password, or both. The identifier can be either the Amazon Resource Name (ARN) or the name of the secret. + */ + userSecretId?: pulumi.Input; + } + export interface ServerEndpointDetails { /** * A list of address allocation IDs that are required to attach an Elastic IP address to your SFTP server's endpoint. This property can only be used when `endpointType` is set to `VPC`. @@ -53350,6 +53424,29 @@ export namespace transfer { } export namespace verifiedaccess { + export interface InstanceVerifiedAccessTrustProvider { + /** + * A description for the AWS Verified Access Instance. + */ + description?: pulumi.Input; + /** + * The type of device-based trust provider. + */ + deviceTrustProviderType?: pulumi.Input; + /** + * The type of trust provider (user- or device-based). + */ + trustProviderType?: pulumi.Input; + /** + * The type of user-based trust provider. + */ + userTrustProviderType?: pulumi.Input; + /** + * The ID of the trust provider. + */ + verifiedAccessTrustProviderId?: pulumi.Input; + } + export interface TrustProviderDeviceOptions { tenantId?: pulumi.Input; } diff --git a/sdk/nodejs/types/output.ts b/sdk/nodejs/types/output.ts index 794c3995720..d39c4185105 100644 --- a/sdk/nodejs/types/output.ts +++ b/sdk/nodejs/types/output.ts @@ -29891,6 +29891,140 @@ export namespace fsx { storageCapacity: number; } + export interface GetOntapFileSystemDiskIopsConfiguration { + /** + * The total number of SSD IOPS provisioned for the file system. + */ + iops: number; + /** + * Specifies whether the file system is using the `AUTOMATIC` setting of SSD IOPS of 3 IOPS per GB of storage capacity, or if it using a `USER_PROVISIONED` value. + */ + mode: string; + } + + export interface GetOntapFileSystemEndpoint { + /** + * A FileSystemEndpoint for managing your file system by setting up NetApp SnapMirror with other ONTAP systems. See FileSystemEndpoint below. + */ + interclusters: outputs.fsx.GetOntapFileSystemEndpointIntercluster[]; + /** + * A FileSystemEndpoint for managing your file system using the NetApp ONTAP CLI and NetApp ONTAP API. See FileSystemEndpoint below. + */ + managements: outputs.fsx.GetOntapFileSystemEndpointManagement[]; + } + + export interface GetOntapFileSystemEndpointIntercluster { + /** + * DNS name for the file system (e.g. `fs-12345678.corp.example.com`). + */ + dnsName: string; + ipAddresses: string[]; + } + + export interface GetOntapFileSystemEndpointManagement { + /** + * DNS name for the file system (e.g. `fs-12345678.corp.example.com`). + */ + dnsName: string; + ipAddresses: string[]; + } + + export interface GetOntapStorageVirtualMachineActiveDirectoryConfiguration { + /** + * The NetBIOS name of the AD computer object to which the SVM is joined. + */ + netbiosName: string; + selfManagedActiveDirectoryConfigurations: outputs.fsx.GetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfiguration[]; + } + + export interface GetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfiguration { + /** + * A list of up to three IP addresses of DNS servers or domain controllers in the self-managed AD directory. + */ + dnsIps: string[]; + /** + * The fully qualified domain name of the self-managed AD directory. + */ + domainName: string; + /** + * The name of the domain group whose members have administrative privileges for the FSx file system. + */ + fileSystemAdministratorsGroup: string; + /** + * The fully qualified distinguished name of the organizational unit within the self-managed AD directory to which the Windows File Server or ONTAP storage virtual machine (SVM) instance is joined. + */ + organizationalUnitDistinguishedName: string; + /** + * The user name for the service account on your self-managed AD domain that FSx uses to join to your AD domain. + */ + username: string; + } + + export interface GetOntapStorageVirtualMachineEndpoint { + iscsis: outputs.fsx.GetOntapStorageVirtualMachineEndpointIscsi[]; + /** + * An endpoint for managing SVMs using the NetApp ONTAP CLI, NetApp ONTAP API, or NetApp CloudManager. See SVM Endpoint below. + */ + managements: outputs.fsx.GetOntapStorageVirtualMachineEndpointManagement[]; + /** + * An endpoint for connecting using the Network File System (NFS) protocol. See SVM Endpoint below. + */ + nfs: outputs.fsx.GetOntapStorageVirtualMachineEndpointNf[]; + /** + * An endpoint for connecting using the Server Message Block (SMB) protocol. See SVM Endpoint below. + */ + smbs: outputs.fsx.GetOntapStorageVirtualMachineEndpointSmb[]; + } + + export interface GetOntapStorageVirtualMachineEndpointIscsi { + dnsName: string; + ipAddresses: string[]; + } + + export interface GetOntapStorageVirtualMachineEndpointManagement { + dnsName: string; + ipAddresses: string[]; + } + + export interface GetOntapStorageVirtualMachineEndpointNf { + dnsName: string; + ipAddresses: string[]; + } + + export interface GetOntapStorageVirtualMachineEndpointSmb { + dnsName: string; + ipAddresses: string[]; + } + + export interface GetOntapStorageVirtualMachineFilter { + /** + * Name of the field to filter by, as defined by [the underlying AWS API](https://docs.aws.amazon.com/fsx/latest/APIReference/API_StorageVirtualMachineFilter.html). + */ + name: string; + /** + * Set of values that are accepted for the given field. An SVM will be selected if any one of the given values matches. + */ + values: string[]; + } + + export interface GetOntapStorageVirtualMachineLifecycleTransitionReason { + /** + * A detailed message. + */ + message: string; + } + + export interface GetOntapStorageVirtualMachinesFilter { + /** + * Name of the field to filter by, as defined by [the underlying AWS API](https://docs.aws.amazon.com/fsx/latest/APIReference/API_StorageVirtualMachineFilter.html). + */ + name: string; + /** + * Set of values that are accepted for the given field. An SVM will be selected if any one of the given values matches. + */ + values: string[]; + } + export interface GetOpenZfsSnapshotFilter { /** * Name of the snapshot. @@ -45933,6 +46067,17 @@ export namespace opensearch { region: string; } + export interface PackagePackageSource { + /** + * The name of the Amazon S3 bucket containing the package. + */ + s3BucketName: string; + /** + * Key (file name) of the package. + */ + s3Key: string; + } + export interface ServerlessCollectionTimeouts { create?: string; delete?: string; @@ -50397,38 +50542,38 @@ export namespace rds { export interface OptionGroupOption { /** - * A list of DB Security Groups for which the option is enabled. + * List of DB Security Groups for which the option is enabled. */ dbSecurityGroupMemberships?: string[]; /** - * The Name of the Option (e.g., MEMCACHED). + * Name of the option (e.g., MEMCACHED). */ optionName: string; /** - * A list of option settings to apply. + * List of option settings to apply. */ optionSettings?: outputs.rds.OptionGroupOptionOptionSetting[]; /** - * The Port number when connecting to the Option (e.g., 11211). + * Port number when connecting to the option (e.g., 11211). Leaving out or removing `port` from your configuration does not remove or clear a port from the option in AWS. AWS may assign a default port. Not including `port` in your configuration means that the AWS provider will ignore a previously set value, a value set by AWS, and any port changes. */ port?: number; /** - * The version of the option (e.g., 13.1.0.0). + * Version of the option (e.g., 13.1.0.0). Leaving out or removing `version` from your configuration does not remove or clear a version from the option in AWS. AWS may assign a default version. Not including `version` in your configuration means that the AWS provider will ignore a previously set value, a value set by AWS, and any version changes. */ version?: string; /** - * A list of VPC Security Groups for which the option is enabled. + * List of VPC Security Groups for which the option is enabled. */ vpcSecurityGroupMemberships?: string[]; } export interface OptionGroupOptionOptionSetting { /** - * The Name of the setting. + * Name of the setting. */ name: string; /** - * The Value of the setting. + * Value of the setting. */ value: string; } @@ -53371,6 +53516,10 @@ export namespace s3control { * The name of the bucket. */ bucket: string; + /** + * The AWS account ID that owns the bucket. + */ + bucketAccountId: string; /** * The name of the region. */ @@ -53392,6 +53541,8 @@ export namespace s3control { export interface MultiRegionAccessPointDetailsRegion { bucket: string; + bucketAccountId: string; + region: string; } export interface MultiRegionAccessPointPolicyDetails { @@ -58409,6 +58560,12 @@ export namespace sfn { } export namespace shield { + export interface ApplicationLayerAutomaticResponseTimeouts { + create?: string; + delete?: string; + update?: string; + } + export interface DrtAccessLogBucketAssociationTimeouts { create?: string; delete?: string; @@ -59641,6 +59798,17 @@ export namespace transfer { signingAlgorithm: string; } + export interface ConnectorSftpConfig { + /** + * A list of public portion of the host key, or keys, that are used to authenticate the user to the external server to which you are connecting.(https://docs.aws.amazon.com/transfer/latest/userguide/API_SftpConnectorConfig.html) + */ + trustedHostKeys?: string[]; + /** + * The identifier for the secret (in AWS Secrets Manager) that contains the SFTP user's private key, password, or both. The identifier can be either the Amazon Resource Name (ARN) or the name of the secret. + */ + userSecretId?: string; + } + export interface ServerEndpointDetails { /** * A list of address allocation IDs that are required to attach an Elastic IP address to your SFTP server's endpoint. This property can only be used when `endpointType` is set to `VPC`. @@ -60133,6 +60301,29 @@ export namespace transfer { } export namespace verifiedaccess { + export interface InstanceVerifiedAccessTrustProvider { + /** + * A description for the AWS Verified Access Instance. + */ + description: string; + /** + * The type of device-based trust provider. + */ + deviceTrustProviderType: string; + /** + * The type of trust provider (user- or device-based). + */ + trustProviderType: string; + /** + * The type of user-based trust provider. + */ + userTrustProviderType: string; + /** + * The ID of the trust provider. + */ + verifiedAccessTrustProviderId: string; + } + export interface TrustProviderDeviceOptions { tenantId?: string; } diff --git a/sdk/nodejs/verifiedaccess/index.ts b/sdk/nodejs/verifiedaccess/index.ts index 06f2f1d0ec2..218ef846579 100644 --- a/sdk/nodejs/verifiedaccess/index.ts +++ b/sdk/nodejs/verifiedaccess/index.ts @@ -5,6 +5,11 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "../utilities"; // Export members: +export { InstanceArgs, InstanceState } from "./instance"; +export type Instance = import("./instance").Instance; +export const Instance: typeof import("./instance").Instance = null as any; +utilities.lazyLoad(exports, ["Instance"], () => require("./instance")); + export { TrustProviderArgs, TrustProviderState } from "./trustProvider"; export type TrustProvider = import("./trustProvider").TrustProvider; export const TrustProvider: typeof import("./trustProvider").TrustProvider = null as any; @@ -15,6 +20,8 @@ const _module = { version: utilities.getVersion(), construct: (name: string, type: string, urn: string): pulumi.Resource => { switch (type) { + case "aws:verifiedaccess/instance:Instance": + return new Instance(name, undefined, { urn }) case "aws:verifiedaccess/trustProvider:TrustProvider": return new TrustProvider(name, undefined, { urn }) default: @@ -22,4 +29,5 @@ const _module = { } }, }; +pulumi.runtime.registerResourceModule("aws", "verifiedaccess/instance", _module) pulumi.runtime.registerResourceModule("aws", "verifiedaccess/trustProvider", _module) diff --git a/sdk/nodejs/verifiedaccess/instance.ts b/sdk/nodejs/verifiedaccess/instance.ts new file mode 100644 index 00000000000..867689790bb --- /dev/null +++ b/sdk/nodejs/verifiedaccess/instance.ts @@ -0,0 +1,167 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../types/input"; +import * as outputs from "../types/output"; +import * as enums from "../types/enums"; +import * as utilities from "../utilities"; + +/** + * Resource for managing a Verified Access Instance. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as aws from "@pulumi/aws"; + * + * const example = new aws.verifiedaccess.Instance("example", { + * description: "example", + * tags: { + * Name: "example", + * }, + * }); + * ``` + * + * ## Import + * + * terraform import { + * + * to = aws_verifiedaccess_instance.example + * + * id = "vai-1234567890abcdef0" } Using `pulumi import`, import Transfer Workflows using the + * + * `id`. For exampleconsole % pulumi import aws:verifiedaccess/instance:Instance vai-1234567890abcdef0 + */ +export class Instance extends pulumi.CustomResource { + /** + * Get an existing Instance resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param state Any extra arguments used during the lookup. + * @param opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, state?: InstanceState, opts?: pulumi.CustomResourceOptions): Instance { + return new Instance(name, state, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'aws:verifiedaccess/instance:Instance'; + + /** + * Returns true if the given object is an instance of Instance. This is designed to work even + * when multiple copies of the Pulumi SDK have been loaded into the same process. + */ + public static isInstance(obj: any): obj is Instance { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === Instance.__pulumiType; + } + + /** + * The time that the Verified Access Instance was created. + */ + public /*out*/ readonly creationTime!: pulumi.Output; + /** + * A description for the AWS Verified Access Instance. + */ + public readonly description!: pulumi.Output; + /** + * The time that the Verified Access Instance was last updated. + */ + public /*out*/ readonly lastUpdatedTime!: pulumi.Output; + /** + * Key-value mapping of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. + */ + public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; + /** + * @deprecated Please use `tags` instead. + */ + public /*out*/ readonly tagsAll!: pulumi.Output<{[key: string]: string}>; + /** + * One or more blocks of providing information about the AWS Verified Access Trust Providers. See verifiedAccessTrustProviders below for details.One or more blocks + */ + public /*out*/ readonly verifiedAccessTrustProviders!: pulumi.Output; + + /** + * Create a Instance resource with the given unique name, arguments, and options. + * + * @param name The _unique_ name of the resource. + * @param args The arguments to use to populate this resource's properties. + * @param opts A bag of options that control this resource's behavior. + */ + constructor(name: string, args?: InstanceArgs, opts?: pulumi.CustomResourceOptions) + constructor(name: string, argsOrState?: InstanceArgs | InstanceState, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (opts.id) { + const state = argsOrState as InstanceState | undefined; + resourceInputs["creationTime"] = state ? state.creationTime : undefined; + resourceInputs["description"] = state ? state.description : undefined; + resourceInputs["lastUpdatedTime"] = state ? state.lastUpdatedTime : undefined; + resourceInputs["tags"] = state ? state.tags : undefined; + resourceInputs["tagsAll"] = state ? state.tagsAll : undefined; + resourceInputs["verifiedAccessTrustProviders"] = state ? state.verifiedAccessTrustProviders : undefined; + } else { + const args = argsOrState as InstanceArgs | undefined; + resourceInputs["description"] = args ? args.description : undefined; + resourceInputs["tags"] = args ? args.tags : undefined; + resourceInputs["creationTime"] = undefined /*out*/; + resourceInputs["lastUpdatedTime"] = undefined /*out*/; + resourceInputs["tagsAll"] = undefined /*out*/; + resourceInputs["verifiedAccessTrustProviders"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const secretOpts = { additionalSecretOutputs: ["tagsAll"] }; + opts = pulumi.mergeOptions(opts, secretOpts); + super(Instance.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * Input properties used for looking up and filtering Instance resources. + */ +export interface InstanceState { + /** + * The time that the Verified Access Instance was created. + */ + creationTime?: pulumi.Input; + /** + * A description for the AWS Verified Access Instance. + */ + description?: pulumi.Input; + /** + * The time that the Verified Access Instance was last updated. + */ + lastUpdatedTime?: pulumi.Input; + /** + * Key-value mapping of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. + */ + tags?: pulumi.Input<{[key: string]: pulumi.Input}>; + /** + * @deprecated Please use `tags` instead. + */ + tagsAll?: pulumi.Input<{[key: string]: pulumi.Input}>; + /** + * One or more blocks of providing information about the AWS Verified Access Trust Providers. See verifiedAccessTrustProviders below for details.One or more blocks + */ + verifiedAccessTrustProviders?: pulumi.Input[]>; +} + +/** + * The set of arguments for constructing a Instance resource. + */ +export interface InstanceArgs { + /** + * A description for the AWS Verified Access Instance. + */ + description?: pulumi.Input; + /** + * Key-value mapping of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. + */ + tags?: pulumi.Input<{[key: string]: pulumi.Input}>; +} diff --git a/sdk/nodejs/wafv2/webAclAssociation.ts b/sdk/nodejs/wafv2/webAclAssociation.ts index b6c7dee846d..0cf6ec58c4e 100644 --- a/sdk/nodejs/wafv2/webAclAssociation.ts +++ b/sdk/nodejs/wafv2/webAclAssociation.ts @@ -102,7 +102,7 @@ export class WebAclAssociation extends pulumi.CustomResource { } /** - * The Amazon Resource Name (ARN) of the resource to associate with the web ACL. This must be an ARN of an Application Load Balancer, an Amazon API Gateway stage, or an Amazon Cognito User Pool. + * The Amazon Resource Name (ARN) of the resource to associate with the web ACL. This must be an ARN of an Application Load Balancer, an Amazon API Gateway stage, an Amazon Cognito User Pool, an Amazon AppSync GraphQL API, an Amazon App Runner service, or an Amazon Verified Access instance. */ public readonly resourceArn!: pulumi.Output; /** @@ -146,7 +146,7 @@ export class WebAclAssociation extends pulumi.CustomResource { */ export interface WebAclAssociationState { /** - * The Amazon Resource Name (ARN) of the resource to associate with the web ACL. This must be an ARN of an Application Load Balancer, an Amazon API Gateway stage, or an Amazon Cognito User Pool. + * The Amazon Resource Name (ARN) of the resource to associate with the web ACL. This must be an ARN of an Application Load Balancer, an Amazon API Gateway stage, an Amazon Cognito User Pool, an Amazon AppSync GraphQL API, an Amazon App Runner service, or an Amazon Verified Access instance. */ resourceArn?: pulumi.Input; /** @@ -160,7 +160,7 @@ export interface WebAclAssociationState { */ export interface WebAclAssociationArgs { /** - * The Amazon Resource Name (ARN) of the resource to associate with the web ACL. This must be an ARN of an Application Load Balancer, an Amazon API Gateway stage, or an Amazon Cognito User Pool. + * The Amazon Resource Name (ARN) of the resource to associate with the web ACL. This must be an ARN of an Application Load Balancer, an Amazon API Gateway stage, an Amazon Cognito User Pool, an Amazon AppSync GraphQL API, an Amazon App Runner service, or an Amazon Verified Access instance. */ resourceArn: pulumi.Input; /** diff --git a/sdk/python/pulumi_aws/__init__.py b/sdk/python/pulumi_aws/__init__.py index 2e9e5ffe860..586a0bf1de2 100644 --- a/sdk/python/pulumi_aws/__init__.py +++ b/sdk/python/pulumi_aws/__init__.py @@ -7321,6 +7321,22 @@ "aws:opensearch/outboundConnection:OutboundConnection": "OutboundConnection" } }, + { + "pkg": "aws", + "mod": "opensearch/package", + "fqn": "pulumi_aws.opensearch", + "classes": { + "aws:opensearch/package:Package": "Package" + } + }, + { + "pkg": "aws", + "mod": "opensearch/packageAssociation", + "fqn": "pulumi_aws.opensearch", + "classes": { + "aws:opensearch/packageAssociation:PackageAssociation": "PackageAssociation" + } + }, { "pkg": "aws", "mod": "opensearch/serverlessAccessPolicy", @@ -9617,6 +9633,14 @@ "aws:sfn/stateMachine:StateMachine": "StateMachine" } }, + { + "pkg": "aws", + "mod": "shield/applicationLayerAutomaticResponse", + "fqn": "pulumi_aws.shield", + "classes": { + "aws:shield/applicationLayerAutomaticResponse:ApplicationLayerAutomaticResponse": "ApplicationLayerAutomaticResponse" + } + }, { "pkg": "aws", "mod": "shield/drtAccessLogBucketAssociation", @@ -10201,6 +10225,14 @@ "aws:transfer/workflow:Workflow": "Workflow" } }, + { + "pkg": "aws", + "mod": "verifiedaccess/instance", + "fqn": "pulumi_aws.verifiedaccess", + "classes": { + "aws:verifiedaccess/instance:Instance": "Instance" + } + }, { "pkg": "aws", "mod": "verifiedaccess/trustProvider", diff --git a/sdk/python/pulumi_aws/cleanrooms/collaboration.py b/sdk/python/pulumi_aws/cleanrooms/collaboration.py index 4fffbd1dabf..e411da88968 100644 --- a/sdk/python/pulumi_aws/cleanrooms/collaboration.py +++ b/sdk/python/pulumi_aws/cleanrooms/collaboration.py @@ -27,15 +27,11 @@ def __init__(__self__, *, """ The set of arguments for constructing a Collaboration resource. :param pulumi.Input[str] creator_display_name: The name for the member record for the collaboration creator. - :param pulumi.Input[Sequence[pulumi.Input[str]]] creator_member_abilities: The list of member abilities for the creator of the collaboration. Valid v - lues [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-re - uest-creatorMemberAbilities) + :param pulumi.Input[Sequence[pulumi.Input[str]]] creator_member_abilities: The list of member abilities for the creator of the collaboration. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-creatorMemberAbilities). :param pulumi.Input[str] description: A description for a collaboration. - :param pulumi.Input[str] query_log_status: Determines if members of the collaboration can enable query logs within their own - emberships. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-Cr - ateCollaboration-request-queryLogStatus). - :param pulumi.Input['CollaborationDataEncryptionMetadataArgs'] data_encryption_metadata: a collection of settings which determine how the [c3r client](https://docs - aws.amazon.com/clean-rooms/latest/userguide/crypto-computing.html) will encrypt data for use within this collaboration + :param pulumi.Input[str] query_log_status: Determines if members of the collaboration can enable query logs within their own. + emberships. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-queryLogStatus). + :param pulumi.Input['CollaborationDataEncryptionMetadataArgs'] data_encryption_metadata: a collection of settings which determine how the [c3r client](https://docs.aws.amazon.com/clean-rooms/latest/userguide/crypto-computing.html) will encrypt data for use within this collaboration. * `data_encryption_metadata.allow_clear_text` - (Required - Forces new resource) - Indicates whether encrypted tables can contain cleartext data. This is a boolea field. * `data_encryption_metadata.allow_duplicates` - (Required - Forces new resource ) - Indicates whether Fingerprint columns can contain duplicate entries. This is a @@ -45,10 +41,9 @@ def __init__(__self__, *, * `data_encryption_metadata.preserve_nulls` - (Required - Forces new resource) - Indicates whether NULL values are to be copied as NULL to encrypted tables (true) or cryptographically processed (false). :param pulumi.Input[Sequence[pulumi.Input['CollaborationMemberArgs']]] members: Additional members of the collaboration which will be invited to join the collaboration. - * `member.account_id` - (Required - Forces new resource) - The account id for the invited member - * `member.display_name` - (Required - Forces new resource) - The display name for the invited member - * `member.member_abilities` - (Required - Forces new resource) - The list of abilities for the invited member. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-creatorMemberAbiliti - s + * `member.account_id` - (Required - Forces new resource) - The account id for the invited member. + * `member.display_name` - (Required - Forces new resource) - The display name for the invited member. + * `member.member_abilities` - (Required - Forces new resource) - The list of abilities for the invited member. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-creatorMemberAbilities). :param pulumi.Input[str] name: The name of the collaboration. Collaboration names do not need to be unique. :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Key value pairs which tag the collaboration. """ @@ -81,9 +76,7 @@ def creator_display_name(self, value: pulumi.Input[str]): @pulumi.getter(name="creatorMemberAbilities") def creator_member_abilities(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]: """ - The list of member abilities for the creator of the collaboration. Valid v - lues [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-re - uest-creatorMemberAbilities) + The list of member abilities for the creator of the collaboration. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-creatorMemberAbilities). """ return pulumi.get(self, "creator_member_abilities") @@ -107,9 +100,8 @@ def description(self, value: pulumi.Input[str]): @pulumi.getter(name="queryLogStatus") def query_log_status(self) -> pulumi.Input[str]: """ - Determines if members of the collaboration can enable query logs within their own - emberships. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-Cr - ateCollaboration-request-queryLogStatus). + Determines if members of the collaboration can enable query logs within their own. + emberships. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-queryLogStatus). """ return pulumi.get(self, "query_log_status") @@ -121,8 +113,7 @@ def query_log_status(self, value: pulumi.Input[str]): @pulumi.getter(name="dataEncryptionMetadata") def data_encryption_metadata(self) -> Optional[pulumi.Input['CollaborationDataEncryptionMetadataArgs']]: """ - a collection of settings which determine how the [c3r client](https://docs - aws.amazon.com/clean-rooms/latest/userguide/crypto-computing.html) will encrypt data for use within this collaboration + a collection of settings which determine how the [c3r client](https://docs.aws.amazon.com/clean-rooms/latest/userguide/crypto-computing.html) will encrypt data for use within this collaboration. * `data_encryption_metadata.allow_clear_text` - (Required - Forces new resource) - Indicates whether encrypted tables can contain cleartext data. This is a boolea field. * `data_encryption_metadata.allow_duplicates` - (Required - Forces new resource ) - Indicates whether Fingerprint columns can contain duplicate entries. This is a @@ -143,10 +134,9 @@ def data_encryption_metadata(self, value: Optional[pulumi.Input['CollaborationDa def members(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['CollaborationMemberArgs']]]]: """ Additional members of the collaboration which will be invited to join the collaboration. - * `member.account_id` - (Required - Forces new resource) - The account id for the invited member - * `member.display_name` - (Required - Forces new resource) - The display name for the invited member - * `member.member_abilities` - (Required - Forces new resource) - The list of abilities for the invited member. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-creatorMemberAbiliti - s + * `member.account_id` - (Required - Forces new resource) - The account id for the invited member. + * `member.display_name` - (Required - Forces new resource) - The display name for the invited member. + * `member.member_abilities` - (Required - Forces new resource) - The list of abilities for the invited member. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-creatorMemberAbilities). """ return pulumi.get(self, "members") @@ -196,16 +186,12 @@ def __init__(__self__, *, update_time: Optional[pulumi.Input[str]] = None): """ Input properties used for looking up and filtering Collaboration resources. - :param pulumi.Input[str] arn: The arn of the collaboration - :param pulumi.Input[str] create_time: The date and time the collaboration was created - * `member status` - For each member included in the collaboration an additional computed attribute of status is added. These values [may be - ound here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_MemberSummary.html#API-Type-MemberSummary-status) + :param pulumi.Input[str] arn: The arn of the collaboration. + :param pulumi.Input[str] create_time: The date and time the collaboration was created. + * `member status` - For each member included in the collaboration an additional computed attribute of status is added. These values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_MemberSummary.html#API-Type-MemberSummary-status). :param pulumi.Input[str] creator_display_name: The name for the member record for the collaboration creator. - :param pulumi.Input[Sequence[pulumi.Input[str]]] creator_member_abilities: The list of member abilities for the creator of the collaboration. Valid v - lues [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-re - uest-creatorMemberAbilities) - :param pulumi.Input['CollaborationDataEncryptionMetadataArgs'] data_encryption_metadata: a collection of settings which determine how the [c3r client](https://docs - aws.amazon.com/clean-rooms/latest/userguide/crypto-computing.html) will encrypt data for use within this collaboration + :param pulumi.Input[Sequence[pulumi.Input[str]]] creator_member_abilities: The list of member abilities for the creator of the collaboration. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-creatorMemberAbilities). + :param pulumi.Input['CollaborationDataEncryptionMetadataArgs'] data_encryption_metadata: a collection of settings which determine how the [c3r client](https://docs.aws.amazon.com/clean-rooms/latest/userguide/crypto-computing.html) will encrypt data for use within this collaboration. * `data_encryption_metadata.allow_clear_text` - (Required - Forces new resource) - Indicates whether encrypted tables can contain cleartext data. This is a boolea field. * `data_encryption_metadata.allow_duplicates` - (Required - Forces new resource ) - Indicates whether Fingerprint columns can contain duplicate entries. This is a @@ -216,14 +202,12 @@ def __init__(__self__, *, or cryptographically processed (false). :param pulumi.Input[str] description: A description for a collaboration. :param pulumi.Input[Sequence[pulumi.Input['CollaborationMemberArgs']]] members: Additional members of the collaboration which will be invited to join the collaboration. - * `member.account_id` - (Required - Forces new resource) - The account id for the invited member - * `member.display_name` - (Required - Forces new resource) - The display name for the invited member - * `member.member_abilities` - (Required - Forces new resource) - The list of abilities for the invited member. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-creatorMemberAbiliti - s + * `member.account_id` - (Required - Forces new resource) - The account id for the invited member. + * `member.display_name` - (Required - Forces new resource) - The display name for the invited member. + * `member.member_abilities` - (Required - Forces new resource) - The list of abilities for the invited member. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-creatorMemberAbilities). :param pulumi.Input[str] name: The name of the collaboration. Collaboration names do not need to be unique. - :param pulumi.Input[str] query_log_status: Determines if members of the collaboration can enable query logs within their own - emberships. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-Cr - ateCollaboration-request-queryLogStatus). + :param pulumi.Input[str] query_log_status: Determines if members of the collaboration can enable query logs within their own. + emberships. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-queryLogStatus). :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Key value pairs which tag the collaboration. """ if arn is not None: @@ -258,7 +242,7 @@ def __init__(__self__, *, @pulumi.getter def arn(self) -> Optional[pulumi.Input[str]]: """ - The arn of the collaboration + The arn of the collaboration. """ return pulumi.get(self, "arn") @@ -270,9 +254,8 @@ def arn(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="createTime") def create_time(self) -> Optional[pulumi.Input[str]]: """ - The date and time the collaboration was created - * `member status` - For each member included in the collaboration an additional computed attribute of status is added. These values [may be - ound here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_MemberSummary.html#API-Type-MemberSummary-status) + The date and time the collaboration was created. + * `member status` - For each member included in the collaboration an additional computed attribute of status is added. These values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_MemberSummary.html#API-Type-MemberSummary-status). """ return pulumi.get(self, "create_time") @@ -296,9 +279,7 @@ def creator_display_name(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="creatorMemberAbilities") def creator_member_abilities(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ - The list of member abilities for the creator of the collaboration. Valid v - lues [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-re - uest-creatorMemberAbilities) + The list of member abilities for the creator of the collaboration. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-creatorMemberAbilities). """ return pulumi.get(self, "creator_member_abilities") @@ -310,8 +291,7 @@ def creator_member_abilities(self, value: Optional[pulumi.Input[Sequence[pulumi. @pulumi.getter(name="dataEncryptionMetadata") def data_encryption_metadata(self) -> Optional[pulumi.Input['CollaborationDataEncryptionMetadataArgs']]: """ - a collection of settings which determine how the [c3r client](https://docs - aws.amazon.com/clean-rooms/latest/userguide/crypto-computing.html) will encrypt data for use within this collaboration + a collection of settings which determine how the [c3r client](https://docs.aws.amazon.com/clean-rooms/latest/userguide/crypto-computing.html) will encrypt data for use within this collaboration. * `data_encryption_metadata.allow_clear_text` - (Required - Forces new resource) - Indicates whether encrypted tables can contain cleartext data. This is a boolea field. * `data_encryption_metadata.allow_duplicates` - (Required - Forces new resource ) - Indicates whether Fingerprint columns can contain duplicate entries. This is a @@ -344,10 +324,9 @@ def description(self, value: Optional[pulumi.Input[str]]): def members(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['CollaborationMemberArgs']]]]: """ Additional members of the collaboration which will be invited to join the collaboration. - * `member.account_id` - (Required - Forces new resource) - The account id for the invited member - * `member.display_name` - (Required - Forces new resource) - The display name for the invited member - * `member.member_abilities` - (Required - Forces new resource) - The list of abilities for the invited member. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-creatorMemberAbiliti - s + * `member.account_id` - (Required - Forces new resource) - The account id for the invited member. + * `member.display_name` - (Required - Forces new resource) - The display name for the invited member. + * `member.member_abilities` - (Required - Forces new resource) - The list of abilities for the invited member. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-creatorMemberAbilities). """ return pulumi.get(self, "members") @@ -371,9 +350,8 @@ def name(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="queryLogStatus") def query_log_status(self) -> Optional[pulumi.Input[str]]: """ - Determines if members of the collaboration can enable query logs within their own - emberships. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-Cr - ateCollaboration-request-queryLogStatus). + Determines if members of the collaboration can enable query logs within their own. + emberships. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-queryLogStatus). """ return pulumi.get(self, "query_log_status") @@ -464,14 +442,19 @@ def __init__(__self__, }) ``` + ## Import + + terraform import { + + to = aws_cleanrooms_collaboration.collaboration + + id = "1234abcd-12ab-34cd-56ef-1234567890ab" } Using `pulumi import`, import `aws:cleanrooms/collaboration:Collaboration` using the `id`. For exampleconsole % pulumi import aws:cleanrooms/collaboration:Collaboration 1234abcd-12ab-34cd-56ef-1234567890ab + :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] creator_display_name: The name for the member record for the collaboration creator. - :param pulumi.Input[Sequence[pulumi.Input[str]]] creator_member_abilities: The list of member abilities for the creator of the collaboration. Valid v - lues [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-re - uest-creatorMemberAbilities) - :param pulumi.Input[pulumi.InputType['CollaborationDataEncryptionMetadataArgs']] data_encryption_metadata: a collection of settings which determine how the [c3r client](https://docs - aws.amazon.com/clean-rooms/latest/userguide/crypto-computing.html) will encrypt data for use within this collaboration + :param pulumi.Input[Sequence[pulumi.Input[str]]] creator_member_abilities: The list of member abilities for the creator of the collaboration. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-creatorMemberAbilities). + :param pulumi.Input[pulumi.InputType['CollaborationDataEncryptionMetadataArgs']] data_encryption_metadata: a collection of settings which determine how the [c3r client](https://docs.aws.amazon.com/clean-rooms/latest/userguide/crypto-computing.html) will encrypt data for use within this collaboration. * `data_encryption_metadata.allow_clear_text` - (Required - Forces new resource) - Indicates whether encrypted tables can contain cleartext data. This is a boolea field. * `data_encryption_metadata.allow_duplicates` - (Required - Forces new resource ) - Indicates whether Fingerprint columns can contain duplicate entries. This is a @@ -482,14 +465,12 @@ def __init__(__self__, or cryptographically processed (false). :param pulumi.Input[str] description: A description for a collaboration. :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['CollaborationMemberArgs']]]] members: Additional members of the collaboration which will be invited to join the collaboration. - * `member.account_id` - (Required - Forces new resource) - The account id for the invited member - * `member.display_name` - (Required - Forces new resource) - The display name for the invited member - * `member.member_abilities` - (Required - Forces new resource) - The list of abilities for the invited member. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-creatorMemberAbiliti - s + * `member.account_id` - (Required - Forces new resource) - The account id for the invited member. + * `member.display_name` - (Required - Forces new resource) - The display name for the invited member. + * `member.member_abilities` - (Required - Forces new resource) - The list of abilities for the invited member. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-creatorMemberAbilities). :param pulumi.Input[str] name: The name of the collaboration. Collaboration names do not need to be unique. - :param pulumi.Input[str] query_log_status: Determines if members of the collaboration can enable query logs within their own - emberships. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-Cr - ateCollaboration-request-queryLogStatus). + :param pulumi.Input[str] query_log_status: Determines if members of the collaboration can enable query logs within their own. + emberships. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-queryLogStatus). :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Key value pairs which tag the collaboration. """ ... @@ -533,6 +514,14 @@ def __init__(__self__, }) ``` + ## Import + + terraform import { + + to = aws_cleanrooms_collaboration.collaboration + + id = "1234abcd-12ab-34cd-56ef-1234567890ab" } Using `pulumi import`, import `aws:cleanrooms/collaboration:Collaboration` using the `id`. For exampleconsole % pulumi import aws:cleanrooms/collaboration:Collaboration 1234abcd-12ab-34cd-56ef-1234567890ab + :param str resource_name: The name of the resource. :param CollaborationArgs args: The arguments to use to populate this resource's properties. :param pulumi.ResourceOptions opts: Options for the resource. @@ -616,16 +605,12 @@ def get(resource_name: str, :param str resource_name: The unique name of the resulting resource. :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[str] arn: The arn of the collaboration - :param pulumi.Input[str] create_time: The date and time the collaboration was created - * `member status` - For each member included in the collaboration an additional computed attribute of status is added. These values [may be - ound here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_MemberSummary.html#API-Type-MemberSummary-status) + :param pulumi.Input[str] arn: The arn of the collaboration. + :param pulumi.Input[str] create_time: The date and time the collaboration was created. + * `member status` - For each member included in the collaboration an additional computed attribute of status is added. These values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_MemberSummary.html#API-Type-MemberSummary-status). :param pulumi.Input[str] creator_display_name: The name for the member record for the collaboration creator. - :param pulumi.Input[Sequence[pulumi.Input[str]]] creator_member_abilities: The list of member abilities for the creator of the collaboration. Valid v - lues [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-re - uest-creatorMemberAbilities) - :param pulumi.Input[pulumi.InputType['CollaborationDataEncryptionMetadataArgs']] data_encryption_metadata: a collection of settings which determine how the [c3r client](https://docs - aws.amazon.com/clean-rooms/latest/userguide/crypto-computing.html) will encrypt data for use within this collaboration + :param pulumi.Input[Sequence[pulumi.Input[str]]] creator_member_abilities: The list of member abilities for the creator of the collaboration. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-creatorMemberAbilities). + :param pulumi.Input[pulumi.InputType['CollaborationDataEncryptionMetadataArgs']] data_encryption_metadata: a collection of settings which determine how the [c3r client](https://docs.aws.amazon.com/clean-rooms/latest/userguide/crypto-computing.html) will encrypt data for use within this collaboration. * `data_encryption_metadata.allow_clear_text` - (Required - Forces new resource) - Indicates whether encrypted tables can contain cleartext data. This is a boolea field. * `data_encryption_metadata.allow_duplicates` - (Required - Forces new resource ) - Indicates whether Fingerprint columns can contain duplicate entries. This is a @@ -636,14 +621,12 @@ def get(resource_name: str, or cryptographically processed (false). :param pulumi.Input[str] description: A description for a collaboration. :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['CollaborationMemberArgs']]]] members: Additional members of the collaboration which will be invited to join the collaboration. - * `member.account_id` - (Required - Forces new resource) - The account id for the invited member - * `member.display_name` - (Required - Forces new resource) - The display name for the invited member - * `member.member_abilities` - (Required - Forces new resource) - The list of abilities for the invited member. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-creatorMemberAbiliti - s + * `member.account_id` - (Required - Forces new resource) - The account id for the invited member. + * `member.display_name` - (Required - Forces new resource) - The display name for the invited member. + * `member.member_abilities` - (Required - Forces new resource) - The list of abilities for the invited member. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-creatorMemberAbilities). :param pulumi.Input[str] name: The name of the collaboration. Collaboration names do not need to be unique. - :param pulumi.Input[str] query_log_status: Determines if members of the collaboration can enable query logs within their own - emberships. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-Cr - ateCollaboration-request-queryLogStatus). + :param pulumi.Input[str] query_log_status: Determines if members of the collaboration can enable query logs within their own. + emberships. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-queryLogStatus). :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Key value pairs which tag the collaboration. """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -668,7 +651,7 @@ def get(resource_name: str, @pulumi.getter def arn(self) -> pulumi.Output[str]: """ - The arn of the collaboration + The arn of the collaboration. """ return pulumi.get(self, "arn") @@ -676,9 +659,8 @@ def arn(self) -> pulumi.Output[str]: @pulumi.getter(name="createTime") def create_time(self) -> pulumi.Output[str]: """ - The date and time the collaboration was created - * `member status` - For each member included in the collaboration an additional computed attribute of status is added. These values [may be - ound here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_MemberSummary.html#API-Type-MemberSummary-status) + The date and time the collaboration was created. + * `member status` - For each member included in the collaboration an additional computed attribute of status is added. These values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_MemberSummary.html#API-Type-MemberSummary-status). """ return pulumi.get(self, "create_time") @@ -694,9 +676,7 @@ def creator_display_name(self) -> pulumi.Output[str]: @pulumi.getter(name="creatorMemberAbilities") def creator_member_abilities(self) -> pulumi.Output[Sequence[str]]: """ - The list of member abilities for the creator of the collaboration. Valid v - lues [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-re - uest-creatorMemberAbilities) + The list of member abilities for the creator of the collaboration. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-creatorMemberAbilities). """ return pulumi.get(self, "creator_member_abilities") @@ -704,8 +684,7 @@ def creator_member_abilities(self) -> pulumi.Output[Sequence[str]]: @pulumi.getter(name="dataEncryptionMetadata") def data_encryption_metadata(self) -> pulumi.Output[Optional['outputs.CollaborationDataEncryptionMetadata']]: """ - a collection of settings which determine how the [c3r client](https://docs - aws.amazon.com/clean-rooms/latest/userguide/crypto-computing.html) will encrypt data for use within this collaboration + a collection of settings which determine how the [c3r client](https://docs.aws.amazon.com/clean-rooms/latest/userguide/crypto-computing.html) will encrypt data for use within this collaboration. * `data_encryption_metadata.allow_clear_text` - (Required - Forces new resource) - Indicates whether encrypted tables can contain cleartext data. This is a boolea field. * `data_encryption_metadata.allow_duplicates` - (Required - Forces new resource ) - Indicates whether Fingerprint columns can contain duplicate entries. This is a @@ -730,10 +709,9 @@ def description(self) -> pulumi.Output[str]: def members(self) -> pulumi.Output[Optional[Sequence['outputs.CollaborationMember']]]: """ Additional members of the collaboration which will be invited to join the collaboration. - * `member.account_id` - (Required - Forces new resource) - The account id for the invited member - * `member.display_name` - (Required - Forces new resource) - The display name for the invited member - * `member.member_abilities` - (Required - Forces new resource) - The list of abilities for the invited member. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-creatorMemberAbiliti - s + * `member.account_id` - (Required - Forces new resource) - The account id for the invited member. + * `member.display_name` - (Required - Forces new resource) - The display name for the invited member. + * `member.member_abilities` - (Required - Forces new resource) - The list of abilities for the invited member. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-creatorMemberAbilities). """ return pulumi.get(self, "members") @@ -749,9 +727,8 @@ def name(self) -> pulumi.Output[str]: @pulumi.getter(name="queryLogStatus") def query_log_status(self) -> pulumi.Output[str]: """ - Determines if members of the collaboration can enable query logs within their own - emberships. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-Cr - ateCollaboration-request-queryLogStatus). + Determines if members of the collaboration can enable query logs within their own. + emberships. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-queryLogStatus). """ return pulumi.get(self, "query_log_status") diff --git a/sdk/python/pulumi_aws/ec2/network_insights_path.py b/sdk/python/pulumi_aws/ec2/network_insights_path.py index 85ad03eb28f..f5d9ed2c749 100644 --- a/sdk/python/pulumi_aws/ec2/network_insights_path.py +++ b/sdk/python/pulumi_aws/ec2/network_insights_path.py @@ -23,7 +23,7 @@ def __init__(__self__, *, tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None): """ The set of arguments for constructing a NetworkInsightsPath resource. - :param pulumi.Input[str] destination: ID or ARN of the resource which is the source of the path. Can be an Instance, Internet Gateway, Network Interface, Transit Gateway, VPC Endpoint, VPC Peering Connection or VPN Gateway. If the resource is in another account, you must specify an ARN. + :param pulumi.Input[str] destination: ID or ARN of the resource which is the destination of the path. Can be an Instance, Internet Gateway, Network Interface, Transit Gateway, VPC Endpoint, VPC Peering Connection or VPN Gateway. If the resource is in another account, you must specify an ARN. :param pulumi.Input[str] protocol: Protocol to use for analysis. Valid options are `tcp` or `udp`. The following arguments are optional: @@ -49,7 +49,7 @@ def __init__(__self__, *, @pulumi.getter def destination(self) -> pulumi.Input[str]: """ - ID or ARN of the resource which is the source of the path. Can be an Instance, Internet Gateway, Network Interface, Transit Gateway, VPC Endpoint, VPC Peering Connection or VPN Gateway. If the resource is in another account, you must specify an ARN. + ID or ARN of the resource which is the destination of the path. Can be an Instance, Internet Gateway, Network Interface, Transit Gateway, VPC Endpoint, VPC Peering Connection or VPN Gateway. If the resource is in another account, you must specify an ARN. """ return pulumi.get(self, "destination") @@ -149,7 +149,7 @@ def __init__(__self__, *, """ Input properties used for looking up and filtering NetworkInsightsPath resources. :param pulumi.Input[str] arn: ARN of the Network Insights Path. - :param pulumi.Input[str] destination: ID or ARN of the resource which is the source of the path. Can be an Instance, Internet Gateway, Network Interface, Transit Gateway, VPC Endpoint, VPC Peering Connection or VPN Gateway. If the resource is in another account, you must specify an ARN. + :param pulumi.Input[str] destination: ID or ARN of the resource which is the destination of the path. Can be an Instance, Internet Gateway, Network Interface, Transit Gateway, VPC Endpoint, VPC Peering Connection or VPN Gateway. If the resource is in another account, you must specify an ARN. :param pulumi.Input[str] destination_arn: ARN of the destination. :param pulumi.Input[str] destination_ip: IP address of the destination resource. :param pulumi.Input[int] destination_port: Destination port to analyze access to. @@ -204,7 +204,7 @@ def arn(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def destination(self) -> Optional[pulumi.Input[str]]: """ - ID or ARN of the resource which is the source of the path. Can be an Instance, Internet Gateway, Network Interface, Transit Gateway, VPC Endpoint, VPC Peering Connection or VPN Gateway. If the resource is in another account, you must specify an ARN. + ID or ARN of the resource which is the destination of the path. Can be an Instance, Internet Gateway, Network Interface, Transit Gateway, VPC Endpoint, VPC Peering Connection or VPN Gateway. If the resource is in another account, you must specify an ARN. """ return pulumi.get(self, "destination") @@ -364,7 +364,7 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[str] destination: ID or ARN of the resource which is the source of the path. Can be an Instance, Internet Gateway, Network Interface, Transit Gateway, VPC Endpoint, VPC Peering Connection or VPN Gateway. If the resource is in another account, you must specify an ARN. + :param pulumi.Input[str] destination: ID or ARN of the resource which is the destination of the path. Can be an Instance, Internet Gateway, Network Interface, Transit Gateway, VPC Endpoint, VPC Peering Connection or VPN Gateway. If the resource is in another account, you must specify an ARN. :param pulumi.Input[str] destination_ip: IP address of the destination resource. :param pulumi.Input[int] destination_port: Destination port to analyze access to. :param pulumi.Input[str] protocol: Protocol to use for analysis. Valid options are `tcp` or `udp`. @@ -482,7 +482,7 @@ def get(resource_name: str, :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] arn: ARN of the Network Insights Path. - :param pulumi.Input[str] destination: ID or ARN of the resource which is the source of the path. Can be an Instance, Internet Gateway, Network Interface, Transit Gateway, VPC Endpoint, VPC Peering Connection or VPN Gateway. If the resource is in another account, you must specify an ARN. + :param pulumi.Input[str] destination: ID or ARN of the resource which is the destination of the path. Can be an Instance, Internet Gateway, Network Interface, Transit Gateway, VPC Endpoint, VPC Peering Connection or VPN Gateway. If the resource is in another account, you must specify an ARN. :param pulumi.Input[str] destination_arn: ARN of the destination. :param pulumi.Input[str] destination_ip: IP address of the destination resource. :param pulumi.Input[int] destination_port: Destination port to analyze access to. @@ -524,7 +524,7 @@ def arn(self) -> pulumi.Output[str]: @pulumi.getter def destination(self) -> pulumi.Output[str]: """ - ID or ARN of the resource which is the source of the path. Can be an Instance, Internet Gateway, Network Interface, Transit Gateway, VPC Endpoint, VPC Peering Connection or VPN Gateway. If the resource is in another account, you must specify an ARN. + ID or ARN of the resource which is the destination of the path. Can be an Instance, Internet Gateway, Network Interface, Transit Gateway, VPC Endpoint, VPC Peering Connection or VPN Gateway. If the resource is in another account, you must specify an ARN. """ return pulumi.get(self, "destination") diff --git a/sdk/python/pulumi_aws/elasticache/cluster.py b/sdk/python/pulumi_aws/elasticache/cluster.py index 3b9f0f3620a..05d892cdb3c 100644 --- a/sdk/python/pulumi_aws/elasticache/cluster.py +++ b/sdk/python/pulumi_aws/elasticache/cluster.py @@ -1909,7 +1909,7 @@ def tags_all(self) -> pulumi.Output[Mapping[str, str]]: @property @pulumi.getter(name="transitEncryptionEnabled") - def transit_encryption_enabled(self) -> pulumi.Output[Optional[bool]]: + def transit_encryption_enabled(self) -> pulumi.Output[bool]: """ Enable encryption in-transit. Supported only with Memcached versions `1.6.12` and later, running in a VPC. See the [ElastiCache in-transit encryption](https://docs.aws.amazon.com/AmazonElastiCache/latest/mem-ug/in-transit-encryption-mc.html) documentation for more details. """ diff --git a/sdk/python/pulumi_aws/fsx/__init__.py b/sdk/python/pulumi_aws/fsx/__init__.py index 89ec6bfe5f3..6087452a2db 100644 --- a/sdk/python/pulumi_aws/fsx/__init__.py +++ b/sdk/python/pulumi_aws/fsx/__init__.py @@ -8,6 +8,9 @@ from .backup import * from .data_repository_association import * from .file_cache import * +from .get_ontap_file_system import * +from .get_ontap_storage_virtual_machine import * +from .get_ontap_storage_virtual_machines import * from .get_open_zfs_snapshot import * from .get_windows_file_system import * from .lustre_file_system import * diff --git a/sdk/python/pulumi_aws/fsx/_inputs.py b/sdk/python/pulumi_aws/fsx/_inputs.py index d1a4fe6159c..06d464a8af2 100644 --- a/sdk/python/pulumi_aws/fsx/_inputs.py +++ b/sdk/python/pulumi_aws/fsx/_inputs.py @@ -44,6 +44,8 @@ 'WindowsFileSystemAuditLogConfigurationArgs', 'WindowsFileSystemDiskIopsConfigurationArgs', 'WindowsFileSystemSelfManagedActiveDirectoryArgs', + 'GetOntapStorageVirtualMachineFilterArgs', + 'GetOntapStorageVirtualMachinesFilterArgs', 'GetOpenZfsSnapshotFilterArgs', ] @@ -1688,6 +1690,80 @@ def organizational_unit_distinguished_name(self, value: Optional[pulumi.Input[st pulumi.set(self, "organizational_unit_distinguished_name", value) +@pulumi.input_type +class GetOntapStorageVirtualMachineFilterArgs: + def __init__(__self__, *, + name: str, + values: Sequence[str]): + """ + :param str name: Name of the field to filter by, as defined by [the underlying AWS API](https://docs.aws.amazon.com/fsx/latest/APIReference/API_StorageVirtualMachineFilter.html). + :param Sequence[str] values: Set of values that are accepted for the given field. An SVM will be selected if any one of the given values matches. + """ + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "values", values) + + @property + @pulumi.getter + def name(self) -> str: + """ + Name of the field to filter by, as defined by [the underlying AWS API](https://docs.aws.amazon.com/fsx/latest/APIReference/API_StorageVirtualMachineFilter.html). + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: str): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def values(self) -> Sequence[str]: + """ + Set of values that are accepted for the given field. An SVM will be selected if any one of the given values matches. + """ + return pulumi.get(self, "values") + + @values.setter + def values(self, value: Sequence[str]): + pulumi.set(self, "values", value) + + +@pulumi.input_type +class GetOntapStorageVirtualMachinesFilterArgs: + def __init__(__self__, *, + name: str, + values: Sequence[str]): + """ + :param str name: Name of the field to filter by, as defined by [the underlying AWS API](https://docs.aws.amazon.com/fsx/latest/APIReference/API_StorageVirtualMachineFilter.html). + :param Sequence[str] values: Set of values that are accepted for the given field. An SVM will be selected if any one of the given values matches. + """ + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "values", values) + + @property + @pulumi.getter + def name(self) -> str: + """ + Name of the field to filter by, as defined by [the underlying AWS API](https://docs.aws.amazon.com/fsx/latest/APIReference/API_StorageVirtualMachineFilter.html). + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: str): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def values(self) -> Sequence[str]: + """ + Set of values that are accepted for the given field. An SVM will be selected if any one of the given values matches. + """ + return pulumi.get(self, "values") + + @values.setter + def values(self, value: Sequence[str]): + pulumi.set(self, "values", value) + + @pulumi.input_type class GetOpenZfsSnapshotFilterArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws/fsx/get_ontap_file_system.py b/sdk/python/pulumi_aws/fsx/get_ontap_file_system.py new file mode 100644 index 00000000000..11971266884 --- /dev/null +++ b/sdk/python/pulumi_aws/fsx/get_ontap_file_system.py @@ -0,0 +1,359 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from .. import _utilities +from . import outputs + +__all__ = [ + 'GetOntapFileSystemResult', + 'AwaitableGetOntapFileSystemResult', + 'get_ontap_file_system', + 'get_ontap_file_system_output', +] + +@pulumi.output_type +class GetOntapFileSystemResult: + """ + A collection of values returned by getOntapFileSystem. + """ + def __init__(__self__, arn=None, automatic_backup_retention_days=None, daily_automatic_backup_start_time=None, deployment_type=None, disk_iops_configurations=None, dns_name=None, endpoint_ip_address_range=None, endpoints=None, id=None, kms_key_id=None, network_interface_ids=None, owner_id=None, preferred_subnet_id=None, route_table_ids=None, storage_capacity=None, storage_type=None, subnet_ids=None, tags=None, throughput_capacity=None, vpc_id=None, weekly_maintenance_start_time=None): + if arn and not isinstance(arn, str): + raise TypeError("Expected argument 'arn' to be a str") + pulumi.set(__self__, "arn", arn) + if automatic_backup_retention_days and not isinstance(automatic_backup_retention_days, int): + raise TypeError("Expected argument 'automatic_backup_retention_days' to be a int") + pulumi.set(__self__, "automatic_backup_retention_days", automatic_backup_retention_days) + if daily_automatic_backup_start_time and not isinstance(daily_automatic_backup_start_time, str): + raise TypeError("Expected argument 'daily_automatic_backup_start_time' to be a str") + pulumi.set(__self__, "daily_automatic_backup_start_time", daily_automatic_backup_start_time) + if deployment_type and not isinstance(deployment_type, str): + raise TypeError("Expected argument 'deployment_type' to be a str") + pulumi.set(__self__, "deployment_type", deployment_type) + if disk_iops_configurations and not isinstance(disk_iops_configurations, list): + raise TypeError("Expected argument 'disk_iops_configurations' to be a list") + pulumi.set(__self__, "disk_iops_configurations", disk_iops_configurations) + if dns_name and not isinstance(dns_name, str): + raise TypeError("Expected argument 'dns_name' to be a str") + pulumi.set(__self__, "dns_name", dns_name) + if endpoint_ip_address_range and not isinstance(endpoint_ip_address_range, str): + raise TypeError("Expected argument 'endpoint_ip_address_range' to be a str") + pulumi.set(__self__, "endpoint_ip_address_range", endpoint_ip_address_range) + if endpoints and not isinstance(endpoints, list): + raise TypeError("Expected argument 'endpoints' to be a list") + pulumi.set(__self__, "endpoints", endpoints) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if kms_key_id and not isinstance(kms_key_id, str): + raise TypeError("Expected argument 'kms_key_id' to be a str") + pulumi.set(__self__, "kms_key_id", kms_key_id) + if network_interface_ids and not isinstance(network_interface_ids, list): + raise TypeError("Expected argument 'network_interface_ids' to be a list") + pulumi.set(__self__, "network_interface_ids", network_interface_ids) + if owner_id and not isinstance(owner_id, str): + raise TypeError("Expected argument 'owner_id' to be a str") + pulumi.set(__self__, "owner_id", owner_id) + if preferred_subnet_id and not isinstance(preferred_subnet_id, str): + raise TypeError("Expected argument 'preferred_subnet_id' to be a str") + pulumi.set(__self__, "preferred_subnet_id", preferred_subnet_id) + if route_table_ids and not isinstance(route_table_ids, list): + raise TypeError("Expected argument 'route_table_ids' to be a list") + pulumi.set(__self__, "route_table_ids", route_table_ids) + if storage_capacity and not isinstance(storage_capacity, int): + raise TypeError("Expected argument 'storage_capacity' to be a int") + pulumi.set(__self__, "storage_capacity", storage_capacity) + if storage_type and not isinstance(storage_type, str): + raise TypeError("Expected argument 'storage_type' to be a str") + pulumi.set(__self__, "storage_type", storage_type) + if subnet_ids and not isinstance(subnet_ids, list): + raise TypeError("Expected argument 'subnet_ids' to be a list") + pulumi.set(__self__, "subnet_ids", subnet_ids) + if tags and not isinstance(tags, dict): + raise TypeError("Expected argument 'tags' to be a dict") + pulumi.set(__self__, "tags", tags) + if throughput_capacity and not isinstance(throughput_capacity, int): + raise TypeError("Expected argument 'throughput_capacity' to be a int") + pulumi.set(__self__, "throughput_capacity", throughput_capacity) + if vpc_id and not isinstance(vpc_id, str): + raise TypeError("Expected argument 'vpc_id' to be a str") + pulumi.set(__self__, "vpc_id", vpc_id) + if weekly_maintenance_start_time and not isinstance(weekly_maintenance_start_time, str): + raise TypeError("Expected argument 'weekly_maintenance_start_time' to be a str") + pulumi.set(__self__, "weekly_maintenance_start_time", weekly_maintenance_start_time) + + @property + @pulumi.getter + def arn(self) -> str: + """ + Amazon Resource Name of the file system. + """ + return pulumi.get(self, "arn") + + @property + @pulumi.getter(name="automaticBackupRetentionDays") + def automatic_backup_retention_days(self) -> int: + """ + The number of days to retain automatic backups. + """ + return pulumi.get(self, "automatic_backup_retention_days") + + @property + @pulumi.getter(name="dailyAutomaticBackupStartTime") + def daily_automatic_backup_start_time(self) -> str: + """ + The preferred time (in `HH:MM` format) to take daily automatic backups, in the UTC time zone. + """ + return pulumi.get(self, "daily_automatic_backup_start_time") + + @property + @pulumi.getter(name="deploymentType") + def deployment_type(self) -> str: + """ + The file system deployment type. + """ + return pulumi.get(self, "deployment_type") + + @property + @pulumi.getter(name="diskIopsConfigurations") + def disk_iops_configurations(self) -> Sequence['outputs.GetOntapFileSystemDiskIopsConfigurationResult']: + """ + The SSD IOPS configuration for the Amazon FSx for NetApp ONTAP file system, specifying the number of provisioned IOPS and the provision mode. See Disk IOPS Below. + """ + return pulumi.get(self, "disk_iops_configurations") + + @property + @pulumi.getter(name="dnsName") + def dns_name(self) -> str: + """ + DNS name for the file system (e.g. `fs-12345678.corp.example.com`). + """ + return pulumi.get(self, "dns_name") + + @property + @pulumi.getter(name="endpointIpAddressRange") + def endpoint_ip_address_range(self) -> str: + """ + (Multi-AZ only) Specifies the IP address range in which the endpoints to access your file system exist. + """ + return pulumi.get(self, "endpoint_ip_address_range") + + @property + @pulumi.getter + def endpoints(self) -> Sequence['outputs.GetOntapFileSystemEndpointResult']: + """ + The Management and Intercluster FileSystemEndpoints that are used to access data or to manage the file system using the NetApp ONTAP CLI, REST API, or NetApp SnapMirror. See FileSystemEndpoints below. + """ + return pulumi.get(self, "endpoints") + + @property + @pulumi.getter + def id(self) -> str: + """ + Identifier of the file system (e.g. `fs-12345678`). + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="kmsKeyId") + def kms_key_id(self) -> str: + """ + ARN for the KMS Key to encrypt the file system at rest. + """ + return pulumi.get(self, "kms_key_id") + + @property + @pulumi.getter(name="networkInterfaceIds") + def network_interface_ids(self) -> Sequence[str]: + """ + The IDs of the elastic network interfaces from which a specific file system is accessible. + """ + return pulumi.get(self, "network_interface_ids") + + @property + @pulumi.getter(name="ownerId") + def owner_id(self) -> str: + """ + AWS account identifier that created the file system. + """ + return pulumi.get(self, "owner_id") + + @property + @pulumi.getter(name="preferredSubnetId") + def preferred_subnet_id(self) -> str: + """ + Specifies the subnet in which you want the preferred file server to be located. + """ + return pulumi.get(self, "preferred_subnet_id") + + @property + @pulumi.getter(name="routeTableIds") + def route_table_ids(self) -> Sequence[str]: + """ + (Multi-AZ only) The VPC route tables in which your file system's endpoints exist. + """ + return pulumi.get(self, "route_table_ids") + + @property + @pulumi.getter(name="storageCapacity") + def storage_capacity(self) -> int: + """ + The storage capacity of the file system in gibibytes (GiB). + """ + return pulumi.get(self, "storage_capacity") + + @property + @pulumi.getter(name="storageType") + def storage_type(self) -> str: + """ + The type of storage the file system is using. If set to `SSD`, the file system uses solid state drive storage. If set to `HDD`, the file system uses hard disk drive storage. + """ + return pulumi.get(self, "storage_type") + + @property + @pulumi.getter(name="subnetIds") + def subnet_ids(self) -> Sequence[str]: + """ + Specifies the IDs of the subnets that the file system is accessible from. For the MULTI_AZ_1 file system deployment type, there are two subnet IDs, one for the preferred file server and one for the standby file server. The preferred file server subnet identified in the `preferred_subnet_id` property. + """ + return pulumi.get(self, "subnet_ids") + + @property + @pulumi.getter + def tags(self) -> Mapping[str, str]: + """ + The tags associated with the file system. + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter(name="throughputCapacity") + def throughput_capacity(self) -> int: + """ + The sustained throughput of an Amazon FSx file system in Megabytes per second (MBps). + """ + return pulumi.get(self, "throughput_capacity") + + @property + @pulumi.getter(name="vpcId") + def vpc_id(self) -> str: + """ + The ID of the primary virtual private cloud (VPC) for the file system. + """ + return pulumi.get(self, "vpc_id") + + @property + @pulumi.getter(name="weeklyMaintenanceStartTime") + def weekly_maintenance_start_time(self) -> str: + """ + The preferred start time (in `D:HH:MM` format) to perform weekly maintenance, in the UTC time zone. + """ + return pulumi.get(self, "weekly_maintenance_start_time") + + +class AwaitableGetOntapFileSystemResult(GetOntapFileSystemResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetOntapFileSystemResult( + arn=self.arn, + automatic_backup_retention_days=self.automatic_backup_retention_days, + daily_automatic_backup_start_time=self.daily_automatic_backup_start_time, + deployment_type=self.deployment_type, + disk_iops_configurations=self.disk_iops_configurations, + dns_name=self.dns_name, + endpoint_ip_address_range=self.endpoint_ip_address_range, + endpoints=self.endpoints, + id=self.id, + kms_key_id=self.kms_key_id, + network_interface_ids=self.network_interface_ids, + owner_id=self.owner_id, + preferred_subnet_id=self.preferred_subnet_id, + route_table_ids=self.route_table_ids, + storage_capacity=self.storage_capacity, + storage_type=self.storage_type, + subnet_ids=self.subnet_ids, + tags=self.tags, + throughput_capacity=self.throughput_capacity, + vpc_id=self.vpc_id, + weekly_maintenance_start_time=self.weekly_maintenance_start_time) + + +def get_ontap_file_system(id: Optional[str] = None, + tags: Optional[Mapping[str, str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetOntapFileSystemResult: + """ + Retrieve information on FSx ONTAP File System. + + ## Example Usage + ### Basic Usage + + ```python + import pulumi + import pulumi_aws as aws + + example = aws.fsx.get_ontap_file_system(id="fs-12345678") + ``` + + + :param str id: Identifier of the file system (e.g. `fs-12345678`). + :param Mapping[str, str] tags: The tags associated with the file system. + """ + __args__ = dict() + __args__['id'] = id + __args__['tags'] = tags + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('aws:fsx/getOntapFileSystem:getOntapFileSystem', __args__, opts=opts, typ=GetOntapFileSystemResult).value + + return AwaitableGetOntapFileSystemResult( + arn=pulumi.get(__ret__, 'arn'), + automatic_backup_retention_days=pulumi.get(__ret__, 'automatic_backup_retention_days'), + daily_automatic_backup_start_time=pulumi.get(__ret__, 'daily_automatic_backup_start_time'), + deployment_type=pulumi.get(__ret__, 'deployment_type'), + disk_iops_configurations=pulumi.get(__ret__, 'disk_iops_configurations'), + dns_name=pulumi.get(__ret__, 'dns_name'), + endpoint_ip_address_range=pulumi.get(__ret__, 'endpoint_ip_address_range'), + endpoints=pulumi.get(__ret__, 'endpoints'), + id=pulumi.get(__ret__, 'id'), + kms_key_id=pulumi.get(__ret__, 'kms_key_id'), + network_interface_ids=pulumi.get(__ret__, 'network_interface_ids'), + owner_id=pulumi.get(__ret__, 'owner_id'), + preferred_subnet_id=pulumi.get(__ret__, 'preferred_subnet_id'), + route_table_ids=pulumi.get(__ret__, 'route_table_ids'), + storage_capacity=pulumi.get(__ret__, 'storage_capacity'), + storage_type=pulumi.get(__ret__, 'storage_type'), + subnet_ids=pulumi.get(__ret__, 'subnet_ids'), + tags=pulumi.get(__ret__, 'tags'), + throughput_capacity=pulumi.get(__ret__, 'throughput_capacity'), + vpc_id=pulumi.get(__ret__, 'vpc_id'), + weekly_maintenance_start_time=pulumi.get(__ret__, 'weekly_maintenance_start_time')) + + +@_utilities.lift_output_func(get_ontap_file_system) +def get_ontap_file_system_output(id: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Optional[Mapping[str, str]]]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetOntapFileSystemResult]: + """ + Retrieve information on FSx ONTAP File System. + + ## Example Usage + ### Basic Usage + + ```python + import pulumi + import pulumi_aws as aws + + example = aws.fsx.get_ontap_file_system(id="fs-12345678") + ``` + + + :param str id: Identifier of the file system (e.g. `fs-12345678`). + :param Mapping[str, str] tags: The tags associated with the file system. + """ + ... diff --git a/sdk/python/pulumi_aws/fsx/get_ontap_storage_virtual_machine.py b/sdk/python/pulumi_aws/fsx/get_ontap_storage_virtual_machine.py new file mode 100644 index 00000000000..d6f55e6eb01 --- /dev/null +++ b/sdk/python/pulumi_aws/fsx/get_ontap_storage_virtual_machine.py @@ -0,0 +1,275 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from .. import _utilities +from . import outputs +from ._inputs import * + +__all__ = [ + 'GetOntapStorageVirtualMachineResult', + 'AwaitableGetOntapStorageVirtualMachineResult', + 'get_ontap_storage_virtual_machine', + 'get_ontap_storage_virtual_machine_output', +] + +@pulumi.output_type +class GetOntapStorageVirtualMachineResult: + """ + A collection of values returned by getOntapStorageVirtualMachine. + """ + def __init__(__self__, active_directory_configurations=None, arn=None, creation_time=None, endpoints=None, file_system_id=None, filters=None, id=None, lifecycle_status=None, lifecycle_transition_reasons=None, name=None, subtype=None, tags=None, uuid=None): + if active_directory_configurations and not isinstance(active_directory_configurations, list): + raise TypeError("Expected argument 'active_directory_configurations' to be a list") + pulumi.set(__self__, "active_directory_configurations", active_directory_configurations) + if arn and not isinstance(arn, str): + raise TypeError("Expected argument 'arn' to be a str") + pulumi.set(__self__, "arn", arn) + if creation_time and not isinstance(creation_time, str): + raise TypeError("Expected argument 'creation_time' to be a str") + pulumi.set(__self__, "creation_time", creation_time) + if endpoints and not isinstance(endpoints, list): + raise TypeError("Expected argument 'endpoints' to be a list") + pulumi.set(__self__, "endpoints", endpoints) + if file_system_id and not isinstance(file_system_id, str): + raise TypeError("Expected argument 'file_system_id' to be a str") + pulumi.set(__self__, "file_system_id", file_system_id) + if filters and not isinstance(filters, list): + raise TypeError("Expected argument 'filters' to be a list") + pulumi.set(__self__, "filters", filters) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if lifecycle_status and not isinstance(lifecycle_status, str): + raise TypeError("Expected argument 'lifecycle_status' to be a str") + pulumi.set(__self__, "lifecycle_status", lifecycle_status) + if lifecycle_transition_reasons and not isinstance(lifecycle_transition_reasons, list): + raise TypeError("Expected argument 'lifecycle_transition_reasons' to be a list") + pulumi.set(__self__, "lifecycle_transition_reasons", lifecycle_transition_reasons) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if subtype and not isinstance(subtype, str): + raise TypeError("Expected argument 'subtype' to be a str") + pulumi.set(__self__, "subtype", subtype) + if tags and not isinstance(tags, dict): + raise TypeError("Expected argument 'tags' to be a dict") + pulumi.set(__self__, "tags", tags) + if uuid and not isinstance(uuid, str): + raise TypeError("Expected argument 'uuid' to be a str") + pulumi.set(__self__, "uuid", uuid) + + @property + @pulumi.getter(name="activeDirectoryConfigurations") + def active_directory_configurations(self) -> Sequence['outputs.GetOntapStorageVirtualMachineActiveDirectoryConfigurationResult']: + """ + The Microsoft Active Directory configuration to which the SVM is joined, if applicable. See Active Directory Configuration below. + """ + return pulumi.get(self, "active_directory_configurations") + + @property + @pulumi.getter + def arn(self) -> str: + """ + Amazon Resource Name of the SVM. + """ + return pulumi.get(self, "arn") + + @property + @pulumi.getter(name="creationTime") + def creation_time(self) -> str: + """ + The time that the SVM was created. + """ + return pulumi.get(self, "creation_time") + + @property + @pulumi.getter + def endpoints(self) -> Sequence['outputs.GetOntapStorageVirtualMachineEndpointResult']: + """ + The endpoints that are used to access data or to manage the SVM using the NetApp ONTAP CLI, REST API, or NetApp CloudManager. They are the Iscsi, Management, Nfs, and Smb endpoints. See SVM Endpoints below. + """ + return pulumi.get(self, "endpoints") + + @property + @pulumi.getter(name="fileSystemId") + def file_system_id(self) -> str: + """ + Identifier of the file system (e.g. `fs-12345678`). + """ + return pulumi.get(self, "file_system_id") + + @property + @pulumi.getter + def filters(self) -> Optional[Sequence['outputs.GetOntapStorageVirtualMachineFilterResult']]: + return pulumi.get(self, "filters") + + @property + @pulumi.getter + def id(self) -> str: + """ + The SVM's system generated unique ID. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="lifecycleStatus") + def lifecycle_status(self) -> str: + """ + The SVM's lifecycle status. + """ + return pulumi.get(self, "lifecycle_status") + + @property + @pulumi.getter(name="lifecycleTransitionReasons") + def lifecycle_transition_reasons(self) -> Sequence['outputs.GetOntapStorageVirtualMachineLifecycleTransitionReasonResult']: + """ + Describes why the SVM lifecycle state changed. See Lifecycle Transition Reason below. + """ + return pulumi.get(self, "lifecycle_transition_reasons") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the SVM, if provisioned. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def subtype(self) -> str: + """ + The SVM's subtype. + """ + return pulumi.get(self, "subtype") + + @property + @pulumi.getter + def tags(self) -> Mapping[str, str]: + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def uuid(self) -> str: + """ + The SVM's UUID. + """ + return pulumi.get(self, "uuid") + + +class AwaitableGetOntapStorageVirtualMachineResult(GetOntapStorageVirtualMachineResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetOntapStorageVirtualMachineResult( + active_directory_configurations=self.active_directory_configurations, + arn=self.arn, + creation_time=self.creation_time, + endpoints=self.endpoints, + file_system_id=self.file_system_id, + filters=self.filters, + id=self.id, + lifecycle_status=self.lifecycle_status, + lifecycle_transition_reasons=self.lifecycle_transition_reasons, + name=self.name, + subtype=self.subtype, + tags=self.tags, + uuid=self.uuid) + + +def get_ontap_storage_virtual_machine(filters: Optional[Sequence[pulumi.InputType['GetOntapStorageVirtualMachineFilterArgs']]] = None, + id: Optional[str] = None, + tags: Optional[Mapping[str, str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetOntapStorageVirtualMachineResult: + """ + Retrieve information on FSx ONTAP Storage Virtual Machine (SVM). + + ## Example Usage + ### Basic Usage + + ```python + import pulumi + import pulumi_aws as aws + + example = aws.fsx.get_ontap_storage_virtual_machine(id="svm-12345678") + ``` + ### Filter Example + + ```python + import pulumi + import pulumi_aws as aws + + example = aws.fsx.get_ontap_storage_virtual_machine(filters=[aws.fsx.GetOntapStorageVirtualMachineFilterArgs( + name="file-system-id", + values=["fs-12345678"], + )]) + ``` + + + :param Sequence[pulumi.InputType['GetOntapStorageVirtualMachineFilterArgs']] filters: Configuration block. Detailed below. + :param str id: Identifier of the storage virtual machine (e.g. `svm-12345678`). + """ + __args__ = dict() + __args__['filters'] = filters + __args__['id'] = id + __args__['tags'] = tags + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('aws:fsx/getOntapStorageVirtualMachine:getOntapStorageVirtualMachine', __args__, opts=opts, typ=GetOntapStorageVirtualMachineResult).value + + return AwaitableGetOntapStorageVirtualMachineResult( + active_directory_configurations=pulumi.get(__ret__, 'active_directory_configurations'), + arn=pulumi.get(__ret__, 'arn'), + creation_time=pulumi.get(__ret__, 'creation_time'), + endpoints=pulumi.get(__ret__, 'endpoints'), + file_system_id=pulumi.get(__ret__, 'file_system_id'), + filters=pulumi.get(__ret__, 'filters'), + id=pulumi.get(__ret__, 'id'), + lifecycle_status=pulumi.get(__ret__, 'lifecycle_status'), + lifecycle_transition_reasons=pulumi.get(__ret__, 'lifecycle_transition_reasons'), + name=pulumi.get(__ret__, 'name'), + subtype=pulumi.get(__ret__, 'subtype'), + tags=pulumi.get(__ret__, 'tags'), + uuid=pulumi.get(__ret__, 'uuid')) + + +@_utilities.lift_output_func(get_ontap_storage_virtual_machine) +def get_ontap_storage_virtual_machine_output(filters: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetOntapStorageVirtualMachineFilterArgs']]]]] = None, + id: Optional[pulumi.Input[Optional[str]]] = None, + tags: Optional[pulumi.Input[Optional[Mapping[str, str]]]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetOntapStorageVirtualMachineResult]: + """ + Retrieve information on FSx ONTAP Storage Virtual Machine (SVM). + + ## Example Usage + ### Basic Usage + + ```python + import pulumi + import pulumi_aws as aws + + example = aws.fsx.get_ontap_storage_virtual_machine(id="svm-12345678") + ``` + ### Filter Example + + ```python + import pulumi + import pulumi_aws as aws + + example = aws.fsx.get_ontap_storage_virtual_machine(filters=[aws.fsx.GetOntapStorageVirtualMachineFilterArgs( + name="file-system-id", + values=["fs-12345678"], + )]) + ``` + + + :param Sequence[pulumi.InputType['GetOntapStorageVirtualMachineFilterArgs']] filters: Configuration block. Detailed below. + :param str id: Identifier of the storage virtual machine (e.g. `svm-12345678`). + """ + ... diff --git a/sdk/python/pulumi_aws/fsx/get_ontap_storage_virtual_machines.py b/sdk/python/pulumi_aws/fsx/get_ontap_storage_virtual_machines.py new file mode 100644 index 00000000000..b0ad75ee90b --- /dev/null +++ b/sdk/python/pulumi_aws/fsx/get_ontap_storage_virtual_machines.py @@ -0,0 +1,126 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from .. import _utilities +from . import outputs +from ._inputs import * + +__all__ = [ + 'GetOntapStorageVirtualMachinesResult', + 'AwaitableGetOntapStorageVirtualMachinesResult', + 'get_ontap_storage_virtual_machines', + 'get_ontap_storage_virtual_machines_output', +] + +@pulumi.output_type +class GetOntapStorageVirtualMachinesResult: + """ + A collection of values returned by getOntapStorageVirtualMachines. + """ + def __init__(__self__, filters=None, id=None, ids=None): + if filters and not isinstance(filters, list): + raise TypeError("Expected argument 'filters' to be a list") + pulumi.set(__self__, "filters", filters) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if ids and not isinstance(ids, list): + raise TypeError("Expected argument 'ids' to be a list") + pulumi.set(__self__, "ids", ids) + + @property + @pulumi.getter + def filters(self) -> Optional[Sequence['outputs.GetOntapStorageVirtualMachinesFilterResult']]: + return pulumi.get(self, "filters") + + @property + @pulumi.getter + def id(self) -> str: + """ + The provider-assigned unique ID for this managed resource. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def ids(self) -> Sequence[str]: + """ + List of all SVM IDs found. + """ + return pulumi.get(self, "ids") + + +class AwaitableGetOntapStorageVirtualMachinesResult(GetOntapStorageVirtualMachinesResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetOntapStorageVirtualMachinesResult( + filters=self.filters, + id=self.id, + ids=self.ids) + + +def get_ontap_storage_virtual_machines(filters: Optional[Sequence[pulumi.InputType['GetOntapStorageVirtualMachinesFilterArgs']]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetOntapStorageVirtualMachinesResult: + """ + This resource can be useful for getting back a set of FSx ONTAP Storage Virtual Machine (SVM) IDs. + + ## Example Usage + + The following shows outputting all SVM IDs for a given FSx ONTAP File System. + + ```python + import pulumi + import pulumi_aws as aws + + example = aws.fsx.get_ontap_storage_virtual_machines(filters=[aws.fsx.GetOntapStorageVirtualMachinesFilterArgs( + name="file-system-id", + values=["fs-12345678"], + )]) + ``` + + + :param Sequence[pulumi.InputType['GetOntapStorageVirtualMachinesFilterArgs']] filters: Configuration block. Detailed below. + """ + __args__ = dict() + __args__['filters'] = filters + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('aws:fsx/getOntapStorageVirtualMachines:getOntapStorageVirtualMachines', __args__, opts=opts, typ=GetOntapStorageVirtualMachinesResult).value + + return AwaitableGetOntapStorageVirtualMachinesResult( + filters=pulumi.get(__ret__, 'filters'), + id=pulumi.get(__ret__, 'id'), + ids=pulumi.get(__ret__, 'ids')) + + +@_utilities.lift_output_func(get_ontap_storage_virtual_machines) +def get_ontap_storage_virtual_machines_output(filters: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetOntapStorageVirtualMachinesFilterArgs']]]]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetOntapStorageVirtualMachinesResult]: + """ + This resource can be useful for getting back a set of FSx ONTAP Storage Virtual Machine (SVM) IDs. + + ## Example Usage + + The following shows outputting all SVM IDs for a given FSx ONTAP File System. + + ```python + import pulumi + import pulumi_aws as aws + + example = aws.fsx.get_ontap_storage_virtual_machines(filters=[aws.fsx.GetOntapStorageVirtualMachinesFilterArgs( + name="file-system-id", + values=["fs-12345678"], + )]) + ``` + + + :param Sequence[pulumi.InputType['GetOntapStorageVirtualMachinesFilterArgs']] filters: Configuration block. Detailed below. + """ + ... diff --git a/sdk/python/pulumi_aws/fsx/outputs.py b/sdk/python/pulumi_aws/fsx/outputs.py index 85a0c5f64b2..6db3b2a964d 100644 --- a/sdk/python/pulumi_aws/fsx/outputs.py +++ b/sdk/python/pulumi_aws/fsx/outputs.py @@ -45,6 +45,20 @@ 'WindowsFileSystemAuditLogConfiguration', 'WindowsFileSystemDiskIopsConfiguration', 'WindowsFileSystemSelfManagedActiveDirectory', + 'GetOntapFileSystemDiskIopsConfigurationResult', + 'GetOntapFileSystemEndpointResult', + 'GetOntapFileSystemEndpointInterclusterResult', + 'GetOntapFileSystemEndpointManagementResult', + 'GetOntapStorageVirtualMachineActiveDirectoryConfigurationResult', + 'GetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfigurationResult', + 'GetOntapStorageVirtualMachineEndpointResult', + 'GetOntapStorageVirtualMachineEndpointIscsiResult', + 'GetOntapStorageVirtualMachineEndpointManagementResult', + 'GetOntapStorageVirtualMachineEndpointNfResult', + 'GetOntapStorageVirtualMachineEndpointSmbResult', + 'GetOntapStorageVirtualMachineFilterResult', + 'GetOntapStorageVirtualMachineLifecycleTransitionReasonResult', + 'GetOntapStorageVirtualMachinesFilterResult', 'GetOpenZfsSnapshotFilterResult', 'GetWindowsFileSystemAuditLogConfigurationResult', 'GetWindowsFileSystemDiskIopsConfigurationResult', @@ -1782,6 +1796,400 @@ def organizational_unit_distinguished_name(self) -> Optional[str]: return pulumi.get(self, "organizational_unit_distinguished_name") +@pulumi.output_type +class GetOntapFileSystemDiskIopsConfigurationResult(dict): + def __init__(__self__, *, + iops: int, + mode: str): + """ + :param int iops: The total number of SSD IOPS provisioned for the file system. + :param str mode: Specifies whether the file system is using the `AUTOMATIC` setting of SSD IOPS of 3 IOPS per GB of storage capacity, or if it using a `USER_PROVISIONED` value. + """ + pulumi.set(__self__, "iops", iops) + pulumi.set(__self__, "mode", mode) + + @property + @pulumi.getter + def iops(self) -> int: + """ + The total number of SSD IOPS provisioned for the file system. + """ + return pulumi.get(self, "iops") + + @property + @pulumi.getter + def mode(self) -> str: + """ + Specifies whether the file system is using the `AUTOMATIC` setting of SSD IOPS of 3 IOPS per GB of storage capacity, or if it using a `USER_PROVISIONED` value. + """ + return pulumi.get(self, "mode") + + +@pulumi.output_type +class GetOntapFileSystemEndpointResult(dict): + def __init__(__self__, *, + interclusters: Sequence['outputs.GetOntapFileSystemEndpointInterclusterResult'], + managements: Sequence['outputs.GetOntapFileSystemEndpointManagementResult']): + """ + :param Sequence['GetOntapFileSystemEndpointInterclusterArgs'] interclusters: A FileSystemEndpoint for managing your file system by setting up NetApp SnapMirror with other ONTAP systems. See FileSystemEndpoint below. + :param Sequence['GetOntapFileSystemEndpointManagementArgs'] managements: A FileSystemEndpoint for managing your file system using the NetApp ONTAP CLI and NetApp ONTAP API. See FileSystemEndpoint below. + """ + pulumi.set(__self__, "interclusters", interclusters) + pulumi.set(__self__, "managements", managements) + + @property + @pulumi.getter + def interclusters(self) -> Sequence['outputs.GetOntapFileSystemEndpointInterclusterResult']: + """ + A FileSystemEndpoint for managing your file system by setting up NetApp SnapMirror with other ONTAP systems. See FileSystemEndpoint below. + """ + return pulumi.get(self, "interclusters") + + @property + @pulumi.getter + def managements(self) -> Sequence['outputs.GetOntapFileSystemEndpointManagementResult']: + """ + A FileSystemEndpoint for managing your file system using the NetApp ONTAP CLI and NetApp ONTAP API. See FileSystemEndpoint below. + """ + return pulumi.get(self, "managements") + + +@pulumi.output_type +class GetOntapFileSystemEndpointInterclusterResult(dict): + def __init__(__self__, *, + dns_name: str, + ip_addresses: Sequence[str]): + """ + :param str dns_name: DNS name for the file system (e.g. `fs-12345678.corp.example.com`). + """ + pulumi.set(__self__, "dns_name", dns_name) + pulumi.set(__self__, "ip_addresses", ip_addresses) + + @property + @pulumi.getter(name="dnsName") + def dns_name(self) -> str: + """ + DNS name for the file system (e.g. `fs-12345678.corp.example.com`). + """ + return pulumi.get(self, "dns_name") + + @property + @pulumi.getter(name="ipAddresses") + def ip_addresses(self) -> Sequence[str]: + return pulumi.get(self, "ip_addresses") + + +@pulumi.output_type +class GetOntapFileSystemEndpointManagementResult(dict): + def __init__(__self__, *, + dns_name: str, + ip_addresses: Sequence[str]): + """ + :param str dns_name: DNS name for the file system (e.g. `fs-12345678.corp.example.com`). + """ + pulumi.set(__self__, "dns_name", dns_name) + pulumi.set(__self__, "ip_addresses", ip_addresses) + + @property + @pulumi.getter(name="dnsName") + def dns_name(self) -> str: + """ + DNS name for the file system (e.g. `fs-12345678.corp.example.com`). + """ + return pulumi.get(self, "dns_name") + + @property + @pulumi.getter(name="ipAddresses") + def ip_addresses(self) -> Sequence[str]: + return pulumi.get(self, "ip_addresses") + + +@pulumi.output_type +class GetOntapStorageVirtualMachineActiveDirectoryConfigurationResult(dict): + def __init__(__self__, *, + netbios_name: str, + self_managed_active_directory_configurations: Sequence['outputs.GetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfigurationResult']): + """ + :param str netbios_name: The NetBIOS name of the AD computer object to which the SVM is joined. + """ + pulumi.set(__self__, "netbios_name", netbios_name) + pulumi.set(__self__, "self_managed_active_directory_configurations", self_managed_active_directory_configurations) + + @property + @pulumi.getter(name="netbiosName") + def netbios_name(self) -> str: + """ + The NetBIOS name of the AD computer object to which the SVM is joined. + """ + return pulumi.get(self, "netbios_name") + + @property + @pulumi.getter(name="selfManagedActiveDirectoryConfigurations") + def self_managed_active_directory_configurations(self) -> Sequence['outputs.GetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfigurationResult']: + return pulumi.get(self, "self_managed_active_directory_configurations") + + +@pulumi.output_type +class GetOntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfigurationResult(dict): + def __init__(__self__, *, + dns_ips: Sequence[str], + domain_name: str, + file_system_administrators_group: str, + organizational_unit_distinguished_name: str, + username: str): + """ + :param Sequence[str] dns_ips: A list of up to three IP addresses of DNS servers or domain controllers in the self-managed AD directory. + :param str domain_name: The fully qualified domain name of the self-managed AD directory. + :param str file_system_administrators_group: The name of the domain group whose members have administrative privileges for the FSx file system. + :param str organizational_unit_distinguished_name: The fully qualified distinguished name of the organizational unit within the self-managed AD directory to which the Windows File Server or ONTAP storage virtual machine (SVM) instance is joined. + :param str username: The user name for the service account on your self-managed AD domain that FSx uses to join to your AD domain. + """ + pulumi.set(__self__, "dns_ips", dns_ips) + pulumi.set(__self__, "domain_name", domain_name) + pulumi.set(__self__, "file_system_administrators_group", file_system_administrators_group) + pulumi.set(__self__, "organizational_unit_distinguished_name", organizational_unit_distinguished_name) + pulumi.set(__self__, "username", username) + + @property + @pulumi.getter(name="dnsIps") + def dns_ips(self) -> Sequence[str]: + """ + A list of up to three IP addresses of DNS servers or domain controllers in the self-managed AD directory. + """ + return pulumi.get(self, "dns_ips") + + @property + @pulumi.getter(name="domainName") + def domain_name(self) -> str: + """ + The fully qualified domain name of the self-managed AD directory. + """ + return pulumi.get(self, "domain_name") + + @property + @pulumi.getter(name="fileSystemAdministratorsGroup") + def file_system_administrators_group(self) -> str: + """ + The name of the domain group whose members have administrative privileges for the FSx file system. + """ + return pulumi.get(self, "file_system_administrators_group") + + @property + @pulumi.getter(name="organizationalUnitDistinguishedName") + def organizational_unit_distinguished_name(self) -> str: + """ + The fully qualified distinguished name of the organizational unit within the self-managed AD directory to which the Windows File Server or ONTAP storage virtual machine (SVM) instance is joined. + """ + return pulumi.get(self, "organizational_unit_distinguished_name") + + @property + @pulumi.getter + def username(self) -> str: + """ + The user name for the service account on your self-managed AD domain that FSx uses to join to your AD domain. + """ + return pulumi.get(self, "username") + + +@pulumi.output_type +class GetOntapStorageVirtualMachineEndpointResult(dict): + def __init__(__self__, *, + iscsis: Sequence['outputs.GetOntapStorageVirtualMachineEndpointIscsiResult'], + managements: Sequence['outputs.GetOntapStorageVirtualMachineEndpointManagementResult'], + nfs: Sequence['outputs.GetOntapStorageVirtualMachineEndpointNfResult'], + smbs: Sequence['outputs.GetOntapStorageVirtualMachineEndpointSmbResult']): + """ + :param Sequence['GetOntapStorageVirtualMachineEndpointManagementArgs'] managements: An endpoint for managing SVMs using the NetApp ONTAP CLI, NetApp ONTAP API, or NetApp CloudManager. See SVM Endpoint below. + :param Sequence['GetOntapStorageVirtualMachineEndpointNfArgs'] nfs: An endpoint for connecting using the Network File System (NFS) protocol. See SVM Endpoint below. + :param Sequence['GetOntapStorageVirtualMachineEndpointSmbArgs'] smbs: An endpoint for connecting using the Server Message Block (SMB) protocol. See SVM Endpoint below. + """ + pulumi.set(__self__, "iscsis", iscsis) + pulumi.set(__self__, "managements", managements) + pulumi.set(__self__, "nfs", nfs) + pulumi.set(__self__, "smbs", smbs) + + @property + @pulumi.getter + def iscsis(self) -> Sequence['outputs.GetOntapStorageVirtualMachineEndpointIscsiResult']: + return pulumi.get(self, "iscsis") + + @property + @pulumi.getter + def managements(self) -> Sequence['outputs.GetOntapStorageVirtualMachineEndpointManagementResult']: + """ + An endpoint for managing SVMs using the NetApp ONTAP CLI, NetApp ONTAP API, or NetApp CloudManager. See SVM Endpoint below. + """ + return pulumi.get(self, "managements") + + @property + @pulumi.getter + def nfs(self) -> Sequence['outputs.GetOntapStorageVirtualMachineEndpointNfResult']: + """ + An endpoint for connecting using the Network File System (NFS) protocol. See SVM Endpoint below. + """ + return pulumi.get(self, "nfs") + + @property + @pulumi.getter + def smbs(self) -> Sequence['outputs.GetOntapStorageVirtualMachineEndpointSmbResult']: + """ + An endpoint for connecting using the Server Message Block (SMB) protocol. See SVM Endpoint below. + """ + return pulumi.get(self, "smbs") + + +@pulumi.output_type +class GetOntapStorageVirtualMachineEndpointIscsiResult(dict): + def __init__(__self__, *, + dns_name: str, + ip_addresses: Sequence[str]): + pulumi.set(__self__, "dns_name", dns_name) + pulumi.set(__self__, "ip_addresses", ip_addresses) + + @property + @pulumi.getter(name="dnsName") + def dns_name(self) -> str: + return pulumi.get(self, "dns_name") + + @property + @pulumi.getter(name="ipAddresses") + def ip_addresses(self) -> Sequence[str]: + return pulumi.get(self, "ip_addresses") + + +@pulumi.output_type +class GetOntapStorageVirtualMachineEndpointManagementResult(dict): + def __init__(__self__, *, + dns_name: str, + ip_addresses: Sequence[str]): + pulumi.set(__self__, "dns_name", dns_name) + pulumi.set(__self__, "ip_addresses", ip_addresses) + + @property + @pulumi.getter(name="dnsName") + def dns_name(self) -> str: + return pulumi.get(self, "dns_name") + + @property + @pulumi.getter(name="ipAddresses") + def ip_addresses(self) -> Sequence[str]: + return pulumi.get(self, "ip_addresses") + + +@pulumi.output_type +class GetOntapStorageVirtualMachineEndpointNfResult(dict): + def __init__(__self__, *, + dns_name: str, + ip_addresses: Sequence[str]): + pulumi.set(__self__, "dns_name", dns_name) + pulumi.set(__self__, "ip_addresses", ip_addresses) + + @property + @pulumi.getter(name="dnsName") + def dns_name(self) -> str: + return pulumi.get(self, "dns_name") + + @property + @pulumi.getter(name="ipAddresses") + def ip_addresses(self) -> Sequence[str]: + return pulumi.get(self, "ip_addresses") + + +@pulumi.output_type +class GetOntapStorageVirtualMachineEndpointSmbResult(dict): + def __init__(__self__, *, + dns_name: str, + ip_addresses: Sequence[str]): + pulumi.set(__self__, "dns_name", dns_name) + pulumi.set(__self__, "ip_addresses", ip_addresses) + + @property + @pulumi.getter(name="dnsName") + def dns_name(self) -> str: + return pulumi.get(self, "dns_name") + + @property + @pulumi.getter(name="ipAddresses") + def ip_addresses(self) -> Sequence[str]: + return pulumi.get(self, "ip_addresses") + + +@pulumi.output_type +class GetOntapStorageVirtualMachineFilterResult(dict): + def __init__(__self__, *, + name: str, + values: Sequence[str]): + """ + :param str name: Name of the field to filter by, as defined by [the underlying AWS API](https://docs.aws.amazon.com/fsx/latest/APIReference/API_StorageVirtualMachineFilter.html). + :param Sequence[str] values: Set of values that are accepted for the given field. An SVM will be selected if any one of the given values matches. + """ + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "values", values) + + @property + @pulumi.getter + def name(self) -> str: + """ + Name of the field to filter by, as defined by [the underlying AWS API](https://docs.aws.amazon.com/fsx/latest/APIReference/API_StorageVirtualMachineFilter.html). + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def values(self) -> Sequence[str]: + """ + Set of values that are accepted for the given field. An SVM will be selected if any one of the given values matches. + """ + return pulumi.get(self, "values") + + +@pulumi.output_type +class GetOntapStorageVirtualMachineLifecycleTransitionReasonResult(dict): + def __init__(__self__, *, + message: str): + """ + :param str message: A detailed message. + """ + pulumi.set(__self__, "message", message) + + @property + @pulumi.getter + def message(self) -> str: + """ + A detailed message. + """ + return pulumi.get(self, "message") + + +@pulumi.output_type +class GetOntapStorageVirtualMachinesFilterResult(dict): + def __init__(__self__, *, + name: str, + values: Sequence[str]): + """ + :param str name: Name of the field to filter by, as defined by [the underlying AWS API](https://docs.aws.amazon.com/fsx/latest/APIReference/API_StorageVirtualMachineFilter.html). + :param Sequence[str] values: Set of values that are accepted for the given field. An SVM will be selected if any one of the given values matches. + """ + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "values", values) + + @property + @pulumi.getter + def name(self) -> str: + """ + Name of the field to filter by, as defined by [the underlying AWS API](https://docs.aws.amazon.com/fsx/latest/APIReference/API_StorageVirtualMachineFilter.html). + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def values(self) -> Sequence[str]: + """ + Set of values that are accepted for the given field. An SVM will be selected if any one of the given values matches. + """ + return pulumi.get(self, "values") + + @pulumi.output_type class GetOpenZfsSnapshotFilterResult(dict): def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws/mq/broker.py b/sdk/python/pulumi_aws/mq/broker.py index 50c23a180fe..0a39e30a09a 100644 --- a/sdk/python/pulumi_aws/mq/broker.py +++ b/sdk/python/pulumi_aws/mq/broker.py @@ -47,7 +47,7 @@ def __init__(__self__, *, :param pulumi.Input[str] authentication_strategy: Authentication strategy used to secure the broker. Valid values are `simple` and `ldap`. `ldap` is not supported for `engine_type` `RabbitMQ`. :param pulumi.Input[bool] auto_minor_version_upgrade: Whether to automatically upgrade to new minor versions of brokers as Amazon MQ makes releases available. :param pulumi.Input[str] broker_name: Name of the broker. - :param pulumi.Input['BrokerConfigurationArgs'] configuration: Configuration block for broker configuration. Applies to `engine_type` of `ActiveMQ` only. Detailed below. + :param pulumi.Input['BrokerConfigurationArgs'] configuration: Configuration block for broker configuration. Applies to `engine_type` of `ActiveMQ` and `RabbitMQ` only. Detailed below. :param pulumi.Input[str] deployment_mode: Deployment mode of the broker. Valid values are `SINGLE_INSTANCE`, `ACTIVE_STANDBY_MULTI_AZ`, and `CLUSTER_MULTI_AZ`. Default is `SINGLE_INSTANCE`. :param pulumi.Input['BrokerEncryptionOptionsArgs'] encryption_options: Configuration block containing encryption options. Detailed below. :param pulumi.Input['BrokerLdapServerMetadataArgs'] ldap_server_metadata: Configuration block for the LDAP server used to authenticate and authorize connections to the broker. Not supported for `engine_type` `RabbitMQ`. Detailed below. (Currently, AWS may not process changes to LDAP server metadata.) @@ -196,7 +196,7 @@ def broker_name(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def configuration(self) -> Optional[pulumi.Input['BrokerConfigurationArgs']]: """ - Configuration block for broker configuration. Applies to `engine_type` of `ActiveMQ` only. Detailed below. + Configuration block for broker configuration. Applies to `engine_type` of `ActiveMQ` and `RabbitMQ` only. Detailed below. """ return pulumi.get(self, "configuration") @@ -357,7 +357,7 @@ def __init__(__self__, *, :param pulumi.Input[str] authentication_strategy: Authentication strategy used to secure the broker. Valid values are `simple` and `ldap`. `ldap` is not supported for `engine_type` `RabbitMQ`. :param pulumi.Input[bool] auto_minor_version_upgrade: Whether to automatically upgrade to new minor versions of brokers as Amazon MQ makes releases available. :param pulumi.Input[str] broker_name: Name of the broker. - :param pulumi.Input['BrokerConfigurationArgs'] configuration: Configuration block for broker configuration. Applies to `engine_type` of `ActiveMQ` only. Detailed below. + :param pulumi.Input['BrokerConfigurationArgs'] configuration: Configuration block for broker configuration. Applies to `engine_type` of `ActiveMQ` and `RabbitMQ` only. Detailed below. :param pulumi.Input[str] deployment_mode: Deployment mode of the broker. Valid values are `SINGLE_INSTANCE`, `ACTIVE_STANDBY_MULTI_AZ`, and `CLUSTER_MULTI_AZ`. Default is `SINGLE_INSTANCE`. :param pulumi.Input['BrokerEncryptionOptionsArgs'] encryption_options: Configuration block containing encryption options. Detailed below. :param pulumi.Input[str] engine_type: Type of broker engine. Valid values are `ActiveMQ` and `RabbitMQ`. @@ -500,7 +500,7 @@ def broker_name(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def configuration(self) -> Optional[pulumi.Input['BrokerConfigurationArgs']]: """ - Configuration block for broker configuration. Applies to `engine_type` of `ActiveMQ` only. Detailed below. + Configuration block for broker configuration. Applies to `engine_type` of `ActiveMQ` and `RabbitMQ` only. Detailed below. """ return pulumi.get(self, "configuration") @@ -747,7 +747,7 @@ def __init__(__self__, > For more information on Amazon MQ, see [Amazon MQ documentation](https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/welcome.html). - > **NOTE:** Amazon MQ currently places limits on **RabbitMQ** brokers. For example, a RabbitMQ broker cannot have: instances with an associated IP address of an ENI attached to the broker, an associated LDAP server to authenticate and authorize broker connections, storage type `EFS`, audit logging, or `configuration` blocks. Although this resource allows you to create RabbitMQ users, RabbitMQ users cannot have console access or groups. Also, Amazon MQ does not return information about RabbitMQ users so drift detection is not possible. + > **NOTE:** Amazon MQ currently places limits on **RabbitMQ** brokers. For example, a RabbitMQ broker cannot have: instances with an associated IP address of an ENI attached to the broker, an associated LDAP server to authenticate and authorize broker connections, storage type `EFS`, or audit logging. Although this resource allows you to create RabbitMQ users, RabbitMQ users cannot have console access or groups. Also, Amazon MQ does not return information about RabbitMQ users so drift detection is not possible. > **NOTE:** Changes to an MQ Broker can occur when you change a parameter, such as `configuration` or `user`, and are reflected in the next maintenance window. Because of this, the provider may report a difference in its planning phase because a modification has not yet taken place. You can use the `apply_immediately` flag to instruct the service to apply the change immediately (see documentation below). Using `apply_immediately` can result in a brief downtime as the broker reboots. @@ -810,7 +810,7 @@ def __init__(__self__, :param pulumi.Input[str] authentication_strategy: Authentication strategy used to secure the broker. Valid values are `simple` and `ldap`. `ldap` is not supported for `engine_type` `RabbitMQ`. :param pulumi.Input[bool] auto_minor_version_upgrade: Whether to automatically upgrade to new minor versions of brokers as Amazon MQ makes releases available. :param pulumi.Input[str] broker_name: Name of the broker. - :param pulumi.Input[pulumi.InputType['BrokerConfigurationArgs']] configuration: Configuration block for broker configuration. Applies to `engine_type` of `ActiveMQ` only. Detailed below. + :param pulumi.Input[pulumi.InputType['BrokerConfigurationArgs']] configuration: Configuration block for broker configuration. Applies to `engine_type` of `ActiveMQ` and `RabbitMQ` only. Detailed below. :param pulumi.Input[str] deployment_mode: Deployment mode of the broker. Valid values are `SINGLE_INSTANCE`, `ACTIVE_STANDBY_MULTI_AZ`, and `CLUSTER_MULTI_AZ`. Default is `SINGLE_INSTANCE`. :param pulumi.Input[pulumi.InputType['BrokerEncryptionOptionsArgs']] encryption_options: Configuration block containing encryption options. Detailed below. :param pulumi.Input[str] engine_type: Type of broker engine. Valid values are `ActiveMQ` and `RabbitMQ`. @@ -839,7 +839,7 @@ def __init__(__self__, > For more information on Amazon MQ, see [Amazon MQ documentation](https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/welcome.html). - > **NOTE:** Amazon MQ currently places limits on **RabbitMQ** brokers. For example, a RabbitMQ broker cannot have: instances with an associated IP address of an ENI attached to the broker, an associated LDAP server to authenticate and authorize broker connections, storage type `EFS`, audit logging, or `configuration` blocks. Although this resource allows you to create RabbitMQ users, RabbitMQ users cannot have console access or groups. Also, Amazon MQ does not return information about RabbitMQ users so drift detection is not possible. + > **NOTE:** Amazon MQ currently places limits on **RabbitMQ** brokers. For example, a RabbitMQ broker cannot have: instances with an associated IP address of an ENI attached to the broker, an associated LDAP server to authenticate and authorize broker connections, storage type `EFS`, or audit logging. Although this resource allows you to create RabbitMQ users, RabbitMQ users cannot have console access or groups. Also, Amazon MQ does not return information about RabbitMQ users so drift detection is not possible. > **NOTE:** Changes to an MQ Broker can occur when you change a parameter, such as `configuration` or `user`, and are reflected in the next maintenance window. Because of this, the provider may report a difference in its planning phase because a modification has not yet taken place. You can use the `apply_immediately` flag to instruct the service to apply the change immediately (see documentation below). Using `apply_immediately` can result in a brief downtime as the broker reboots. @@ -1015,7 +1015,7 @@ def get(resource_name: str, :param pulumi.Input[str] authentication_strategy: Authentication strategy used to secure the broker. Valid values are `simple` and `ldap`. `ldap` is not supported for `engine_type` `RabbitMQ`. :param pulumi.Input[bool] auto_minor_version_upgrade: Whether to automatically upgrade to new minor versions of brokers as Amazon MQ makes releases available. :param pulumi.Input[str] broker_name: Name of the broker. - :param pulumi.Input[pulumi.InputType['BrokerConfigurationArgs']] configuration: Configuration block for broker configuration. Applies to `engine_type` of `ActiveMQ` only. Detailed below. + :param pulumi.Input[pulumi.InputType['BrokerConfigurationArgs']] configuration: Configuration block for broker configuration. Applies to `engine_type` of `ActiveMQ` and `RabbitMQ` only. Detailed below. :param pulumi.Input[str] deployment_mode: Deployment mode of the broker. Valid values are `SINGLE_INSTANCE`, `ACTIVE_STANDBY_MULTI_AZ`, and `CLUSTER_MULTI_AZ`. Default is `SINGLE_INSTANCE`. :param pulumi.Input[pulumi.InputType['BrokerEncryptionOptionsArgs']] encryption_options: Configuration block containing encryption options. Detailed below. :param pulumi.Input[str] engine_type: Type of broker engine. Valid values are `ActiveMQ` and `RabbitMQ`. @@ -1118,7 +1118,7 @@ def broker_name(self) -> pulumi.Output[str]: @pulumi.getter def configuration(self) -> pulumi.Output['outputs.BrokerConfiguration']: """ - Configuration block for broker configuration. Applies to `engine_type` of `ActiveMQ` only. Detailed below. + Configuration block for broker configuration. Applies to `engine_type` of `ActiveMQ` and `RabbitMQ` only. Detailed below. """ return pulumi.get(self, "configuration") diff --git a/sdk/python/pulumi_aws/mq/configuration.py b/sdk/python/pulumi_aws/mq/configuration.py index f69301bbdb0..0e9eb1fa157 100644 --- a/sdk/python/pulumi_aws/mq/configuration.py +++ b/sdk/python/pulumi_aws/mq/configuration.py @@ -23,7 +23,7 @@ def __init__(__self__, *, tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None): """ The set of arguments for constructing a Configuration resource. - :param pulumi.Input[str] data: Broker configuration in XML format. See [official docs](https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/amazon-mq-broker-configuration-parameters.html) for supported parameters and format of the XML. + :param pulumi.Input[str] data: Broker configuration in XML format for `ActiveMQ` or [Cuttlefish](https://github.com/Kyorai/cuttlefish) format for `RabbitMQ`. See [official docs](https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/amazon-mq-broker-configuration-parameters.html) for supported parameters and format of the XML. :param pulumi.Input[str] engine_type: Type of broker engine. Valid values are `ActiveMQ` and `RabbitMQ`. :param pulumi.Input[str] engine_version: Version of the broker engine. :param pulumi.Input[str] authentication_strategy: Authentication strategy associated with the configuration. Valid values are `simple` and `ldap`. `ldap` is not supported for `engine_type` `RabbitMQ`. @@ -49,7 +49,7 @@ def __init__(__self__, *, @pulumi.getter def data(self) -> pulumi.Input[str]: """ - Broker configuration in XML format. See [official docs](https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/amazon-mq-broker-configuration-parameters.html) for supported parameters and format of the XML. + Broker configuration in XML format for `ActiveMQ` or [Cuttlefish](https://github.com/Kyorai/cuttlefish) format for `RabbitMQ`. See [official docs](https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/amazon-mq-broker-configuration-parameters.html) for supported parameters and format of the XML. """ return pulumi.get(self, "data") @@ -149,7 +149,7 @@ def __init__(__self__, *, Input properties used for looking up and filtering Configuration resources. :param pulumi.Input[str] arn: ARN of the configuration. :param pulumi.Input[str] authentication_strategy: Authentication strategy associated with the configuration. Valid values are `simple` and `ldap`. `ldap` is not supported for `engine_type` `RabbitMQ`. - :param pulumi.Input[str] data: Broker configuration in XML format. See [official docs](https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/amazon-mq-broker-configuration-parameters.html) for supported parameters and format of the XML. + :param pulumi.Input[str] data: Broker configuration in XML format for `ActiveMQ` or [Cuttlefish](https://github.com/Kyorai/cuttlefish) format for `RabbitMQ`. See [official docs](https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/amazon-mq-broker-configuration-parameters.html) for supported parameters and format of the XML. :param pulumi.Input[str] description: Description of the configuration. :param pulumi.Input[str] engine_type: Type of broker engine. Valid values are `ActiveMQ` and `RabbitMQ`. :param pulumi.Input[str] engine_version: Version of the broker engine. @@ -212,7 +212,7 @@ def authentication_strategy(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def data(self) -> Optional[pulumi.Input[str]]: """ - Broker configuration in XML format. See [official docs](https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/amazon-mq-broker-configuration-parameters.html) for supported parameters and format of the XML. + Broker configuration in XML format for `ActiveMQ` or [Cuttlefish](https://github.com/Kyorai/cuttlefish) format for `RabbitMQ`. See [official docs](https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/amazon-mq-broker-configuration-parameters.html) for supported parameters and format of the XML. """ return pulumi.get(self, "data") @@ -329,6 +329,7 @@ def __init__(__self__, For more information on Amazon MQ, see [Amazon MQ documentation](https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/welcome.html). ## Example Usage + ### ActiveMQ ```python import pulumi @@ -349,6 +350,21 @@ def __init__(__self__, engine_type="ActiveMQ", engine_version="5.15.0") ``` + ### RabbitMQ + + ```python + import pulumi + import pulumi_aws as aws + + example = aws.mq.Configuration("example", + data=\"\"\"# Default RabbitMQ delivery acknowledgement timeout is 30 minutes in milliseconds + consumer_timeout = 1800000 + + \"\"\", + description="Example Configuration", + engine_type="RabbitMQ", + engine_version="3.11.16") + ``` ## Import @@ -361,7 +377,7 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] authentication_strategy: Authentication strategy associated with the configuration. Valid values are `simple` and `ldap`. `ldap` is not supported for `engine_type` `RabbitMQ`. - :param pulumi.Input[str] data: Broker configuration in XML format. See [official docs](https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/amazon-mq-broker-configuration-parameters.html) for supported parameters and format of the XML. + :param pulumi.Input[str] data: Broker configuration in XML format for `ActiveMQ` or [Cuttlefish](https://github.com/Kyorai/cuttlefish) format for `RabbitMQ`. See [official docs](https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/amazon-mq-broker-configuration-parameters.html) for supported parameters and format of the XML. :param pulumi.Input[str] description: Description of the configuration. :param pulumi.Input[str] engine_type: Type of broker engine. Valid values are `ActiveMQ` and `RabbitMQ`. :param pulumi.Input[str] engine_version: Version of the broker engine. @@ -382,6 +398,7 @@ def __init__(__self__, For more information on Amazon MQ, see [Amazon MQ documentation](https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/welcome.html). ## Example Usage + ### ActiveMQ ```python import pulumi @@ -402,6 +419,21 @@ def __init__(__self__, engine_type="ActiveMQ", engine_version="5.15.0") ``` + ### RabbitMQ + + ```python + import pulumi + import pulumi_aws as aws + + example = aws.mq.Configuration("example", + data=\"\"\"# Default RabbitMQ delivery acknowledgement timeout is 30 minutes in milliseconds + consumer_timeout = 1800000 + + \"\"\", + description="Example Configuration", + engine_type="RabbitMQ", + engine_version="3.11.16") + ``` ## Import @@ -489,7 +521,7 @@ def get(resource_name: str, :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] arn: ARN of the configuration. :param pulumi.Input[str] authentication_strategy: Authentication strategy associated with the configuration. Valid values are `simple` and `ldap`. `ldap` is not supported for `engine_type` `RabbitMQ`. - :param pulumi.Input[str] data: Broker configuration in XML format. See [official docs](https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/amazon-mq-broker-configuration-parameters.html) for supported parameters and format of the XML. + :param pulumi.Input[str] data: Broker configuration in XML format for `ActiveMQ` or [Cuttlefish](https://github.com/Kyorai/cuttlefish) format for `RabbitMQ`. See [official docs](https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/amazon-mq-broker-configuration-parameters.html) for supported parameters and format of the XML. :param pulumi.Input[str] description: Description of the configuration. :param pulumi.Input[str] engine_type: Type of broker engine. Valid values are `ActiveMQ` and `RabbitMQ`. :param pulumi.Input[str] engine_version: Version of the broker engine. @@ -536,7 +568,7 @@ def authentication_strategy(self) -> pulumi.Output[str]: @pulumi.getter def data(self) -> pulumi.Output[str]: """ - Broker configuration in XML format. See [official docs](https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/amazon-mq-broker-configuration-parameters.html) for supported parameters and format of the XML. + Broker configuration in XML format for `ActiveMQ` or [Cuttlefish](https://github.com/Kyorai/cuttlefish) format for `RabbitMQ`. See [official docs](https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/amazon-mq-broker-configuration-parameters.html) for supported parameters and format of the XML. """ return pulumi.get(self, "data") diff --git a/sdk/python/pulumi_aws/opensearch/__init__.py b/sdk/python/pulumi_aws/opensearch/__init__.py index 62b917f8e1b..358dcda42c9 100644 --- a/sdk/python/pulumi_aws/opensearch/__init__.py +++ b/sdk/python/pulumi_aws/opensearch/__init__.py @@ -16,6 +16,8 @@ from .get_serverless_vpc_endpoint import * from .inbound_connection_accepter import * from .outbound_connection import * +from .package import * +from .package_association import * from .serverless_access_policy import * from .serverless_collection import * from .serverless_security_config import * diff --git a/sdk/python/pulumi_aws/opensearch/_inputs.py b/sdk/python/pulumi_aws/opensearch/_inputs.py index 10ab79f2c74..0516f92c535 100644 --- a/sdk/python/pulumi_aws/opensearch/_inputs.py +++ b/sdk/python/pulumi_aws/opensearch/_inputs.py @@ -34,6 +34,7 @@ 'DomainVpcOptionsArgs', 'OutboundConnectionLocalDomainInfoArgs', 'OutboundConnectionRemoteDomainInfoArgs', + 'PackagePackageSourceArgs', 'ServerlessCollectionTimeoutsArgs', 'ServerlessSecurityConfigSamlOptionsArgs', 'ServerlessVpcEndpointTimeoutsArgs', @@ -1372,6 +1373,43 @@ def region(self, value: pulumi.Input[str]): pulumi.set(self, "region", value) +@pulumi.input_type +class PackagePackageSourceArgs: + def __init__(__self__, *, + s3_bucket_name: pulumi.Input[str], + s3_key: pulumi.Input[str]): + """ + :param pulumi.Input[str] s3_bucket_name: The name of the Amazon S3 bucket containing the package. + :param pulumi.Input[str] s3_key: Key (file name) of the package. + """ + pulumi.set(__self__, "s3_bucket_name", s3_bucket_name) + pulumi.set(__self__, "s3_key", s3_key) + + @property + @pulumi.getter(name="s3BucketName") + def s3_bucket_name(self) -> pulumi.Input[str]: + """ + The name of the Amazon S3 bucket containing the package. + """ + return pulumi.get(self, "s3_bucket_name") + + @s3_bucket_name.setter + def s3_bucket_name(self, value: pulumi.Input[str]): + pulumi.set(self, "s3_bucket_name", value) + + @property + @pulumi.getter(name="s3Key") + def s3_key(self) -> pulumi.Input[str]: + """ + Key (file name) of the package. + """ + return pulumi.get(self, "s3_key") + + @s3_key.setter + def s3_key(self, value: pulumi.Input[str]): + pulumi.set(self, "s3_key", value) + + @pulumi.input_type class ServerlessCollectionTimeoutsArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws/opensearch/outputs.py b/sdk/python/pulumi_aws/opensearch/outputs.py index 2b892aabb1b..900d25ff01d 100644 --- a/sdk/python/pulumi_aws/opensearch/outputs.py +++ b/sdk/python/pulumi_aws/opensearch/outputs.py @@ -35,6 +35,7 @@ 'DomainVpcOptions', 'OutboundConnectionLocalDomainInfo', 'OutboundConnectionRemoteDomainInfo', + 'PackagePackageSource', 'ServerlessCollectionTimeouts', 'ServerlessSecurityConfigSamlOptions', 'ServerlessVpcEndpointTimeouts', @@ -1502,6 +1503,54 @@ def region(self) -> str: return pulumi.get(self, "region") +@pulumi.output_type +class PackagePackageSource(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "s3BucketName": + suggest = "s3_bucket_name" + elif key == "s3Key": + suggest = "s3_key" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in PackagePackageSource. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + PackagePackageSource.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + PackagePackageSource.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + s3_bucket_name: str, + s3_key: str): + """ + :param str s3_bucket_name: The name of the Amazon S3 bucket containing the package. + :param str s3_key: Key (file name) of the package. + """ + pulumi.set(__self__, "s3_bucket_name", s3_bucket_name) + pulumi.set(__self__, "s3_key", s3_key) + + @property + @pulumi.getter(name="s3BucketName") + def s3_bucket_name(self) -> str: + """ + The name of the Amazon S3 bucket containing the package. + """ + return pulumi.get(self, "s3_bucket_name") + + @property + @pulumi.getter(name="s3Key") + def s3_key(self) -> str: + """ + Key (file name) of the package. + """ + return pulumi.get(self, "s3_key") + + @pulumi.output_type class ServerlessCollectionTimeouts(dict): def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws/opensearch/package.py b/sdk/python/pulumi_aws/opensearch/package.py new file mode 100644 index 00000000000..cd2036fc4ef --- /dev/null +++ b/sdk/python/pulumi_aws/opensearch/package.py @@ -0,0 +1,359 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from .. import _utilities +from . import outputs +from ._inputs import * + +__all__ = ['PackageArgs', 'Package'] + +@pulumi.input_type +class PackageArgs: + def __init__(__self__, *, + package_name: pulumi.Input[str], + package_source: pulumi.Input['PackagePackageSourceArgs'], + package_type: pulumi.Input[str], + package_description: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a Package resource. + :param pulumi.Input[str] package_name: Unique name for the package. + :param pulumi.Input['PackagePackageSourceArgs'] package_source: Configuration block for the package source options. + :param pulumi.Input[str] package_type: The type of package. + :param pulumi.Input[str] package_description: Description of the package. + """ + pulumi.set(__self__, "package_name", package_name) + pulumi.set(__self__, "package_source", package_source) + pulumi.set(__self__, "package_type", package_type) + if package_description is not None: + pulumi.set(__self__, "package_description", package_description) + + @property + @pulumi.getter(name="packageName") + def package_name(self) -> pulumi.Input[str]: + """ + Unique name for the package. + """ + return pulumi.get(self, "package_name") + + @package_name.setter + def package_name(self, value: pulumi.Input[str]): + pulumi.set(self, "package_name", value) + + @property + @pulumi.getter(name="packageSource") + def package_source(self) -> pulumi.Input['PackagePackageSourceArgs']: + """ + Configuration block for the package source options. + """ + return pulumi.get(self, "package_source") + + @package_source.setter + def package_source(self, value: pulumi.Input['PackagePackageSourceArgs']): + pulumi.set(self, "package_source", value) + + @property + @pulumi.getter(name="packageType") + def package_type(self) -> pulumi.Input[str]: + """ + The type of package. + """ + return pulumi.get(self, "package_type") + + @package_type.setter + def package_type(self, value: pulumi.Input[str]): + pulumi.set(self, "package_type", value) + + @property + @pulumi.getter(name="packageDescription") + def package_description(self) -> Optional[pulumi.Input[str]]: + """ + Description of the package. + """ + return pulumi.get(self, "package_description") + + @package_description.setter + def package_description(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "package_description", value) + + +@pulumi.input_type +class _PackageState: + def __init__(__self__, *, + available_package_version: Optional[pulumi.Input[str]] = None, + package_description: Optional[pulumi.Input[str]] = None, + package_id: Optional[pulumi.Input[str]] = None, + package_name: Optional[pulumi.Input[str]] = None, + package_source: Optional[pulumi.Input['PackagePackageSourceArgs']] = None, + package_type: Optional[pulumi.Input[str]] = None): + """ + Input properties used for looking up and filtering Package resources. + :param pulumi.Input[str] available_package_version: The current version of the package. + :param pulumi.Input[str] package_description: Description of the package. + :param pulumi.Input[str] package_name: Unique name for the package. + :param pulumi.Input['PackagePackageSourceArgs'] package_source: Configuration block for the package source options. + :param pulumi.Input[str] package_type: The type of package. + """ + if available_package_version is not None: + pulumi.set(__self__, "available_package_version", available_package_version) + if package_description is not None: + pulumi.set(__self__, "package_description", package_description) + if package_id is not None: + pulumi.set(__self__, "package_id", package_id) + if package_name is not None: + pulumi.set(__self__, "package_name", package_name) + if package_source is not None: + pulumi.set(__self__, "package_source", package_source) + if package_type is not None: + pulumi.set(__self__, "package_type", package_type) + + @property + @pulumi.getter(name="availablePackageVersion") + def available_package_version(self) -> Optional[pulumi.Input[str]]: + """ + The current version of the package. + """ + return pulumi.get(self, "available_package_version") + + @available_package_version.setter + def available_package_version(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "available_package_version", value) + + @property + @pulumi.getter(name="packageDescription") + def package_description(self) -> Optional[pulumi.Input[str]]: + """ + Description of the package. + """ + return pulumi.get(self, "package_description") + + @package_description.setter + def package_description(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "package_description", value) + + @property + @pulumi.getter(name="packageId") + def package_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "package_id") + + @package_id.setter + def package_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "package_id", value) + + @property + @pulumi.getter(name="packageName") + def package_name(self) -> Optional[pulumi.Input[str]]: + """ + Unique name for the package. + """ + return pulumi.get(self, "package_name") + + @package_name.setter + def package_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "package_name", value) + + @property + @pulumi.getter(name="packageSource") + def package_source(self) -> Optional[pulumi.Input['PackagePackageSourceArgs']]: + """ + Configuration block for the package source options. + """ + return pulumi.get(self, "package_source") + + @package_source.setter + def package_source(self, value: Optional[pulumi.Input['PackagePackageSourceArgs']]): + pulumi.set(self, "package_source", value) + + @property + @pulumi.getter(name="packageType") + def package_type(self) -> Optional[pulumi.Input[str]]: + """ + The type of package. + """ + return pulumi.get(self, "package_type") + + @package_type.setter + def package_type(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "package_type", value) + + +class Package(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + package_description: Optional[pulumi.Input[str]] = None, + package_name: Optional[pulumi.Input[str]] = None, + package_source: Optional[pulumi.Input[pulumi.InputType['PackagePackageSourceArgs']]] = None, + package_type: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Manages an AWS Opensearch Package. + + ## Example Usage + + ## Import + + terraform import { + + to = aws_opensearch_package.example + + id = "package-id" } Using `pulumi import`, import AWS Opensearch Packages using the Package ID. For exampleconsole % pulumi import aws:opensearch/package:Package example package-id + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] package_description: Description of the package. + :param pulumi.Input[str] package_name: Unique name for the package. + :param pulumi.Input[pulumi.InputType['PackagePackageSourceArgs']] package_source: Configuration block for the package source options. + :param pulumi.Input[str] package_type: The type of package. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: PackageArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Manages an AWS Opensearch Package. + + ## Example Usage + + ## Import + + terraform import { + + to = aws_opensearch_package.example + + id = "package-id" } Using `pulumi import`, import AWS Opensearch Packages using the Package ID. For exampleconsole % pulumi import aws:opensearch/package:Package example package-id + + :param str resource_name: The name of the resource. + :param PackageArgs args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(PackageArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + package_description: Optional[pulumi.Input[str]] = None, + package_name: Optional[pulumi.Input[str]] = None, + package_source: Optional[pulumi.Input[pulumi.InputType['PackagePackageSourceArgs']]] = None, + package_type: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = PackageArgs.__new__(PackageArgs) + + __props__.__dict__["package_description"] = package_description + if package_name is None and not opts.urn: + raise TypeError("Missing required property 'package_name'") + __props__.__dict__["package_name"] = package_name + if package_source is None and not opts.urn: + raise TypeError("Missing required property 'package_source'") + __props__.__dict__["package_source"] = package_source + if package_type is None and not opts.urn: + raise TypeError("Missing required property 'package_type'") + __props__.__dict__["package_type"] = package_type + __props__.__dict__["available_package_version"] = None + __props__.__dict__["package_id"] = None + super(Package, __self__).__init__( + 'aws:opensearch/package:Package', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None, + available_package_version: Optional[pulumi.Input[str]] = None, + package_description: Optional[pulumi.Input[str]] = None, + package_id: Optional[pulumi.Input[str]] = None, + package_name: Optional[pulumi.Input[str]] = None, + package_source: Optional[pulumi.Input[pulumi.InputType['PackagePackageSourceArgs']]] = None, + package_type: Optional[pulumi.Input[str]] = None) -> 'Package': + """ + Get an existing Package resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] available_package_version: The current version of the package. + :param pulumi.Input[str] package_description: Description of the package. + :param pulumi.Input[str] package_name: Unique name for the package. + :param pulumi.Input[pulumi.InputType['PackagePackageSourceArgs']] package_source: Configuration block for the package source options. + :param pulumi.Input[str] package_type: The type of package. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = _PackageState.__new__(_PackageState) + + __props__.__dict__["available_package_version"] = available_package_version + __props__.__dict__["package_description"] = package_description + __props__.__dict__["package_id"] = package_id + __props__.__dict__["package_name"] = package_name + __props__.__dict__["package_source"] = package_source + __props__.__dict__["package_type"] = package_type + return Package(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="availablePackageVersion") + def available_package_version(self) -> pulumi.Output[str]: + """ + The current version of the package. + """ + return pulumi.get(self, "available_package_version") + + @property + @pulumi.getter(name="packageDescription") + def package_description(self) -> pulumi.Output[Optional[str]]: + """ + Description of the package. + """ + return pulumi.get(self, "package_description") + + @property + @pulumi.getter(name="packageId") + def package_id(self) -> pulumi.Output[str]: + return pulumi.get(self, "package_id") + + @property + @pulumi.getter(name="packageName") + def package_name(self) -> pulumi.Output[str]: + """ + Unique name for the package. + """ + return pulumi.get(self, "package_name") + + @property + @pulumi.getter(name="packageSource") + def package_source(self) -> pulumi.Output['outputs.PackagePackageSource']: + """ + Configuration block for the package source options. + """ + return pulumi.get(self, "package_source") + + @property + @pulumi.getter(name="packageType") + def package_type(self) -> pulumi.Output[str]: + """ + The type of package. + """ + return pulumi.get(self, "package_type") + diff --git a/sdk/python/pulumi_aws/opensearch/package_association.py b/sdk/python/pulumi_aws/opensearch/package_association.py new file mode 100644 index 00000000000..41829bd897b --- /dev/null +++ b/sdk/python/pulumi_aws/opensearch/package_association.py @@ -0,0 +1,262 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from .. import _utilities + +__all__ = ['PackageAssociationArgs', 'PackageAssociation'] + +@pulumi.input_type +class PackageAssociationArgs: + def __init__(__self__, *, + domain_name: pulumi.Input[str], + package_id: pulumi.Input[str]): + """ + The set of arguments for constructing a PackageAssociation resource. + :param pulumi.Input[str] domain_name: Name of the domain to associate the package with. + :param pulumi.Input[str] package_id: Internal ID of the package to associate with a domain. + """ + pulumi.set(__self__, "domain_name", domain_name) + pulumi.set(__self__, "package_id", package_id) + + @property + @pulumi.getter(name="domainName") + def domain_name(self) -> pulumi.Input[str]: + """ + Name of the domain to associate the package with. + """ + return pulumi.get(self, "domain_name") + + @domain_name.setter + def domain_name(self, value: pulumi.Input[str]): + pulumi.set(self, "domain_name", value) + + @property + @pulumi.getter(name="packageId") + def package_id(self) -> pulumi.Input[str]: + """ + Internal ID of the package to associate with a domain. + """ + return pulumi.get(self, "package_id") + + @package_id.setter + def package_id(self, value: pulumi.Input[str]): + pulumi.set(self, "package_id", value) + + +@pulumi.input_type +class _PackageAssociationState: + def __init__(__self__, *, + domain_name: Optional[pulumi.Input[str]] = None, + package_id: Optional[pulumi.Input[str]] = None, + reference_path: Optional[pulumi.Input[str]] = None): + """ + Input properties used for looking up and filtering PackageAssociation resources. + :param pulumi.Input[str] domain_name: Name of the domain to associate the package with. + :param pulumi.Input[str] package_id: Internal ID of the package to associate with a domain. + """ + if domain_name is not None: + pulumi.set(__self__, "domain_name", domain_name) + if package_id is not None: + pulumi.set(__self__, "package_id", package_id) + if reference_path is not None: + pulumi.set(__self__, "reference_path", reference_path) + + @property + @pulumi.getter(name="domainName") + def domain_name(self) -> Optional[pulumi.Input[str]]: + """ + Name of the domain to associate the package with. + """ + return pulumi.get(self, "domain_name") + + @domain_name.setter + def domain_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "domain_name", value) + + @property + @pulumi.getter(name="packageId") + def package_id(self) -> Optional[pulumi.Input[str]]: + """ + Internal ID of the package to associate with a domain. + """ + return pulumi.get(self, "package_id") + + @package_id.setter + def package_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "package_id", value) + + @property + @pulumi.getter(name="referencePath") + def reference_path(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "reference_path") + + @reference_path.setter + def reference_path(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "reference_path", value) + + +class PackageAssociation(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + domain_name: Optional[pulumi.Input[str]] = None, + package_id: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Manages an AWS Opensearch Package Association. + + ## Example Usage + ### Basic Usage + + ```python + import pulumi + import pulumi_aws as aws + + my_domain = aws.opensearch.Domain("myDomain", + engine_version="Elasticsearch_7.10", + cluster_config=aws.opensearch.DomainClusterConfigArgs( + instance_type="r4.large.search", + )) + example_package = aws.opensearch.Package("examplePackage", + package_name="example-txt", + package_source=aws.opensearch.PackagePackageSourceArgs( + s3_bucket_name=aws_s3_bucket["my_opensearch_packages"]["bucket"], + s3_key=aws_s3_object["example"]["key"], + ), + package_type="TXT-DICTIONARY") + example_package_association = aws.opensearch.PackageAssociation("examplePackageAssociation", + package_id=example_package.id, + domain_name=my_domain.domain_name) + ``` + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] domain_name: Name of the domain to associate the package with. + :param pulumi.Input[str] package_id: Internal ID of the package to associate with a domain. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: PackageAssociationArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Manages an AWS Opensearch Package Association. + + ## Example Usage + ### Basic Usage + + ```python + import pulumi + import pulumi_aws as aws + + my_domain = aws.opensearch.Domain("myDomain", + engine_version="Elasticsearch_7.10", + cluster_config=aws.opensearch.DomainClusterConfigArgs( + instance_type="r4.large.search", + )) + example_package = aws.opensearch.Package("examplePackage", + package_name="example-txt", + package_source=aws.opensearch.PackagePackageSourceArgs( + s3_bucket_name=aws_s3_bucket["my_opensearch_packages"]["bucket"], + s3_key=aws_s3_object["example"]["key"], + ), + package_type="TXT-DICTIONARY") + example_package_association = aws.opensearch.PackageAssociation("examplePackageAssociation", + package_id=example_package.id, + domain_name=my_domain.domain_name) + ``` + + :param str resource_name: The name of the resource. + :param PackageAssociationArgs args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(PackageAssociationArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + domain_name: Optional[pulumi.Input[str]] = None, + package_id: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = PackageAssociationArgs.__new__(PackageAssociationArgs) + + if domain_name is None and not opts.urn: + raise TypeError("Missing required property 'domain_name'") + __props__.__dict__["domain_name"] = domain_name + if package_id is None and not opts.urn: + raise TypeError("Missing required property 'package_id'") + __props__.__dict__["package_id"] = package_id + __props__.__dict__["reference_path"] = None + super(PackageAssociation, __self__).__init__( + 'aws:opensearch/packageAssociation:PackageAssociation', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None, + domain_name: Optional[pulumi.Input[str]] = None, + package_id: Optional[pulumi.Input[str]] = None, + reference_path: Optional[pulumi.Input[str]] = None) -> 'PackageAssociation': + """ + Get an existing PackageAssociation resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] domain_name: Name of the domain to associate the package with. + :param pulumi.Input[str] package_id: Internal ID of the package to associate with a domain. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = _PackageAssociationState.__new__(_PackageAssociationState) + + __props__.__dict__["domain_name"] = domain_name + __props__.__dict__["package_id"] = package_id + __props__.__dict__["reference_path"] = reference_path + return PackageAssociation(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="domainName") + def domain_name(self) -> pulumi.Output[str]: + """ + Name of the domain to associate the package with. + """ + return pulumi.get(self, "domain_name") + + @property + @pulumi.getter(name="packageId") + def package_id(self) -> pulumi.Output[str]: + """ + Internal ID of the package to associate with a domain. + """ + return pulumi.get(self, "package_id") + + @property + @pulumi.getter(name="referencePath") + def reference_path(self) -> pulumi.Output[str]: + return pulumi.get(self, "reference_path") + diff --git a/sdk/python/pulumi_aws/organizations/__init__.py b/sdk/python/pulumi_aws/organizations/__init__.py index 846e3668fa6..a1033fec0da 100644 --- a/sdk/python/pulumi_aws/organizations/__init__.py +++ b/sdk/python/pulumi_aws/organizations/__init__.py @@ -10,6 +10,7 @@ from .get_delegated_administrators import * from .get_delegated_services import * from .get_organization import * +from .get_organizational_unit import * from .get_organizational_unit_child_accounts import * from .get_organizational_unit_descendant_accounts import * from .get_organizational_units import * diff --git a/sdk/python/pulumi_aws/organizations/get_organizational_unit.py b/sdk/python/pulumi_aws/organizations/get_organizational_unit.py new file mode 100644 index 00000000000..90240f2aebf --- /dev/null +++ b/sdk/python/pulumi_aws/organizations/get_organizational_unit.py @@ -0,0 +1,135 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from .. import _utilities + +__all__ = [ + 'GetOrganizationalUnitResult', + 'AwaitableGetOrganizationalUnitResult', + 'get_organizational_unit', + 'get_organizational_unit_output', +] + +@pulumi.output_type +class GetOrganizationalUnitResult: + """ + A collection of values returned by getOrganizationalUnit. + """ + def __init__(__self__, arn=None, id=None, name=None, parent_id=None): + if arn and not isinstance(arn, str): + raise TypeError("Expected argument 'arn' to be a str") + pulumi.set(__self__, "arn", arn) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if parent_id and not isinstance(parent_id, str): + raise TypeError("Expected argument 'parent_id' to be a str") + pulumi.set(__self__, "parent_id", parent_id) + + @property + @pulumi.getter + def arn(self) -> str: + """ + ARN of the organizational unit + """ + return pulumi.get(self, "arn") + + @property + @pulumi.getter + def id(self) -> str: + """ + The provider-assigned unique ID for this managed resource. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def name(self) -> str: + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="parentId") + def parent_id(self) -> str: + return pulumi.get(self, "parent_id") + + +class AwaitableGetOrganizationalUnitResult(GetOrganizationalUnitResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetOrganizationalUnitResult( + arn=self.arn, + id=self.id, + name=self.name, + parent_id=self.parent_id) + + +def get_organizational_unit(name: Optional[str] = None, + parent_id: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetOrganizationalUnitResult: + """ + Data source for getting an AWS Organizations Organizational Unit. + + ## Example Usage + ### Basic Usage + + ```python + import pulumi + import pulumi_aws as aws + + org = aws.organizations.get_organization() + ou = aws.organizations.get_organizational_unit(parent_id=org.roots[0].id, + name="dev") + ``` + + + :param str name: Name of the organizational unit + :param str parent_id: Parent ID of the organizational unit. + """ + __args__ = dict() + __args__['name'] = name + __args__['parentId'] = parent_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('aws:organizations/getOrganizationalUnit:getOrganizationalUnit', __args__, opts=opts, typ=GetOrganizationalUnitResult).value + + return AwaitableGetOrganizationalUnitResult( + arn=pulumi.get(__ret__, 'arn'), + id=pulumi.get(__ret__, 'id'), + name=pulumi.get(__ret__, 'name'), + parent_id=pulumi.get(__ret__, 'parent_id')) + + +@_utilities.lift_output_func(get_organizational_unit) +def get_organizational_unit_output(name: Optional[pulumi.Input[str]] = None, + parent_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetOrganizationalUnitResult]: + """ + Data source for getting an AWS Organizations Organizational Unit. + + ## Example Usage + ### Basic Usage + + ```python + import pulumi + import pulumi_aws as aws + + org = aws.organizations.get_organization() + ou = aws.organizations.get_organizational_unit(parent_id=org.roots[0].id, + name="dev") + ``` + + + :param str name: Name of the organizational unit + :param str parent_id: Parent ID of the organizational unit. + """ + ... diff --git a/sdk/python/pulumi_aws/rds/_inputs.py b/sdk/python/pulumi_aws/rds/_inputs.py index aa7bea4b7c1..51dd6053935 100644 --- a/sdk/python/pulumi_aws/rds/_inputs.py +++ b/sdk/python/pulumi_aws/rds/_inputs.py @@ -833,12 +833,12 @@ def __init__(__self__, *, version: Optional[pulumi.Input[str]] = None, vpc_security_group_memberships: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): """ - :param pulumi.Input[str] option_name: The Name of the Option (e.g., MEMCACHED). - :param pulumi.Input[Sequence[pulumi.Input[str]]] db_security_group_memberships: A list of DB Security Groups for which the option is enabled. - :param pulumi.Input[Sequence[pulumi.Input['OptionGroupOptionOptionSettingArgs']]] option_settings: A list of option settings to apply. - :param pulumi.Input[int] port: The Port number when connecting to the Option (e.g., 11211). - :param pulumi.Input[str] version: The version of the option (e.g., 13.1.0.0). - :param pulumi.Input[Sequence[pulumi.Input[str]]] vpc_security_group_memberships: A list of VPC Security Groups for which the option is enabled. + :param pulumi.Input[str] option_name: Name of the option (e.g., MEMCACHED). + :param pulumi.Input[Sequence[pulumi.Input[str]]] db_security_group_memberships: List of DB Security Groups for which the option is enabled. + :param pulumi.Input[Sequence[pulumi.Input['OptionGroupOptionOptionSettingArgs']]] option_settings: List of option settings to apply. + :param pulumi.Input[int] port: Port number when connecting to the option (e.g., 11211). Leaving out or removing `port` from your configuration does not remove or clear a port from the option in AWS. AWS may assign a default port. Not including `port` in your configuration means that the AWS provider will ignore a previously set value, a value set by AWS, and any port changes. + :param pulumi.Input[str] version: Version of the option (e.g., 13.1.0.0). Leaving out or removing `version` from your configuration does not remove or clear a version from the option in AWS. AWS may assign a default version. Not including `version` in your configuration means that the AWS provider will ignore a previously set value, a value set by AWS, and any version changes. + :param pulumi.Input[Sequence[pulumi.Input[str]]] vpc_security_group_memberships: List of VPC Security Groups for which the option is enabled. """ pulumi.set(__self__, "option_name", option_name) if db_security_group_memberships is not None: @@ -856,7 +856,7 @@ def __init__(__self__, *, @pulumi.getter(name="optionName") def option_name(self) -> pulumi.Input[str]: """ - The Name of the Option (e.g., MEMCACHED). + Name of the option (e.g., MEMCACHED). """ return pulumi.get(self, "option_name") @@ -868,7 +868,7 @@ def option_name(self, value: pulumi.Input[str]): @pulumi.getter(name="dbSecurityGroupMemberships") def db_security_group_memberships(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ - A list of DB Security Groups for which the option is enabled. + List of DB Security Groups for which the option is enabled. """ return pulumi.get(self, "db_security_group_memberships") @@ -880,7 +880,7 @@ def db_security_group_memberships(self, value: Optional[pulumi.Input[Sequence[pu @pulumi.getter(name="optionSettings") def option_settings(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['OptionGroupOptionOptionSettingArgs']]]]: """ - A list of option settings to apply. + List of option settings to apply. """ return pulumi.get(self, "option_settings") @@ -892,7 +892,7 @@ def option_settings(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['Op @pulumi.getter def port(self) -> Optional[pulumi.Input[int]]: """ - The Port number when connecting to the Option (e.g., 11211). + Port number when connecting to the option (e.g., 11211). Leaving out or removing `port` from your configuration does not remove or clear a port from the option in AWS. AWS may assign a default port. Not including `port` in your configuration means that the AWS provider will ignore a previously set value, a value set by AWS, and any port changes. """ return pulumi.get(self, "port") @@ -904,7 +904,7 @@ def port(self, value: Optional[pulumi.Input[int]]): @pulumi.getter def version(self) -> Optional[pulumi.Input[str]]: """ - The version of the option (e.g., 13.1.0.0). + Version of the option (e.g., 13.1.0.0). Leaving out or removing `version` from your configuration does not remove or clear a version from the option in AWS. AWS may assign a default version. Not including `version` in your configuration means that the AWS provider will ignore a previously set value, a value set by AWS, and any version changes. """ return pulumi.get(self, "version") @@ -916,7 +916,7 @@ def version(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="vpcSecurityGroupMemberships") def vpc_security_group_memberships(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ - A list of VPC Security Groups for which the option is enabled. + List of VPC Security Groups for which the option is enabled. """ return pulumi.get(self, "vpc_security_group_memberships") @@ -931,8 +931,8 @@ def __init__(__self__, *, name: pulumi.Input[str], value: pulumi.Input[str]): """ - :param pulumi.Input[str] name: The Name of the setting. - :param pulumi.Input[str] value: The Value of the setting. + :param pulumi.Input[str] name: Name of the setting. + :param pulumi.Input[str] value: Value of the setting. """ pulumi.set(__self__, "name", name) pulumi.set(__self__, "value", value) @@ -941,7 +941,7 @@ def __init__(__self__, *, @pulumi.getter def name(self) -> pulumi.Input[str]: """ - The Name of the setting. + Name of the setting. """ return pulumi.get(self, "name") @@ -953,7 +953,7 @@ def name(self, value: pulumi.Input[str]): @pulumi.getter def value(self) -> pulumi.Input[str]: """ - The Value of the setting. + Value of the setting. """ return pulumi.get(self, "value") diff --git a/sdk/python/pulumi_aws/rds/option_group.py b/sdk/python/pulumi_aws/rds/option_group.py index 20361ecab90..e8de2836b53 100644 --- a/sdk/python/pulumi_aws/rds/option_group.py +++ b/sdk/python/pulumi_aws/rds/option_group.py @@ -27,11 +27,11 @@ def __init__(__self__, *, The set of arguments for constructing a OptionGroup resource. :param pulumi.Input[str] engine_name: Specifies the name of the engine that this option group should be associated with. :param pulumi.Input[str] major_engine_version: Specifies the major version of the engine that this option group should be associated with. - :param pulumi.Input[str] name: The Name of the setting. + :param pulumi.Input[str] name: Name of the option group. If omitted, the provider will assign a random, unique name. Must be lowercase, to match as it is stored in AWS. :param pulumi.Input[str] name_prefix: Creates a unique name beginning with the specified prefix. Conflicts with `name`. Must be lowercase, to match as it is stored in AWS. - :param pulumi.Input[str] option_group_description: The description of the option group. Defaults to "Managed by Pulumi". - :param pulumi.Input[Sequence[pulumi.Input['OptionGroupOptionArgs']]] options: A list of Options to apply. - :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A map of tags to assign to the resource. .If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. + :param pulumi.Input[str] option_group_description: Description of the option group. + :param pulumi.Input[Sequence[pulumi.Input['OptionGroupOptionArgs']]] options: List of options to apply. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Map of tags to assign to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. """ pulumi.set(__self__, "engine_name", engine_name) pulumi.set(__self__, "major_engine_version", major_engine_version) @@ -76,7 +76,7 @@ def major_engine_version(self, value: pulumi.Input[str]): @pulumi.getter def name(self) -> Optional[pulumi.Input[str]]: """ - The Name of the setting. + Name of the option group. If omitted, the provider will assign a random, unique name. Must be lowercase, to match as it is stored in AWS. """ return pulumi.get(self, "name") @@ -100,7 +100,7 @@ def name_prefix(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="optionGroupDescription") def option_group_description(self) -> Optional[pulumi.Input[str]]: """ - The description of the option group. Defaults to "Managed by Pulumi". + Description of the option group. """ return pulumi.get(self, "option_group_description") @@ -112,7 +112,7 @@ def option_group_description(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def options(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['OptionGroupOptionArgs']]]]: """ - A list of Options to apply. + List of options to apply. """ return pulumi.get(self, "options") @@ -124,7 +124,7 @@ def options(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['OptionGrou @pulumi.getter def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: """ - A map of tags to assign to the resource. .If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. + Map of tags to assign to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. """ return pulumi.get(self, "tags") @@ -147,15 +147,15 @@ def __init__(__self__, *, tags_all: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None): """ Input properties used for looking up and filtering OptionGroup resources. - :param pulumi.Input[str] arn: The ARN of the db option group. + :param pulumi.Input[str] arn: ARN of the DB option group. :param pulumi.Input[str] engine_name: Specifies the name of the engine that this option group should be associated with. :param pulumi.Input[str] major_engine_version: Specifies the major version of the engine that this option group should be associated with. - :param pulumi.Input[str] name: The Name of the setting. + :param pulumi.Input[str] name: Name of the option group. If omitted, the provider will assign a random, unique name. Must be lowercase, to match as it is stored in AWS. :param pulumi.Input[str] name_prefix: Creates a unique name beginning with the specified prefix. Conflicts with `name`. Must be lowercase, to match as it is stored in AWS. - :param pulumi.Input[str] option_group_description: The description of the option group. Defaults to "Managed by Pulumi". - :param pulumi.Input[Sequence[pulumi.Input['OptionGroupOptionArgs']]] options: A list of Options to apply. - :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A map of tags to assign to the resource. .If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. - :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags_all: A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block. + :param pulumi.Input[str] option_group_description: Description of the option group. + :param pulumi.Input[Sequence[pulumi.Input['OptionGroupOptionArgs']]] options: List of options to apply. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Map of tags to assign to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags_all: Map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block. """ if arn is not None: pulumi.set(__self__, "arn", arn) @@ -185,7 +185,7 @@ def __init__(__self__, *, @pulumi.getter def arn(self) -> Optional[pulumi.Input[str]]: """ - The ARN of the db option group. + ARN of the DB option group. """ return pulumi.get(self, "arn") @@ -221,7 +221,7 @@ def major_engine_version(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def name(self) -> Optional[pulumi.Input[str]]: """ - The Name of the setting. + Name of the option group. If omitted, the provider will assign a random, unique name. Must be lowercase, to match as it is stored in AWS. """ return pulumi.get(self, "name") @@ -245,7 +245,7 @@ def name_prefix(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="optionGroupDescription") def option_group_description(self) -> Optional[pulumi.Input[str]]: """ - The description of the option group. Defaults to "Managed by Pulumi". + Description of the option group. """ return pulumi.get(self, "option_group_description") @@ -257,7 +257,7 @@ def option_group_description(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def options(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['OptionGroupOptionArgs']]]]: """ - A list of Options to apply. + List of options to apply. """ return pulumi.get(self, "options") @@ -269,7 +269,7 @@ def options(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['OptionGrou @pulumi.getter def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: """ - A map of tags to assign to the resource. .If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. + Map of tags to assign to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. """ return pulumi.get(self, "tags") @@ -281,7 +281,7 @@ def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): @pulumi.getter(name="tagsAll") def tags_all(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: """ - A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block. + Map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block. """ warnings.warn("""Please use `tags` instead.""", DeprecationWarning) pulumi.log.warn("""tags_all is deprecated: Please use `tags` instead.""") @@ -357,7 +357,7 @@ def __init__(__self__, ## Import - Using `pulumi import`, import DB Option groups using the `name`. For example: + Using `pulumi import`, import DB option groups using the `name`. For example: ```sh $ pulumi import aws:rds/optionGroup:OptionGroup example mysql-option-group @@ -367,11 +367,11 @@ def __init__(__self__, :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] engine_name: Specifies the name of the engine that this option group should be associated with. :param pulumi.Input[str] major_engine_version: Specifies the major version of the engine that this option group should be associated with. - :param pulumi.Input[str] name: The Name of the setting. + :param pulumi.Input[str] name: Name of the option group. If omitted, the provider will assign a random, unique name. Must be lowercase, to match as it is stored in AWS. :param pulumi.Input[str] name_prefix: Creates a unique name beginning with the specified prefix. Conflicts with `name`. Must be lowercase, to match as it is stored in AWS. - :param pulumi.Input[str] option_group_description: The description of the option group. Defaults to "Managed by Pulumi". - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['OptionGroupOptionArgs']]]] options: A list of Options to apply. - :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A map of tags to assign to the resource. .If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. + :param pulumi.Input[str] option_group_description: Description of the option group. + :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['OptionGroupOptionArgs']]]] options: List of options to apply. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Map of tags to assign to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. """ ... @overload @@ -430,7 +430,7 @@ def __init__(__self__, ## Import - Using `pulumi import`, import DB Option groups using the `name`. For example: + Using `pulumi import`, import DB option groups using the `name`. For example: ```sh $ pulumi import aws:rds/optionGroup:OptionGroup example mysql-option-group @@ -510,15 +510,15 @@ def get(resource_name: str, :param str resource_name: The unique name of the resulting resource. :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[str] arn: The ARN of the db option group. + :param pulumi.Input[str] arn: ARN of the DB option group. :param pulumi.Input[str] engine_name: Specifies the name of the engine that this option group should be associated with. :param pulumi.Input[str] major_engine_version: Specifies the major version of the engine that this option group should be associated with. - :param pulumi.Input[str] name: The Name of the setting. + :param pulumi.Input[str] name: Name of the option group. If omitted, the provider will assign a random, unique name. Must be lowercase, to match as it is stored in AWS. :param pulumi.Input[str] name_prefix: Creates a unique name beginning with the specified prefix. Conflicts with `name`. Must be lowercase, to match as it is stored in AWS. - :param pulumi.Input[str] option_group_description: The description of the option group. Defaults to "Managed by Pulumi". - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['OptionGroupOptionArgs']]]] options: A list of Options to apply. - :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A map of tags to assign to the resource. .If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. - :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags_all: A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block. + :param pulumi.Input[str] option_group_description: Description of the option group. + :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['OptionGroupOptionArgs']]]] options: List of options to apply. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Map of tags to assign to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags_all: Map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block. """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -539,7 +539,7 @@ def get(resource_name: str, @pulumi.getter def arn(self) -> pulumi.Output[str]: """ - The ARN of the db option group. + ARN of the DB option group. """ return pulumi.get(self, "arn") @@ -563,7 +563,7 @@ def major_engine_version(self) -> pulumi.Output[str]: @pulumi.getter def name(self) -> pulumi.Output[str]: """ - The Name of the setting. + Name of the option group. If omitted, the provider will assign a random, unique name. Must be lowercase, to match as it is stored in AWS. """ return pulumi.get(self, "name") @@ -579,7 +579,7 @@ def name_prefix(self) -> pulumi.Output[str]: @pulumi.getter(name="optionGroupDescription") def option_group_description(self) -> pulumi.Output[str]: """ - The description of the option group. Defaults to "Managed by Pulumi". + Description of the option group. """ return pulumi.get(self, "option_group_description") @@ -587,7 +587,7 @@ def option_group_description(self) -> pulumi.Output[str]: @pulumi.getter def options(self) -> pulumi.Output[Optional[Sequence['outputs.OptionGroupOption']]]: """ - A list of Options to apply. + List of options to apply. """ return pulumi.get(self, "options") @@ -595,7 +595,7 @@ def options(self) -> pulumi.Output[Optional[Sequence['outputs.OptionGroupOption' @pulumi.getter def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: """ - A map of tags to assign to the resource. .If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. + Map of tags to assign to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. """ return pulumi.get(self, "tags") @@ -603,7 +603,7 @@ def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: @pulumi.getter(name="tagsAll") def tags_all(self) -> pulumi.Output[Mapping[str, str]]: """ - A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block. + Map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block. """ warnings.warn("""Please use `tags` instead.""", DeprecationWarning) pulumi.log.warn("""tags_all is deprecated: Please use `tags` instead.""") diff --git a/sdk/python/pulumi_aws/rds/outputs.py b/sdk/python/pulumi_aws/rds/outputs.py index 922e9c41c49..aa2466ce78c 100644 --- a/sdk/python/pulumi_aws/rds/outputs.py +++ b/sdk/python/pulumi_aws/rds/outputs.py @@ -925,12 +925,12 @@ def __init__(__self__, *, version: Optional[str] = None, vpc_security_group_memberships: Optional[Sequence[str]] = None): """ - :param str option_name: The Name of the Option (e.g., MEMCACHED). - :param Sequence[str] db_security_group_memberships: A list of DB Security Groups for which the option is enabled. - :param Sequence['OptionGroupOptionOptionSettingArgs'] option_settings: A list of option settings to apply. - :param int port: The Port number when connecting to the Option (e.g., 11211). - :param str version: The version of the option (e.g., 13.1.0.0). - :param Sequence[str] vpc_security_group_memberships: A list of VPC Security Groups for which the option is enabled. + :param str option_name: Name of the option (e.g., MEMCACHED). + :param Sequence[str] db_security_group_memberships: List of DB Security Groups for which the option is enabled. + :param Sequence['OptionGroupOptionOptionSettingArgs'] option_settings: List of option settings to apply. + :param int port: Port number when connecting to the option (e.g., 11211). Leaving out or removing `port` from your configuration does not remove or clear a port from the option in AWS. AWS may assign a default port. Not including `port` in your configuration means that the AWS provider will ignore a previously set value, a value set by AWS, and any port changes. + :param str version: Version of the option (e.g., 13.1.0.0). Leaving out or removing `version` from your configuration does not remove or clear a version from the option in AWS. AWS may assign a default version. Not including `version` in your configuration means that the AWS provider will ignore a previously set value, a value set by AWS, and any version changes. + :param Sequence[str] vpc_security_group_memberships: List of VPC Security Groups for which the option is enabled. """ pulumi.set(__self__, "option_name", option_name) if db_security_group_memberships is not None: @@ -948,7 +948,7 @@ def __init__(__self__, *, @pulumi.getter(name="optionName") def option_name(self) -> str: """ - The Name of the Option (e.g., MEMCACHED). + Name of the option (e.g., MEMCACHED). """ return pulumi.get(self, "option_name") @@ -956,7 +956,7 @@ def option_name(self) -> str: @pulumi.getter(name="dbSecurityGroupMemberships") def db_security_group_memberships(self) -> Optional[Sequence[str]]: """ - A list of DB Security Groups for which the option is enabled. + List of DB Security Groups for which the option is enabled. """ return pulumi.get(self, "db_security_group_memberships") @@ -964,7 +964,7 @@ def db_security_group_memberships(self) -> Optional[Sequence[str]]: @pulumi.getter(name="optionSettings") def option_settings(self) -> Optional[Sequence['outputs.OptionGroupOptionOptionSetting']]: """ - A list of option settings to apply. + List of option settings to apply. """ return pulumi.get(self, "option_settings") @@ -972,7 +972,7 @@ def option_settings(self) -> Optional[Sequence['outputs.OptionGroupOptionOptionS @pulumi.getter def port(self) -> Optional[int]: """ - The Port number when connecting to the Option (e.g., 11211). + Port number when connecting to the option (e.g., 11211). Leaving out or removing `port` from your configuration does not remove or clear a port from the option in AWS. AWS may assign a default port. Not including `port` in your configuration means that the AWS provider will ignore a previously set value, a value set by AWS, and any port changes. """ return pulumi.get(self, "port") @@ -980,7 +980,7 @@ def port(self) -> Optional[int]: @pulumi.getter def version(self) -> Optional[str]: """ - The version of the option (e.g., 13.1.0.0). + Version of the option (e.g., 13.1.0.0). Leaving out or removing `version` from your configuration does not remove or clear a version from the option in AWS. AWS may assign a default version. Not including `version` in your configuration means that the AWS provider will ignore a previously set value, a value set by AWS, and any version changes. """ return pulumi.get(self, "version") @@ -988,7 +988,7 @@ def version(self) -> Optional[str]: @pulumi.getter(name="vpcSecurityGroupMemberships") def vpc_security_group_memberships(self) -> Optional[Sequence[str]]: """ - A list of VPC Security Groups for which the option is enabled. + List of VPC Security Groups for which the option is enabled. """ return pulumi.get(self, "vpc_security_group_memberships") @@ -999,8 +999,8 @@ def __init__(__self__, *, name: str, value: str): """ - :param str name: The Name of the setting. - :param str value: The Value of the setting. + :param str name: Name of the setting. + :param str value: Value of the setting. """ pulumi.set(__self__, "name", name) pulumi.set(__self__, "value", value) @@ -1009,7 +1009,7 @@ def __init__(__self__, *, @pulumi.getter def name(self) -> str: """ - The Name of the setting. + Name of the setting. """ return pulumi.get(self, "name") @@ -1017,7 +1017,7 @@ def name(self) -> str: @pulumi.getter def value(self) -> str: """ - The Value of the setting. + Value of the setting. """ return pulumi.get(self, "value") diff --git a/sdk/python/pulumi_aws/s3/bucket_objectv2.py b/sdk/python/pulumi_aws/s3/bucket_objectv2.py index 24baae2a8b8..f56f2b27a74 100644 --- a/sdk/python/pulumi_aws/s3/bucket_objectv2.py +++ b/sdk/python/pulumi_aws/s3/bucket_objectv2.py @@ -18,6 +18,7 @@ def __init__(__self__, *, acl: Optional[pulumi.Input[str]] = None, bucket_key_enabled: Optional[pulumi.Input[bool]] = None, cache_control: Optional[pulumi.Input[str]] = None, + checksum_algorithm: Optional[pulumi.Input[str]] = None, content: Optional[pulumi.Input[str]] = None, content_base64: Optional[pulumi.Input[str]] = None, content_disposition: Optional[pulumi.Input[str]] = None, @@ -44,6 +45,7 @@ def __init__(__self__, *, :param pulumi.Input[str] acl: [Canned ACL](https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#canned-acl) to apply. Valid values are `private`, `public-read`, `public-read-write`, `aws-exec-read`, `authenticated-read`, `bucket-owner-read`, and `bucket-owner-full-control`. :param pulumi.Input[bool] bucket_key_enabled: Whether or not to use [Amazon S3 Bucket Keys](https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-key.html) for SSE-KMS. :param pulumi.Input[str] cache_control: Caching behavior along the request/reply chain Read [w3c cache_control](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9) for further details. + :param pulumi.Input[str] checksum_algorithm: Indicates the algorithm used to create the checksum for the object. If a value is specified and the object is encrypted with KMS, you must have permission to use the `kms:Decrypt` action. Valid values: `CRC32`, `CRC32C`, `SHA1`, `SHA256`. :param pulumi.Input[str] content: Literal string value to use as the object content, which will be uploaded as UTF-8-encoded text. :param pulumi.Input[str] content_base64: Base64-encoded data that will be decoded and uploaded as raw bytes for the object content. This allows safely uploading non-UTF8 binary data, but is recommended only for small content such as the result of the `gzipbase64` function with small text strings. For larger objects, use `source` to stream the content from a disk file. :param pulumi.Input[str] content_disposition: Presentational information for the object. Read [w3c content_disposition](http://www.w3.org/Protocols/rfc2616/rfc2616-sec19.html#sec19.5.1) for further information. @@ -78,6 +80,8 @@ def __init__(__self__, *, pulumi.set(__self__, "bucket_key_enabled", bucket_key_enabled) if cache_control is not None: pulumi.set(__self__, "cache_control", cache_control) + if checksum_algorithm is not None: + pulumi.set(__self__, "checksum_algorithm", checksum_algorithm) if content is not None: pulumi.set(__self__, "content", content) if content_base64 is not None: @@ -167,6 +171,18 @@ def cache_control(self) -> Optional[pulumi.Input[str]]: def cache_control(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "cache_control", value) + @property + @pulumi.getter(name="checksumAlgorithm") + def checksum_algorithm(self) -> Optional[pulumi.Input[str]]: + """ + Indicates the algorithm used to create the checksum for the object. If a value is specified and the object is encrypted with KMS, you must have permission to use the `kms:Decrypt` action. Valid values: `CRC32`, `CRC32C`, `SHA1`, `SHA256`. + """ + return pulumi.get(self, "checksum_algorithm") + + @checksum_algorithm.setter + def checksum_algorithm(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "checksum_algorithm", value) + @property @pulumi.getter def content(self) -> Optional[pulumi.Input[str]]: @@ -421,6 +437,11 @@ def __init__(__self__, *, bucket: Optional[pulumi.Input[str]] = None, bucket_key_enabled: Optional[pulumi.Input[bool]] = None, cache_control: Optional[pulumi.Input[str]] = None, + checksum_algorithm: Optional[pulumi.Input[str]] = None, + checksum_crc32: Optional[pulumi.Input[str]] = None, + checksum_crc32c: Optional[pulumi.Input[str]] = None, + checksum_sha1: Optional[pulumi.Input[str]] = None, + checksum_sha256: Optional[pulumi.Input[str]] = None, content: Optional[pulumi.Input[str]] = None, content_base64: Optional[pulumi.Input[str]] = None, content_disposition: Optional[pulumi.Input[str]] = None, @@ -449,6 +470,11 @@ def __init__(__self__, *, :param pulumi.Input[str] bucket: Name of the bucket to put the file in. Alternatively, an [S3 access point](https://docs.aws.amazon.com/AmazonS3/latest/dev/using-access-points.html) ARN can be specified. :param pulumi.Input[bool] bucket_key_enabled: Whether or not to use [Amazon S3 Bucket Keys](https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-key.html) for SSE-KMS. :param pulumi.Input[str] cache_control: Caching behavior along the request/reply chain Read [w3c cache_control](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9) for further details. + :param pulumi.Input[str] checksum_algorithm: Indicates the algorithm used to create the checksum for the object. If a value is specified and the object is encrypted with KMS, you must have permission to use the `kms:Decrypt` action. Valid values: `CRC32`, `CRC32C`, `SHA1`, `SHA256`. + :param pulumi.Input[str] checksum_crc32: The base64-encoded, 32-bit CRC32 checksum of the object. + :param pulumi.Input[str] checksum_crc32c: The base64-encoded, 32-bit CRC32C checksum of the object. + :param pulumi.Input[str] checksum_sha1: The base64-encoded, 160-bit SHA-1 digest of the object. + :param pulumi.Input[str] checksum_sha256: The base64-encoded, 256-bit SHA-256 digest of the object. :param pulumi.Input[str] content: Literal string value to use as the object content, which will be uploaded as UTF-8-encoded text. :param pulumi.Input[str] content_base64: Base64-encoded data that will be decoded and uploaded as raw bytes for the object content. This allows safely uploading non-UTF8 binary data, but is recommended only for small content such as the result of the `gzipbase64` function with small text strings. For larger objects, use `source` to stream the content from a disk file. :param pulumi.Input[str] content_disposition: Presentational information for the object. Read [w3c content_disposition](http://www.w3.org/Protocols/rfc2616/rfc2616-sec19.html#sec19.5.1) for further information. @@ -486,6 +512,16 @@ def __init__(__self__, *, pulumi.set(__self__, "bucket_key_enabled", bucket_key_enabled) if cache_control is not None: pulumi.set(__self__, "cache_control", cache_control) + if checksum_algorithm is not None: + pulumi.set(__self__, "checksum_algorithm", checksum_algorithm) + if checksum_crc32 is not None: + pulumi.set(__self__, "checksum_crc32", checksum_crc32) + if checksum_crc32c is not None: + pulumi.set(__self__, "checksum_crc32c", checksum_crc32c) + if checksum_sha1 is not None: + pulumi.set(__self__, "checksum_sha1", checksum_sha1) + if checksum_sha256 is not None: + pulumi.set(__self__, "checksum_sha256", checksum_sha256) if content is not None: pulumi.set(__self__, "content", content) if content_base64 is not None: @@ -582,6 +618,66 @@ def cache_control(self) -> Optional[pulumi.Input[str]]: def cache_control(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "cache_control", value) + @property + @pulumi.getter(name="checksumAlgorithm") + def checksum_algorithm(self) -> Optional[pulumi.Input[str]]: + """ + Indicates the algorithm used to create the checksum for the object. If a value is specified and the object is encrypted with KMS, you must have permission to use the `kms:Decrypt` action. Valid values: `CRC32`, `CRC32C`, `SHA1`, `SHA256`. + """ + return pulumi.get(self, "checksum_algorithm") + + @checksum_algorithm.setter + def checksum_algorithm(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "checksum_algorithm", value) + + @property + @pulumi.getter(name="checksumCrc32") + def checksum_crc32(self) -> Optional[pulumi.Input[str]]: + """ + The base64-encoded, 32-bit CRC32 checksum of the object. + """ + return pulumi.get(self, "checksum_crc32") + + @checksum_crc32.setter + def checksum_crc32(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "checksum_crc32", value) + + @property + @pulumi.getter(name="checksumCrc32c") + def checksum_crc32c(self) -> Optional[pulumi.Input[str]]: + """ + The base64-encoded, 32-bit CRC32C checksum of the object. + """ + return pulumi.get(self, "checksum_crc32c") + + @checksum_crc32c.setter + def checksum_crc32c(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "checksum_crc32c", value) + + @property + @pulumi.getter(name="checksumSha1") + def checksum_sha1(self) -> Optional[pulumi.Input[str]]: + """ + The base64-encoded, 160-bit SHA-1 digest of the object. + """ + return pulumi.get(self, "checksum_sha1") + + @checksum_sha1.setter + def checksum_sha1(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "checksum_sha1", value) + + @property + @pulumi.getter(name="checksumSha256") + def checksum_sha256(self) -> Optional[pulumi.Input[str]]: + """ + The base64-encoded, 256-bit SHA-256 digest of the object. + """ + return pulumi.get(self, "checksum_sha256") + + @checksum_sha256.setter + def checksum_sha256(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "checksum_sha256", value) + @property @pulumi.getter def content(self) -> Optional[pulumi.Input[str]]: @@ -865,6 +961,7 @@ def __init__(__self__, bucket: Optional[pulumi.Input[str]] = None, bucket_key_enabled: Optional[pulumi.Input[bool]] = None, cache_control: Optional[pulumi.Input[str]] = None, + checksum_algorithm: Optional[pulumi.Input[str]] = None, content: Optional[pulumi.Input[str]] = None, content_base64: Optional[pulumi.Input[str]] = None, content_disposition: Optional[pulumi.Input[str]] = None, @@ -992,6 +1089,7 @@ def __init__(__self__, :param pulumi.Input[str] bucket: Name of the bucket to put the file in. Alternatively, an [S3 access point](https://docs.aws.amazon.com/AmazonS3/latest/dev/using-access-points.html) ARN can be specified. :param pulumi.Input[bool] bucket_key_enabled: Whether or not to use [Amazon S3 Bucket Keys](https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-key.html) for SSE-KMS. :param pulumi.Input[str] cache_control: Caching behavior along the request/reply chain Read [w3c cache_control](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9) for further details. + :param pulumi.Input[str] checksum_algorithm: Indicates the algorithm used to create the checksum for the object. If a value is specified and the object is encrypted with KMS, you must have permission to use the `kms:Decrypt` action. Valid values: `CRC32`, `CRC32C`, `SHA1`, `SHA256`. :param pulumi.Input[str] content: Literal string value to use as the object content, which will be uploaded as UTF-8-encoded text. :param pulumi.Input[str] content_base64: Base64-encoded data that will be decoded and uploaded as raw bytes for the object content. This allows safely uploading non-UTF8 binary data, but is recommended only for small content such as the result of the `gzipbase64` function with small text strings. For larger objects, use `source` to stream the content from a disk file. :param pulumi.Input[str] content_disposition: Presentational information for the object. Read [w3c content_disposition](http://www.w3.org/Protocols/rfc2616/rfc2616-sec19.html#sec19.5.1) for further information. @@ -1144,6 +1242,7 @@ def _internal_init(__self__, bucket: Optional[pulumi.Input[str]] = None, bucket_key_enabled: Optional[pulumi.Input[bool]] = None, cache_control: Optional[pulumi.Input[str]] = None, + checksum_algorithm: Optional[pulumi.Input[str]] = None, content: Optional[pulumi.Input[str]] = None, content_base64: Optional[pulumi.Input[str]] = None, content_disposition: Optional[pulumi.Input[str]] = None, @@ -1179,6 +1278,7 @@ def _internal_init(__self__, __props__.__dict__["bucket"] = bucket __props__.__dict__["bucket_key_enabled"] = bucket_key_enabled __props__.__dict__["cache_control"] = cache_control + __props__.__dict__["checksum_algorithm"] = checksum_algorithm __props__.__dict__["content"] = content __props__.__dict__["content_base64"] = content_base64 __props__.__dict__["content_disposition"] = content_disposition @@ -1199,6 +1299,10 @@ def _internal_init(__self__, __props__.__dict__["storage_class"] = storage_class __props__.__dict__["tags"] = tags __props__.__dict__["website_redirect"] = website_redirect + __props__.__dict__["checksum_crc32"] = None + __props__.__dict__["checksum_crc32c"] = None + __props__.__dict__["checksum_sha1"] = None + __props__.__dict__["checksum_sha256"] = None __props__.__dict__["tags_all"] = None __props__.__dict__["version_id"] = None alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="aws:s3/BucketObject:BucketObject")]) @@ -1219,6 +1323,11 @@ def get(resource_name: str, bucket: Optional[pulumi.Input[str]] = None, bucket_key_enabled: Optional[pulumi.Input[bool]] = None, cache_control: Optional[pulumi.Input[str]] = None, + checksum_algorithm: Optional[pulumi.Input[str]] = None, + checksum_crc32: Optional[pulumi.Input[str]] = None, + checksum_crc32c: Optional[pulumi.Input[str]] = None, + checksum_sha1: Optional[pulumi.Input[str]] = None, + checksum_sha256: Optional[pulumi.Input[str]] = None, content: Optional[pulumi.Input[str]] = None, content_base64: Optional[pulumi.Input[str]] = None, content_disposition: Optional[pulumi.Input[str]] = None, @@ -1252,6 +1361,11 @@ def get(resource_name: str, :param pulumi.Input[str] bucket: Name of the bucket to put the file in. Alternatively, an [S3 access point](https://docs.aws.amazon.com/AmazonS3/latest/dev/using-access-points.html) ARN can be specified. :param pulumi.Input[bool] bucket_key_enabled: Whether or not to use [Amazon S3 Bucket Keys](https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-key.html) for SSE-KMS. :param pulumi.Input[str] cache_control: Caching behavior along the request/reply chain Read [w3c cache_control](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9) for further details. + :param pulumi.Input[str] checksum_algorithm: Indicates the algorithm used to create the checksum for the object. If a value is specified and the object is encrypted with KMS, you must have permission to use the `kms:Decrypt` action. Valid values: `CRC32`, `CRC32C`, `SHA1`, `SHA256`. + :param pulumi.Input[str] checksum_crc32: The base64-encoded, 32-bit CRC32 checksum of the object. + :param pulumi.Input[str] checksum_crc32c: The base64-encoded, 32-bit CRC32C checksum of the object. + :param pulumi.Input[str] checksum_sha1: The base64-encoded, 160-bit SHA-1 digest of the object. + :param pulumi.Input[str] checksum_sha256: The base64-encoded, 256-bit SHA-256 digest of the object. :param pulumi.Input[str] content: Literal string value to use as the object content, which will be uploaded as UTF-8-encoded text. :param pulumi.Input[str] content_base64: Base64-encoded data that will be decoded and uploaded as raw bytes for the object content. This allows safely uploading non-UTF8 binary data, but is recommended only for small content such as the result of the `gzipbase64` function with small text strings. For larger objects, use `source` to stream the content from a disk file. :param pulumi.Input[str] content_disposition: Presentational information for the object. Read [w3c content_disposition](http://www.w3.org/Protocols/rfc2616/rfc2616-sec19.html#sec19.5.1) for further information. @@ -1289,6 +1403,11 @@ def get(resource_name: str, __props__.__dict__["bucket"] = bucket __props__.__dict__["bucket_key_enabled"] = bucket_key_enabled __props__.__dict__["cache_control"] = cache_control + __props__.__dict__["checksum_algorithm"] = checksum_algorithm + __props__.__dict__["checksum_crc32"] = checksum_crc32 + __props__.__dict__["checksum_crc32c"] = checksum_crc32c + __props__.__dict__["checksum_sha1"] = checksum_sha1 + __props__.__dict__["checksum_sha256"] = checksum_sha256 __props__.__dict__["content"] = content __props__.__dict__["content_base64"] = content_base64 __props__.__dict__["content_disposition"] = content_disposition @@ -1345,6 +1464,46 @@ def cache_control(self) -> pulumi.Output[Optional[str]]: """ return pulumi.get(self, "cache_control") + @property + @pulumi.getter(name="checksumAlgorithm") + def checksum_algorithm(self) -> pulumi.Output[Optional[str]]: + """ + Indicates the algorithm used to create the checksum for the object. If a value is specified and the object is encrypted with KMS, you must have permission to use the `kms:Decrypt` action. Valid values: `CRC32`, `CRC32C`, `SHA1`, `SHA256`. + """ + return pulumi.get(self, "checksum_algorithm") + + @property + @pulumi.getter(name="checksumCrc32") + def checksum_crc32(self) -> pulumi.Output[str]: + """ + The base64-encoded, 32-bit CRC32 checksum of the object. + """ + return pulumi.get(self, "checksum_crc32") + + @property + @pulumi.getter(name="checksumCrc32c") + def checksum_crc32c(self) -> pulumi.Output[str]: + """ + The base64-encoded, 32-bit CRC32C checksum of the object. + """ + return pulumi.get(self, "checksum_crc32c") + + @property + @pulumi.getter(name="checksumSha1") + def checksum_sha1(self) -> pulumi.Output[str]: + """ + The base64-encoded, 160-bit SHA-1 digest of the object. + """ + return pulumi.get(self, "checksum_sha1") + + @property + @pulumi.getter(name="checksumSha256") + def checksum_sha256(self) -> pulumi.Output[str]: + """ + The base64-encoded, 256-bit SHA-256 digest of the object. + """ + return pulumi.get(self, "checksum_sha256") + @property @pulumi.getter def content(self) -> pulumi.Output[Optional[str]]: diff --git a/sdk/python/pulumi_aws/s3/get_object.py b/sdk/python/pulumi_aws/s3/get_object.py index ff5786ec2e9..521cf662d05 100644 --- a/sdk/python/pulumi_aws/s3/get_object.py +++ b/sdk/python/pulumi_aws/s3/get_object.py @@ -21,7 +21,7 @@ class GetObjectResult: """ A collection of values returned by getObject. """ - def __init__(__self__, body=None, bucket=None, bucket_key_enabled=None, cache_control=None, content_disposition=None, content_encoding=None, content_language=None, content_length=None, content_type=None, etag=None, expiration=None, expires=None, id=None, key=None, last_modified=None, metadata=None, object_lock_legal_hold_status=None, object_lock_mode=None, object_lock_retain_until_date=None, range=None, server_side_encryption=None, sse_kms_key_id=None, storage_class=None, tags=None, version_id=None, website_redirect_location=None): + def __init__(__self__, body=None, bucket=None, bucket_key_enabled=None, cache_control=None, checksum_crc32=None, checksum_crc32c=None, checksum_mode=None, checksum_sha1=None, checksum_sha256=None, content_disposition=None, content_encoding=None, content_language=None, content_length=None, content_type=None, etag=None, expiration=None, expires=None, id=None, key=None, last_modified=None, metadata=None, object_lock_legal_hold_status=None, object_lock_mode=None, object_lock_retain_until_date=None, range=None, server_side_encryption=None, sse_kms_key_id=None, storage_class=None, tags=None, version_id=None, website_redirect_location=None): if body and not isinstance(body, str): raise TypeError("Expected argument 'body' to be a str") pulumi.set(__self__, "body", body) @@ -34,6 +34,21 @@ def __init__(__self__, body=None, bucket=None, bucket_key_enabled=None, cache_co if cache_control and not isinstance(cache_control, str): raise TypeError("Expected argument 'cache_control' to be a str") pulumi.set(__self__, "cache_control", cache_control) + if checksum_crc32 and not isinstance(checksum_crc32, str): + raise TypeError("Expected argument 'checksum_crc32' to be a str") + pulumi.set(__self__, "checksum_crc32", checksum_crc32) + if checksum_crc32c and not isinstance(checksum_crc32c, str): + raise TypeError("Expected argument 'checksum_crc32c' to be a str") + pulumi.set(__self__, "checksum_crc32c", checksum_crc32c) + if checksum_mode and not isinstance(checksum_mode, str): + raise TypeError("Expected argument 'checksum_mode' to be a str") + pulumi.set(__self__, "checksum_mode", checksum_mode) + if checksum_sha1 and not isinstance(checksum_sha1, str): + raise TypeError("Expected argument 'checksum_sha1' to be a str") + pulumi.set(__self__, "checksum_sha1", checksum_sha1) + if checksum_sha256 and not isinstance(checksum_sha256, str): + raise TypeError("Expected argument 'checksum_sha256' to be a str") + pulumi.set(__self__, "checksum_sha256", checksum_sha256) if content_disposition and not isinstance(content_disposition, str): raise TypeError("Expected argument 'content_disposition' to be a str") pulumi.set(__self__, "content_disposition", content_disposition) @@ -130,6 +145,43 @@ def cache_control(self) -> str: """ return pulumi.get(self, "cache_control") + @property + @pulumi.getter(name="checksumCrc32") + def checksum_crc32(self) -> str: + """ + The base64-encoded, 32-bit CRC32 checksum of the object. + """ + return pulumi.get(self, "checksum_crc32") + + @property + @pulumi.getter(name="checksumCrc32c") + def checksum_crc32c(self) -> str: + """ + The base64-encoded, 32-bit CRC32C checksum of the object. + """ + return pulumi.get(self, "checksum_crc32c") + + @property + @pulumi.getter(name="checksumMode") + def checksum_mode(self) -> Optional[str]: + return pulumi.get(self, "checksum_mode") + + @property + @pulumi.getter(name="checksumSha1") + def checksum_sha1(self) -> str: + """ + The base64-encoded, 160-bit SHA-1 digest of the object. + """ + return pulumi.get(self, "checksum_sha1") + + @property + @pulumi.getter(name="checksumSha256") + def checksum_sha256(self) -> str: + """ + The base64-encoded, 256-bit SHA-256 digest of the object. + """ + return pulumi.get(self, "checksum_sha256") + @property @pulumi.getter(name="contentDisposition") def content_disposition(self) -> str: @@ -311,6 +363,11 @@ def __await__(self): bucket=self.bucket, bucket_key_enabled=self.bucket_key_enabled, cache_control=self.cache_control, + checksum_crc32=self.checksum_crc32, + checksum_crc32c=self.checksum_crc32c, + checksum_mode=self.checksum_mode, + checksum_sha1=self.checksum_sha1, + checksum_sha256=self.checksum_sha256, content_disposition=self.content_disposition, content_encoding=self.content_encoding, content_language=self.content_language, @@ -336,6 +393,7 @@ def __await__(self): def get_object(bucket: Optional[str] = None, + checksum_mode: Optional[str] = None, key: Optional[str] = None, range: Optional[str] = None, tags: Optional[Mapping[str, str]] = None, @@ -386,12 +444,14 @@ def get_object(bucket: Optional[str] = None, :param str bucket: Name of the bucket to read the object from. Alternatively, an [S3 access point](https://docs.aws.amazon.com/AmazonS3/latest/dev/using-access-points.html) ARN can be specified + :param str checksum_mode: To retrieve the object's checksum, this argument must be `ENABLED`. If you enable `checksum_mode` and the object is encrypted with KMS, you must have permission to use the `kms:Decrypt` action. Valid values: `ENABLED` :param str key: Full path to the object inside the bucket :param Mapping[str, str] tags: Map of tags assigned to the object. :param str version_id: Specific version ID of the object returned (defaults to latest version) """ __args__ = dict() __args__['bucket'] = bucket + __args__['checksumMode'] = checksum_mode __args__['key'] = key __args__['range'] = range __args__['tags'] = tags @@ -404,6 +464,11 @@ def get_object(bucket: Optional[str] = None, bucket=pulumi.get(__ret__, 'bucket'), bucket_key_enabled=pulumi.get(__ret__, 'bucket_key_enabled'), cache_control=pulumi.get(__ret__, 'cache_control'), + checksum_crc32=pulumi.get(__ret__, 'checksum_crc32'), + checksum_crc32c=pulumi.get(__ret__, 'checksum_crc32c'), + checksum_mode=pulumi.get(__ret__, 'checksum_mode'), + checksum_sha1=pulumi.get(__ret__, 'checksum_sha1'), + checksum_sha256=pulumi.get(__ret__, 'checksum_sha256'), content_disposition=pulumi.get(__ret__, 'content_disposition'), content_encoding=pulumi.get(__ret__, 'content_encoding'), content_language=pulumi.get(__ret__, 'content_language'), @@ -430,6 +495,7 @@ def get_object(bucket: Optional[str] = None, @_utilities.lift_output_func(get_object) def get_object_output(bucket: Optional[pulumi.Input[str]] = None, + checksum_mode: Optional[pulumi.Input[Optional[str]]] = None, key: Optional[pulumi.Input[str]] = None, range: Optional[pulumi.Input[Optional[str]]] = None, tags: Optional[pulumi.Input[Optional[Mapping[str, str]]]] = None, @@ -480,6 +546,7 @@ def get_object_output(bucket: Optional[pulumi.Input[str]] = None, :param str bucket: Name of the bucket to read the object from. Alternatively, an [S3 access point](https://docs.aws.amazon.com/AmazonS3/latest/dev/using-access-points.html) ARN can be specified + :param str checksum_mode: To retrieve the object's checksum, this argument must be `ENABLED`. If you enable `checksum_mode` and the object is encrypted with KMS, you must have permission to use the `kms:Decrypt` action. Valid values: `ENABLED` :param str key: Full path to the object inside the bucket :param Mapping[str, str] tags: Map of tags assigned to the object. :param str version_id: Specific version ID of the object returned (defaults to latest version) diff --git a/sdk/python/pulumi_aws/s3/object_copy.py b/sdk/python/pulumi_aws/s3/object_copy.py index 2244a761d99..e3e4e856f79 100644 --- a/sdk/python/pulumi_aws/s3/object_copy.py +++ b/sdk/python/pulumi_aws/s3/object_copy.py @@ -22,6 +22,7 @@ def __init__(__self__, *, acl: Optional[pulumi.Input[str]] = None, bucket_key_enabled: Optional[pulumi.Input[bool]] = None, cache_control: Optional[pulumi.Input[str]] = None, + checksum_algorithm: Optional[pulumi.Input[str]] = None, content_disposition: Optional[pulumi.Input[str]] = None, content_encoding: Optional[pulumi.Input[str]] = None, content_language: Optional[pulumi.Input[str]] = None, @@ -63,6 +64,7 @@ def __init__(__self__, *, The following arguments are optional: :param pulumi.Input[str] acl: [Canned ACL](https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#canned-acl) to apply. Valid values are `private`, `public-read`, `public-read-write`, `authenticated-read`, `aws-exec-read`, `bucket-owner-read`, and `bucket-owner-full-control`. Conflicts with `grant`. :param pulumi.Input[str] cache_control: Specifies caching behavior along the request/reply chain Read [w3c cache_control](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9) for further details. + :param pulumi.Input[str] checksum_algorithm: Indicates the algorithm used to create the checksum for the object. If a value is specified and the object is encrypted with KMS, you must have permission to use the `kms:Decrypt` action. Valid values: `CRC32`, `CRC32C`, `SHA1`, `SHA256`. :param pulumi.Input[str] content_disposition: Specifies presentational information for the object. Read [w3c content_disposition](http://www.w3.org/Protocols/rfc2616/rfc2616-sec19.html#sec19.5.1) for further information. :param pulumi.Input[str] content_encoding: Specifies what content encodings have been applied to the object and thus what decoding mechanisms must be applied to obtain the media-type referenced by the Content-Type header field. Read [w3c content encoding](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.11) for further information. :param pulumi.Input[str] content_language: Language the content is in e.g., en-US or en-GB. @@ -105,6 +107,8 @@ def __init__(__self__, *, pulumi.set(__self__, "bucket_key_enabled", bucket_key_enabled) if cache_control is not None: pulumi.set(__self__, "cache_control", cache_control) + if checksum_algorithm is not None: + pulumi.set(__self__, "checksum_algorithm", checksum_algorithm) if content_disposition is not None: pulumi.set(__self__, "content_disposition", content_disposition) if content_encoding is not None: @@ -241,6 +245,18 @@ def cache_control(self) -> Optional[pulumi.Input[str]]: def cache_control(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "cache_control", value) + @property + @pulumi.getter(name="checksumAlgorithm") + def checksum_algorithm(self) -> Optional[pulumi.Input[str]]: + """ + Indicates the algorithm used to create the checksum for the object. If a value is specified and the object is encrypted with KMS, you must have permission to use the `kms:Decrypt` action. Valid values: `CRC32`, `CRC32C`, `SHA1`, `SHA256`. + """ + return pulumi.get(self, "checksum_algorithm") + + @checksum_algorithm.setter + def checksum_algorithm(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "checksum_algorithm", value) + @property @pulumi.getter(name="contentDisposition") def content_disposition(self) -> Optional[pulumi.Input[str]]: @@ -633,6 +649,11 @@ def __init__(__self__, *, bucket: Optional[pulumi.Input[str]] = None, bucket_key_enabled: Optional[pulumi.Input[bool]] = None, cache_control: Optional[pulumi.Input[str]] = None, + checksum_algorithm: Optional[pulumi.Input[str]] = None, + checksum_crc32: Optional[pulumi.Input[str]] = None, + checksum_crc32c: Optional[pulumi.Input[str]] = None, + checksum_sha1: Optional[pulumi.Input[str]] = None, + checksum_sha256: Optional[pulumi.Input[str]] = None, content_disposition: Optional[pulumi.Input[str]] = None, content_encoding: Optional[pulumi.Input[str]] = None, content_language: Optional[pulumi.Input[str]] = None, @@ -679,6 +700,11 @@ def __init__(__self__, *, :param pulumi.Input[str] acl: [Canned ACL](https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#canned-acl) to apply. Valid values are `private`, `public-read`, `public-read-write`, `authenticated-read`, `aws-exec-read`, `bucket-owner-read`, and `bucket-owner-full-control`. Conflicts with `grant`. :param pulumi.Input[str] bucket: Name of the bucket to put the file in. :param pulumi.Input[str] cache_control: Specifies caching behavior along the request/reply chain Read [w3c cache_control](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9) for further details. + :param pulumi.Input[str] checksum_algorithm: Indicates the algorithm used to create the checksum for the object. If a value is specified and the object is encrypted with KMS, you must have permission to use the `kms:Decrypt` action. Valid values: `CRC32`, `CRC32C`, `SHA1`, `SHA256`. + :param pulumi.Input[str] checksum_crc32: The base64-encoded, 32-bit CRC32 checksum of the object. + :param pulumi.Input[str] checksum_crc32c: The base64-encoded, 32-bit CRC32C checksum of the object. + :param pulumi.Input[str] checksum_sha1: The base64-encoded, 160-bit SHA-1 digest of the object. + :param pulumi.Input[str] checksum_sha256: The base64-encoded, 256-bit SHA-256 digest of the object. :param pulumi.Input[str] content_disposition: Specifies presentational information for the object. Read [w3c content_disposition](http://www.w3.org/Protocols/rfc2616/rfc2616-sec19.html#sec19.5.1) for further information. :param pulumi.Input[str] content_encoding: Specifies what content encodings have been applied to the object and thus what decoding mechanisms must be applied to obtain the media-type referenced by the Content-Type header field. Read [w3c content encoding](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.11) for further information. :param pulumi.Input[str] content_language: Language the content is in e.g., en-US or en-GB. @@ -731,6 +757,16 @@ def __init__(__self__, *, pulumi.set(__self__, "bucket_key_enabled", bucket_key_enabled) if cache_control is not None: pulumi.set(__self__, "cache_control", cache_control) + if checksum_algorithm is not None: + pulumi.set(__self__, "checksum_algorithm", checksum_algorithm) + if checksum_crc32 is not None: + pulumi.set(__self__, "checksum_crc32", checksum_crc32) + if checksum_crc32c is not None: + pulumi.set(__self__, "checksum_crc32c", checksum_crc32c) + if checksum_sha1 is not None: + pulumi.set(__self__, "checksum_sha1", checksum_sha1) + if checksum_sha256 is not None: + pulumi.set(__self__, "checksum_sha256", checksum_sha256) if content_disposition is not None: pulumi.set(__self__, "content_disposition", content_disposition) if content_encoding is not None: @@ -862,6 +898,66 @@ def cache_control(self) -> Optional[pulumi.Input[str]]: def cache_control(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "cache_control", value) + @property + @pulumi.getter(name="checksumAlgorithm") + def checksum_algorithm(self) -> Optional[pulumi.Input[str]]: + """ + Indicates the algorithm used to create the checksum for the object. If a value is specified and the object is encrypted with KMS, you must have permission to use the `kms:Decrypt` action. Valid values: `CRC32`, `CRC32C`, `SHA1`, `SHA256`. + """ + return pulumi.get(self, "checksum_algorithm") + + @checksum_algorithm.setter + def checksum_algorithm(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "checksum_algorithm", value) + + @property + @pulumi.getter(name="checksumCrc32") + def checksum_crc32(self) -> Optional[pulumi.Input[str]]: + """ + The base64-encoded, 32-bit CRC32 checksum of the object. + """ + return pulumi.get(self, "checksum_crc32") + + @checksum_crc32.setter + def checksum_crc32(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "checksum_crc32", value) + + @property + @pulumi.getter(name="checksumCrc32c") + def checksum_crc32c(self) -> Optional[pulumi.Input[str]]: + """ + The base64-encoded, 32-bit CRC32C checksum of the object. + """ + return pulumi.get(self, "checksum_crc32c") + + @checksum_crc32c.setter + def checksum_crc32c(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "checksum_crc32c", value) + + @property + @pulumi.getter(name="checksumSha1") + def checksum_sha1(self) -> Optional[pulumi.Input[str]]: + """ + The base64-encoded, 160-bit SHA-1 digest of the object. + """ + return pulumi.get(self, "checksum_sha1") + + @checksum_sha1.setter + def checksum_sha1(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "checksum_sha1", value) + + @property + @pulumi.getter(name="checksumSha256") + def checksum_sha256(self) -> Optional[pulumi.Input[str]]: + """ + The base64-encoded, 256-bit SHA-256 digest of the object. + """ + return pulumi.get(self, "checksum_sha256") + + @checksum_sha256.setter + def checksum_sha256(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "checksum_sha256", value) + @property @pulumi.getter(name="contentDisposition") def content_disposition(self) -> Optional[pulumi.Input[str]]: @@ -1369,6 +1465,7 @@ def __init__(__self__, bucket: Optional[pulumi.Input[str]] = None, bucket_key_enabled: Optional[pulumi.Input[bool]] = None, cache_control: Optional[pulumi.Input[str]] = None, + checksum_algorithm: Optional[pulumi.Input[str]] = None, content_disposition: Optional[pulumi.Input[str]] = None, content_encoding: Optional[pulumi.Input[str]] = None, content_language: Optional[pulumi.Input[str]] = None, @@ -1429,6 +1526,7 @@ def __init__(__self__, :param pulumi.Input[str] acl: [Canned ACL](https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#canned-acl) to apply. Valid values are `private`, `public-read`, `public-read-write`, `authenticated-read`, `aws-exec-read`, `bucket-owner-read`, and `bucket-owner-full-control`. Conflicts with `grant`. :param pulumi.Input[str] bucket: Name of the bucket to put the file in. :param pulumi.Input[str] cache_control: Specifies caching behavior along the request/reply chain Read [w3c cache_control](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9) for further details. + :param pulumi.Input[str] checksum_algorithm: Indicates the algorithm used to create the checksum for the object. If a value is specified and the object is encrypted with KMS, you must have permission to use the `kms:Decrypt` action. Valid values: `CRC32`, `CRC32C`, `SHA1`, `SHA256`. :param pulumi.Input[str] content_disposition: Specifies presentational information for the object. Read [w3c content_disposition](http://www.w3.org/Protocols/rfc2616/rfc2616-sec19.html#sec19.5.1) for further information. :param pulumi.Input[str] content_encoding: Specifies what content encodings have been applied to the object and thus what decoding mechanisms must be applied to obtain the media-type referenced by the Content-Type header field. Read [w3c content encoding](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.11) for further information. :param pulumi.Input[str] content_language: Language the content is in e.g., en-US or en-GB. @@ -1511,6 +1609,7 @@ def _internal_init(__self__, bucket: Optional[pulumi.Input[str]] = None, bucket_key_enabled: Optional[pulumi.Input[bool]] = None, cache_control: Optional[pulumi.Input[str]] = None, + checksum_algorithm: Optional[pulumi.Input[str]] = None, content_disposition: Optional[pulumi.Input[str]] = None, content_encoding: Optional[pulumi.Input[str]] = None, content_language: Optional[pulumi.Input[str]] = None, @@ -1560,6 +1659,7 @@ def _internal_init(__self__, __props__.__dict__["bucket"] = bucket __props__.__dict__["bucket_key_enabled"] = bucket_key_enabled __props__.__dict__["cache_control"] = cache_control + __props__.__dict__["checksum_algorithm"] = checksum_algorithm __props__.__dict__["content_disposition"] = content_disposition __props__.__dict__["content_encoding"] = content_encoding __props__.__dict__["content_language"] = content_language @@ -1598,6 +1698,10 @@ def _internal_init(__self__, __props__.__dict__["tagging_directive"] = tagging_directive __props__.__dict__["tags"] = tags __props__.__dict__["website_redirect"] = website_redirect + __props__.__dict__["checksum_crc32"] = None + __props__.__dict__["checksum_crc32c"] = None + __props__.__dict__["checksum_sha1"] = None + __props__.__dict__["checksum_sha256"] = None __props__.__dict__["etag"] = None __props__.__dict__["expiration"] = None __props__.__dict__["last_modified"] = None @@ -1621,6 +1725,11 @@ def get(resource_name: str, bucket: Optional[pulumi.Input[str]] = None, bucket_key_enabled: Optional[pulumi.Input[bool]] = None, cache_control: Optional[pulumi.Input[str]] = None, + checksum_algorithm: Optional[pulumi.Input[str]] = None, + checksum_crc32: Optional[pulumi.Input[str]] = None, + checksum_crc32c: Optional[pulumi.Input[str]] = None, + checksum_sha1: Optional[pulumi.Input[str]] = None, + checksum_sha256: Optional[pulumi.Input[str]] = None, content_disposition: Optional[pulumi.Input[str]] = None, content_encoding: Optional[pulumi.Input[str]] = None, content_language: Optional[pulumi.Input[str]] = None, @@ -1672,6 +1781,11 @@ def get(resource_name: str, :param pulumi.Input[str] acl: [Canned ACL](https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#canned-acl) to apply. Valid values are `private`, `public-read`, `public-read-write`, `authenticated-read`, `aws-exec-read`, `bucket-owner-read`, and `bucket-owner-full-control`. Conflicts with `grant`. :param pulumi.Input[str] bucket: Name of the bucket to put the file in. :param pulumi.Input[str] cache_control: Specifies caching behavior along the request/reply chain Read [w3c cache_control](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9) for further details. + :param pulumi.Input[str] checksum_algorithm: Indicates the algorithm used to create the checksum for the object. If a value is specified and the object is encrypted with KMS, you must have permission to use the `kms:Decrypt` action. Valid values: `CRC32`, `CRC32C`, `SHA1`, `SHA256`. + :param pulumi.Input[str] checksum_crc32: The base64-encoded, 32-bit CRC32 checksum of the object. + :param pulumi.Input[str] checksum_crc32c: The base64-encoded, 32-bit CRC32C checksum of the object. + :param pulumi.Input[str] checksum_sha1: The base64-encoded, 160-bit SHA-1 digest of the object. + :param pulumi.Input[str] checksum_sha256: The base64-encoded, 256-bit SHA-256 digest of the object. :param pulumi.Input[str] content_disposition: Specifies presentational information for the object. Read [w3c content_disposition](http://www.w3.org/Protocols/rfc2616/rfc2616-sec19.html#sec19.5.1) for further information. :param pulumi.Input[str] content_encoding: Specifies what content encodings have been applied to the object and thus what decoding mechanisms must be applied to obtain the media-type referenced by the Content-Type header field. Read [w3c content encoding](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.11) for further information. :param pulumi.Input[str] content_language: Language the content is in e.g., en-US or en-GB. @@ -1724,6 +1838,11 @@ def get(resource_name: str, __props__.__dict__["bucket"] = bucket __props__.__dict__["bucket_key_enabled"] = bucket_key_enabled __props__.__dict__["cache_control"] = cache_control + __props__.__dict__["checksum_algorithm"] = checksum_algorithm + __props__.__dict__["checksum_crc32"] = checksum_crc32 + __props__.__dict__["checksum_crc32c"] = checksum_crc32c + __props__.__dict__["checksum_sha1"] = checksum_sha1 + __props__.__dict__["checksum_sha256"] = checksum_sha256 __props__.__dict__["content_disposition"] = content_disposition __props__.__dict__["content_encoding"] = content_encoding __props__.__dict__["content_language"] = content_language @@ -1796,6 +1915,46 @@ def cache_control(self) -> pulumi.Output[str]: """ return pulumi.get(self, "cache_control") + @property + @pulumi.getter(name="checksumAlgorithm") + def checksum_algorithm(self) -> pulumi.Output[Optional[str]]: + """ + Indicates the algorithm used to create the checksum for the object. If a value is specified and the object is encrypted with KMS, you must have permission to use the `kms:Decrypt` action. Valid values: `CRC32`, `CRC32C`, `SHA1`, `SHA256`. + """ + return pulumi.get(self, "checksum_algorithm") + + @property + @pulumi.getter(name="checksumCrc32") + def checksum_crc32(self) -> pulumi.Output[str]: + """ + The base64-encoded, 32-bit CRC32 checksum of the object. + """ + return pulumi.get(self, "checksum_crc32") + + @property + @pulumi.getter(name="checksumCrc32c") + def checksum_crc32c(self) -> pulumi.Output[str]: + """ + The base64-encoded, 32-bit CRC32C checksum of the object. + """ + return pulumi.get(self, "checksum_crc32c") + + @property + @pulumi.getter(name="checksumSha1") + def checksum_sha1(self) -> pulumi.Output[str]: + """ + The base64-encoded, 160-bit SHA-1 digest of the object. + """ + return pulumi.get(self, "checksum_sha1") + + @property + @pulumi.getter(name="checksumSha256") + def checksum_sha256(self) -> pulumi.Output[str]: + """ + The base64-encoded, 256-bit SHA-256 digest of the object. + """ + return pulumi.get(self, "checksum_sha256") + @property @pulumi.getter(name="contentDisposition") def content_disposition(self) -> pulumi.Output[str]: diff --git a/sdk/python/pulumi_aws/s3control/_inputs.py b/sdk/python/pulumi_aws/s3control/_inputs.py index 193671d68bc..c48e2061652 100644 --- a/sdk/python/pulumi_aws/s3control/_inputs.py +++ b/sdk/python/pulumi_aws/s3control/_inputs.py @@ -344,8 +344,14 @@ def restrict_public_buckets(self, value: Optional[pulumi.Input[bool]]): @pulumi.input_type class MultiRegionAccessPointDetailsRegionArgs: def __init__(__self__, *, - bucket: pulumi.Input[str]): + bucket: pulumi.Input[str], + bucket_account_id: Optional[pulumi.Input[str]] = None, + region: Optional[pulumi.Input[str]] = None): pulumi.set(__self__, "bucket", bucket) + if bucket_account_id is not None: + pulumi.set(__self__, "bucket_account_id", bucket_account_id) + if region is not None: + pulumi.set(__self__, "region", region) @property @pulumi.getter @@ -356,6 +362,24 @@ def bucket(self) -> pulumi.Input[str]: def bucket(self, value: pulumi.Input[str]): pulumi.set(self, "bucket", value) + @property + @pulumi.getter(name="bucketAccountId") + def bucket_account_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "bucket_account_id") + + @bucket_account_id.setter + def bucket_account_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "bucket_account_id", value) + + @property + @pulumi.getter + def region(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "region") + + @region.setter + def region(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "region", value) + @pulumi.input_type class MultiRegionAccessPointPolicyDetailsArgs: diff --git a/sdk/python/pulumi_aws/s3control/outputs.py b/sdk/python/pulumi_aws/s3control/outputs.py index ab835e710d6..c314cf3adef 100644 --- a/sdk/python/pulumi_aws/s3control/outputs.py +++ b/sdk/python/pulumi_aws/s3control/outputs.py @@ -365,15 +365,48 @@ def restrict_public_buckets(self) -> Optional[bool]: @pulumi.output_type class MultiRegionAccessPointDetailsRegion(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "bucketAccountId": + suggest = "bucket_account_id" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in MultiRegionAccessPointDetailsRegion. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + MultiRegionAccessPointDetailsRegion.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + MultiRegionAccessPointDetailsRegion.__key_warning(key) + return super().get(key, default) + def __init__(__self__, *, - bucket: str): + bucket: str, + bucket_account_id: Optional[str] = None, + region: Optional[str] = None): pulumi.set(__self__, "bucket", bucket) + if bucket_account_id is not None: + pulumi.set(__self__, "bucket_account_id", bucket_account_id) + if region is not None: + pulumi.set(__self__, "region", region) @property @pulumi.getter def bucket(self) -> str: return pulumi.get(self, "bucket") + @property + @pulumi.getter(name="bucketAccountId") + def bucket_account_id(self) -> Optional[str]: + return pulumi.get(self, "bucket_account_id") + + @property + @pulumi.getter + def region(self) -> Optional[str]: + return pulumi.get(self, "region") + @pulumi.output_type class MultiRegionAccessPointPolicyDetails(dict): @@ -1592,12 +1625,15 @@ def restrict_public_buckets(self) -> bool: class GetMultiRegionAccessPointRegionResult(dict): def __init__(__self__, *, bucket: str, + bucket_account_id: str, region: str): """ :param str bucket: The name of the bucket. + :param str bucket_account_id: The AWS account ID that owns the bucket. :param str region: The name of the region. """ pulumi.set(__self__, "bucket", bucket) + pulumi.set(__self__, "bucket_account_id", bucket_account_id) pulumi.set(__self__, "region", region) @property @@ -1608,6 +1644,14 @@ def bucket(self) -> str: """ return pulumi.get(self, "bucket") + @property + @pulumi.getter(name="bucketAccountId") + def bucket_account_id(self) -> str: + """ + The AWS account ID that owns the bucket. + """ + return pulumi.get(self, "bucket_account_id") + @property @pulumi.getter def region(self) -> str: diff --git a/sdk/python/pulumi_aws/schemas/schema.py b/sdk/python/pulumi_aws/schemas/schema.py index ea17d71cd64..489dc3678e3 100644 --- a/sdk/python/pulumi_aws/schemas/schema.py +++ b/sdk/python/pulumi_aws/schemas/schema.py @@ -24,7 +24,7 @@ def __init__(__self__, *, The set of arguments for constructing a Schema resource. :param pulumi.Input[str] content: The schema specification. Must be a valid Open API 3.0 spec. :param pulumi.Input[str] registry_name: The name of the registry in which this schema belongs. - :param pulumi.Input[str] type: The type of the schema. Valid values: `OpenApi3`. + :param pulumi.Input[str] type: The type of the schema. Valid values: `OpenApi3` or `JSONSchemaDraft4`. :param pulumi.Input[str] description: The description of the schema. Maximum of 256 characters. :param pulumi.Input[str] name: The name of the schema. Maximum of 385 characters consisting of lower case letters, upper case letters, ., -, _, @. :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A map of tags to assign to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. @@ -67,7 +67,7 @@ def registry_name(self, value: pulumi.Input[str]): @pulumi.getter def type(self) -> pulumi.Input[str]: """ - The type of the schema. Valid values: `OpenApi3`. + The type of the schema. Valid values: `OpenApi3` or `JSONSchemaDraft4`. """ return pulumi.get(self, "type") @@ -136,7 +136,7 @@ def __init__(__self__, *, :param pulumi.Input[str] registry_name: The name of the registry in which this schema belongs. :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A map of tags to assign to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags_all: A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block. - :param pulumi.Input[str] type: The type of the schema. Valid values: `OpenApi3`. + :param pulumi.Input[str] type: The type of the schema. Valid values: `OpenApi3` or `JSONSchemaDraft4`. :param pulumi.Input[str] version: The version of the schema. :param pulumi.Input[str] version_created_date: The created date of the version of the schema. """ @@ -269,7 +269,7 @@ def tags_all(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]] @pulumi.getter def type(self) -> Optional[pulumi.Input[str]]: """ - The type of the schema. Valid values: `OpenApi3`. + The type of the schema. Valid values: `OpenApi3` or `JSONSchemaDraft4`. """ return pulumi.get(self, "type") @@ -368,7 +368,7 @@ def __init__(__self__, :param pulumi.Input[str] name: The name of the schema. Maximum of 385 characters consisting of lower case letters, upper case letters, ., -, _, @. :param pulumi.Input[str] registry_name: The name of the registry in which this schema belongs. :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A map of tags to assign to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. - :param pulumi.Input[str] type: The type of the schema. Valid values: `OpenApi3`. + :param pulumi.Input[str] type: The type of the schema. Valid values: `OpenApi3` or `JSONSchemaDraft4`. """ ... @overload @@ -508,7 +508,7 @@ def get(resource_name: str, :param pulumi.Input[str] registry_name: The name of the registry in which this schema belongs. :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A map of tags to assign to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags_all: A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block. - :param pulumi.Input[str] type: The type of the schema. Valid values: `OpenApi3`. + :param pulumi.Input[str] type: The type of the schema. Valid values: `OpenApi3` or `JSONSchemaDraft4`. :param pulumi.Input[str] version: The version of the schema. :param pulumi.Input[str] version_created_date: The created date of the version of the schema. """ @@ -600,7 +600,7 @@ def tags_all(self) -> pulumi.Output[Mapping[str, str]]: @pulumi.getter def type(self) -> pulumi.Output[str]: """ - The type of the schema. Valid values: `OpenApi3`. + The type of the schema. Valid values: `OpenApi3` or `JSONSchemaDraft4`. """ return pulumi.get(self, "type") diff --git a/sdk/python/pulumi_aws/shield/__init__.py b/sdk/python/pulumi_aws/shield/__init__.py index 7e8dae95e5f..433bcd18341 100644 --- a/sdk/python/pulumi_aws/shield/__init__.py +++ b/sdk/python/pulumi_aws/shield/__init__.py @@ -5,6 +5,7 @@ from .. import _utilities import typing # Export this package's modules as members: +from .application_layer_automatic_response import * from .drt_access_log_bucket_association import * from .drt_access_role_arn_association import * from .protection import * diff --git a/sdk/python/pulumi_aws/shield/_inputs.py b/sdk/python/pulumi_aws/shield/_inputs.py index cd1aeb7c1c0..74bf39f6e02 100644 --- a/sdk/python/pulumi_aws/shield/_inputs.py +++ b/sdk/python/pulumi_aws/shield/_inputs.py @@ -10,10 +10,52 @@ from .. import _utilities __all__ = [ + 'ApplicationLayerAutomaticResponseTimeoutsArgs', 'DrtAccessLogBucketAssociationTimeoutsArgs', 'DrtAccessRoleArnAssociationTimeoutsArgs', ] +@pulumi.input_type +class ApplicationLayerAutomaticResponseTimeoutsArgs: + def __init__(__self__, *, + create: Optional[pulumi.Input[str]] = None, + delete: Optional[pulumi.Input[str]] = None, + update: Optional[pulumi.Input[str]] = None): + if create is not None: + pulumi.set(__self__, "create", create) + if delete is not None: + pulumi.set(__self__, "delete", delete) + if update is not None: + pulumi.set(__self__, "update", update) + + @property + @pulumi.getter + def create(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "create") + + @create.setter + def create(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "create", value) + + @property + @pulumi.getter + def delete(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "delete") + + @delete.setter + def delete(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "delete", value) + + @property + @pulumi.getter + def update(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "update") + + @update.setter + def update(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "update", value) + + @pulumi.input_type class DrtAccessLogBucketAssociationTimeoutsArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws/shield/application_layer_automatic_response.py b/sdk/python/pulumi_aws/shield/application_layer_automatic_response.py new file mode 100644 index 00000000000..6035236c8a5 --- /dev/null +++ b/sdk/python/pulumi_aws/shield/application_layer_automatic_response.py @@ -0,0 +1,260 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from .. import _utilities +from . import outputs +from ._inputs import * + +__all__ = ['ApplicationLayerAutomaticResponseArgs', 'ApplicationLayerAutomaticResponse'] + +@pulumi.input_type +class ApplicationLayerAutomaticResponseArgs: + def __init__(__self__, *, + action: pulumi.Input[str], + resource_arn: pulumi.Input[str], + timeouts: Optional[pulumi.Input['ApplicationLayerAutomaticResponseTimeoutsArgs']] = None): + """ + The set of arguments for constructing a ApplicationLayerAutomaticResponse resource. + :param pulumi.Input[str] action: One of `COUNT` or `BLOCK` + :param pulumi.Input[str] resource_arn: ARN of the resource to protect (Cloudfront Distributions and ALBs only at this time). + """ + pulumi.set(__self__, "action", action) + pulumi.set(__self__, "resource_arn", resource_arn) + if timeouts is not None: + pulumi.set(__self__, "timeouts", timeouts) + + @property + @pulumi.getter + def action(self) -> pulumi.Input[str]: + """ + One of `COUNT` or `BLOCK` + """ + return pulumi.get(self, "action") + + @action.setter + def action(self, value: pulumi.Input[str]): + pulumi.set(self, "action", value) + + @property + @pulumi.getter(name="resourceArn") + def resource_arn(self) -> pulumi.Input[str]: + """ + ARN of the resource to protect (Cloudfront Distributions and ALBs only at this time). + """ + return pulumi.get(self, "resource_arn") + + @resource_arn.setter + def resource_arn(self, value: pulumi.Input[str]): + pulumi.set(self, "resource_arn", value) + + @property + @pulumi.getter + def timeouts(self) -> Optional[pulumi.Input['ApplicationLayerAutomaticResponseTimeoutsArgs']]: + return pulumi.get(self, "timeouts") + + @timeouts.setter + def timeouts(self, value: Optional[pulumi.Input['ApplicationLayerAutomaticResponseTimeoutsArgs']]): + pulumi.set(self, "timeouts", value) + + +@pulumi.input_type +class _ApplicationLayerAutomaticResponseState: + def __init__(__self__, *, + action: Optional[pulumi.Input[str]] = None, + resource_arn: Optional[pulumi.Input[str]] = None, + timeouts: Optional[pulumi.Input['ApplicationLayerAutomaticResponseTimeoutsArgs']] = None): + """ + Input properties used for looking up and filtering ApplicationLayerAutomaticResponse resources. + :param pulumi.Input[str] action: One of `COUNT` or `BLOCK` + :param pulumi.Input[str] resource_arn: ARN of the resource to protect (Cloudfront Distributions and ALBs only at this time). + """ + if action is not None: + pulumi.set(__self__, "action", action) + if resource_arn is not None: + pulumi.set(__self__, "resource_arn", resource_arn) + if timeouts is not None: + pulumi.set(__self__, "timeouts", timeouts) + + @property + @pulumi.getter + def action(self) -> Optional[pulumi.Input[str]]: + """ + One of `COUNT` or `BLOCK` + """ + return pulumi.get(self, "action") + + @action.setter + def action(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "action", value) + + @property + @pulumi.getter(name="resourceArn") + def resource_arn(self) -> Optional[pulumi.Input[str]]: + """ + ARN of the resource to protect (Cloudfront Distributions and ALBs only at this time). + """ + return pulumi.get(self, "resource_arn") + + @resource_arn.setter + def resource_arn(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "resource_arn", value) + + @property + @pulumi.getter + def timeouts(self) -> Optional[pulumi.Input['ApplicationLayerAutomaticResponseTimeoutsArgs']]: + return pulumi.get(self, "timeouts") + + @timeouts.setter + def timeouts(self, value: Optional[pulumi.Input['ApplicationLayerAutomaticResponseTimeoutsArgs']]): + pulumi.set(self, "timeouts", value) + + +class ApplicationLayerAutomaticResponse(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + action: Optional[pulumi.Input[str]] = None, + resource_arn: Optional[pulumi.Input[str]] = None, + timeouts: Optional[pulumi.Input[pulumi.InputType['ApplicationLayerAutomaticResponseTimeoutsArgs']]] = None, + __props__=None): + """ + Resource for managing an AWS Shield Application Layer Automatic Response for automatic DDoS mitigation. + + ## Example Usage + ### Basic Usage + + ```python + import pulumi + import pulumi_aws as aws + + current_region = aws.get_region() + current_caller_identity = aws.get_caller_identity() + current_partition = aws.get_partition() + example = aws.shield.ApplicationLayerAutomaticResponse("example", + action="COUNT", + resource_arn=f"arn:{current_partition.partition}:cloudfront:{current_caller_identity.account_id}:distribution/{var['distribution_id']}") + ``` + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] action: One of `COUNT` or `BLOCK` + :param pulumi.Input[str] resource_arn: ARN of the resource to protect (Cloudfront Distributions and ALBs only at this time). + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: ApplicationLayerAutomaticResponseArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Resource for managing an AWS Shield Application Layer Automatic Response for automatic DDoS mitigation. + + ## Example Usage + ### Basic Usage + + ```python + import pulumi + import pulumi_aws as aws + + current_region = aws.get_region() + current_caller_identity = aws.get_caller_identity() + current_partition = aws.get_partition() + example = aws.shield.ApplicationLayerAutomaticResponse("example", + action="COUNT", + resource_arn=f"arn:{current_partition.partition}:cloudfront:{current_caller_identity.account_id}:distribution/{var['distribution_id']}") + ``` + + :param str resource_name: The name of the resource. + :param ApplicationLayerAutomaticResponseArgs args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(ApplicationLayerAutomaticResponseArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + action: Optional[pulumi.Input[str]] = None, + resource_arn: Optional[pulumi.Input[str]] = None, + timeouts: Optional[pulumi.Input[pulumi.InputType['ApplicationLayerAutomaticResponseTimeoutsArgs']]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = ApplicationLayerAutomaticResponseArgs.__new__(ApplicationLayerAutomaticResponseArgs) + + if action is None and not opts.urn: + raise TypeError("Missing required property 'action'") + __props__.__dict__["action"] = action + if resource_arn is None and not opts.urn: + raise TypeError("Missing required property 'resource_arn'") + __props__.__dict__["resource_arn"] = resource_arn + __props__.__dict__["timeouts"] = timeouts + super(ApplicationLayerAutomaticResponse, __self__).__init__( + 'aws:shield/applicationLayerAutomaticResponse:ApplicationLayerAutomaticResponse', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None, + action: Optional[pulumi.Input[str]] = None, + resource_arn: Optional[pulumi.Input[str]] = None, + timeouts: Optional[pulumi.Input[pulumi.InputType['ApplicationLayerAutomaticResponseTimeoutsArgs']]] = None) -> 'ApplicationLayerAutomaticResponse': + """ + Get an existing ApplicationLayerAutomaticResponse resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] action: One of `COUNT` or `BLOCK` + :param pulumi.Input[str] resource_arn: ARN of the resource to protect (Cloudfront Distributions and ALBs only at this time). + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = _ApplicationLayerAutomaticResponseState.__new__(_ApplicationLayerAutomaticResponseState) + + __props__.__dict__["action"] = action + __props__.__dict__["resource_arn"] = resource_arn + __props__.__dict__["timeouts"] = timeouts + return ApplicationLayerAutomaticResponse(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def action(self) -> pulumi.Output[str]: + """ + One of `COUNT` or `BLOCK` + """ + return pulumi.get(self, "action") + + @property + @pulumi.getter(name="resourceArn") + def resource_arn(self) -> pulumi.Output[str]: + """ + ARN of the resource to protect (Cloudfront Distributions and ALBs only at this time). + """ + return pulumi.get(self, "resource_arn") + + @property + @pulumi.getter + def timeouts(self) -> pulumi.Output[Optional['outputs.ApplicationLayerAutomaticResponseTimeouts']]: + return pulumi.get(self, "timeouts") + diff --git a/sdk/python/pulumi_aws/shield/outputs.py b/sdk/python/pulumi_aws/shield/outputs.py index 6e9c5353d23..77e89dccc58 100644 --- a/sdk/python/pulumi_aws/shield/outputs.py +++ b/sdk/python/pulumi_aws/shield/outputs.py @@ -10,10 +10,40 @@ from .. import _utilities __all__ = [ + 'ApplicationLayerAutomaticResponseTimeouts', 'DrtAccessLogBucketAssociationTimeouts', 'DrtAccessRoleArnAssociationTimeouts', ] +@pulumi.output_type +class ApplicationLayerAutomaticResponseTimeouts(dict): + def __init__(__self__, *, + create: Optional[str] = None, + delete: Optional[str] = None, + update: Optional[str] = None): + if create is not None: + pulumi.set(__self__, "create", create) + if delete is not None: + pulumi.set(__self__, "delete", delete) + if update is not None: + pulumi.set(__self__, "update", update) + + @property + @pulumi.getter + def create(self) -> Optional[str]: + return pulumi.get(self, "create") + + @property + @pulumi.getter + def delete(self) -> Optional[str]: + return pulumi.get(self, "delete") + + @property + @pulumi.getter + def update(self) -> Optional[str]: + return pulumi.get(self, "update") + + @pulumi.output_type class DrtAccessLogBucketAssociationTimeouts(dict): def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws/transfer/_inputs.py b/sdk/python/pulumi_aws/transfer/_inputs.py index 2204b6b60a9..aa36f9a6163 100644 --- a/sdk/python/pulumi_aws/transfer/_inputs.py +++ b/sdk/python/pulumi_aws/transfer/_inputs.py @@ -13,6 +13,7 @@ 'AccessHomeDirectoryMappingArgs', 'AccessPosixProfileArgs', 'ConnectorAs2ConfigArgs', + 'ConnectorSftpConfigArgs', 'ServerEndpointDetailsArgs', 'ServerProtocolDetailsArgs', 'ServerWorkflowDetailsArgs', @@ -267,6 +268,45 @@ def message_subject(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "message_subject", value) +@pulumi.input_type +class ConnectorSftpConfigArgs: + def __init__(__self__, *, + trusted_host_keys: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + user_secret_id: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[Sequence[pulumi.Input[str]]] trusted_host_keys: A list of public portion of the host key, or keys, that are used to authenticate the user to the external server to which you are connecting.(https://docs.aws.amazon.com/transfer/latest/userguide/API_SftpConnectorConfig.html) + :param pulumi.Input[str] user_secret_id: The identifier for the secret (in AWS Secrets Manager) that contains the SFTP user's private key, password, or both. The identifier can be either the Amazon Resource Name (ARN) or the name of the secret. + """ + if trusted_host_keys is not None: + pulumi.set(__self__, "trusted_host_keys", trusted_host_keys) + if user_secret_id is not None: + pulumi.set(__self__, "user_secret_id", user_secret_id) + + @property + @pulumi.getter(name="trustedHostKeys") + def trusted_host_keys(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + A list of public portion of the host key, or keys, that are used to authenticate the user to the external server to which you are connecting.(https://docs.aws.amazon.com/transfer/latest/userguide/API_SftpConnectorConfig.html) + """ + return pulumi.get(self, "trusted_host_keys") + + @trusted_host_keys.setter + def trusted_host_keys(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "trusted_host_keys", value) + + @property + @pulumi.getter(name="userSecretId") + def user_secret_id(self) -> Optional[pulumi.Input[str]]: + """ + The identifier for the secret (in AWS Secrets Manager) that contains the SFTP user's private key, password, or both. The identifier can be either the Amazon Resource Name (ARN) or the name of the secret. + """ + return pulumi.get(self, "user_secret_id") + + @user_secret_id.setter + def user_secret_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "user_secret_id", value) + + @pulumi.input_type class ServerEndpointDetailsArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws/transfer/connector.py b/sdk/python/pulumi_aws/transfer/connector.py index b13ee29be89..212643b1f73 100644 --- a/sdk/python/pulumi_aws/transfer/connector.py +++ b/sdk/python/pulumi_aws/transfer/connector.py @@ -17,23 +17,28 @@ class ConnectorArgs: def __init__(__self__, *, access_role: pulumi.Input[str], - as2_config: pulumi.Input['ConnectorAs2ConfigArgs'], url: pulumi.Input[str], + as2_config: Optional[pulumi.Input['ConnectorAs2ConfigArgs']] = None, logging_role: Optional[pulumi.Input[str]] = None, + sftp_config: Optional[pulumi.Input['ConnectorSftpConfigArgs']] = None, tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None): """ The set of arguments for constructing a Connector resource. :param pulumi.Input[str] access_role: The IAM Role which provides read and write access to the parent directory of the file location mentioned in the StartFileTransfer request. - :param pulumi.Input['ConnectorAs2ConfigArgs'] as2_config: The parameters to configure for the connector object. Fields documented below. - :param pulumi.Input[str] url: The URL of the partners AS2 endpoint. + :param pulumi.Input[str] url: The URL of the partners AS2 endpoint or SFTP endpoint. + :param pulumi.Input['ConnectorAs2ConfigArgs'] as2_config: Either SFTP or AS2 is configured.The parameters to configure for the connector object. Fields documented below. :param pulumi.Input[str] logging_role: The IAM Role which is required for allowing the connector to turn on CloudWatch logging for Amazon S3 events. + :param pulumi.Input['ConnectorSftpConfigArgs'] sftp_config: Either SFTP or AS2 is configured.The parameters to configure for the connector object. Fields documented below. :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A map of tags to assign to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. """ pulumi.set(__self__, "access_role", access_role) - pulumi.set(__self__, "as2_config", as2_config) pulumi.set(__self__, "url", url) + if as2_config is not None: + pulumi.set(__self__, "as2_config", as2_config) if logging_role is not None: pulumi.set(__self__, "logging_role", logging_role) + if sftp_config is not None: + pulumi.set(__self__, "sftp_config", sftp_config) if tags is not None: pulumi.set(__self__, "tags", tags) @@ -49,23 +54,11 @@ def access_role(self) -> pulumi.Input[str]: def access_role(self, value: pulumi.Input[str]): pulumi.set(self, "access_role", value) - @property - @pulumi.getter(name="as2Config") - def as2_config(self) -> pulumi.Input['ConnectorAs2ConfigArgs']: - """ - The parameters to configure for the connector object. Fields documented below. - """ - return pulumi.get(self, "as2_config") - - @as2_config.setter - def as2_config(self, value: pulumi.Input['ConnectorAs2ConfigArgs']): - pulumi.set(self, "as2_config", value) - @property @pulumi.getter def url(self) -> pulumi.Input[str]: """ - The URL of the partners AS2 endpoint. + The URL of the partners AS2 endpoint or SFTP endpoint. """ return pulumi.get(self, "url") @@ -73,6 +66,18 @@ def url(self) -> pulumi.Input[str]: def url(self, value: pulumi.Input[str]): pulumi.set(self, "url", value) + @property + @pulumi.getter(name="as2Config") + def as2_config(self) -> Optional[pulumi.Input['ConnectorAs2ConfigArgs']]: + """ + Either SFTP or AS2 is configured.The parameters to configure for the connector object. Fields documented below. + """ + return pulumi.get(self, "as2_config") + + @as2_config.setter + def as2_config(self, value: Optional[pulumi.Input['ConnectorAs2ConfigArgs']]): + pulumi.set(self, "as2_config", value) + @property @pulumi.getter(name="loggingRole") def logging_role(self) -> Optional[pulumi.Input[str]]: @@ -85,6 +90,18 @@ def logging_role(self) -> Optional[pulumi.Input[str]]: def logging_role(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "logging_role", value) + @property + @pulumi.getter(name="sftpConfig") + def sftp_config(self) -> Optional[pulumi.Input['ConnectorSftpConfigArgs']]: + """ + Either SFTP or AS2 is configured.The parameters to configure for the connector object. Fields documented below. + """ + return pulumi.get(self, "sftp_config") + + @sftp_config.setter + def sftp_config(self, value: Optional[pulumi.Input['ConnectorSftpConfigArgs']]): + pulumi.set(self, "sftp_config", value) + @property @pulumi.getter def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: @@ -106,6 +123,7 @@ def __init__(__self__, *, as2_config: Optional[pulumi.Input['ConnectorAs2ConfigArgs']] = None, connector_id: Optional[pulumi.Input[str]] = None, logging_role: Optional[pulumi.Input[str]] = None, + sftp_config: Optional[pulumi.Input['ConnectorSftpConfigArgs']] = None, tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, tags_all: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, url: Optional[pulumi.Input[str]] = None): @@ -113,11 +131,12 @@ def __init__(__self__, *, Input properties used for looking up and filtering Connector resources. :param pulumi.Input[str] access_role: The IAM Role which provides read and write access to the parent directory of the file location mentioned in the StartFileTransfer request. :param pulumi.Input[str] arn: The ARN of the connector. - :param pulumi.Input['ConnectorAs2ConfigArgs'] as2_config: The parameters to configure for the connector object. Fields documented below. - :param pulumi.Input[str] connector_id: The unique identifier for the AS2 profile. + :param pulumi.Input['ConnectorAs2ConfigArgs'] as2_config: Either SFTP or AS2 is configured.The parameters to configure for the connector object. Fields documented below. + :param pulumi.Input[str] connector_id: The unique identifier for the AS2 profile or SFTP Profile. :param pulumi.Input[str] logging_role: The IAM Role which is required for allowing the connector to turn on CloudWatch logging for Amazon S3 events. + :param pulumi.Input['ConnectorSftpConfigArgs'] sftp_config: Either SFTP or AS2 is configured.The parameters to configure for the connector object. Fields documented below. :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A map of tags to assign to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. - :param pulumi.Input[str] url: The URL of the partners AS2 endpoint. + :param pulumi.Input[str] url: The URL of the partners AS2 endpoint or SFTP endpoint. """ if access_role is not None: pulumi.set(__self__, "access_role", access_role) @@ -129,6 +148,8 @@ def __init__(__self__, *, pulumi.set(__self__, "connector_id", connector_id) if logging_role is not None: pulumi.set(__self__, "logging_role", logging_role) + if sftp_config is not None: + pulumi.set(__self__, "sftp_config", sftp_config) if tags is not None: pulumi.set(__self__, "tags", tags) if tags_all is not None: @@ -167,7 +188,7 @@ def arn(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="as2Config") def as2_config(self) -> Optional[pulumi.Input['ConnectorAs2ConfigArgs']]: """ - The parameters to configure for the connector object. Fields documented below. + Either SFTP or AS2 is configured.The parameters to configure for the connector object. Fields documented below. """ return pulumi.get(self, "as2_config") @@ -179,7 +200,7 @@ def as2_config(self, value: Optional[pulumi.Input['ConnectorAs2ConfigArgs']]): @pulumi.getter(name="connectorId") def connector_id(self) -> Optional[pulumi.Input[str]]: """ - The unique identifier for the AS2 profile. + The unique identifier for the AS2 profile or SFTP Profile. """ return pulumi.get(self, "connector_id") @@ -199,6 +220,18 @@ def logging_role(self) -> Optional[pulumi.Input[str]]: def logging_role(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "logging_role", value) + @property + @pulumi.getter(name="sftpConfig") + def sftp_config(self) -> Optional[pulumi.Input['ConnectorSftpConfigArgs']]: + """ + Either SFTP or AS2 is configured.The parameters to configure for the connector object. Fields documented below. + """ + return pulumi.get(self, "sftp_config") + + @sftp_config.setter + def sftp_config(self, value: Optional[pulumi.Input['ConnectorSftpConfigArgs']]): + pulumi.set(self, "sftp_config", value) + @property @pulumi.getter def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: @@ -227,7 +260,7 @@ def tags_all(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]] @pulumi.getter def url(self) -> Optional[pulumi.Input[str]]: """ - The URL of the partners AS2 endpoint. + The URL of the partners AS2 endpoint or SFTP endpoint. """ return pulumi.get(self, "url") @@ -244,6 +277,7 @@ def __init__(__self__, access_role: Optional[pulumi.Input[str]] = None, as2_config: Optional[pulumi.Input[pulumi.InputType['ConnectorAs2ConfigArgs']]] = None, logging_role: Optional[pulumi.Input[str]] = None, + sftp_config: Optional[pulumi.Input[pulumi.InputType['ConnectorSftpConfigArgs']]] = None, tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, url: Optional[pulumi.Input[str]] = None, __props__=None): @@ -271,6 +305,20 @@ def __init__(__self__, ), url="http://www.test.com") ``` + ### SFTP Connector + + ```python + import pulumi + import pulumi_aws as aws + + example = aws.transfer.Connector("example", + access_role=aws_iam_role["test"]["arn"], + sftp_config=aws.transfer.ConnectorSftpConfigArgs( + trusted_host_keys=["ssh-rsa AAAAB3NYourKeysHere"], + user_secret_id=aws_secretsmanager_secret["example"]["id"], + ), + url="sftp://test.com") + ``` ## Import @@ -283,10 +331,11 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] access_role: The IAM Role which provides read and write access to the parent directory of the file location mentioned in the StartFileTransfer request. - :param pulumi.Input[pulumi.InputType['ConnectorAs2ConfigArgs']] as2_config: The parameters to configure for the connector object. Fields documented below. + :param pulumi.Input[pulumi.InputType['ConnectorAs2ConfigArgs']] as2_config: Either SFTP or AS2 is configured.The parameters to configure for the connector object. Fields documented below. :param pulumi.Input[str] logging_role: The IAM Role which is required for allowing the connector to turn on CloudWatch logging for Amazon S3 events. + :param pulumi.Input[pulumi.InputType['ConnectorSftpConfigArgs']] sftp_config: Either SFTP or AS2 is configured.The parameters to configure for the connector object. Fields documented below. :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A map of tags to assign to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. - :param pulumi.Input[str] url: The URL of the partners AS2 endpoint. + :param pulumi.Input[str] url: The URL of the partners AS2 endpoint or SFTP endpoint. """ ... @overload @@ -318,6 +367,20 @@ def __init__(__self__, ), url="http://www.test.com") ``` + ### SFTP Connector + + ```python + import pulumi + import pulumi_aws as aws + + example = aws.transfer.Connector("example", + access_role=aws_iam_role["test"]["arn"], + sftp_config=aws.transfer.ConnectorSftpConfigArgs( + trusted_host_keys=["ssh-rsa AAAAB3NYourKeysHere"], + user_secret_id=aws_secretsmanager_secret["example"]["id"], + ), + url="sftp://test.com") + ``` ## Import @@ -345,6 +408,7 @@ def _internal_init(__self__, access_role: Optional[pulumi.Input[str]] = None, as2_config: Optional[pulumi.Input[pulumi.InputType['ConnectorAs2ConfigArgs']]] = None, logging_role: Optional[pulumi.Input[str]] = None, + sftp_config: Optional[pulumi.Input[pulumi.InputType['ConnectorSftpConfigArgs']]] = None, tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, url: Optional[pulumi.Input[str]] = None, __props__=None): @@ -359,10 +423,9 @@ def _internal_init(__self__, if access_role is None and not opts.urn: raise TypeError("Missing required property 'access_role'") __props__.__dict__["access_role"] = access_role - if as2_config is None and not opts.urn: - raise TypeError("Missing required property 'as2_config'") __props__.__dict__["as2_config"] = as2_config __props__.__dict__["logging_role"] = logging_role + __props__.__dict__["sftp_config"] = sftp_config __props__.__dict__["tags"] = tags if url is None and not opts.urn: raise TypeError("Missing required property 'url'") @@ -387,6 +450,7 @@ def get(resource_name: str, as2_config: Optional[pulumi.Input[pulumi.InputType['ConnectorAs2ConfigArgs']]] = None, connector_id: Optional[pulumi.Input[str]] = None, logging_role: Optional[pulumi.Input[str]] = None, + sftp_config: Optional[pulumi.Input[pulumi.InputType['ConnectorSftpConfigArgs']]] = None, tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, tags_all: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, url: Optional[pulumi.Input[str]] = None) -> 'Connector': @@ -399,11 +463,12 @@ def get(resource_name: str, :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] access_role: The IAM Role which provides read and write access to the parent directory of the file location mentioned in the StartFileTransfer request. :param pulumi.Input[str] arn: The ARN of the connector. - :param pulumi.Input[pulumi.InputType['ConnectorAs2ConfigArgs']] as2_config: The parameters to configure for the connector object. Fields documented below. - :param pulumi.Input[str] connector_id: The unique identifier for the AS2 profile. + :param pulumi.Input[pulumi.InputType['ConnectorAs2ConfigArgs']] as2_config: Either SFTP or AS2 is configured.The parameters to configure for the connector object. Fields documented below. + :param pulumi.Input[str] connector_id: The unique identifier for the AS2 profile or SFTP Profile. :param pulumi.Input[str] logging_role: The IAM Role which is required for allowing the connector to turn on CloudWatch logging for Amazon S3 events. + :param pulumi.Input[pulumi.InputType['ConnectorSftpConfigArgs']] sftp_config: Either SFTP or AS2 is configured.The parameters to configure for the connector object. Fields documented below. :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A map of tags to assign to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. - :param pulumi.Input[str] url: The URL of the partners AS2 endpoint. + :param pulumi.Input[str] url: The URL of the partners AS2 endpoint or SFTP endpoint. """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -414,6 +479,7 @@ def get(resource_name: str, __props__.__dict__["as2_config"] = as2_config __props__.__dict__["connector_id"] = connector_id __props__.__dict__["logging_role"] = logging_role + __props__.__dict__["sftp_config"] = sftp_config __props__.__dict__["tags"] = tags __props__.__dict__["tags_all"] = tags_all __props__.__dict__["url"] = url @@ -437,9 +503,9 @@ def arn(self) -> pulumi.Output[str]: @property @pulumi.getter(name="as2Config") - def as2_config(self) -> pulumi.Output['outputs.ConnectorAs2Config']: + def as2_config(self) -> pulumi.Output[Optional['outputs.ConnectorAs2Config']]: """ - The parameters to configure for the connector object. Fields documented below. + Either SFTP or AS2 is configured.The parameters to configure for the connector object. Fields documented below. """ return pulumi.get(self, "as2_config") @@ -447,7 +513,7 @@ def as2_config(self) -> pulumi.Output['outputs.ConnectorAs2Config']: @pulumi.getter(name="connectorId") def connector_id(self) -> pulumi.Output[str]: """ - The unique identifier for the AS2 profile. + The unique identifier for the AS2 profile or SFTP Profile. """ return pulumi.get(self, "connector_id") @@ -459,6 +525,14 @@ def logging_role(self) -> pulumi.Output[Optional[str]]: """ return pulumi.get(self, "logging_role") + @property + @pulumi.getter(name="sftpConfig") + def sftp_config(self) -> pulumi.Output[Optional['outputs.ConnectorSftpConfig']]: + """ + Either SFTP or AS2 is configured.The parameters to configure for the connector object. Fields documented below. + """ + return pulumi.get(self, "sftp_config") + @property @pulumi.getter def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: @@ -479,7 +553,7 @@ def tags_all(self) -> pulumi.Output[Mapping[str, str]]: @pulumi.getter def url(self) -> pulumi.Output[str]: """ - The URL of the partners AS2 endpoint. + The URL of the partners AS2 endpoint or SFTP endpoint. """ return pulumi.get(self, "url") diff --git a/sdk/python/pulumi_aws/transfer/outputs.py b/sdk/python/pulumi_aws/transfer/outputs.py index a3ca45aea42..ce5e1e7775d 100644 --- a/sdk/python/pulumi_aws/transfer/outputs.py +++ b/sdk/python/pulumi_aws/transfer/outputs.py @@ -14,6 +14,7 @@ 'AccessHomeDirectoryMapping', 'AccessPosixProfile', 'ConnectorAs2Config', + 'ConnectorSftpConfig', 'ServerEndpointDetails', 'ServerProtocolDetails', 'ServerWorkflowDetails', @@ -262,6 +263,56 @@ def message_subject(self) -> Optional[str]: return pulumi.get(self, "message_subject") +@pulumi.output_type +class ConnectorSftpConfig(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "trustedHostKeys": + suggest = "trusted_host_keys" + elif key == "userSecretId": + suggest = "user_secret_id" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ConnectorSftpConfig. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ConnectorSftpConfig.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ConnectorSftpConfig.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + trusted_host_keys: Optional[Sequence[str]] = None, + user_secret_id: Optional[str] = None): + """ + :param Sequence[str] trusted_host_keys: A list of public portion of the host key, or keys, that are used to authenticate the user to the external server to which you are connecting.(https://docs.aws.amazon.com/transfer/latest/userguide/API_SftpConnectorConfig.html) + :param str user_secret_id: The identifier for the secret (in AWS Secrets Manager) that contains the SFTP user's private key, password, or both. The identifier can be either the Amazon Resource Name (ARN) or the name of the secret. + """ + if trusted_host_keys is not None: + pulumi.set(__self__, "trusted_host_keys", trusted_host_keys) + if user_secret_id is not None: + pulumi.set(__self__, "user_secret_id", user_secret_id) + + @property + @pulumi.getter(name="trustedHostKeys") + def trusted_host_keys(self) -> Optional[Sequence[str]]: + """ + A list of public portion of the host key, or keys, that are used to authenticate the user to the external server to which you are connecting.(https://docs.aws.amazon.com/transfer/latest/userguide/API_SftpConnectorConfig.html) + """ + return pulumi.get(self, "trusted_host_keys") + + @property + @pulumi.getter(name="userSecretId") + def user_secret_id(self) -> Optional[str]: + """ + The identifier for the secret (in AWS Secrets Manager) that contains the SFTP user's private key, password, or both. The identifier can be either the Amazon Resource Name (ARN) or the name of the secret. + """ + return pulumi.get(self, "user_secret_id") + + @pulumi.output_type class ServerEndpointDetails(dict): @staticmethod diff --git a/sdk/python/pulumi_aws/verifiedaccess/__init__.py b/sdk/python/pulumi_aws/verifiedaccess/__init__.py index 319549a8421..672e7d3967c 100644 --- a/sdk/python/pulumi_aws/verifiedaccess/__init__.py +++ b/sdk/python/pulumi_aws/verifiedaccess/__init__.py @@ -5,6 +5,7 @@ from .. import _utilities import typing # Export this package's modules as members: +from .instance import * from .trust_provider import * from ._inputs import * from . import outputs diff --git a/sdk/python/pulumi_aws/verifiedaccess/_inputs.py b/sdk/python/pulumi_aws/verifiedaccess/_inputs.py index 2ce14a32349..f4053d2b33f 100644 --- a/sdk/python/pulumi_aws/verifiedaccess/_inputs.py +++ b/sdk/python/pulumi_aws/verifiedaccess/_inputs.py @@ -10,10 +10,98 @@ from .. import _utilities __all__ = [ + 'InstanceVerifiedAccessTrustProviderArgs', 'TrustProviderDeviceOptionsArgs', 'TrustProviderOidcOptionsArgs', ] +@pulumi.input_type +class InstanceVerifiedAccessTrustProviderArgs: + def __init__(__self__, *, + description: Optional[pulumi.Input[str]] = None, + device_trust_provider_type: Optional[pulumi.Input[str]] = None, + trust_provider_type: Optional[pulumi.Input[str]] = None, + user_trust_provider_type: Optional[pulumi.Input[str]] = None, + verified_access_trust_provider_id: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] description: A description for the AWS Verified Access Instance. + :param pulumi.Input[str] device_trust_provider_type: The type of device-based trust provider. + :param pulumi.Input[str] trust_provider_type: The type of trust provider (user- or device-based). + :param pulumi.Input[str] user_trust_provider_type: The type of user-based trust provider. + :param pulumi.Input[str] verified_access_trust_provider_id: The ID of the trust provider. + """ + if description is not None: + pulumi.set(__self__, "description", description) + if device_trust_provider_type is not None: + pulumi.set(__self__, "device_trust_provider_type", device_trust_provider_type) + if trust_provider_type is not None: + pulumi.set(__self__, "trust_provider_type", trust_provider_type) + if user_trust_provider_type is not None: + pulumi.set(__self__, "user_trust_provider_type", user_trust_provider_type) + if verified_access_trust_provider_id is not None: + pulumi.set(__self__, "verified_access_trust_provider_id", verified_access_trust_provider_id) + + @property + @pulumi.getter + def description(self) -> Optional[pulumi.Input[str]]: + """ + A description for the AWS Verified Access Instance. + """ + return pulumi.get(self, "description") + + @description.setter + def description(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "description", value) + + @property + @pulumi.getter(name="deviceTrustProviderType") + def device_trust_provider_type(self) -> Optional[pulumi.Input[str]]: + """ + The type of device-based trust provider. + """ + return pulumi.get(self, "device_trust_provider_type") + + @device_trust_provider_type.setter + def device_trust_provider_type(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "device_trust_provider_type", value) + + @property + @pulumi.getter(name="trustProviderType") + def trust_provider_type(self) -> Optional[pulumi.Input[str]]: + """ + The type of trust provider (user- or device-based). + """ + return pulumi.get(self, "trust_provider_type") + + @trust_provider_type.setter + def trust_provider_type(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "trust_provider_type", value) + + @property + @pulumi.getter(name="userTrustProviderType") + def user_trust_provider_type(self) -> Optional[pulumi.Input[str]]: + """ + The type of user-based trust provider. + """ + return pulumi.get(self, "user_trust_provider_type") + + @user_trust_provider_type.setter + def user_trust_provider_type(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "user_trust_provider_type", value) + + @property + @pulumi.getter(name="verifiedAccessTrustProviderId") + def verified_access_trust_provider_id(self) -> Optional[pulumi.Input[str]]: + """ + The ID of the trust provider. + """ + return pulumi.get(self, "verified_access_trust_provider_id") + + @verified_access_trust_provider_id.setter + def verified_access_trust_provider_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "verified_access_trust_provider_id", value) + + @pulumi.input_type class TrustProviderDeviceOptionsArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws/verifiedaccess/instance.py b/sdk/python/pulumi_aws/verifiedaccess/instance.py new file mode 100644 index 00000000000..dbf08b529d8 --- /dev/null +++ b/sdk/python/pulumi_aws/verifiedaccess/instance.py @@ -0,0 +1,355 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from .. import _utilities +from . import outputs +from ._inputs import * + +__all__ = ['InstanceArgs', 'Instance'] + +@pulumi.input_type +class InstanceArgs: + def __init__(__self__, *, + description: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None): + """ + The set of arguments for constructing a Instance resource. + :param pulumi.Input[str] description: A description for the AWS Verified Access Instance. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Key-value mapping of resource tags. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. + """ + if description is not None: + pulumi.set(__self__, "description", description) + if tags is not None: + pulumi.set(__self__, "tags", tags) + + @property + @pulumi.getter + def description(self) -> Optional[pulumi.Input[str]]: + """ + A description for the AWS Verified Access Instance. + """ + return pulumi.get(self, "description") + + @description.setter + def description(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "description", value) + + @property + @pulumi.getter + def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + Key-value mapping of resource tags. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. + """ + return pulumi.get(self, "tags") + + @tags.setter + def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): + pulumi.set(self, "tags", value) + + +@pulumi.input_type +class _InstanceState: + def __init__(__self__, *, + creation_time: Optional[pulumi.Input[str]] = None, + description: Optional[pulumi.Input[str]] = None, + last_updated_time: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + tags_all: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + verified_access_trust_providers: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceVerifiedAccessTrustProviderArgs']]]] = None): + """ + Input properties used for looking up and filtering Instance resources. + :param pulumi.Input[str] creation_time: The time that the Verified Access Instance was created. + :param pulumi.Input[str] description: A description for the AWS Verified Access Instance. + :param pulumi.Input[str] last_updated_time: The time that the Verified Access Instance was last updated. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Key-value mapping of resource tags. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. + :param pulumi.Input[Sequence[pulumi.Input['InstanceVerifiedAccessTrustProviderArgs']]] verified_access_trust_providers: One or more blocks of providing information about the AWS Verified Access Trust Providers. See verified_access_trust_providers below for details.One or more blocks + """ + if creation_time is not None: + pulumi.set(__self__, "creation_time", creation_time) + if description is not None: + pulumi.set(__self__, "description", description) + if last_updated_time is not None: + pulumi.set(__self__, "last_updated_time", last_updated_time) + if tags is not None: + pulumi.set(__self__, "tags", tags) + if tags_all is not None: + warnings.warn("""Please use `tags` instead.""", DeprecationWarning) + pulumi.log.warn("""tags_all is deprecated: Please use `tags` instead.""") + if tags_all is not None: + pulumi.set(__self__, "tags_all", tags_all) + if verified_access_trust_providers is not None: + pulumi.set(__self__, "verified_access_trust_providers", verified_access_trust_providers) + + @property + @pulumi.getter(name="creationTime") + def creation_time(self) -> Optional[pulumi.Input[str]]: + """ + The time that the Verified Access Instance was created. + """ + return pulumi.get(self, "creation_time") + + @creation_time.setter + def creation_time(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "creation_time", value) + + @property + @pulumi.getter + def description(self) -> Optional[pulumi.Input[str]]: + """ + A description for the AWS Verified Access Instance. + """ + return pulumi.get(self, "description") + + @description.setter + def description(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "description", value) + + @property + @pulumi.getter(name="lastUpdatedTime") + def last_updated_time(self) -> Optional[pulumi.Input[str]]: + """ + The time that the Verified Access Instance was last updated. + """ + return pulumi.get(self, "last_updated_time") + + @last_updated_time.setter + def last_updated_time(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "last_updated_time", value) + + @property + @pulumi.getter + def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + Key-value mapping of resource tags. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. + """ + return pulumi.get(self, "tags") + + @tags.setter + def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): + pulumi.set(self, "tags", value) + + @property + @pulumi.getter(name="tagsAll") + def tags_all(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + warnings.warn("""Please use `tags` instead.""", DeprecationWarning) + pulumi.log.warn("""tags_all is deprecated: Please use `tags` instead.""") + + return pulumi.get(self, "tags_all") + + @tags_all.setter + def tags_all(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): + pulumi.set(self, "tags_all", value) + + @property + @pulumi.getter(name="verifiedAccessTrustProviders") + def verified_access_trust_providers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['InstanceVerifiedAccessTrustProviderArgs']]]]: + """ + One or more blocks of providing information about the AWS Verified Access Trust Providers. See verified_access_trust_providers below for details.One or more blocks + """ + return pulumi.get(self, "verified_access_trust_providers") + + @verified_access_trust_providers.setter + def verified_access_trust_providers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceVerifiedAccessTrustProviderArgs']]]]): + pulumi.set(self, "verified_access_trust_providers", value) + + +class Instance(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + description: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + __props__=None): + """ + Resource for managing a Verified Access Instance. + + ## Example Usage + + ```python + import pulumi + import pulumi_aws as aws + + example = aws.verifiedaccess.Instance("example", + description="example", + tags={ + "Name": "example", + }) + ``` + + ## Import + + terraform import { + + to = aws_verifiedaccess_instance.example + + id = "vai-1234567890abcdef0" } Using `pulumi import`, import Transfer Workflows using the + + `id`. For exampleconsole % pulumi import aws:verifiedaccess/instance:Instance vai-1234567890abcdef0 + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] description: A description for the AWS Verified Access Instance. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Key-value mapping of resource tags. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: Optional[InstanceArgs] = None, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Resource for managing a Verified Access Instance. + + ## Example Usage + + ```python + import pulumi + import pulumi_aws as aws + + example = aws.verifiedaccess.Instance("example", + description="example", + tags={ + "Name": "example", + }) + ``` + + ## Import + + terraform import { + + to = aws_verifiedaccess_instance.example + + id = "vai-1234567890abcdef0" } Using `pulumi import`, import Transfer Workflows using the + + `id`. For exampleconsole % pulumi import aws:verifiedaccess/instance:Instance vai-1234567890abcdef0 + + :param str resource_name: The name of the resource. + :param InstanceArgs args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(InstanceArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + description: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = InstanceArgs.__new__(InstanceArgs) + + __props__.__dict__["description"] = description + __props__.__dict__["tags"] = tags + __props__.__dict__["creation_time"] = None + __props__.__dict__["last_updated_time"] = None + __props__.__dict__["tags_all"] = None + __props__.__dict__["verified_access_trust_providers"] = None + secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["tagsAll"]) + opts = pulumi.ResourceOptions.merge(opts, secret_opts) + super(Instance, __self__).__init__( + 'aws:verifiedaccess/instance:Instance', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None, + creation_time: Optional[pulumi.Input[str]] = None, + description: Optional[pulumi.Input[str]] = None, + last_updated_time: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + tags_all: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + verified_access_trust_providers: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['InstanceVerifiedAccessTrustProviderArgs']]]]] = None) -> 'Instance': + """ + Get an existing Instance resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] creation_time: The time that the Verified Access Instance was created. + :param pulumi.Input[str] description: A description for the AWS Verified Access Instance. + :param pulumi.Input[str] last_updated_time: The time that the Verified Access Instance was last updated. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Key-value mapping of resource tags. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. + :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['InstanceVerifiedAccessTrustProviderArgs']]]] verified_access_trust_providers: One or more blocks of providing information about the AWS Verified Access Trust Providers. See verified_access_trust_providers below for details.One or more blocks + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = _InstanceState.__new__(_InstanceState) + + __props__.__dict__["creation_time"] = creation_time + __props__.__dict__["description"] = description + __props__.__dict__["last_updated_time"] = last_updated_time + __props__.__dict__["tags"] = tags + __props__.__dict__["tags_all"] = tags_all + __props__.__dict__["verified_access_trust_providers"] = verified_access_trust_providers + return Instance(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="creationTime") + def creation_time(self) -> pulumi.Output[str]: + """ + The time that the Verified Access Instance was created. + """ + return pulumi.get(self, "creation_time") + + @property + @pulumi.getter + def description(self) -> pulumi.Output[Optional[str]]: + """ + A description for the AWS Verified Access Instance. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter(name="lastUpdatedTime") + def last_updated_time(self) -> pulumi.Output[str]: + """ + The time that the Verified Access Instance was last updated. + """ + return pulumi.get(self, "last_updated_time") + + @property + @pulumi.getter + def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: + """ + Key-value mapping of resource tags. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter(name="tagsAll") + def tags_all(self) -> pulumi.Output[Mapping[str, str]]: + warnings.warn("""Please use `tags` instead.""", DeprecationWarning) + pulumi.log.warn("""tags_all is deprecated: Please use `tags` instead.""") + + return pulumi.get(self, "tags_all") + + @property + @pulumi.getter(name="verifiedAccessTrustProviders") + def verified_access_trust_providers(self) -> pulumi.Output[Sequence['outputs.InstanceVerifiedAccessTrustProvider']]: + """ + One or more blocks of providing information about the AWS Verified Access Trust Providers. See verified_access_trust_providers below for details.One or more blocks + """ + return pulumi.get(self, "verified_access_trust_providers") + diff --git a/sdk/python/pulumi_aws/verifiedaccess/outputs.py b/sdk/python/pulumi_aws/verifiedaccess/outputs.py index 1338e45d508..a3b96f5fe1d 100644 --- a/sdk/python/pulumi_aws/verifiedaccess/outputs.py +++ b/sdk/python/pulumi_aws/verifiedaccess/outputs.py @@ -10,10 +10,101 @@ from .. import _utilities __all__ = [ + 'InstanceVerifiedAccessTrustProvider', 'TrustProviderDeviceOptions', 'TrustProviderOidcOptions', ] +@pulumi.output_type +class InstanceVerifiedAccessTrustProvider(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "deviceTrustProviderType": + suggest = "device_trust_provider_type" + elif key == "trustProviderType": + suggest = "trust_provider_type" + elif key == "userTrustProviderType": + suggest = "user_trust_provider_type" + elif key == "verifiedAccessTrustProviderId": + suggest = "verified_access_trust_provider_id" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in InstanceVerifiedAccessTrustProvider. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + InstanceVerifiedAccessTrustProvider.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + InstanceVerifiedAccessTrustProvider.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + description: Optional[str] = None, + device_trust_provider_type: Optional[str] = None, + trust_provider_type: Optional[str] = None, + user_trust_provider_type: Optional[str] = None, + verified_access_trust_provider_id: Optional[str] = None): + """ + :param str description: A description for the AWS Verified Access Instance. + :param str device_trust_provider_type: The type of device-based trust provider. + :param str trust_provider_type: The type of trust provider (user- or device-based). + :param str user_trust_provider_type: The type of user-based trust provider. + :param str verified_access_trust_provider_id: The ID of the trust provider. + """ + if description is not None: + pulumi.set(__self__, "description", description) + if device_trust_provider_type is not None: + pulumi.set(__self__, "device_trust_provider_type", device_trust_provider_type) + if trust_provider_type is not None: + pulumi.set(__self__, "trust_provider_type", trust_provider_type) + if user_trust_provider_type is not None: + pulumi.set(__self__, "user_trust_provider_type", user_trust_provider_type) + if verified_access_trust_provider_id is not None: + pulumi.set(__self__, "verified_access_trust_provider_id", verified_access_trust_provider_id) + + @property + @pulumi.getter + def description(self) -> Optional[str]: + """ + A description for the AWS Verified Access Instance. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter(name="deviceTrustProviderType") + def device_trust_provider_type(self) -> Optional[str]: + """ + The type of device-based trust provider. + """ + return pulumi.get(self, "device_trust_provider_type") + + @property + @pulumi.getter(name="trustProviderType") + def trust_provider_type(self) -> Optional[str]: + """ + The type of trust provider (user- or device-based). + """ + return pulumi.get(self, "trust_provider_type") + + @property + @pulumi.getter(name="userTrustProviderType") + def user_trust_provider_type(self) -> Optional[str]: + """ + The type of user-based trust provider. + """ + return pulumi.get(self, "user_trust_provider_type") + + @property + @pulumi.getter(name="verifiedAccessTrustProviderId") + def verified_access_trust_provider_id(self) -> Optional[str]: + """ + The ID of the trust provider. + """ + return pulumi.get(self, "verified_access_trust_provider_id") + + @pulumi.output_type class TrustProviderDeviceOptions(dict): @staticmethod diff --git a/sdk/python/pulumi_aws/wafv2/web_acl_association.py b/sdk/python/pulumi_aws/wafv2/web_acl_association.py index d9960e9b1b8..57fe06be6c4 100644 --- a/sdk/python/pulumi_aws/wafv2/web_acl_association.py +++ b/sdk/python/pulumi_aws/wafv2/web_acl_association.py @@ -18,7 +18,7 @@ def __init__(__self__, *, web_acl_arn: pulumi.Input[str]): """ The set of arguments for constructing a WebAclAssociation resource. - :param pulumi.Input[str] resource_arn: The Amazon Resource Name (ARN) of the resource to associate with the web ACL. This must be an ARN of an Application Load Balancer, an Amazon API Gateway stage, or an Amazon Cognito User Pool. + :param pulumi.Input[str] resource_arn: The Amazon Resource Name (ARN) of the resource to associate with the web ACL. This must be an ARN of an Application Load Balancer, an Amazon API Gateway stage, an Amazon Cognito User Pool, an Amazon AppSync GraphQL API, an Amazon App Runner service, or an Amazon Verified Access instance. :param pulumi.Input[str] web_acl_arn: The Amazon Resource Name (ARN) of the Web ACL that you want to associate with the resource. """ pulumi.set(__self__, "resource_arn", resource_arn) @@ -28,7 +28,7 @@ def __init__(__self__, *, @pulumi.getter(name="resourceArn") def resource_arn(self) -> pulumi.Input[str]: """ - The Amazon Resource Name (ARN) of the resource to associate with the web ACL. This must be an ARN of an Application Load Balancer, an Amazon API Gateway stage, or an Amazon Cognito User Pool. + The Amazon Resource Name (ARN) of the resource to associate with the web ACL. This must be an ARN of an Application Load Balancer, an Amazon API Gateway stage, an Amazon Cognito User Pool, an Amazon AppSync GraphQL API, an Amazon App Runner service, or an Amazon Verified Access instance. """ return pulumi.get(self, "resource_arn") @@ -56,7 +56,7 @@ def __init__(__self__, *, web_acl_arn: Optional[pulumi.Input[str]] = None): """ Input properties used for looking up and filtering WebAclAssociation resources. - :param pulumi.Input[str] resource_arn: The Amazon Resource Name (ARN) of the resource to associate with the web ACL. This must be an ARN of an Application Load Balancer, an Amazon API Gateway stage, or an Amazon Cognito User Pool. + :param pulumi.Input[str] resource_arn: The Amazon Resource Name (ARN) of the resource to associate with the web ACL. This must be an ARN of an Application Load Balancer, an Amazon API Gateway stage, an Amazon Cognito User Pool, an Amazon AppSync GraphQL API, an Amazon App Runner service, or an Amazon Verified Access instance. :param pulumi.Input[str] web_acl_arn: The Amazon Resource Name (ARN) of the Web ACL that you want to associate with the resource. """ if resource_arn is not None: @@ -68,7 +68,7 @@ def __init__(__self__, *, @pulumi.getter(name="resourceArn") def resource_arn(self) -> Optional[pulumi.Input[str]]: """ - The Amazon Resource Name (ARN) of the resource to associate with the web ACL. This must be an ARN of an Application Load Balancer, an Amazon API Gateway stage, or an Amazon Cognito User Pool. + The Amazon Resource Name (ARN) of the resource to associate with the web ACL. This must be an ARN of an Application Load Balancer, an Amazon API Gateway stage, an Amazon Cognito User Pool, an Amazon AppSync GraphQL API, an Amazon App Runner service, or an Amazon Verified Access instance. """ return pulumi.get(self, "resource_arn") @@ -165,7 +165,7 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[str] resource_arn: The Amazon Resource Name (ARN) of the resource to associate with the web ACL. This must be an ARN of an Application Load Balancer, an Amazon API Gateway stage, or an Amazon Cognito User Pool. + :param pulumi.Input[str] resource_arn: The Amazon Resource Name (ARN) of the resource to associate with the web ACL. This must be an ARN of an Application Load Balancer, an Amazon API Gateway stage, an Amazon Cognito User Pool, an Amazon AppSync GraphQL API, an Amazon App Runner service, or an Amazon Verified Access instance. :param pulumi.Input[str] web_acl_arn: The Amazon Resource Name (ARN) of the Web ACL that you want to associate with the resource. """ ... @@ -291,7 +291,7 @@ def get(resource_name: str, :param str resource_name: The unique name of the resulting resource. :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[str] resource_arn: The Amazon Resource Name (ARN) of the resource to associate with the web ACL. This must be an ARN of an Application Load Balancer, an Amazon API Gateway stage, or an Amazon Cognito User Pool. + :param pulumi.Input[str] resource_arn: The Amazon Resource Name (ARN) of the resource to associate with the web ACL. This must be an ARN of an Application Load Balancer, an Amazon API Gateway stage, an Amazon Cognito User Pool, an Amazon AppSync GraphQL API, an Amazon App Runner service, or an Amazon Verified Access instance. :param pulumi.Input[str] web_acl_arn: The Amazon Resource Name (ARN) of the Web ACL that you want to associate with the resource. """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -306,7 +306,7 @@ def get(resource_name: str, @pulumi.getter(name="resourceArn") def resource_arn(self) -> pulumi.Output[str]: """ - The Amazon Resource Name (ARN) of the resource to associate with the web ACL. This must be an ARN of an Application Load Balancer, an Amazon API Gateway stage, or an Amazon Cognito User Pool. + The Amazon Resource Name (ARN) of the resource to associate with the web ACL. This must be an ARN of an Application Load Balancer, an Amazon API Gateway stage, an Amazon Cognito User Pool, an Amazon AppSync GraphQL API, an Amazon App Runner service, or an Amazon Verified Access instance. """ return pulumi.get(self, "resource_arn") diff --git a/upstream b/upstream index 73a8fec0016..522a58443aa 160000 --- a/upstream +++ b/upstream @@ -1 +1 @@ -Subproject commit 73a8fec0016e086ea69d4823197f036a70ea5a05 +Subproject commit 522a58443aa503714444e5333641300a6af34621 diff --git a/upstream-tools/replacements.json b/upstream-tools/replacements.json index 6eb7e29ebfd..fca6bacde37 100644 --- a/upstream-tools/replacements.json +++ b/upstream-tools/replacements.json @@ -3455,6 +3455,18 @@ { "old": " name = \"terraform-example-collaboration\"", "new": " name = \"pulumi-example-collaboration\"" + }, + { + "old": "% terraform import aws_cleanrooms_collaboration.collaboration 1234abcd-12ab-34cd-56ef-1234567890ab", + "new": "% pulumi import aws:cleanrooms/collaboration:Collaboration 1234abcd-12ab-34cd-56ef-1234567890ab" + }, + { + "old": "In Terraform v1.5.0 and later, use an `import` block to import `aws_cleanrooms_collaboration` using the `id`. For example:", + "new": "" + }, + { + "old": "Using `terraform import`, import `aws_cleanrooms_collaboration` using the `id`. For example:", + "new": "Using `pulumi import`, import `aws:cleanrooms/collaboration:Collaboration` using the `id`. For example:" } ], "website/docs/r/cloud9_environment_membership.html.markdown": [ @@ -5823,13 +5835,25 @@ "old": "% terraform import aws_db_option_group.example mysql-option-group", "new": "% pulumi import aws_db_option_group.example mysql-option-group" }, + { + "old": "* `option_group_description` - (Optional) Description of the option group. Defaults to \"Managed by Terraform\".", + "new": "* `option_group_description` - (Optional) Description of the option group." + }, { "old": "In Terraform v1.5.0 and later, use an `import` block to import DB Option groups using the `name`. For example:", "new": "" }, + { + "old": "In Terraform v1.5.0 and later, use an `import` block to import DB option groups using the `name`. For example:", + "new": "" + }, { "old": "Using `terraform import`, import DB Option groups using the `name`. For example:", "new": "Using `pulumi import`, import DB Option groups using the `name`. For example:" + }, + { + "old": "Using `terraform import`, import DB option groups using the `name`. For example:", + "new": "Using `pulumi import`, import DB option groups using the `name`. For example:" } ], "website/docs/r/db_parameter_group.html.markdown": [ @@ -13095,6 +13119,20 @@ "new": "Using `pulumi import`, import AWS Opensearch Outbound Connections using the Outbound Connection ID. For example:" } ], + "website/docs/r/opensearch_package.html.markdown": [ + { + "old": "% terraform import aws_opensearch_package.example package-id", + "new": "% pulumi import aws:opensearch/package:Package example package-id" + }, + { + "old": "In Terraform v1.5.0 and later, use an `import` block to import AWS Opensearch Packages using the Package ID. For example:", + "new": "" + }, + { + "old": "Using `terraform import`, import AWS Opensearch Packages using the Package ID. For example:", + "new": "Using `pulumi import`, import AWS Opensearch Packages using the Package ID. For example:" + } + ], "website/docs/r/opensearch_vpc_endpoint.html.markdown": [ { "old": "% terraform import aws_opensearch_vpc_endpoint_connection.example endpoint-id", @@ -18910,6 +18948,20 @@ "new": "Using `pulumi import`, import Transfer Workflows using the `worflow_id`. For example:" } ], + "website/docs/r/verifiedaccess_instance.html.markdown": [ + { + "old": "% terraform import aws_verifiedaccess_instance.example vai-1234567890abcdef0", + "new": "% pulumi import aws:verifiedaccess/instance:Instance vai-1234567890abcdef0" + }, + { + "old": "In Terraform v1.5.0 and later, use an `import` block to import Transfer Workflows using the `id`. For example:", + "new": "" + }, + { + "old": "Using `terraform import`, import Transfer Workflows using the `id`. For example:", + "new": "Using `pulumi import`, import Transfer Workflows using the `id`. For example:" + } + ], "website/docs/r/verifiedaccess_trust_provider.html.markdown": [ { "old": "% terraform import aws_verifiedaccess_trust_provider.example vatp-8012925589",