diff --git a/resourceSchema/schema_aws.json b/resourceSchema/schema_aws.json index e931745..208847e 100644 --- a/resourceSchema/schema_aws.json +++ b/resourceSchema/schema_aws.json @@ -68,6 +68,7 @@ "codebuild": "CodeBuild", "codecatalyst": "CodeCatalyst", "codecommit": "CodeCommit", + "codeconnections": "CodeConnections", "codedeploy": "CodeDeploy", "codeguruprofiler": "CodeGuruProfiler", "codegurureviewer": "CodeGuruReviewer", @@ -198,6 +199,7 @@ "s3": "S3", "s3control": "S3Control", "s3outposts": "S3Outposts", + "s3tables": "S3Tables", "sagemaker": "Sagemaker", "scheduler": "Scheduler", "schemas": "Schemas", @@ -30327,6 +30329,73 @@ "name" ] }, + "aws:codeconnections/ConnectionTimeouts:ConnectionTimeouts": { + "properties": { + "create": { + "type": "string", + "description": "A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as \"30s\" or \"2h45m\". Valid time units are \"s\" (seconds), \"m\" (minutes), \"h\" (hours).\n" + }, + "delete": { + "type": "string", + "description": "A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as \"30s\" or \"2h45m\". Valid time units are \"s\" (seconds), \"m\" (minutes), \"h\" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.\n" + }, + "update": { + "type": "string", + "description": "A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as \"30s\" or \"2h45m\". Valid time units are \"s\" (seconds), \"m\" (minutes), \"h\" (hours).\n" + } + }, + "type": "object" + }, + "aws:codeconnections/HostTimeouts:HostTimeouts": { + "properties": { + "create": { + "type": "string", + "description": "A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as \"30s\" or \"2h45m\". Valid time units are \"s\" (seconds), \"m\" (minutes), \"h\" (hours).\n" + }, + "delete": { + "type": "string", + "description": "A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as \"30s\" or \"2h45m\". Valid time units are \"s\" (seconds), \"m\" (minutes), \"h\" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.\n" + }, + "update": { + "type": "string", + "description": "A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as \"30s\" or \"2h45m\". Valid time units are \"s\" (seconds), \"m\" (minutes), \"h\" (hours).\n" + } + }, + "type": "object" + }, + "aws:codeconnections/HostVpcConfiguration:HostVpcConfiguration": { + "properties": { + "securityGroupIds": { + "type": "array", + "items": { + "type": "string" + }, + "description": "ID of the security group or security groups associated with the Amazon VPC connected to the infrastructure where your provider type is installed.\n" + }, + "subnetIds": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The ID of the subnet or subnets associated with the Amazon VPC connected to the infrastructure where your provider type is installed.\n" + }, + "tlsCertificate": { + "type": "string", + "description": "The value of the Transport Layer Security (TLS) certificate associated with the infrastructure where your provider type is installed.\n" + }, + "vpcId": { + "type": "string", + "description": "The ID of the Amazon VPC connected to the infrastructure where your provider type is installed.\n" + } + }, + "type": "object", + "required": [ + "securityGroupIds", + "subnetIds", + "tlsCertificate", + "vpcId" + ] + }, "aws:codedeploy/DeploymentConfigMinimumHealthyHosts:DeploymentConfigMinimumHealthyHosts": { "properties": { "type": { @@ -34353,6 +34422,10 @@ "type": "string", "description": "Use this to override the default service endpoint URL\n" }, + "s3tables": { + "type": "string", + "description": "Use this to override the default service endpoint URL\n" + }, "sagemaker": { "type": "string", "description": "Use this to override the default service endpoint URL\n" @@ -82566,6 +82639,10 @@ "type": "string", "description": "Use this to override the default service endpoint URL\n" }, + "s3tables": { + "type": "string", + "description": "Use this to override the default service endpoint URL\n" + }, "sagemaker": { "type": "string", "description": "Use this to override the default service endpoint URL\n" @@ -134021,11 +134098,11 @@ "properties": { "maxCapacity": { "type": "number", - "description": "Maximum capacity for an Aurora DB cluster in `provisioned` DB engine mode. The maximum capacity must be greater than or equal to the minimum capacity. Valid capacity values are in a range of `0.5` up to `256` in steps of `0.5`.\n" + "description": "Maximum capacity for an Aurora DB cluster in `provisioned` DB engine mode. The maximum capacity must be greater than or equal to the minimum capacity. Valid capacity values are in a range of `0` up to `256` in steps of `0.5`.\n" }, "minCapacity": { "type": "number", - "description": "Minimum capacity for an Aurora DB cluster in `provisioned` DB engine mode. The minimum capacity must be lesser than or equal to the maximum capacity. Valid capacity values are in a range of `0.5` up to `256` in steps of `0.5`.\n" + "description": "Minimum capacity for an Aurora DB cluster in `provisioned` DB engine mode. The minimum capacity must be lesser than or equal to the maximum capacity. Valid capacity values are in a range of `0` up to `256` in steps of `0.5`.\n" } }, "type": "object", @@ -139742,11 +139819,11 @@ "properties": { "name": { "type": "string", - "description": "[Availability Zone ID](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html#az-ids).\n" + "description": "[Availability Zone ID](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html#az-ids) or Local Zone ID.\n" }, "type": { "type": "string", - "description": "Location type. Valid values: `AvailabilityZone`.\n" + "description": "Location type. Valid values: `AvailabilityZone`, `LocalZone`.\n" } }, "type": "object", @@ -140570,6 +140647,132 @@ } } }, + "aws:s3tables/TableBucketMaintenanceConfiguration:TableBucketMaintenanceConfiguration": { + "properties": { + "icebergUnreferencedFileRemoval": { + "$ref": "#/types/aws:s3tables/TableBucketMaintenanceConfigurationIcebergUnreferencedFileRemoval:TableBucketMaintenanceConfigurationIcebergUnreferencedFileRemoval", + "description": "A single Iceberg unreferenced file removal settings block.\nSee `iceberg_unreferenced_file_removal` below\n" + } + }, + "type": "object", + "required": [ + "icebergUnreferencedFileRemoval" + ] + }, + "aws:s3tables/TableBucketMaintenanceConfigurationIcebergUnreferencedFileRemoval:TableBucketMaintenanceConfigurationIcebergUnreferencedFileRemoval": { + "properties": { + "settings": { + "$ref": "#/types/aws:s3tables/TableBucketMaintenanceConfigurationIcebergUnreferencedFileRemovalSettings:TableBucketMaintenanceConfigurationIcebergUnreferencedFileRemovalSettings", + "description": "Settings for unreferenced file removal.\nSee `iceberg_unreferenced_file_removal.settings` below\n" + }, + "status": { + "type": "string", + "description": "Whether the configuration is enabled.\nValid values are `enabled` and `disabled`.\n" + } + }, + "type": "object", + "required": [ + "settings", + "status" + ] + }, + "aws:s3tables/TableBucketMaintenanceConfigurationIcebergUnreferencedFileRemovalSettings:TableBucketMaintenanceConfigurationIcebergUnreferencedFileRemovalSettings": { + "properties": { + "nonCurrentDays": { + "type": "number", + "description": "Data objects marked for deletion are deleted after this many days.\nMust be at least `1`.\n" + }, + "unreferencedDays": { + "type": "number", + "description": "Unreferenced data objects are marked for deletion after this many days.\nMust be at least `1`.\n" + } + }, + "type": "object", + "required": [ + "nonCurrentDays", + "unreferencedDays" + ] + }, + "aws:s3tables/TableMaintenanceConfiguration:TableMaintenanceConfiguration": { + "properties": { + "icebergCompaction": { + "$ref": "#/types/aws:s3tables/TableMaintenanceConfigurationIcebergCompaction:TableMaintenanceConfigurationIcebergCompaction", + "description": "A single Iceberg compaction settings block.\nSee `iceberg_compaction` below\n" + }, + "icebergSnapshotManagement": { + "$ref": "#/types/aws:s3tables/TableMaintenanceConfigurationIcebergSnapshotManagement:TableMaintenanceConfigurationIcebergSnapshotManagement", + "description": "A single Iceberg snapshot management settings block.\nSee `iceberg_snapshot_management` below\n" + } + }, + "type": "object", + "required": [ + "icebergCompaction", + "icebergSnapshotManagement" + ] + }, + "aws:s3tables/TableMaintenanceConfigurationIcebergCompaction:TableMaintenanceConfigurationIcebergCompaction": { + "properties": { + "settings": { + "$ref": "#/types/aws:s3tables/TableMaintenanceConfigurationIcebergCompactionSettings:TableMaintenanceConfigurationIcebergCompactionSettings", + "description": "Settings for compaction.\nSee `iceberg_compaction.settings` below\n" + }, + "status": { + "type": "string", + "description": "Whether the configuration is enabled.\nValid values are `enabled` and `disabled`.\n" + } + }, + "type": "object", + "required": [ + "settings", + "status" + ] + }, + "aws:s3tables/TableMaintenanceConfigurationIcebergCompactionSettings:TableMaintenanceConfigurationIcebergCompactionSettings": { + "properties": { + "targetFileSizeMb": { + "type": "number", + "description": "Data objects smaller than this size may be combined with others to improve query performance.\nMust be between `64` and `512`.\n" + } + }, + "type": "object", + "required": [ + "targetFileSizeMb" + ] + }, + "aws:s3tables/TableMaintenanceConfigurationIcebergSnapshotManagement:TableMaintenanceConfigurationIcebergSnapshotManagement": { + "properties": { + "settings": { + "$ref": "#/types/aws:s3tables/TableMaintenanceConfigurationIcebergSnapshotManagementSettings:TableMaintenanceConfigurationIcebergSnapshotManagementSettings", + "description": "Settings for snapshot management.\nSee `iceberg_snapshot_management.settings` below\n" + }, + "status": { + "type": "string", + "description": "Whether the configuration is enabled.\nValid values are `enabled` and `disabled`.\n" + } + }, + "type": "object", + "required": [ + "settings", + "status" + ] + }, + "aws:s3tables/TableMaintenanceConfigurationIcebergSnapshotManagementSettings:TableMaintenanceConfigurationIcebergSnapshotManagementSettings": { + "properties": { + "maxSnapshotAgeHours": { + "type": "number", + "description": "Snapshots older than this will be marked for deletiion.\nMust be at least `1`.\n" + }, + "minSnapshotsToKeep": { + "type": "number", + "description": "Minimum number of snapshots to keep.\nMust be at least `1`.\n" + } + }, + "type": "object", + "required": [ + "maxSnapshotAgeHours", + "minSnapshotsToKeep" + ] + }, "aws:sagemaker/AppImageConfigCodeEditorAppImageConfig:AppImageConfigCodeEditorAppImageConfig": { "properties": { "containerConfig": { @@ -193279,7 +193482,8 @@ "type": "array", "items": { "$ref": "#/types/aws:bedrock/AgentAgentGuardrailConfiguration:AgentAgentGuardrailConfiguration" - } + }, + "description": "Details about the guardrail associated with the agent. See `guardrail_configuration` Block for details.\n" }, "idleSessionTtlInSeconds": { "type": "integer", @@ -193287,7 +193491,7 @@ }, "instruction": { "type": "string", - "description": "Instructions that tell the agent what it should do and how it should interact with users.\n" + "description": "Instructions that tell the agent what it should do and how it should interact with users. The valid range is 40 - 8000 characters.\n" }, "prepareAgent": { "type": "boolean", @@ -193362,7 +193566,8 @@ "type": "array", "items": { "$ref": "#/types/aws:bedrock/AgentAgentGuardrailConfiguration:AgentAgentGuardrailConfiguration" - } + }, + "description": "Details about the guardrail associated with the agent. See `guardrail_configuration` Block for details.\n" }, "idleSessionTtlInSeconds": { "type": "integer", @@ -193370,7 +193575,7 @@ }, "instruction": { "type": "string", - "description": "Instructions that tell the agent what it should do and how it should interact with users.\n" + "description": "Instructions that tell the agent what it should do and how it should interact with users. The valid range is 40 - 8000 characters.\n" }, "prepareAgent": { "type": "boolean", @@ -193442,7 +193647,8 @@ "type": "array", "items": { "$ref": "#/types/aws:bedrock/AgentAgentGuardrailConfiguration:AgentAgentGuardrailConfiguration" - } + }, + "description": "Details about the guardrail associated with the agent. See `guardrail_configuration` Block for details.\n" }, "idleSessionTtlInSeconds": { "type": "integer", @@ -193450,7 +193656,7 @@ }, "instruction": { "type": "string", - "description": "Instructions that tell the agent what it should do and how it should interact with users.\n" + "description": "Instructions that tell the agent what it should do and how it should interact with users. The valid range is 40 - 8000 characters.\n" }, "prepareAgent": { "type": "boolean", @@ -208122,6 +208328,252 @@ "type": "object" } }, + "aws:codeconnections/connection:Connection": { + "description": "Resource for managing an AWS CodeConnections Connection.\n\n\u003e **NOTE:** The `aws.codeconnections.Connection` resource is created in the state `PENDING`. Authentication with the connection provider must be completed in the AWS Console. See the [AWS documentation](https://docs.aws.amazon.com/dtconsole/latest/userguide/connections-update.html) for details.\n\n## Example Usage\n\n### Basic Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\n\nconst example = new aws.codeconnections.Connection(\"example\", {\n name: \"example-connection\",\n providerType: \"Bitbucket\",\n});\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\n\nexample = aws.codeconnections.Connection(\"example\",\n name=\"example-connection\",\n provider_type=\"Bitbucket\")\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.CodeConnections.Connection(\"example\", new()\n {\n Name = \"example-connection\",\n ProviderType = \"Bitbucket\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/codeconnections\"\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 := codeconnections.NewConnection(ctx, \"example\", \u0026codeconnections.ConnectionArgs{\n\t\t\tName: pulumi.String(\"example-connection\"),\n\t\t\tProviderType: pulumi.String(\"Bitbucket\"),\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.codeconnections.Connection;\nimport com.pulumi.aws.codeconnections.ConnectionArgs;\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 Connection(\"example\", ConnectionArgs.builder()\n .name(\"example-connection\")\n .providerType(\"Bitbucket\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: aws:codeconnections:Connection\n properties:\n name: example-connection\n providerType: Bitbucket\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nUsing `pulumi import`, import CodeConnections connection using the ARN. For example:\n\n```sh\n$ pulumi import aws:codeconnections/connection:Connection test-connection arn:aws:codeconnections:us-west-1:0123456789:connection/79d4d357-a2ee-41e4-b350-2fe39ae59448\n```\n", + "properties": { + "arn": { + "type": "string", + "description": "The codeconnections connection ARN.\n" + }, + "connectionStatus": { + "type": "string", + "description": "The codeconnections connection status. Possible values are `PENDING`, `AVAILABLE` and `ERROR`.\n" + }, + "hostArn": { + "type": "string", + "description": "The Amazon Resource Name (ARN) of the host associated with the connection. Conflicts with `provider_type`\n" + }, + "name": { + "type": "string", + "description": "The name of the connection to be created. The name must be unique in the calling AWS account. Changing `name` will create a new resource.\n" + }, + "ownerAccountId": { + "type": "string" + }, + "providerType": { + "type": "string", + "description": "The name of the external provider where your third-party code repository is configured. Changing `provider_type` will create a new resource. Conflicts with `host_arn`.\n" + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Map of key-value resource tags to associate with 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", + "deprecationMessage": "Please use `tags` instead." + }, + "timeouts": { + "$ref": "#/types/aws:codeconnections/ConnectionTimeouts:ConnectionTimeouts" + } + }, + "required": [ + "arn", + "connectionStatus", + "name", + "ownerAccountId", + "providerType", + "tagsAll" + ], + "inputProperties": { + "hostArn": { + "type": "string", + "description": "The Amazon Resource Name (ARN) of the host associated with the connection. Conflicts with `provider_type`\n" + }, + "name": { + "type": "string", + "description": "The name of the connection to be created. The name must be unique in the calling AWS account. Changing `name` will create a new resource.\n" + }, + "providerType": { + "type": "string", + "description": "The name of the external provider where your third-party code repository is configured. Changing `provider_type` will create a new resource. Conflicts with `host_arn`.\n" + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Map of key-value resource tags to associate with 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" + }, + "timeouts": { + "$ref": "#/types/aws:codeconnections/ConnectionTimeouts:ConnectionTimeouts" + } + }, + "stateInputs": { + "description": "Input properties used for looking up and filtering Connection resources.\n", + "properties": { + "arn": { + "type": "string", + "description": "The codeconnections connection ARN.\n" + }, + "connectionStatus": { + "type": "string", + "description": "The codeconnections connection status. Possible values are `PENDING`, `AVAILABLE` and `ERROR`.\n" + }, + "hostArn": { + "type": "string", + "description": "The Amazon Resource Name (ARN) of the host associated with the connection. Conflicts with `provider_type`\n" + }, + "name": { + "type": "string", + "description": "The name of the connection to be created. The name must be unique in the calling AWS account. Changing `name` will create a new resource.\n" + }, + "ownerAccountId": { + "type": "string" + }, + "providerType": { + "type": "string", + "description": "The name of the external provider where your third-party code repository is configured. Changing `provider_type` will create a new resource. Conflicts with `host_arn`.\n" + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Map of key-value resource tags to associate with 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", + "deprecationMessage": "Please use `tags` instead." + }, + "timeouts": { + "$ref": "#/types/aws:codeconnections/ConnectionTimeouts:ConnectionTimeouts" + } + }, + "type": "object" + } + }, + "aws:codeconnections/host:Host": { + "description": "Resource for managing an AWS CodeConnections Host.\n\n\u003e **NOTE:** The `aws.codeconnections.Host` resource is created in the state `PENDING`. Authentication with the host provider must be completed in the AWS Console. For more information visit [Set up a pending host](https://docs.aws.amazon.com/dtconsole/latest/userguide/connections-host-setup.html).\n\n## Example Usage\n\n### Basic Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\n\nconst example = new aws.codeconnections.Host(\"example\", {\n name: \"example-host\",\n providerEndpoint: \"https://example.com\",\n providerType: \"GitHubEnterpriseServer\",\n});\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\n\nexample = aws.codeconnections.Host(\"example\",\n name=\"example-host\",\n provider_endpoint=\"https://example.com\",\n provider_type=\"GitHubEnterpriseServer\")\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.CodeConnections.Host(\"example\", new()\n {\n Name = \"example-host\",\n ProviderEndpoint = \"https://example.com\",\n ProviderType = \"GitHubEnterpriseServer\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/codeconnections\"\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 := codeconnections.NewHost(ctx, \"example\", \u0026codeconnections.HostArgs{\n\t\t\tName: pulumi.String(\"example-host\"),\n\t\t\tProviderEndpoint: pulumi.String(\"https://example.com\"),\n\t\t\tProviderType: pulumi.String(\"GitHubEnterpriseServer\"),\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.codeconnections.Host;\nimport com.pulumi.aws.codeconnections.HostArgs;\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 Host(\"example\", HostArgs.builder()\n .name(\"example-host\")\n .providerEndpoint(\"https://example.com\")\n .providerType(\"GitHubEnterpriseServer\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: aws:codeconnections:Host\n properties:\n name: example-host\n providerEndpoint: https://example.com\n providerType: GitHubEnterpriseServer\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nUsing `pulumi import`, import CodeConnections Host using the ARN. For example:\n\n```sh\n$ pulumi import aws:codeconnections/host:Host example-host arn:aws:codeconnections:us-west-1:0123456789:host/79d4d357-a2ee-41e4-b350-2fe39ae59448\n```\n", + "properties": { + "arn": { + "type": "string", + "description": "The CodeConnections Host ARN.\n" + }, + "name": { + "type": "string", + "description": "The name of the host to be created. The name must be unique in the calling AWS account.\n" + }, + "providerEndpoint": { + "type": "string", + "description": "The endpoint of the infrastructure to be represented by the host after it is created.\n" + }, + "providerType": { + "type": "string", + "description": "The name of the external provider where your third-party code repository is configured.\n" + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "tagsAll": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "deprecationMessage": "Please use `tags` instead." + }, + "timeouts": { + "$ref": "#/types/aws:codeconnections/HostTimeouts:HostTimeouts" + }, + "vpcConfiguration": { + "$ref": "#/types/aws:codeconnections/HostVpcConfiguration:HostVpcConfiguration", + "description": "The VPC configuration to be provisioned for the host. A VPC must be configured, and the infrastructure to be represented by the host must already be connected to the VPC.\n" + } + }, + "required": [ + "arn", + "name", + "providerEndpoint", + "providerType", + "tagsAll" + ], + "inputProperties": { + "name": { + "type": "string", + "description": "The name of the host to be created. The name must be unique in the calling AWS account.\n" + }, + "providerEndpoint": { + "type": "string", + "description": "The endpoint of the infrastructure to be represented by the host after it is created.\n" + }, + "providerType": { + "type": "string", + "description": "The name of the external provider where your third-party code repository is configured.\n" + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "timeouts": { + "$ref": "#/types/aws:codeconnections/HostTimeouts:HostTimeouts" + }, + "vpcConfiguration": { + "$ref": "#/types/aws:codeconnections/HostVpcConfiguration:HostVpcConfiguration", + "description": "The VPC configuration to be provisioned for the host. A VPC must be configured, and the infrastructure to be represented by the host must already be connected to the VPC.\n" + } + }, + "requiredInputs": [ + "providerEndpoint", + "providerType" + ], + "stateInputs": { + "description": "Input properties used for looking up and filtering Host resources.\n", + "properties": { + "arn": { + "type": "string", + "description": "The CodeConnections Host ARN.\n" + }, + "name": { + "type": "string", + "description": "The name of the host to be created. The name must be unique in the calling AWS account.\n" + }, + "providerEndpoint": { + "type": "string", + "description": "The endpoint of the infrastructure to be represented by the host after it is created.\n" + }, + "providerType": { + "type": "string", + "description": "The name of the external provider where your third-party code repository is configured.\n" + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "tagsAll": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "deprecationMessage": "Please use `tags` instead." + }, + "timeouts": { + "$ref": "#/types/aws:codeconnections/HostTimeouts:HostTimeouts" + }, + "vpcConfiguration": { + "$ref": "#/types/aws:codeconnections/HostVpcConfiguration:HostVpcConfiguration", + "description": "The VPC configuration to be provisioned for the host. A VPC must be configured, and the infrastructure to be represented by the host must already be connected to the VPC.\n" + } + }, + "type": "object" + } + }, "aws:codedeploy/application:Application": { "description": "Provides a CodeDeploy application to be used as a basis for deployments\n\n## Example Usage\n\n### ECS Application\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\n\nconst example = new aws.codedeploy.Application(\"example\", {\n computePlatform: \"ECS\",\n name: \"example\",\n});\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\n\nexample = aws.codedeploy.Application(\"example\",\n compute_platform=\"ECS\",\n name=\"example\")\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.CodeDeploy.Application(\"example\", new()\n {\n ComputePlatform = \"ECS\",\n Name = \"example\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/codedeploy\"\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 := codedeploy.NewApplication(ctx, \"example\", \u0026codedeploy.ApplicationArgs{\n\t\t\tComputePlatform: pulumi.String(\"ECS\"),\n\t\t\tName: pulumi.String(\"example\"),\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.codedeploy.Application;\nimport com.pulumi.aws.codedeploy.ApplicationArgs;\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 Application(\"example\", ApplicationArgs.builder()\n .computePlatform(\"ECS\")\n .name(\"example\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: aws:codedeploy:Application\n properties:\n computePlatform: ECS\n name: example\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### Lambda Application\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\n\nconst example = new aws.codedeploy.Application(\"example\", {\n computePlatform: \"Lambda\",\n name: \"example\",\n});\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\n\nexample = aws.codedeploy.Application(\"example\",\n compute_platform=\"Lambda\",\n name=\"example\")\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.CodeDeploy.Application(\"example\", new()\n {\n ComputePlatform = \"Lambda\",\n Name = \"example\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/codedeploy\"\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 := codedeploy.NewApplication(ctx, \"example\", \u0026codedeploy.ApplicationArgs{\n\t\t\tComputePlatform: pulumi.String(\"Lambda\"),\n\t\t\tName: pulumi.String(\"example\"),\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.codedeploy.Application;\nimport com.pulumi.aws.codedeploy.ApplicationArgs;\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 Application(\"example\", ApplicationArgs.builder()\n .computePlatform(\"Lambda\")\n .name(\"example\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: aws:codedeploy:Application\n properties:\n computePlatform: Lambda\n name: example\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### Server Application\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\n\nconst example = new aws.codedeploy.Application(\"example\", {\n computePlatform: \"Server\",\n name: \"example\",\n});\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\n\nexample = aws.codedeploy.Application(\"example\",\n compute_platform=\"Server\",\n name=\"example\")\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.CodeDeploy.Application(\"example\", new()\n {\n ComputePlatform = \"Server\",\n Name = \"example\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/codedeploy\"\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 := codedeploy.NewApplication(ctx, \"example\", \u0026codedeploy.ApplicationArgs{\n\t\t\tComputePlatform: pulumi.String(\"Server\"),\n\t\t\tName: pulumi.String(\"example\"),\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.codedeploy.Application;\nimport com.pulumi.aws.codedeploy.ApplicationArgs;\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 Application(\"example\", ApplicationArgs.builder()\n .computePlatform(\"Server\")\n .name(\"example\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: aws:codedeploy:Application\n properties:\n computePlatform: Server\n name: example\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nUsing `pulumi import`, import CodeDeploy Applications using the `name`. For example:\n\n```sh\n$ pulumi import aws:codedeploy/application:Application example my-application\n```\n", "properties": { @@ -231692,6 +232144,10 @@ "type": "string", "description": "ARN of the table replica.\n" }, + "deletionProtectionEnabled": { + "type": "boolean", + "description": "Whether deletion protection is enabled (true) or disabled (false) on the table replica.\n" + }, "globalTableArn": { "type": "string", "description": "ARN of the _main_ or global table which this resource will replicate.\n\nOptional arguments:\n" @@ -231702,7 +232158,7 @@ }, "pointInTimeRecovery": { "type": "boolean", - "description": "Whether to enable Point In Time Recovery for the replica. Default is `false`.\n" + "description": "Whether to enable Point In Time Recovery for the table replica. Default is `false`.\n" }, "tableClassOverride": { "type": "string", @@ -231726,11 +232182,16 @@ }, "required": [ "arn", + "deletionProtectionEnabled", "globalTableArn", "kmsKeyArn", "tagsAll" ], "inputProperties": { + "deletionProtectionEnabled": { + "type": "boolean", + "description": "Whether deletion protection is enabled (true) or disabled (false) on the table replica.\n" + }, "globalTableArn": { "type": "string", "description": "ARN of the _main_ or global table which this resource will replicate.\n\nOptional arguments:\n", @@ -231743,7 +232204,7 @@ }, "pointInTimeRecovery": { "type": "boolean", - "description": "Whether to enable Point In Time Recovery for the replica. Default is `false`.\n" + "description": "Whether to enable Point In Time Recovery for the table replica. Default is `false`.\n" }, "tableClassOverride": { "type": "string", @@ -231768,6 +232229,10 @@ "type": "string", "description": "ARN of the table replica.\n" }, + "deletionProtectionEnabled": { + "type": "boolean", + "description": "Whether deletion protection is enabled (true) or disabled (false) on the table replica.\n" + }, "globalTableArn": { "type": "string", "description": "ARN of the _main_ or global table which this resource will replicate.\n\nOptional arguments:\n", @@ -231780,7 +232245,7 @@ }, "pointInTimeRecovery": { "type": "boolean", - "description": "Whether to enable Point In Time Recovery for the replica. Default is `false`.\n" + "description": "Whether to enable Point In Time Recovery for the table replica. Default is `false`.\n" }, "tableClassOverride": { "type": "string", @@ -330187,6 +330652,10 @@ "type": "string", "description": "Database engine version\n" }, + "forceDestroy": { + "type": "boolean", + "description": "Forces an instance to be destroyed when a part of a read replica cluster. **Note:** will promote the read replica to a standalone cluster before instance deletion.\n" + }, "identifier": { "type": "string", "description": "Identifier for the RDS instance, if omitted, Pulumi will assign a random, unique identifier.\n" @@ -330352,6 +330821,10 @@ "type": "string", "description": "Database engine version. Please note that to upgrade the `engine_version` of the instance, it must be done on the `aws.rds.Cluster` `engine_version`. Trying to upgrade in `aws_cluster_instance` will not update the `engine_version`.\n" }, + "forceDestroy": { + "type": "boolean", + "description": "Forces an instance to be destroyed when a part of a read replica cluster. **Note:** will promote the read replica to a standalone cluster before instance deletion.\n" + }, "identifier": { "type": "string", "description": "Identifier for the RDS instance, if omitted, Pulumi will assign a random, unique identifier.\n", @@ -330493,6 +330966,10 @@ "type": "string", "description": "Database engine version\n" }, + "forceDestroy": { + "type": "boolean", + "description": "Forces an instance to be destroyed when a part of a read replica cluster. **Note:** will promote the read replica to a standalone cluster before instance deletion.\n" + }, "identifier": { "type": "string", "description": "Identifier for the RDS instance, if omitted, Pulumi will assign a random, unique identifier.\n", @@ -333446,7 +333923,7 @@ } }, "aws:rds/parameterGroup:ParameterGroup": { - "description": "Provides an RDS DB parameter group resource. Documentation of the available parameters for various RDS engines can be found at:\n\n* [Aurora MySQL Parameters](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/AuroraMySQL.Reference.html)\n* [Aurora PostgreSQL Parameters](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/AuroraPostgreSQL.Reference.html)\n* [MariaDB Parameters](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Appendix.MariaDB.Parameters.html)\n* [Oracle Parameters](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_ModifyInstance.Oracle.html#USER_ModifyInstance.Oracle.sqlnet)\n* [PostgreSQL Parameters](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Appendix.PostgreSQL.CommonDBATasks.html#Appendix.PostgreSQL.CommonDBATasks.Parameters)\n\n\u003e **Hands-on:** For an example of the `aws.rds.ParameterGroup` in use, follow the Manage AWS RDS Instances tutorial on HashiCorp Learn.\n\n\u003e **NOTE**: to make diffs less confusing, the AWS provider will ignore changes for a `parameter` whose `value` remains\nunchanged but whose `apply_method` is changing (e.g., from `immediate` to `pending-reboot`, or `pending-reboot` to\n`immediate`). This matches the cloud: if only the apply method of a parameter is changing, the AWS API will not register\nthis change. To change the `apply_method` of a parameter, its value must also change.\n\n## Example Usage\n\n### Basic Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\n\nconst _default = new aws.rds.ParameterGroup(\"default\", {\n name: \"rds-pg\",\n family: \"mysql5.6\",\n parameters: [\n {\n name: \"character_set_server\",\n value: \"utf8\",\n },\n {\n name: \"character_set_client\",\n value: \"utf8\",\n },\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\n\ndefault = aws.rds.ParameterGroup(\"default\",\n name=\"rds-pg\",\n family=\"mysql5.6\",\n parameters=[\n {\n \"name\": \"character_set_server\",\n \"value\": \"utf8\",\n },\n {\n \"name\": \"character_set_client\",\n \"value\": \"utf8\",\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 @default = new Aws.Rds.ParameterGroup(\"default\", new()\n {\n Name = \"rds-pg\",\n Family = \"mysql5.6\",\n Parameters = new[]\n {\n new Aws.Rds.Inputs.ParameterGroupParameterArgs\n {\n Name = \"character_set_server\",\n Value = \"utf8\",\n },\n new Aws.Rds.Inputs.ParameterGroupParameterArgs\n {\n Name = \"character_set_client\",\n Value = \"utf8\",\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.NewParameterGroup(ctx, \"default\", \u0026rds.ParameterGroupArgs{\n\t\t\tName: pulumi.String(\"rds-pg\"),\n\t\t\tFamily: pulumi.String(\"mysql5.6\"),\n\t\t\tParameters: rds.ParameterGroupParameterArray{\n\t\t\t\t\u0026rds.ParameterGroupParameterArgs{\n\t\t\t\t\tName: pulumi.String(\"character_set_server\"),\n\t\t\t\t\tValue: pulumi.String(\"utf8\"),\n\t\t\t\t},\n\t\t\t\t\u0026rds.ParameterGroupParameterArgs{\n\t\t\t\t\tName: pulumi.String(\"character_set_client\"),\n\t\t\t\t\tValue: pulumi.String(\"utf8\"),\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.ParameterGroup;\nimport com.pulumi.aws.rds.ParameterGroupArgs;\nimport com.pulumi.aws.rds.inputs.ParameterGroupParameterArgs;\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 default_ = new ParameterGroup(\"default\", ParameterGroupArgs.builder()\n .name(\"rds-pg\")\n .family(\"mysql5.6\")\n .parameters( \n ParameterGroupParameterArgs.builder()\n .name(\"character_set_server\")\n .value(\"utf8\")\n .build(),\n ParameterGroupParameterArgs.builder()\n .name(\"character_set_client\")\n .value(\"utf8\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n default:\n type: aws:rds:ParameterGroup\n properties:\n name: rds-pg\n family: mysql5.6\n parameters:\n - name: character_set_server\n value: utf8\n - name: character_set_client\n value: utf8\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nUsing `pulumi import`, import DB Parameter groups using the `name`. For example:\n\n```sh\n$ pulumi import aws:rds/parameterGroup:ParameterGroup rds_pg rds-pg\n```\n", + "description": "\n\n## Import\n\nUsing `pulumi import`, import DB Parameter groups using the `name`. For example:\n\n```sh\n$ pulumi import aws:rds/parameterGroup:ParameterGroup rds_pg rds-pg\n```\n", "properties": { "arn": { "type": "string", @@ -350564,6 +351041,453 @@ "type": "object" } }, + "aws:s3tables/namespace:Namespace": { + "description": "Resource for managing an Amazon S3 Tables Namespace.\n\n## Example Usage\n\n### Basic Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\n\nconst exampleTableBucket = new aws.s3tables.TableBucket(\"example\", {name: \"example-bucket\"});\nconst example = new aws.s3tables.Namespace(\"example\", {\n namespace: \"example-namespace\",\n tableBucketArn: exampleTableBucket.arn,\n});\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\n\nexample_table_bucket = aws.s3tables.TableBucket(\"example\", name=\"example-bucket\")\nexample = aws.s3tables.Namespace(\"example\",\n namespace=\"example-namespace\",\n table_bucket_arn=example_table_bucket.arn)\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 exampleTableBucket = new Aws.S3Tables.TableBucket(\"example\", new()\n {\n Name = \"example-bucket\",\n });\n\n var example = new Aws.S3Tables.Namespace(\"example\", new()\n {\n NameSpace = \"example-namespace\",\n TableBucketArn = exampleTableBucket.Arn,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/s3tables\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texampleTableBucket, err := s3tables.NewTableBucket(ctx, \"example\", \u0026s3tables.TableBucketArgs{\n\t\t\tName: pulumi.String(\"example-bucket\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = s3tables.NewNamespace(ctx, \"example\", \u0026s3tables.NamespaceArgs{\n\t\t\tNamespace: pulumi.String(\"example-namespace\"),\n\t\t\tTableBucketArn: exampleTableBucket.Arn,\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.s3tables.TableBucket;\nimport com.pulumi.aws.s3tables.TableBucketArgs;\nimport com.pulumi.aws.s3tables.Namespace;\nimport com.pulumi.aws.s3tables.NamespaceArgs;\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 exampleTableBucket = new TableBucket(\"exampleTableBucket\", TableBucketArgs.builder()\n .name(\"example-bucket\")\n .build());\n\n var example = new Namespace(\"example\", NamespaceArgs.builder()\n .namespace(\"example-namespace\")\n .tableBucketArn(exampleTableBucket.arn())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: aws:s3tables:Namespace\n properties:\n namespace: example-namespace\n tableBucketArn: ${exampleTableBucket.arn}\n exampleTableBucket:\n type: aws:s3tables:TableBucket\n name: example\n properties:\n name: example-bucket\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nUsing `pulumi import`, import S3 Tables Namespace using the `table_bucket_arn` and the value of `namespace`, separated by a semicolon (`;`). For example:\n\n```sh\n$ pulumi import aws:s3tables/namespace:Namespace example 'arn:aws:s3tables:us-west-2:123456789012:bucket/example-bucket;example-namespace'\n```\n", + "properties": { + "createdAt": { + "type": "string", + "description": "Date and time when the namespace was created.\n" + }, + "createdBy": { + "type": "string", + "description": "Account ID of the account that created the namespace.\n" + }, + "namespace": { + "type": "string", + "description": "Name of the namespace.\nMust be between 1 and 255 characters in length.\nCan consist of lowercase letters, numbers, and underscores, and must begin and end with a lowercase letter or number.\n", + "language": { + "csharp": { + "name": "NameSpace" + } + } + }, + "ownerAccountId": { + "type": "string", + "description": "Account ID of the account that owns the namespace.\n" + }, + "tableBucketArn": { + "type": "string", + "description": "ARN referencing the Table Bucket that contains this Namespace.\n" + } + }, + "required": [ + "createdAt", + "createdBy", + "namespace", + "ownerAccountId", + "tableBucketArn" + ], + "inputProperties": { + "namespace": { + "type": "string", + "description": "Name of the namespace.\nMust be between 1 and 255 characters in length.\nCan consist of lowercase letters, numbers, and underscores, and must begin and end with a lowercase letter or number.\n", + "language": { + "csharp": { + "name": "NameSpace" + } + } + }, + "tableBucketArn": { + "type": "string", + "description": "ARN referencing the Table Bucket that contains this Namespace.\n" + } + }, + "requiredInputs": [ + "namespace", + "tableBucketArn" + ], + "stateInputs": { + "description": "Input properties used for looking up and filtering Namespace resources.\n", + "properties": { + "createdAt": { + "type": "string", + "description": "Date and time when the namespace was created.\n" + }, + "createdBy": { + "type": "string", + "description": "Account ID of the account that created the namespace.\n" + }, + "namespace": { + "type": "string", + "description": "Name of the namespace.\nMust be between 1 and 255 characters in length.\nCan consist of lowercase letters, numbers, and underscores, and must begin and end with a lowercase letter or number.\n", + "language": { + "csharp": { + "name": "NameSpace" + } + } + }, + "ownerAccountId": { + "type": "string", + "description": "Account ID of the account that owns the namespace.\n" + }, + "tableBucketArn": { + "type": "string", + "description": "ARN referencing the Table Bucket that contains this Namespace.\n" + } + }, + "type": "object" + } + }, + "aws:s3tables/table:Table": { + "description": "Resource for managing an Amazon S3 Tables Table.\n\n## Example Usage\n\n### Basic Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\n\nconst exampleTableBucket = new aws.s3tables.TableBucket(\"example\", {name: \"example-bucket\"});\nconst exampleNamespace = new aws.s3tables.Namespace(\"example\", {\n namespace: \"example-namespace\",\n tableBucketArn: exampleTableBucket.arn,\n});\nconst example = new aws.s3tables.Table(\"example\", {\n name: \"example-table\",\n namespace: exampleNamespace,\n tableBucketArn: exampleNamespace.tableBucketArn,\n format: \"ICEBERG\",\n});\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\n\nexample_table_bucket = aws.s3tables.TableBucket(\"example\", name=\"example-bucket\")\nexample_namespace = aws.s3tables.Namespace(\"example\",\n namespace=\"example-namespace\",\n table_bucket_arn=example_table_bucket.arn)\nexample = aws.s3tables.Table(\"example\",\n name=\"example-table\",\n namespace=example_namespace,\n table_bucket_arn=example_namespace.table_bucket_arn,\n format=\"ICEBERG\")\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 exampleTableBucket = new Aws.S3Tables.TableBucket(\"example\", new()\n {\n Name = \"example-bucket\",\n });\n\n var exampleNamespace = new Aws.S3Tables.Namespace(\"example\", new()\n {\n NameSpace = \"example-namespace\",\n TableBucketArn = exampleTableBucket.Arn,\n });\n\n var example = new Aws.S3Tables.Table(\"example\", new()\n {\n Name = \"example-table\",\n Namespace = exampleNamespace,\n TableBucketArn = exampleNamespace.TableBucketArn,\n Format = \"ICEBERG\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/s3tables\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texampleTableBucket, err := s3tables.NewTableBucket(ctx, \"example\", \u0026s3tables.TableBucketArgs{\n\t\t\tName: pulumi.String(\"example-bucket\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texampleNamespace, err := s3tables.NewNamespace(ctx, \"example\", \u0026s3tables.NamespaceArgs{\n\t\t\tNamespace: pulumi.String(\"example-namespace\"),\n\t\t\tTableBucketArn: exampleTableBucket.Arn,\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = s3tables.NewTable(ctx, \"example\", \u0026s3tables.TableArgs{\n\t\t\tName: pulumi.String(\"example-table\"),\n\t\t\tNamespace: exampleNamespace,\n\t\t\tTableBucketArn: exampleNamespace.TableBucketArn,\n\t\t\tFormat: pulumi.String(\"ICEBERG\"),\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.s3tables.TableBucket;\nimport com.pulumi.aws.s3tables.TableBucketArgs;\nimport com.pulumi.aws.s3tables.Namespace;\nimport com.pulumi.aws.s3tables.NamespaceArgs;\nimport com.pulumi.aws.s3tables.Table;\nimport com.pulumi.aws.s3tables.TableArgs;\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 exampleTableBucket = new TableBucket(\"exampleTableBucket\", TableBucketArgs.builder()\n .name(\"example-bucket\")\n .build());\n\n var exampleNamespace = new Namespace(\"exampleNamespace\", NamespaceArgs.builder()\n .namespace(\"example-namespace\")\n .tableBucketArn(exampleTableBucket.arn())\n .build());\n\n var example = new Table(\"example\", TableArgs.builder()\n .name(\"example-table\")\n .namespace(exampleNamespace)\n .tableBucketArn(exampleNamespace.tableBucketArn())\n .format(\"ICEBERG\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: aws:s3tables:Table\n properties:\n name: example-table\n namespace: ${exampleNamespace}\n tableBucketArn: ${exampleNamespace.tableBucketArn}\n format: ICEBERG\n exampleNamespace:\n type: aws:s3tables:Namespace\n name: example\n properties:\n namespace: example-namespace\n tableBucketArn: ${exampleTableBucket.arn}\n exampleTableBucket:\n type: aws:s3tables:TableBucket\n name: example\n properties:\n name: example-bucket\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nUsing `pulumi import`, import S3 Tables Table using the `table_bucket_arn`, the value of `namespace`, and the value of `name`, separated by a semicolon (`;`). For example:\n\n```sh\n$ pulumi import aws:s3tables/table:Table example 'arn:aws:s3tables:us-west-2:123456789012:bucket/example-bucket;example-namespace;example-table'\n```\n", + "properties": { + "arn": { + "type": "string", + "description": "ARN of the table.\n" + }, + "createdAt": { + "type": "string", + "description": "Date and time when the namespace was created.\n" + }, + "createdBy": { + "type": "string", + "description": "Account ID of the account that created the namespace.\n" + }, + "format": { + "type": "string", + "description": "Format of the table.\nMust be `ICEBERG`.\n" + }, + "maintenanceConfiguration": { + "$ref": "#/types/aws:s3tables/TableMaintenanceConfiguration:TableMaintenanceConfiguration", + "description": "A single table bucket maintenance configuration block.\nSee `maintenance_configuration` below\n" + }, + "metadataLocation": { + "type": "string", + "description": "Location of table metadata.\n" + }, + "modifiedAt": { + "type": "string", + "description": "Date and time when the namespace was last modified.\n" + }, + "modifiedBy": { + "type": "string", + "description": "Account ID of the account that last modified the namespace.\n" + }, + "name": { + "type": "string", + "description": "Name of the table.\nMust be between 1 and 255 characters in length.\nCan consist of lowercase letters, numbers, and underscores, and must begin and end with a lowercase letter or number.\n" + }, + "namespace": { + "type": "string", + "description": "Name of the namespace for this table.\nMust be between 1 and 255 characters in length.\nCan consist of lowercase letters, numbers, and underscores, and must begin and end with a lowercase letter or number.\n" + }, + "ownerAccountId": { + "type": "string", + "description": "Account ID of the account that owns the namespace.\n" + }, + "tableBucketArn": { + "type": "string", + "description": "ARN referencing the Table Bucket that contains this Namespace.\n\nThe following argument is optional:\n" + }, + "type": { + "type": "string", + "description": "Type of the table.\nOne of `customer` or `aws`.\n" + }, + "versionToken": { + "type": "string", + "description": "Identifier for the current version of table data.\n" + }, + "warehouseLocation": { + "type": "string", + "description": "S3 URI pointing to the S3 Bucket that contains the table data.\n" + } + }, + "required": [ + "arn", + "createdAt", + "createdBy", + "format", + "maintenanceConfiguration", + "metadataLocation", + "modifiedAt", + "modifiedBy", + "name", + "namespace", + "ownerAccountId", + "tableBucketArn", + "type", + "versionToken", + "warehouseLocation" + ], + "inputProperties": { + "format": { + "type": "string", + "description": "Format of the table.\nMust be `ICEBERG`.\n" + }, + "maintenanceConfiguration": { + "$ref": "#/types/aws:s3tables/TableMaintenanceConfiguration:TableMaintenanceConfiguration", + "description": "A single table bucket maintenance configuration block.\nSee `maintenance_configuration` below\n" + }, + "name": { + "type": "string", + "description": "Name of the table.\nMust be between 1 and 255 characters in length.\nCan consist of lowercase letters, numbers, and underscores, and must begin and end with a lowercase letter or number.\n" + }, + "namespace": { + "type": "string", + "description": "Name of the namespace for this table.\nMust be between 1 and 255 characters in length.\nCan consist of lowercase letters, numbers, and underscores, and must begin and end with a lowercase letter or number.\n" + }, + "tableBucketArn": { + "type": "string", + "description": "ARN referencing the Table Bucket that contains this Namespace.\n\nThe following argument is optional:\n" + } + }, + "requiredInputs": [ + "format", + "namespace", + "tableBucketArn" + ], + "stateInputs": { + "description": "Input properties used for looking up and filtering Table resources.\n", + "properties": { + "arn": { + "type": "string", + "description": "ARN of the table.\n" + }, + "createdAt": { + "type": "string", + "description": "Date and time when the namespace was created.\n" + }, + "createdBy": { + "type": "string", + "description": "Account ID of the account that created the namespace.\n" + }, + "format": { + "type": "string", + "description": "Format of the table.\nMust be `ICEBERG`.\n" + }, + "maintenanceConfiguration": { + "$ref": "#/types/aws:s3tables/TableMaintenanceConfiguration:TableMaintenanceConfiguration", + "description": "A single table bucket maintenance configuration block.\nSee `maintenance_configuration` below\n" + }, + "metadataLocation": { + "type": "string", + "description": "Location of table metadata.\n" + }, + "modifiedAt": { + "type": "string", + "description": "Date and time when the namespace was last modified.\n" + }, + "modifiedBy": { + "type": "string", + "description": "Account ID of the account that last modified the namespace.\n" + }, + "name": { + "type": "string", + "description": "Name of the table.\nMust be between 1 and 255 characters in length.\nCan consist of lowercase letters, numbers, and underscores, and must begin and end with a lowercase letter or number.\n" + }, + "namespace": { + "type": "string", + "description": "Name of the namespace for this table.\nMust be between 1 and 255 characters in length.\nCan consist of lowercase letters, numbers, and underscores, and must begin and end with a lowercase letter or number.\n" + }, + "ownerAccountId": { + "type": "string", + "description": "Account ID of the account that owns the namespace.\n" + }, + "tableBucketArn": { + "type": "string", + "description": "ARN referencing the Table Bucket that contains this Namespace.\n\nThe following argument is optional:\n" + }, + "type": { + "type": "string", + "description": "Type of the table.\nOne of `customer` or `aws`.\n" + }, + "versionToken": { + "type": "string", + "description": "Identifier for the current version of table data.\n" + }, + "warehouseLocation": { + "type": "string", + "description": "S3 URI pointing to the S3 Bucket that contains the table data.\n" + } + }, + "type": "object" + } + }, + "aws:s3tables/tableBucket:TableBucket": { + "description": "Resource for managing an Amazon S3 Tables Table Bucket.\n\n## Example Usage\n\n### Basic Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\n\nconst example = new aws.s3tables.TableBucket(\"example\", {name: \"example-bucket\"});\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\n\nexample = aws.s3tables.TableBucket(\"example\", name=\"example-bucket\")\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.S3Tables.TableBucket(\"example\", new()\n {\n Name = \"example-bucket\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/s3tables\"\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 := s3tables.NewTableBucket(ctx, \"example\", \u0026s3tables.TableBucketArgs{\n\t\t\tName: pulumi.String(\"example-bucket\"),\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.s3tables.TableBucket;\nimport com.pulumi.aws.s3tables.TableBucketArgs;\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 TableBucket(\"example\", TableBucketArgs.builder()\n .name(\"example-bucket\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: aws:s3tables:TableBucket\n properties:\n name: example-bucket\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nUsing `pulumi import`, import S3 Tables Table Bucket using the `arn`. For example:\n\n```sh\n$ pulumi import aws:s3tables/tableBucket:TableBucket example arn:aws:s3tables:us-west-2:123456789012:bucket/example-bucket\n```\n", + "properties": { + "arn": { + "type": "string", + "description": "ARN of the table bucket.\n" + }, + "createdAt": { + "type": "string", + "description": "Date and time when the bucket was created.\n" + }, + "maintenanceConfiguration": { + "$ref": "#/types/aws:s3tables/TableBucketMaintenanceConfiguration:TableBucketMaintenanceConfiguration", + "description": "A single table bucket maintenance configuration block.\nSee `maintenance_configuration` below\n" + }, + "name": { + "type": "string", + "description": "Name of the table bucket.\nMust be between 3 and 63 characters in length.\nCan consist of lowercase letters, numbers, and hyphens, and must begin and end with a lowercase letter or number.\nA full list of bucket naming rules may be found in S3 Tables documentation.\n\nThe following argument is optional:\n" + }, + "ownerAccountId": { + "type": "string", + "description": "Account ID of the account that owns the table bucket.\n" + } + }, + "required": [ + "arn", + "createdAt", + "maintenanceConfiguration", + "name", + "ownerAccountId" + ], + "inputProperties": { + "maintenanceConfiguration": { + "$ref": "#/types/aws:s3tables/TableBucketMaintenanceConfiguration:TableBucketMaintenanceConfiguration", + "description": "A single table bucket maintenance configuration block.\nSee `maintenance_configuration` below\n" + }, + "name": { + "type": "string", + "description": "Name of the table bucket.\nMust be between 3 and 63 characters in length.\nCan consist of lowercase letters, numbers, and hyphens, and must begin and end with a lowercase letter or number.\nA full list of bucket naming rules may be found in S3 Tables documentation.\n\nThe following argument is optional:\n" + } + }, + "stateInputs": { + "description": "Input properties used for looking up and filtering TableBucket resources.\n", + "properties": { + "arn": { + "type": "string", + "description": "ARN of the table bucket.\n" + }, + "createdAt": { + "type": "string", + "description": "Date and time when the bucket was created.\n" + }, + "maintenanceConfiguration": { + "$ref": "#/types/aws:s3tables/TableBucketMaintenanceConfiguration:TableBucketMaintenanceConfiguration", + "description": "A single table bucket maintenance configuration block.\nSee `maintenance_configuration` below\n" + }, + "name": { + "type": "string", + "description": "Name of the table bucket.\nMust be between 3 and 63 characters in length.\nCan consist of lowercase letters, numbers, and hyphens, and must begin and end with a lowercase letter or number.\nA full list of bucket naming rules may be found in S3 Tables documentation.\n\nThe following argument is optional:\n" + }, + "ownerAccountId": { + "type": "string", + "description": "Account ID of the account that owns the table bucket.\n" + } + }, + "type": "object" + } + }, + "aws:s3tables/tableBucketPolicy:TableBucketPolicy": { + "description": "Resource for managing an Amazon S3 Tables Table Bucket Policy.\n\n## Example Usage\n\n### Basic Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\n\nconst example = aws.iam.getPolicyDocument({\n statements: [{}],\n});\nconst exampleTableBucketPolicy = new aws.s3tables.TableBucketPolicy(\"example\", {\n resourcePolicy: example.then(example =\u003e example.json),\n tableBucketArn: exampleAwsS3tablesTableBucket.arn,\n});\nconst test = new aws.s3tables.TableBucket(\"test\", {name: \"example-bucket\"});\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\n\nexample = aws.iam.get_policy_document(statements=[{}])\nexample_table_bucket_policy = aws.s3tables.TableBucketPolicy(\"example\",\n resource_policy=example.json,\n table_bucket_arn=example_aws_s3tables_table_bucket[\"arn\"])\ntest = aws.s3tables.TableBucket(\"test\", name=\"example-bucket\")\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.Iam.GetPolicyDocument.Invoke(new()\n {\n Statements = new[]\n {\n null,\n },\n });\n\n var exampleTableBucketPolicy = new Aws.S3Tables.TableBucketPolicy(\"example\", new()\n {\n ResourcePolicy = example.Apply(getPolicyDocumentResult =\u003e getPolicyDocumentResult.Json),\n TableBucketArn = exampleAwsS3tablesTableBucket.Arn,\n });\n\n var test = new Aws.S3Tables.TableBucket(\"test\", new()\n {\n Name = \"example-bucket\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/iam\"\n\t\"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/s3tables\"\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 := iam.GetPolicyDocument(ctx, \u0026iam.GetPolicyDocumentArgs{\n\t\t\tStatements: []iam.GetPolicyDocumentStatement{\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\t_, err = s3tables.NewTableBucketPolicy(ctx, \"example\", \u0026s3tables.TableBucketPolicyArgs{\n\t\t\tResourcePolicy: pulumi.String(example.Json),\n\t\t\tTableBucketArn: pulumi.Any(exampleAwsS3tablesTableBucket.Arn),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = s3tables.NewTableBucket(ctx, \"test\", \u0026s3tables.TableBucketArgs{\n\t\t\tName: pulumi.String(\"example-bucket\"),\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.iam.IamFunctions;\nimport com.pulumi.aws.iam.inputs.GetPolicyDocumentArgs;\nimport com.pulumi.aws.s3tables.TableBucketPolicy;\nimport com.pulumi.aws.s3tables.TableBucketPolicyArgs;\nimport com.pulumi.aws.s3tables.TableBucket;\nimport com.pulumi.aws.s3tables.TableBucketArgs;\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 = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()\n .statements()\n .build());\n\n var exampleTableBucketPolicy = new TableBucketPolicy(\"exampleTableBucketPolicy\", TableBucketPolicyArgs.builder()\n .resourcePolicy(example.applyValue(getPolicyDocumentResult -\u003e getPolicyDocumentResult.json()))\n .tableBucketArn(exampleAwsS3tablesTableBucket.arn())\n .build());\n\n var test = new TableBucket(\"test\", TableBucketArgs.builder()\n .name(\"example-bucket\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n exampleTableBucketPolicy:\n type: aws:s3tables:TableBucketPolicy\n name: example\n properties:\n resourcePolicy: ${example.json}\n tableBucketArn: ${exampleAwsS3tablesTableBucket.arn}\n test:\n type: aws:s3tables:TableBucket\n properties:\n name: example-bucket\nvariables:\n example:\n fn::invoke:\n Function: aws:iam:getPolicyDocument\n Arguments:\n statements:\n - {}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nUsing `pulumi import`, import S3 Tables Table Bucket Policy using the `table_bucket_arn`. For example:\n\n```sh\n$ pulumi import aws:s3tables/tableBucketPolicy:TableBucketPolicy example 'arn:aws:s3tables:us-west-2:123456789012:bucket/example-bucket;example-namespace'\n```\n", + "properties": { + "resourcePolicy": { + "type": "string", + "description": "Amazon Web Services resource-based policy document in JSON format.\n" + }, + "tableBucketArn": { + "type": "string", + "description": "ARN referencing the Table Bucket that owns this policy.\n" + } + }, + "required": [ + "resourcePolicy", + "tableBucketArn" + ], + "inputProperties": { + "resourcePolicy": { + "type": "string", + "description": "Amazon Web Services resource-based policy document in JSON format.\n" + }, + "tableBucketArn": { + "type": "string", + "description": "ARN referencing the Table Bucket that owns this policy.\n" + } + }, + "requiredInputs": [ + "resourcePolicy", + "tableBucketArn" + ], + "stateInputs": { + "description": "Input properties used for looking up and filtering TableBucketPolicy resources.\n", + "properties": { + "resourcePolicy": { + "type": "string", + "description": "Amazon Web Services resource-based policy document in JSON format.\n" + }, + "tableBucketArn": { + "type": "string", + "description": "ARN referencing the Table Bucket that owns this policy.\n" + } + }, + "type": "object" + } + }, + "aws:s3tables/tablePolicy:TablePolicy": { + "description": "Resource for managing an Amazon S3 Tables Table Policy.\n\n## Example Usage\n\n### Basic Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.aws.iam.IamFunctions;\nimport com.pulumi.aws.iam.inputs.GetPolicyDocumentArgs;\nimport com.pulumi.aws.s3tables.TablePolicy;\nimport com.pulumi.aws.s3tables.TablePolicyArgs;\nimport com.pulumi.aws.s3tables.TableBucket;\nimport com.pulumi.aws.s3tables.TableBucketArgs;\nimport com.pulumi.aws.s3tables.Namespace;\nimport com.pulumi.aws.s3tables.NamespaceArgs;\nimport com.pulumi.aws.s3tables.Table;\nimport com.pulumi.aws.s3tables.TableArgs;\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 = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()\n .statements()\n .build());\n\n var exampleTablePolicy = new TablePolicy(\"exampleTablePolicy\", TablePolicyArgs.builder()\n .resourcePolicy(example.applyValue(getPolicyDocumentResult -\u003e getPolicyDocumentResult.json()))\n .name(test.name())\n .namespace(test.namespace())\n .tableBucketArn(test.tableBucketArn())\n .build());\n\n var exampleTableBucket = new TableBucket(\"exampleTableBucket\", TableBucketArgs.builder()\n .name(\"example-bucket\")\n .build());\n\n var exampleNamespace = new Namespace(\"exampleNamespace\", NamespaceArgs.builder()\n .namespace(\"example-namespace\")\n .tableBucketArn(exampleTableBucket.arn())\n .build());\n\n var exampleTable = new Table(\"exampleTable\", TableArgs.builder()\n .name(\"example-table\")\n .namespace(exampleNamespace)\n .tableBucketArn(exampleNamespace.tableBucketArn())\n .format(\"ICEBERG\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n exampleTablePolicy:\n type: aws:s3tables:TablePolicy\n name: example\n properties:\n resourcePolicy: ${example.json}\n name: ${test.name}\n namespace: ${test.namespace}\n tableBucketArn: ${test.tableBucketArn}\n exampleTable:\n type: aws:s3tables:Table\n name: example\n properties:\n name: example-table\n namespace: ${exampleNamespace}\n tableBucketArn: ${exampleNamespace.tableBucketArn}\n format: ICEBERG\n exampleNamespace:\n type: aws:s3tables:Namespace\n name: example\n properties:\n namespace:\n - example-namespace\n tableBucketArn: ${exampleTableBucket.arn}\n exampleTableBucket:\n type: aws:s3tables:TableBucket\n name: example\n properties:\n name: example-bucket\nvariables:\n example:\n fn::invoke:\n Function: aws:iam:getPolicyDocument\n Arguments:\n statements:\n - {}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nUsing `pulumi import`, import S3 Tables Table Policy using the `table_bucket_arn`, the value of `namespace`, and the value of `name`, separated by a semicolon (`;`). For example:\n\n```sh\n$ pulumi import aws:s3tables/tablePolicy:TablePolicy example 'arn:aws:s3tables:us-west-2:123456789012:bucket/example-bucket;example-namespace;example-table'\n```\n", + "properties": { + "name": { + "type": "string", + "description": "Name of the table.\nMust be between 1 and 255 characters in length.\nCan consist of lowercase letters, numbers, and underscores, and must begin and end with a lowercase letter or number.\n" + }, + "namespace": { + "type": "string", + "description": "Name of the namespace for this table.\nMust be between 1 and 255 characters in length.\nCan consist of lowercase letters, numbers, and underscores, and must begin and end with a lowercase letter or number.\n" + }, + "resourcePolicy": { + "type": "string", + "description": "Amazon Web Services resource-based policy document in JSON format.\n" + }, + "tableBucketArn": { + "type": "string", + "description": "ARN referencing the Table Bucket that contains this Namespace.\n" + } + }, + "required": [ + "name", + "namespace", + "resourcePolicy", + "tableBucketArn" + ], + "inputProperties": { + "name": { + "type": "string", + "description": "Name of the table.\nMust be between 1 and 255 characters in length.\nCan consist of lowercase letters, numbers, and underscores, and must begin and end with a lowercase letter or number.\n" + }, + "namespace": { + "type": "string", + "description": "Name of the namespace for this table.\nMust be between 1 and 255 characters in length.\nCan consist of lowercase letters, numbers, and underscores, and must begin and end with a lowercase letter or number.\n" + }, + "resourcePolicy": { + "type": "string", + "description": "Amazon Web Services resource-based policy document in JSON format.\n" + }, + "tableBucketArn": { + "type": "string", + "description": "ARN referencing the Table Bucket that contains this Namespace.\n" + } + }, + "requiredInputs": [ + "namespace", + "resourcePolicy", + "tableBucketArn" + ], + "stateInputs": { + "description": "Input properties used for looking up and filtering TablePolicy resources.\n", + "properties": { + "name": { + "type": "string", + "description": "Name of the table.\nMust be between 1 and 255 characters in length.\nCan consist of lowercase letters, numbers, and underscores, and must begin and end with a lowercase letter or number.\n" + }, + "namespace": { + "type": "string", + "description": "Name of the namespace for this table.\nMust be between 1 and 255 characters in length.\nCan consist of lowercase letters, numbers, and underscores, and must begin and end with a lowercase letter or number.\n" + }, + "resourcePolicy": { + "type": "string", + "description": "Amazon Web Services resource-based policy document in JSON format.\n" + }, + "tableBucketArn": { + "type": "string", + "description": "ARN referencing the Table Bucket that contains this Namespace.\n" + } + }, + "type": "object" + } + }, "aws:sagemaker/app:App": { "description": "Provides a SageMaker App resource.\n\n## Example Usage\n\n### Basic usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\n\nconst example = new aws.sagemaker.App(\"example\", {\n domainId: exampleAwsSagemakerDomain.id,\n userProfileName: exampleAwsSagemakerUserProfile.userProfileName,\n appName: \"example\",\n appType: \"JupyterServer\",\n});\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\n\nexample = aws.sagemaker.App(\"example\",\n domain_id=example_aws_sagemaker_domain[\"id\"],\n user_profile_name=example_aws_sagemaker_user_profile[\"userProfileName\"],\n app_name=\"example\",\n app_type=\"JupyterServer\")\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.Sagemaker.App(\"example\", new()\n {\n DomainId = exampleAwsSagemakerDomain.Id,\n UserProfileName = exampleAwsSagemakerUserProfile.UserProfileName,\n AppName = \"example\",\n AppType = \"JupyterServer\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/sagemaker\"\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 := sagemaker.NewApp(ctx, \"example\", \u0026sagemaker.AppArgs{\n\t\t\tDomainId: pulumi.Any(exampleAwsSagemakerDomain.Id),\n\t\t\tUserProfileName: pulumi.Any(exampleAwsSagemakerUserProfile.UserProfileName),\n\t\t\tAppName: pulumi.String(\"example\"),\n\t\t\tAppType: pulumi.String(\"JupyterServer\"),\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.sagemaker.App;\nimport com.pulumi.aws.sagemaker.AppArgs;\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 App(\"example\", AppArgs.builder()\n .domainId(exampleAwsSagemakerDomain.id())\n .userProfileName(exampleAwsSagemakerUserProfile.userProfileName())\n .appName(\"example\")\n .appType(\"JupyterServer\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: aws:sagemaker:App\n properties:\n domainId: ${exampleAwsSagemakerDomain.id}\n userProfileName: ${exampleAwsSagemakerUserProfile.userProfileName}\n appName: example\n appType: JupyterServer\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nUsing `pulumi import`, import SageMaker Apps using the `id`. For example:\n\n```sh\n$ pulumi import aws:sagemaker/app:App example arn:aws:sagemaker:us-west-2:012345678912:app/domain-id/user-profile-name/app-type/app-name\n```\n", "properties": { @@ -356695,7 +357619,7 @@ } }, "aws:securityhub/standardsControlAssociation:StandardsControlAssociation": { - "description": "## Example Usage\n\n### Basic usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\n\nconst example = new aws.securityhub.Account(\"example\", {});\nconst cisAwsFoundationsBenchmark = new aws.securityhub.StandardsSubscription(\"cis_aws_foundations_benchmark\", {standardsArn: \"arn:aws:securityhub:::ruleset/cis-aws-foundations-benchmark/v/1.2.0\"}, {\n dependsOn: [example],\n});\nconst cisAwsFoundationsBenchmarkDisableIam1 = new aws.index.StandardsControlAssociation(\"cis_aws_foundations_benchmark_disable_iam_1\", {\n standardsArn: cisAwsFoundationsBenchmark.standardsArn,\n securityControlId: \"IAM.1\",\n associationStatus: \"DISABLED\",\n updatedReason: \"Not needed\",\n});\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\n\nexample = aws.securityhub.Account(\"example\")\ncis_aws_foundations_benchmark = aws.securityhub.StandardsSubscription(\"cis_aws_foundations_benchmark\", standards_arn=\"arn:aws:securityhub:::ruleset/cis-aws-foundations-benchmark/v/1.2.0\",\nopts = pulumi.ResourceOptions(depends_on=[example]))\ncis_aws_foundations_benchmark_disable_iam1 = aws.index.StandardsControlAssociation(\"cis_aws_foundations_benchmark_disable_iam_1\",\n standards_arn=cis_aws_foundations_benchmark.standards_arn,\n security_control_id=IAM.1,\n association_status=DISABLED,\n updated_reason=Not needed)\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.SecurityHub.Account(\"example\");\n\n var cisAwsFoundationsBenchmark = new Aws.SecurityHub.StandardsSubscription(\"cis_aws_foundations_benchmark\", new()\n {\n StandardsArn = \"arn:aws:securityhub:::ruleset/cis-aws-foundations-benchmark/v/1.2.0\",\n }, new CustomResourceOptions\n {\n DependsOn =\n {\n example,\n },\n });\n\n var cisAwsFoundationsBenchmarkDisableIam1 = new Aws.Index.StandardsControlAssociation(\"cis_aws_foundations_benchmark_disable_iam_1\", new()\n {\n StandardsArn = cisAwsFoundationsBenchmark.StandardsArn,\n SecurityControlId = \"IAM.1\",\n AssociationStatus = \"DISABLED\",\n UpdatedReason = \"Not needed\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws/sdk/v6/go/aws\"\n\t\"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/securityhub\"\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 := securityhub.NewAccount(ctx, \"example\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tcisAwsFoundationsBenchmark, err := securityhub.NewStandardsSubscription(ctx, \"cis_aws_foundations_benchmark\", \u0026securityhub.StandardsSubscriptionArgs{\n\t\t\tStandardsArn: pulumi.String(\"arn:aws:securityhub:::ruleset/cis-aws-foundations-benchmark/v/1.2.0\"),\n\t\t}, pulumi.DependsOn([]pulumi.Resource{\n\t\t\texample,\n\t\t}))\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = aws.NewStandardsControlAssociation(ctx, \"cis_aws_foundations_benchmark_disable_iam_1\", \u0026aws.StandardsControlAssociationArgs{\n\t\t\tStandardsArn: cisAwsFoundationsBenchmark.StandardsArn,\n\t\t\tSecurityControlId: \"IAM.1\",\n\t\t\tAssociationStatus: \"DISABLED\",\n\t\t\tUpdatedReason: \"Not needed\",\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.securityhub.Account;\nimport com.pulumi.aws.securityhub.StandardsSubscription;\nimport com.pulumi.aws.securityhub.StandardsSubscriptionArgs;\nimport com.pulumi.aws.standardsControlAssociation;\nimport com.pulumi.aws.StandardsControlAssociationArgs;\nimport com.pulumi.resources.CustomResourceOptions;\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 Account(\"example\");\n\n var cisAwsFoundationsBenchmark = new StandardsSubscription(\"cisAwsFoundationsBenchmark\", StandardsSubscriptionArgs.builder()\n .standardsArn(\"arn:aws:securityhub:::ruleset/cis-aws-foundations-benchmark/v/1.2.0\")\n .build(), CustomResourceOptions.builder()\n .dependsOn(example)\n .build());\n\n var cisAwsFoundationsBenchmarkDisableIam1 = new StandardsControlAssociation(\"cisAwsFoundationsBenchmarkDisableIam1\", StandardsControlAssociationArgs.builder()\n .standardsArn(cisAwsFoundationsBenchmark.standardsArn())\n .securityControlId(\"IAM.1\")\n .associationStatus(\"DISABLED\")\n .updatedReason(\"Not needed\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: aws:securityhub:Account\n cisAwsFoundationsBenchmark:\n type: aws:securityhub:StandardsSubscription\n name: cis_aws_foundations_benchmark\n properties:\n standardsArn: arn:aws:securityhub:::ruleset/cis-aws-foundations-benchmark/v/1.2.0\n options:\n dependson:\n - ${example}\n cisAwsFoundationsBenchmarkDisableIam1:\n type: aws:standardsControlAssociation\n name: cis_aws_foundations_benchmark_disable_iam_1\n properties:\n standardsArn: ${cisAwsFoundationsBenchmark.standardsArn}\n securityControlId: IAM.1\n associationStatus: DISABLED\n updatedReason: Not needed\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n", + "description": "## Example Usage\n\n### Basic usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\n\nconst example = new aws.securityhub.Account(\"example\", {});\nconst cisAwsFoundationsBenchmark = new aws.securityhub.StandardsSubscription(\"cis_aws_foundations_benchmark\", {standardsArn: \"arn:aws:securityhub:::ruleset/cis-aws-foundations-benchmark/v/1.2.0\"}, {\n dependsOn: [example],\n});\nconst cisAwsFoundationsBenchmarkDisableIam1 = new aws.securityhub.StandardsControlAssociation(\"cis_aws_foundations_benchmark_disable_iam_1\", {\n standardsArn: cisAwsFoundationsBenchmark.standardsArn,\n securityControlId: \"IAM.1\",\n associationStatus: \"DISABLED\",\n updatedReason: \"Not needed\",\n});\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\n\nexample = aws.securityhub.Account(\"example\")\ncis_aws_foundations_benchmark = aws.securityhub.StandardsSubscription(\"cis_aws_foundations_benchmark\", standards_arn=\"arn:aws:securityhub:::ruleset/cis-aws-foundations-benchmark/v/1.2.0\",\nopts = pulumi.ResourceOptions(depends_on=[example]))\ncis_aws_foundations_benchmark_disable_iam1 = aws.securityhub.StandardsControlAssociation(\"cis_aws_foundations_benchmark_disable_iam_1\",\n standards_arn=cis_aws_foundations_benchmark.standards_arn,\n security_control_id=\"IAM.1\",\n association_status=\"DISABLED\",\n updated_reason=\"Not needed\")\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.SecurityHub.Account(\"example\");\n\n var cisAwsFoundationsBenchmark = new Aws.SecurityHub.StandardsSubscription(\"cis_aws_foundations_benchmark\", new()\n {\n StandardsArn = \"arn:aws:securityhub:::ruleset/cis-aws-foundations-benchmark/v/1.2.0\",\n }, new CustomResourceOptions\n {\n DependsOn =\n {\n example,\n },\n });\n\n var cisAwsFoundationsBenchmarkDisableIam1 = new Aws.SecurityHub.StandardsControlAssociation(\"cis_aws_foundations_benchmark_disable_iam_1\", new()\n {\n StandardsArn = cisAwsFoundationsBenchmark.StandardsArn,\n SecurityControlId = \"IAM.1\",\n AssociationStatus = \"DISABLED\",\n UpdatedReason = \"Not needed\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/securityhub\"\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 := securityhub.NewAccount(ctx, \"example\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tcisAwsFoundationsBenchmark, err := securityhub.NewStandardsSubscription(ctx, \"cis_aws_foundations_benchmark\", \u0026securityhub.StandardsSubscriptionArgs{\n\t\t\tStandardsArn: pulumi.String(\"arn:aws:securityhub:::ruleset/cis-aws-foundations-benchmark/v/1.2.0\"),\n\t\t}, pulumi.DependsOn([]pulumi.Resource{\n\t\t\texample,\n\t\t}))\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = securityhub.NewStandardsControlAssociation(ctx, \"cis_aws_foundations_benchmark_disable_iam_1\", \u0026securityhub.StandardsControlAssociationArgs{\n\t\t\tStandardsArn: cisAwsFoundationsBenchmark.StandardsArn,\n\t\t\tSecurityControlId: pulumi.String(\"IAM.1\"),\n\t\t\tAssociationStatus: pulumi.String(\"DISABLED\"),\n\t\t\tUpdatedReason: pulumi.String(\"Not needed\"),\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.securityhub.Account;\nimport com.pulumi.aws.securityhub.StandardsSubscription;\nimport com.pulumi.aws.securityhub.StandardsSubscriptionArgs;\nimport com.pulumi.aws.securityhub.StandardsControlAssociation;\nimport com.pulumi.aws.securityhub.StandardsControlAssociationArgs;\nimport com.pulumi.resources.CustomResourceOptions;\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 Account(\"example\");\n\n var cisAwsFoundationsBenchmark = new StandardsSubscription(\"cisAwsFoundationsBenchmark\", StandardsSubscriptionArgs.builder()\n .standardsArn(\"arn:aws:securityhub:::ruleset/cis-aws-foundations-benchmark/v/1.2.0\")\n .build(), CustomResourceOptions.builder()\n .dependsOn(example)\n .build());\n\n var cisAwsFoundationsBenchmarkDisableIam1 = new StandardsControlAssociation(\"cisAwsFoundationsBenchmarkDisableIam1\", StandardsControlAssociationArgs.builder()\n .standardsArn(cisAwsFoundationsBenchmark.standardsArn())\n .securityControlId(\"IAM.1\")\n .associationStatus(\"DISABLED\")\n .updatedReason(\"Not needed\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: aws:securityhub:Account\n cisAwsFoundationsBenchmark:\n type: aws:securityhub:StandardsSubscription\n name: cis_aws_foundations_benchmark\n properties:\n standardsArn: arn:aws:securityhub:::ruleset/cis-aws-foundations-benchmark/v/1.2.0\n options:\n dependson:\n - ${example}\n cisAwsFoundationsBenchmarkDisableIam1:\n type: aws:securityhub:StandardsControlAssociation\n name: cis_aws_foundations_benchmark_disable_iam_1\n properties:\n standardsArn: ${cisAwsFoundationsBenchmark.standardsArn}\n securityControlId: IAM.1\n associationStatus: DISABLED\n updatedReason: Not needed\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n", "properties": { "associationStatus": { "type": "string",