From 4985e4ab3103a2b6fd768fe56ce61f97af28242d Mon Sep 17 00:00:00 2001 From: Pulumi Bot <30351955+pulumi-bot@users.noreply.github.com> Date: Thu, 30 Jan 2025 06:36:30 -0700 Subject: [PATCH] Automated SDK generation @ aws-cloudformation-user-guide 19dc52cd3f2007d6d268b65b739ffb5ebf8c1e76 (#2031) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit *Automated PR* #### Types - `🟡` "aws-native:ecs:ServiceManagedEbsVolumeConfiguration": properties: "volumeInitializationRate" missing - `🔴` "aws-native:iotsitewise:GatewayGreengrass" missing - `🟡` "aws-native:iotsitewise:GatewayPlatform": properties: "greengrass" type changed from "#/types/aws-native:iotsitewise:GatewayGreengrass" to "pulumi.json#/Any" --- .docs.version | 2 +- .../aws-aps-scraper.json | 22 +- .../aws-backupgateway-hypervisor.json | 11 +- .../aws-batch-jobdefinition.json | 31 +++ .../aws-cloudformation-publictypeversion.json | 4 +- .../aws-cloudformation-publisher.json | 4 +- .../aws-cloudformation-typeactivation.json | 4 +- .../aws-cloudfront-distribution.json | 23 ++ .../aws-comprehend-flywheel.json | 3 +- .../aws-connect-securityprofile.json | 3 +- aws-cloudformation-schema/aws-ec2-eip.json | 3 +- .../aws-ecs-service.json | 8 +- .../aws-glue-connection.json | 131 +++++++++- .../aws-glue-tableoptimizer.json | 48 ++++ .../aws-iotfleetwise-statetemplate.json | 8 +- .../aws-iotfleetwise-vehicle.json | 79 ++++++ .../aws-iotsitewise-gateway.json | 43 ++-- .../aws-kafkaconnect-connector.json | 2 +- .../aws-kinesisfirehose-deliverystream.json | 19 +- .../aws-msk-serverlesscluster.json | 3 +- ...aws-neptunegraph-privategraphendpoint.json | 2 +- .../aws-panorama-package.json | 9 +- .../aws-panorama-packageversion.json | 1 - .../aws-qbusiness-datasource.json | 7 +- .../aws-qbusiness-index.json | 7 +- .../aws-qbusiness-retriever.json | 7 +- .../aws-qbusiness-webexperience.json | 7 +- .../aws-ram-permission.json | 4 +- .../aws-resourcegroups-group.json | 2 +- .../aws-sagemaker-pipeline.json | 8 + meta/.botocore.version | 2 +- .../pulumi-gen-aws-native/supported-types.txt | 2 + .../pulumi-resource-aws-native/metadata.json | 182 +++++++++++--- .../pulumi-resource-aws-native/schema.json | 237 ++++++++++++++---- reports/missedAutonaming.json | 13 +- sdk/dotnet/Aps/GetScraper.cs | 4 + .../Inputs/ScraperRoleConfigurationArgs.cs | 35 +++ .../Aps/Outputs/ScraperRoleConfiguration.cs | 38 +++ sdk/dotnet/Aps/Scraper.cs | 6 + ...obDefinitionEksContainerVolumeMountArgs.cs | 3 + .../Inputs/JobDefinitionEksMetadataArgs.cs | 11 + ...bDefinitionEksPersistentVolumeClaimArgs.cs | 26 ++ .../Inputs/JobDefinitionEksVolumeArgs.cs | 3 + .../JobDefinitionEksContainerVolumeMount.cs | 6 +- .../Batch/Outputs/JobDefinitionEksMetadata.cs | 11 +- .../JobDefinitionEksPersistentVolumeClaim.cs | 29 +++ .../Batch/Outputs/JobDefinitionEksVolume.cs | 4 + .../CloudFormation/GetPublicTypeVersion.cs | 2 +- sdk/dotnet/CloudFormation/GetPublisher.cs | 6 +- .../CloudFormation/GetTypeActivation.cs | 2 +- .../CloudFormation/PublicTypeVersion.cs | 2 +- sdk/dotnet/CloudFormation/Publisher.cs | 2 +- sdk/dotnet/CloudFormation/TypeActivation.cs | 4 +- sdk/dotnet/CloudFront/GetVpcOrigin.cs | 27 ++ .../Inputs/DistributionOriginArgs.cs | 3 + .../Inputs/DistributionVpcOriginConfigArgs.cs | 29 +++ .../Inputs/VpcOriginEndpointConfigArgs.cs | 15 ++ .../CloudFront/Outputs/DistributionOrigin.cs | 6 +- .../Outputs/DistributionVpcOriginConfig.cs | 33 +++ .../Outputs/VpcOriginEndpointConfig.cs | 15 ++ sdk/dotnet/CloudFront/VpcOrigin.cs | 28 +++ sdk/dotnet/Ec2/CapacityReservation.cs | 4 +- sdk/dotnet/Ec2/GetCapacityReservation.cs | 2 +- .../Inputs/ServiceAwsVpcConfigurationArgs.cs | 4 +- ...erviceManagedEbsVolumeConfigurationArgs.cs | 3 - .../Ecs/Outputs/ServiceAwsVpcConfiguration.cs | 4 +- .../ServiceManagedEbsVolumeConfiguration.cs | 4 - sdk/dotnet/IoTSiteWise/Enums.cs | 32 +++ sdk/dotnet/IoTSiteWise/Gateway.cs | 13 + .../Inputs/GatewayGreengrassArgs.cs | 29 --- .../Inputs/GatewayGreengrassV2Args.cs | 6 + .../IoTSiteWise/Inputs/GatewayPlatformArgs.cs | 2 +- .../IoTSiteWise/Outputs/GatewayGreengrass.cs | 30 --- .../Outputs/GatewayGreengrassV2.cs | 10 +- .../IoTSiteWise/Outputs/GatewayPlatform.cs | 4 +- sdk/dotnet/KinesisFirehose/DeliveryStream.cs | 7 + ...yStreamDirectPutSourceConfigurationArgs.cs | 23 ++ ...reamIcebergDestinationConfigurationArgs.cs | 3 + ...iveryStreamDirectPutSourceConfiguration.cs | 24 ++ ...ryStreamIcebergDestinationConfiguration.cs | 4 + sdk/go/aws/aps/getScraper.go | 7 +- sdk/go/aws/aps/pulumiTypes.go | 163 ++++++++++++ sdk/go/aws/aps/scraper.go | 13 +- sdk/go/aws/batch/pulumiTypes.go | 206 ++++++++++++++- .../cloudformation/getPublicTypeVersion.go | 4 +- sdk/go/aws/cloudformation/getPublisher.go | 8 +- .../aws/cloudformation/getTypeActivation.go | 4 +- .../aws/cloudformation/publicTypeVersion.go | 4 +- sdk/go/aws/cloudformation/publisher.go | 4 +- sdk/go/aws/cloudformation/typeActivation.go | 8 +- sdk/go/aws/cloudfront/getVpcOrigin.go | 28 ++- sdk/go/aws/cloudfront/pulumiTypes.go | 221 +++++++++++++++- sdk/go/aws/cloudfront/vpcOrigin.go | 34 ++- sdk/go/aws/ec2/capacityReservation.go | 8 +- sdk/go/aws/ec2/getCapacityReservation.go | 4 +- sdk/go/aws/ecs/pulumiTypes.go | 35 +-- sdk/go/aws/iotsitewise/gateway.go | 12 + sdk/go/aws/iotsitewise/pulumiEnums.go | 172 +++++++++++++ sdk/go/aws/iotsitewise/pulumiTypes.go | 173 ++----------- sdk/go/aws/kinesisfirehose/deliveryStream.go | 16 +- sdk/go/aws/kinesisfirehose/pulumiTypes.go | 152 +++++++++++ sdk/nodejs/aps/getScraper.ts | 1 + sdk/nodejs/aps/scraper.ts | 4 + .../cloudformation/getPublicTypeVersion.ts | 2 +- sdk/nodejs/cloudformation/getPublisher.ts | 6 +- .../cloudformation/getTypeActivation.ts | 2 +- .../cloudformation/publicTypeVersion.ts | 2 +- sdk/nodejs/cloudformation/publisher.ts | 2 +- sdk/nodejs/cloudformation/typeActivation.ts | 4 +- sdk/nodejs/cloudfront/getVpcOrigin.ts | 27 ++ sdk/nodejs/cloudfront/vpcOrigin.ts | 27 ++ sdk/nodejs/ec2/capacityReservation.ts | 4 +- sdk/nodejs/ec2/getCapacityReservation.ts | 2 +- sdk/nodejs/iotsitewise/gateway.ts | 12 +- sdk/nodejs/kinesisfirehose/deliveryStream.ts | 6 +- sdk/nodejs/types/enums/iotsitewise/index.ts | 11 + sdk/nodejs/types/input.ts | 71 ++++-- sdk/nodejs/types/output.ts | 71 ++++-- sdk/python/pulumi_aws_native/aps/_inputs.py | 58 +++++ .../pulumi_aws_native/aps/get_scraper.py | 13 +- sdk/python/pulumi_aws_native/aps/outputs.py | 55 ++++ sdk/python/pulumi_aws_native/aps/scraper.py | 21 ++ sdk/python/pulumi_aws_native/batch/_inputs.py | 93 ++++++- sdk/python/pulumi_aws_native/batch/outputs.py | 80 +++++- .../cloudformation/get_public_type_version.py | 2 +- .../cloudformation/get_publisher.py | 6 +- .../cloudformation/get_type_activation.py | 2 +- .../cloudformation/public_type_version.py | 2 +- .../cloudformation/publisher.py | 2 +- .../cloudformation/type_activation.py | 8 +- .../pulumi_aws_native/cloudfront/_inputs.py | 102 +++++++- .../cloudfront/get_vpc_origin.py | 27 ++ .../pulumi_aws_native/cloudfront/outputs.py | 84 ++++++- .../cloudfront/vpc_origin.py | 31 +++ .../ec2/capacity_reservation.py | 8 +- .../ec2/get_capacity_reservation.py | 2 +- sdk/python/pulumi_aws_native/ecs/_inputs.py | 25 +- sdk/python/pulumi_aws_native/ecs/outputs.py | 18 +- .../pulumi_aws_native/iotsitewise/_enums.py | 10 + .../pulumi_aws_native/iotsitewise/_inputs.py | 59 ++--- .../pulumi_aws_native/iotsitewise/gateway.py | 32 ++- .../pulumi_aws_native/iotsitewise/outputs.py | 62 ++--- .../kinesisfirehose/_inputs.py | 38 +++ .../kinesisfirehose/delivery_stream.py | 23 +- .../kinesisfirehose/outputs.py | 41 +++ 145 files changed, 3271 insertions(+), 662 deletions(-) create mode 100644 sdk/dotnet/Aps/Inputs/ScraperRoleConfigurationArgs.cs create mode 100644 sdk/dotnet/Aps/Outputs/ScraperRoleConfiguration.cs create mode 100644 sdk/dotnet/Batch/Inputs/JobDefinitionEksPersistentVolumeClaimArgs.cs create mode 100644 sdk/dotnet/Batch/Outputs/JobDefinitionEksPersistentVolumeClaim.cs create mode 100644 sdk/dotnet/CloudFront/Inputs/DistributionVpcOriginConfigArgs.cs create mode 100644 sdk/dotnet/CloudFront/Outputs/DistributionVpcOriginConfig.cs delete mode 100644 sdk/dotnet/IoTSiteWise/Inputs/GatewayGreengrassArgs.cs delete mode 100644 sdk/dotnet/IoTSiteWise/Outputs/GatewayGreengrass.cs create mode 100644 sdk/dotnet/KinesisFirehose/Inputs/DeliveryStreamDirectPutSourceConfigurationArgs.cs create mode 100644 sdk/dotnet/KinesisFirehose/Outputs/DeliveryStreamDirectPutSourceConfiguration.cs diff --git a/.docs.version b/.docs.version index e22a4a1d0e..5a7d3c9d89 100644 --- a/.docs.version +++ b/.docs.version @@ -1 +1 @@ -2e0e5c3b528d2a1fc994b7c6794edfdd37ef8d72 +6ff512d2a98403936db88a924257572843be3ffe diff --git a/aws-cloudformation-schema/aws-aps-scraper.json b/aws-cloudformation-schema/aws-aps-scraper.json index 6da552d70f..fe754043c5 100644 --- a/aws-cloudformation-schema/aws-aps-scraper.json +++ b/aws-cloudformation-schema/aws-aps-scraper.json @@ -37,6 +37,21 @@ } ], "additionalProperties" : false }, + "RoleConfiguration" : { + "description" : "Role configuration", + "type" : "object", + "properties" : { + "SourceRoleArn" : { + "description" : "IAM Role in source account", + "type" : "string" + }, + "TargetRoleArn" : { + "description" : "IAM Role in the target account", + "type" : "string" + } + }, + "additionalProperties" : false + }, "Source" : { "description" : "Scraper metrics source", "type" : "object", @@ -140,6 +155,9 @@ "ScrapeConfiguration" : { "$ref" : "#/definitions/ScrapeConfiguration" }, + "RoleConfiguration" : { + "$ref" : "#/definitions/RoleConfiguration" + }, "Source" : { "$ref" : "#/definitions/Source" }, @@ -170,13 +188,13 @@ "primaryIdentifier" : [ "/properties/Arn" ], "handlers" : { "create" : { - "permissions" : [ "aps:CreateScraper", "aps:DescribeScraper", "aps:DescribeWorkspace", "aps:TagResource", "eks:CreateAccessEntry", "eks:AssociateAccessPolicy", "eks:DescribeCluster", "ec2:DescribeSubnets", "ec2:DescribeSecurityGroups", "iam:CreateServiceLinkedRole" ] + "permissions" : [ "aps:CreateScraper", "aps:DescribeScraper", "aps:DescribeWorkspace", "aps:TagResource", "eks:CreateAccessEntry", "eks:AssociateAccessPolicy", "eks:DescribeCluster", "ec2:DescribeSubnets", "ec2:DescribeSecurityGroups", "iam:CreateServiceLinkedRole", "iam:PassRole" ] }, "read" : { "permissions" : [ "aps:DescribeScraper", "aps:ListTagsForResource" ] }, "update" : { - "permissions" : [ "aps:CreateScraper", "aps:DescribeScraper", "aps:UpdateScraper", "aps:DescribeWorkspace", "aps:TagResource", "aps:UntagResource", "aps:ListTagsForResource" ] + "permissions" : [ "aps:CreateScraper", "aps:DescribeScraper", "aps:UpdateScraper", "aps:DescribeWorkspace", "aps:TagResource", "aps:UntagResource", "aps:ListTagsForResource", "iam:PassRole" ] }, "delete" : { "permissions" : [ "aps:DeleteScraper", "aps:DescribeScraper", "aps:DescribeWorkspace", "eks:AssociateAccessPolicy", "eks:DescribeCluster", "ec2:DescribeSubnets", "ec2:DescribeSecurityGroups", "iam:DeleteServiceLinkedRole" ] diff --git a/aws-cloudformation-schema/aws-backupgateway-hypervisor.json b/aws-cloudformation-schema/aws-backupgateway-hypervisor.json index 690b9bcb75..e6c93fcf1a 100644 --- a/aws-cloudformation-schema/aws-backupgateway-hypervisor.json +++ b/aws-cloudformation-schema/aws-backupgateway-hypervisor.json @@ -81,7 +81,7 @@ } }, "readOnlyProperties" : [ "/properties/HypervisorArn" ], - "writeOnlyProperties" : [ "/properties/KmsKeyArn", "/properties/LogGroupArn", "/properties/Name", "/properties/Password", "/properties/Tags", "/properties/Username" ], + "writeOnlyProperties" : [ "/properties/KmsKeyArn", "/properties/LogGroupArn", "/properties/Name", "/properties/Password", "/properties/Username" ], "createOnlyProperties" : [ "/properties/KmsKeyArn", "/properties/Tags" ], "primaryIdentifier" : [ "/properties/HypervisorArn" ], "tagging" : { @@ -89,17 +89,18 @@ "tagOnCreate" : true, "tagUpdatable" : false, "cloudFormationSystemTags" : true, - "tagProperty" : "/properties/Tags" + "tagProperty" : "/properties/Tags", + "permissions" : [ "backup-gateway:UntagResource", "backup-gateway:TagResource", "backup-gateway:ListTagsForResource" ] }, "handlers" : { "create" : { - "permissions" : [ "backup-gateway:ImportHypervisorConfiguration", "backup-gateway:GetHypervisor", "backup-gateway:ListHypervisors", "backup-gateway:TagResource", "kms:CreateGrant", "kms:Encrypt", "kms:Decrypt" ] + "permissions" : [ "backup-gateway:ListTagsForResource", "backup-gateway:ImportHypervisorConfiguration", "backup-gateway:GetHypervisor", "backup-gateway:ListHypervisors", "backup-gateway:TagResource", "kms:CreateGrant", "kms:Encrypt", "kms:Decrypt" ] }, "read" : { - "permissions" : [ "backup-gateway:GetHypervisor", "backup-gateway:ListHypervisors" ] + "permissions" : [ "backup-gateway:GetHypervisor", "backup-gateway:ListHypervisors", "backup-gateway:ListTagsForResource" ] }, "update" : { - "permissions" : [ "backup-gateway:UpdateHypervisor", "backup-gateway:GetHypervisor", "backup-gateway:ListHypervisors", "backup-gateway:ImportHypervisorConfiguration", "backup-gateway:DeleteHypervisor" ] + "permissions" : [ "backup-gateway:UpdateHypervisor", "backup-gateway:GetHypervisor", "backup-gateway:ListHypervisors", "backup-gateway:ImportHypervisorConfiguration", "backup-gateway:DeleteHypervisor", "backup-gateway:ListTagsForResource" ] }, "delete" : { "permissions" : [ "backup-gateway:DeleteHypervisor", "backup-gateway:GetHypervisor", "backup-gateway:ListHypervisors" ] diff --git a/aws-cloudformation-schema/aws-batch-jobdefinition.json b/aws-cloudformation-schema/aws-batch-jobdefinition.json index bf72095ff9..0d352ef568 100644 --- a/aws-cloudformation-schema/aws-batch-jobdefinition.json +++ b/aws-cloudformation-schema/aws-batch-jobdefinition.json @@ -165,6 +165,19 @@ } } }, + "EksPersistentVolumeClaim" : { + "additionalProperties" : false, + "type" : "object", + "properties" : { + "ReadOnly" : { + "type" : "boolean" + }, + "ClaimName" : { + "type" : "string" + } + }, + "required" : [ "ClaimName" ] + }, "NodeProperties" : { "additionalProperties" : false, "type" : "object", @@ -546,6 +559,15 @@ "additionalProperties" : false, "type" : "object", "properties" : { + "Annotations" : { + "patternProperties" : { + ".*" : { + "type" : "string" + } + }, + "additionalProperties" : false, + "type" : "object" + }, "Labels" : { "patternProperties" : { ".*" : { @@ -554,6 +576,9 @@ }, "additionalProperties" : false, "type" : "object" + }, + "Namespace" : { + "type" : "string" } } }, @@ -749,6 +774,9 @@ "HostPath" : { "$ref" : "#/definitions/EksHostPath" }, + "PersistentVolumeClaim" : { + "$ref" : "#/definitions/EksPersistentVolumeClaim" + }, "Name" : { "type" : "string" } @@ -765,6 +793,9 @@ "ReadOnly" : { "type" : "boolean" }, + "SubPath" : { + "type" : "string" + }, "Name" : { "type" : "string" } diff --git a/aws-cloudformation-schema/aws-cloudformation-publictypeversion.json b/aws-cloudformation-schema/aws-cloudformation-publictypeversion.json index 813315a588..f88b1959f9 100644 --- a/aws-cloudformation-schema/aws-cloudformation-publictypeversion.json +++ b/aws-cloudformation-schema/aws-cloudformation-publictypeversion.json @@ -20,8 +20,8 @@ "maxLength" : 64 }, "PublisherId" : { - "description" : "The publisher id assigned by CloudFormation for publishing in this region.", - "pattern" : "[0-9a-zA-Z-]{40}", + "description" : "The reserved publisher id for this type, or the publisher id assigned by CloudFormation for publishing in this region.", + "pattern" : "[0-9a-zA-Z-]{1,40}", "type" : "string", "minLength" : 1, "maxLength" : 40 diff --git a/aws-cloudformation-schema/aws-cloudformation-publisher.json b/aws-cloudformation-schema/aws-cloudformation-publisher.json index d71597f5c0..127de45d17 100644 --- a/aws-cloudformation-schema/aws-cloudformation-publisher.json +++ b/aws-cloudformation-schema/aws-cloudformation-publisher.json @@ -8,8 +8,8 @@ "type" : "boolean" }, "PublisherId" : { - "description" : "The publisher id assigned by CloudFormation for publishing in this region.", - "pattern" : "[0-9a-zA-Z-]{40}", + "description" : "The reserved publisher id for this type, or the publisher id assigned by CloudFormation for publishing in this region.", + "pattern" : "[0-9a-zA-Z-]{1,40}", "type" : "string", "minLength" : 1, "maxLength" : 40 diff --git a/aws-cloudformation-schema/aws-cloudformation-typeactivation.json b/aws-cloudformation-schema/aws-cloudformation-typeactivation.json index 328f0281f9..f8d8d7234e 100644 --- a/aws-cloudformation-schema/aws-cloudformation-typeactivation.json +++ b/aws-cloudformation-schema/aws-cloudformation-typeactivation.json @@ -34,8 +34,8 @@ "type" : "string" }, "PublisherId" : { - "description" : "The publisher id assigned by CloudFormation for publishing in this region.", - "pattern" : "[0-9a-zA-Z-]{40}", + "description" : "The reserved publisher id for this type, or the publisher id assigned by CloudFormation for publishing in this region.", + "pattern" : "[0-9a-zA-Z-]{1,40}", "type" : "string", "minLength" : 1, "maxLength" : 40 diff --git a/aws-cloudformation-schema/aws-cloudfront-distribution.json b/aws-cloudformation-schema/aws-cloudfront-distribution.json index 11126481ff..876193f369 100644 --- a/aws-cloudformation-schema/aws-cloudfront-distribution.json +++ b/aws-cloudformation-schema/aws-cloudfront-distribution.json @@ -685,6 +685,10 @@ "S3OriginConfig" : { "$ref" : "#/definitions/S3OriginConfig", "description" : "Use this type to specify an origin that is an Amazon S3 bucket that is not configured with static website hosting. To specify any other type of origin, including an Amazon S3 bucket that is configured with static website hosting, use the ``CustomOriginConfig`` type instead." + }, + "VpcOriginConfig" : { + "$ref" : "#/definitions/VpcOriginConfig", + "description" : "" } }, "required" : [ "DomainName", "Id" ], @@ -900,6 +904,25 @@ }, "type" : "object", "description" : "A complex type that determines the distribution's SSL/TLS configuration for communicating with viewers.\n If the distribution doesn't use ``Aliases`` (also known as alternate domain names or CNAMEs)—that is, if the distribution uses the CloudFront domain name such as ``d111111abcdef8.cloudfront.net``—set ``CloudFrontDefaultCertificate`` to ``true`` and leave all other fields empty.\n If the distribution uses ``Aliases`` (alternate domain names or CNAMEs), use the fields in this type to specify the following settings:\n + Which viewers the distribution accepts HTTPS connections from: only viewers that support [server name indication (SNI)](https://docs.aws.amazon.com/https://en.wikipedia.org/wiki/Server_Name_Indication) (recommended), or all viewers including those that don't support SNI.\n + To accept HTTPS connections from only viewers that support SNI, set ``SSLSupportMethod`` to ``sni-only``. This is recommended. Most browsers and clients support SNI. (In CloudFormation, the field name is ``SslSupportMethod``. Note the different capitalization.)\n + To accept HTTPS connections from all viewers, including those that don't support SNI, set ``SSLSupportMethod`` to ``vip``. This is not recommended, and results in additional monthly charges from CloudFront. (In CloudFormation, the field name is ``SslSupportMethod``. Note the different capitalization.)\n \n + The minimum SSL/TLS protocol version that the distribution can use to communicate with viewers. To specify a minimum version, choose a value for ``MinimumProtocolVersion``. For more information, see [Security Policy](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-web-values-specify.html#DownloadDistValues-security-policy) in the *Amazon CloudFront Developer Guide*.\n + The location of the SSL/TLS certificate, [(ACM)](https://docs.aws.amazon.com/acm/latest/userguide/acm-overview.html) (recommended) or [(IAM)](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_server-certs.html). You specify the location by setting a value in one of the following fields (not both):\n + ``ACMCertificateArn`` (In CloudFormation, this field name is ``AcmCertificateArn``. Note the different capitalization.)\n + ``IAMCertificateId`` (In CloudFormation, this field name is ``IamCertificateId``. Note the different capitalization.)\n \n \n All distributions support HTTPS connections from viewers. To require viewers to use HTTPS only, or to redirect them from HTTP to HTTPS, use ``ViewerProtocolPolicy`` in the ``CacheBehavior`` or ``DefaultCacheBehavior``. To specify how CloudFront should use SSL/TLS to communicate with your custom origin, use ``CustomOriginConfig``.\n For more information, see [Using HTTPS with CloudFront](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-https.html) and [Using Alternate Domain Names and HTTPS](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-https-alternate-domain-names.html) in the *Amazon CloudFront Developer Guide*." + }, + "VpcOriginConfig" : { + "additionalProperties" : false, + "properties" : { + "OriginKeepaliveTimeout" : { + "default" : 5, + "type" : "integer" + }, + "OriginReadTimeout" : { + "default" : 30, + "type" : "integer" + }, + "VpcOriginId" : { + "type" : "string" + } + }, + "required" : [ "VpcOriginId" ], + "type" : "object", + "description" : "" } }, "deprecatedProperties" : [ "/properties/DistributionConfig/properties/CustomOrigin", "/properties/DistributionConfig/properties/S3Origin" ], diff --git a/aws-cloudformation-schema/aws-comprehend-flywheel.json b/aws-cloudformation-schema/aws-comprehend-flywheel.json index 77dab98fa1..2477c44799 100644 --- a/aws-cloudformation-schema/aws-comprehend-flywheel.json +++ b/aws-cloudformation-schema/aws-comprehend-flywheel.json @@ -59,7 +59,8 @@ "tagOnCreate" : true, "tagUpdatable" : true, "cloudFormationSystemTags" : true, - "tagProperty" : "/properties/Tags" + "tagProperty" : "/properties/Tags", + "permissions" : [ "comprehend:TagResource", "comprehend:UntagResource" ] }, "definitions" : { "Tag" : { diff --git a/aws-cloudformation-schema/aws-connect-securityprofile.json b/aws-cloudformation-schema/aws-connect-securityprofile.json index d0d76a3f9a..32ce90844b 100644 --- a/aws-cloudformation-schema/aws-connect-securityprofile.json +++ b/aws-cloudformation-schema/aws-connect-securityprofile.json @@ -174,7 +174,8 @@ "tagOnCreate" : true, "tagUpdatable" : true, "cloudFormationSystemTags" : true, - "tagProperty" : "/properties/Tags" + "tagProperty" : "/properties/Tags", + "permissions" : [ "connect:TagResource", "connect:UntagResource" ] }, "required" : [ "InstanceArn", "SecurityProfileName" ], "createOnlyProperties" : [ "/properties/SecurityProfileName", "/properties/InstanceArn" ], diff --git a/aws-cloudformation-schema/aws-ec2-eip.json b/aws-cloudformation-schema/aws-ec2-eip.json index 00c9a0261a..868a8168c1 100644 --- a/aws-cloudformation-schema/aws-ec2-eip.json +++ b/aws-cloudformation-schema/aws-ec2-eip.json @@ -8,7 +8,8 @@ "tagOnCreate" : true, "tagUpdatable" : true, "cloudFormationSystemTags" : true, - "tagProperty" : "/properties/Tags" + "tagProperty" : "/properties/Tags", + "permissions" : [ "ec2:CreateTags", "ec2:DeleteTags", "ec2:DescribeTags" ] }, "definitions" : { "Tag" : { diff --git a/aws-cloudformation-schema/aws-ecs-service.json b/aws-cloudformation-schema/aws-ecs-service.json index 7b0b7119fc..86f44bbdc0 100644 --- a/aws-cloudformation-schema/aws-ecs-service.json +++ b/aws-cloudformation-schema/aws-ecs-service.json @@ -277,14 +277,14 @@ "type" : "object", "properties" : { "SecurityGroups" : { - "description" : "The IDs of the security groups associated with the task or service. If you don't specify a security group, the default security group for the VPC is used. There's a limit of 5 security groups that can be specified per ``awsvpcConfiguration``.\n All specified security groups must be from the same VPC.", + "description" : "The IDs of the security groups associated with the task or service. If you don't specify a security group, the default security group for the VPC is used. There's a limit of 5 security groups that can be specified.\n All specified security groups must be from the same VPC.", "type" : "array", "items" : { "type" : "string" } }, "Subnets" : { - "description" : "The IDs of the subnets associated with the task or service. There's a limit of 16 subnets that can be specified per ``awsvpcConfiguration``.\n All specified subnets must be from the same VPC.", + "description" : "The IDs of the subnets associated with the task or service. There's a limit of 16 subnets that can be specified.\n All specified subnets must be from the same VPC.", "type" : "array", "items" : { "type" : "string" @@ -351,10 +351,6 @@ "description" : "The throughput to provision for a volume, in MiB/s, with a maximum of 1,000 MiB/s. This parameter maps 1:1 with the ``Throughput`` parameter of the [CreateVolume API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateVolume.html) in the *Amazon EC2 API Reference*.\n This parameter is only supported for the ``gp3`` volume type.", "type" : "integer" }, - "VolumeInitializationRate" : { - "description" : "", - "type" : "integer" - }, "Iops" : { "description" : "The number of I/O operations per second (IOPS). For ``gp3``, ``io1``, and ``io2`` volumes, this represents the number of IOPS that are provisioned for the volume. For ``gp2`` volumes, this represents the baseline performance of the volume and the rate at which the volume accumulates I/O credits for bursting.\n The following are the supported values for each volume type.\n + ``gp3``: 3,000 - 16,000 IOPS\n + ``io1``: 100 - 64,000 IOPS\n + ``io2``: 100 - 256,000 IOPS\n \n This parameter is required for ``io1`` and ``io2`` volume types. The default for ``gp3`` volumes is ``3,000 IOPS``. This parameter is not supported for ``st1``, ``sc1``, or ``standard`` volume types.\n This parameter maps 1:1 with the ``Iops`` parameter of the [CreateVolume API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateVolume.html) in the *Amazon EC2 API Reference*.", "type" : "integer" diff --git a/aws-cloudformation-schema/aws-glue-connection.json b/aws-cloudformation-schema/aws-glue-connection.json index e2ef7536bd..d0564fe778 100644 --- a/aws-cloudformation-schema/aws-glue-connection.json +++ b/aws-cloudformation-schema/aws-glue-connection.json @@ -14,10 +14,40 @@ } }, "definitions" : { + "OAuth2PropertiesInput" : { + "type" : "object", + "additionalProperties" : false, + "properties" : { + "AuthorizationCodeProperties" : { + "$ref" : "#/definitions/AuthorizationCodeProperties" + }, + "OAuth2ClientApplication" : { + "$ref" : "#/definitions/OAuth2ClientApplication" + }, + "TokenUrl" : { + "type" : "string" + }, + "OAuth2Credentials" : { + "$ref" : "#/definitions/OAuth2Credentials" + }, + "OAuth2GrantType" : { + "type" : "string" + }, + "TokenUrlParametersMap" : { + "type" : "object" + } + } + }, "ConnectionInput" : { "type" : "object", "additionalProperties" : false, "properties" : { + "AuthenticationConfiguration" : { + "$ref" : "#/definitions/AuthenticationConfigurationInput" + }, + "PythonProperties" : { + "type" : "object" + }, "Description" : { "type" : "string" }, @@ -31,14 +61,30 @@ "type" : "string" } }, - "PhysicalConnectionRequirements" : { - "$ref" : "#/definitions/PhysicalConnectionRequirements" - }, "ConnectionProperties" : { "type" : "object" }, + "AthenaProperties" : { + "type" : "object" + }, + "ValidateForComputeEnvironments" : { + "type" : "array", + "uniqueItems" : false, + "items" : { + "type" : "string" + } + }, "Name" : { "type" : "string" + }, + "SparkProperties" : { + "type" : "object" + }, + "PhysicalConnectionRequirements" : { + "$ref" : "#/definitions/PhysicalConnectionRequirements" + }, + "ValidateCredentials" : { + "type" : "boolean" } }, "required" : [ "ConnectionType" ] @@ -61,6 +107,85 @@ "type" : "string" } } + }, + "BasicAuthenticationCredentials" : { + "type" : "object", + "additionalProperties" : false, + "properties" : { + "Username" : { + "type" : "string" + }, + "Password" : { + "type" : "string" + } + } + }, + "AuthorizationCodeProperties" : { + "type" : "object", + "additionalProperties" : false, + "properties" : { + "AuthorizationCode" : { + "type" : "string" + }, + "RedirectUri" : { + "type" : "string" + } + } + }, + "OAuth2ClientApplication" : { + "type" : "object", + "additionalProperties" : false, + "properties" : { + "AWSManagedClientApplicationReference" : { + "type" : "string" + }, + "UserManagedClientApplicationClientId" : { + "type" : "string" + } + } + }, + "OAuth2Credentials" : { + "type" : "object", + "additionalProperties" : false, + "properties" : { + "UserManagedClientApplicationClientSecret" : { + "type" : "string" + }, + "JwtToken" : { + "type" : "string" + }, + "RefreshToken" : { + "type" : "string" + }, + "AccessToken" : { + "type" : "string" + } + } + }, + "AuthenticationConfigurationInput" : { + "type" : "object", + "additionalProperties" : false, + "properties" : { + "SecretArn" : { + "type" : "string" + }, + "KmsKeyArn" : { + "type" : "string" + }, + "OAuth2Properties" : { + "$ref" : "#/definitions/OAuth2PropertiesInput" + }, + "CustomAuthenticationCredentials" : { + "type" : "object" + }, + "BasicAuthenticationCredentials" : { + "$ref" : "#/definitions/BasicAuthenticationCredentials" + }, + "AuthenticationType" : { + "type" : "string" + } + }, + "required" : [ "AuthenticationType" ] } }, "required" : [ "ConnectionInput", "CatalogId" ], diff --git a/aws-cloudformation-schema/aws-glue-tableoptimizer.json b/aws-cloudformation-schema/aws-glue-tableoptimizer.json index c202c2a043..b25baf2d66 100644 --- a/aws-cloudformation-schema/aws-glue-tableoptimizer.json +++ b/aws-cloudformation-schema/aws-glue-tableoptimizer.json @@ -23,6 +23,24 @@ } }, "definitions" : { + "RetentionConfiguration" : { + "type" : "object", + "additionalProperties" : false, + "properties" : { + "IcebergConfiguration" : { + "$ref" : "#/definitions/IcebergConfiguration" + } + } + }, + "OrphanFileDeletionConfiguration" : { + "type" : "object", + "additionalProperties" : false, + "properties" : { + "IcebergConfiguration" : { + "$ref" : "#/definitions/IcebergConfiguration" + } + } + }, "TableOptimizerConfiguration" : { "type" : "object", "additionalProperties" : false, @@ -30,11 +48,41 @@ "Enabled" : { "type" : "boolean" }, + "RetentionConfiguration" : { + "$ref" : "#/definitions/RetentionConfiguration" + }, + "VpcConfiguration" : { + "$ref" : "#/definitions/VpcConfiguration" + }, "RoleArn" : { "type" : "string" + }, + "OrphanFileDeletionConfiguration" : { + "$ref" : "#/definitions/OrphanFileDeletionConfiguration" } }, "required" : [ "Enabled", "RoleArn" ] + }, + "VpcConfiguration" : { + "type" : "object", + "additionalProperties" : false, + "properties" : { + "GlueConnectionName" : { + "type" : "string" + } + } + }, + "IcebergConfiguration" : { + "type" : "object", + "additionalProperties" : false, + "properties" : { + "OrphanFileRetentionPeriodInDays" : { + "type" : "integer" + }, + "Location" : { + "type" : "string" + } + } } }, "required" : [ "TableName", "Type", "DatabaseName", "TableOptimizerConfiguration", "CatalogId" ], diff --git a/aws-cloudformation-schema/aws-iotfleetwise-statetemplate.json b/aws-cloudformation-schema/aws-iotfleetwise-statetemplate.json index 1c0d86b97a..c65fe26d6b 100644 --- a/aws-cloudformation-schema/aws-iotfleetwise-statetemplate.json +++ b/aws-cloudformation-schema/aws-iotfleetwise-statetemplate.json @@ -48,6 +48,12 @@ "minLength" : 1, "pattern" : "^[a-zA-Z\\d\\-_:]+$" }, + "Id" : { + "type" : "string", + "maxLength" : 26, + "minLength" : 26, + "pattern" : "^[A-Z0-9]+$" + }, "SignalCatalogArn" : { "type" : "string" }, @@ -99,7 +105,7 @@ } }, "required" : [ "Name", "SignalCatalogArn", "StateTemplateProperties" ], - "readOnlyProperties" : [ "/properties/Arn", "/properties/CreationTime", "/properties/LastModificationTime" ], + "readOnlyProperties" : [ "/properties/Arn", "/properties/Id", "/properties/CreationTime", "/properties/LastModificationTime" ], "createOnlyProperties" : [ "/properties/Name", "/properties/SignalCatalogArn" ], "primaryIdentifier" : [ "/properties/Name" ], "handlers" : { diff --git a/aws-cloudformation-schema/aws-iotfleetwise-vehicle.json b/aws-cloudformation-schema/aws-iotfleetwise-vehicle.json index b87580daf7..84a8ddeb69 100644 --- a/aws-cloudformation-schema/aws-iotfleetwise-vehicle.json +++ b/aws-cloudformation-schema/aws-iotfleetwise-vehicle.json @@ -32,6 +32,75 @@ }, "required" : [ "Key", "Value" ], "additionalProperties" : false + }, + "OnChangeStateTemplateUpdateStrategy" : { + "additionalProperties" : false, + "type" : "object" + }, + "PeriodicStateTemplateUpdateStrategy" : { + "additionalProperties" : false, + "type" : "object", + "properties" : { + "StateTemplateUpdateRate" : { + "$ref" : "#/definitions/TimePeriod" + } + }, + "required" : [ "StateTemplateUpdateRate" ] + }, + "StateTemplateUpdateStrategy" : { + "oneOf" : [ { + "additionalProperties" : false, + "type" : "object", + "properties" : { + "Periodic" : { + "$ref" : "#/definitions/PeriodicStateTemplateUpdateStrategy" + } + }, + "required" : [ "Periodic" ] + }, { + "additionalProperties" : false, + "type" : "object", + "properties" : { + "OnChange" : { + "$ref" : "#/definitions/OnChangeStateTemplateUpdateStrategy" + } + }, + "required" : [ "OnChange" ] + } ] + }, + "StateTemplateAssociation" : { + "type" : "object", + "properties" : { + "Identifier" : { + "type" : "string", + "maxLength" : 100, + "minLength" : 1 + }, + "StateTemplateUpdateStrategy" : { + "$ref" : "#/definitions/StateTemplateUpdateStrategy" + } + }, + "required" : [ "Identifier", "StateTemplateUpdateStrategy" ], + "additionalProperties" : false, + "minProperties" : 0 + }, + "TimePeriod" : { + "type" : "object", + "properties" : { + "Unit" : { + "$ref" : "#/definitions/TimeUnit" + }, + "Value" : { + "type" : "number", + "minimum" : 1 + } + }, + "required" : [ "Unit", "Value" ], + "additionalProperties" : false + }, + "TimeUnit" : { + "type" : "string", + "enum" : [ "MILLISECOND", "SECOND", "MINUTE", "HOUR" ] } }, "properties" : { @@ -73,6 +142,16 @@ "uniqueItems" : true, "maxItems" : 50, "minItems" : 0 + }, + "StateTemplates" : { + "type" : "array", + "insertionOrder" : false, + "uniqueItems" : true, + "items" : { + "$ref" : "#/definitions/StateTemplateAssociation" + }, + "maxItems" : 20, + "minItems" : 0 } }, "required" : [ "Name", "DecoderManifestArn", "ModelManifestArn" ], diff --git a/aws-cloudformation-schema/aws-iotsitewise-gateway.json b/aws-cloudformation-schema/aws-iotsitewise-gateway.json index f238d805d5..88012be02a 100644 --- a/aws-cloudformation-schema/aws-iotsitewise-gateway.json +++ b/aws-cloudformation-schema/aws-iotsitewise-gateway.json @@ -1,5 +1,4 @@ { - "sourceUrl" : "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-IoTSiteWise.git", "tagging" : { "permissions" : [ "iotsitewise:TagResource", "iotsitewise:UntagResource", "iotsitewise:ListTagsForResource" ], "taggable" : true, @@ -8,6 +7,14 @@ "tagProperty" : "/properties/Tags", "cloudFormationSystemTags" : true }, + "deprecatedProperties" : [ "/properties/GatewayPlatform/Greengrass" ], + "typeName" : "AWS::IoTSiteWise::Gateway", + "readOnlyProperties" : [ "/properties/GatewayId" ], + "description" : "Resource schema for AWS::IoTSiteWise::Gateway", + "createOnlyProperties" : [ "/properties/GatewayPlatform", "/properties/GatewayVersion" ], + "primaryIdentifier" : [ "/properties/GatewayId" ], + "required" : [ "GatewayName", "GatewayPlatform" ], + "sourceUrl" : "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-IoTSiteWise.git", "handlers" : { "read" : { "permissions" : [ "iotsitewise:DescribeGateway", "iotsitewise:DescribeGatewayCapabilityConfiguration", "iotsitewise:ListTagsForResource" ] @@ -25,12 +32,7 @@ "permissions" : [ "iotsitewise:DescribeGateway", "iotsitewise:DescribeGatewayCapabilityConfiguration", "iotsitewise:DeleteGateway" ] } }, - "typeName" : "AWS::IoTSiteWise::Gateway", - "readOnlyProperties" : [ "/properties/GatewayId" ], - "description" : "Resource schema for AWS::IoTSiteWise::Gateway", - "createOnlyProperties" : [ "/properties/GatewayPlatform" ], "additionalProperties" : false, - "primaryIdentifier" : [ "/properties/GatewayId" ], "definitions" : { "GatewayCapabilitySummary" : { "description" : "Contains a summary of a gateway capability configuration.", @@ -54,6 +56,11 @@ "CoreDeviceThingName" : { "description" : "The name of the CoreDevice in GreenGrass V2.", "type" : "string" + }, + "CoreDeviceOperatingSystem" : { + "description" : "The operating system of the core device in AWS IoT Greengrass V2.", + "type" : "string", + "enum" : [ "LINUX_AARCH64", "LINUX_AMD64", "WINDOWS_AMD64" ] } }, "required" : [ "CoreDeviceThingName" ] @@ -62,18 +69,6 @@ "description" : "The namespace of the capability configuration.", "type" : "string" }, - "Greengrass" : { - "description" : "Contains the ARN of AWS IoT Greengrass Group V1 that the gateway runs on.", - "additionalProperties" : false, - "type" : "object", - "properties" : { - "GroupArn" : { - "description" : "The ARN of the Greengrass group.", - "type" : "string" - } - }, - "required" : [ "GroupArn" ] - }, "CapabilityConfiguration" : { "description" : "The JSON document that defines the gateway capability's configuration.", "type" : "string" @@ -95,8 +90,7 @@ "$ref" : "#/definitions/GreengrassV2" }, "Greengrass" : { - "description" : "A gateway that runs on AWS IoT Greengrass V1.", - "$ref" : "#/definitions/Greengrass" + "description" : "A gateway that runs on AWS IoT Greengrass V1." }, "SiemensIE" : { "description" : "A gateway that runs on Siemens Industrial Edge.", @@ -118,6 +112,10 @@ }, "required" : [ "Key", "Value" ] }, + "GatewayVersion" : { + "description" : "The version of the gateway you want to create.", + "type" : "string" + }, "SiemensIE" : { "description" : "Contains the IotCoreThingName of AWS IoT Thing that the gateway runs on.", "additionalProperties" : false, @@ -131,7 +129,6 @@ "required" : [ "IotCoreThingName" ] } }, - "required" : [ "GatewayName", "GatewayPlatform" ], "properties" : { "GatewayCapabilitySummaries" : { "uniqueItems" : true, @@ -150,6 +147,10 @@ "description" : "The gateway's platform. You can only specify one platform in a gateway.", "$ref" : "#/definitions/GatewayPlatform" }, + "GatewayVersion" : { + "description" : "The version of the gateway you want to create.", + "type" : "string" + }, "GatewayId" : { "description" : "The ID of the gateway device.", "type" : "string" diff --git a/aws-cloudformation-schema/aws-kafkaconnect-connector.json b/aws-cloudformation-schema/aws-kafkaconnect-connector.json index b0d98b15a8..6dab2124b3 100644 --- a/aws-cloudformation-schema/aws-kafkaconnect-connector.json +++ b/aws-cloudformation-schema/aws-kafkaconnect-connector.json @@ -423,7 +423,7 @@ "permissions" : [ "kafkaconnect:DeleteConnector", "kafkaconnect:DescribeConnector", "logs:DeleteLogDelivery", "logs:GetLogDelivery", "logs:ListLogDeliveries" ] }, "update" : { - "permissions" : [ "kafkaconnect:UpdateConnector", "kafkaconnect:UpdateConnectorConfiguration", "kafkaconnect:DescribeConnector", "kafkaconnect:DescribeConnectorOperation", "kafkaconnect:TagResource", "kafkaconnect:ListTagsForResource", "kafkaconnect:UntagResource", "iam:CreateServiceLinkedRole", "logs:UpdateLogDelivery", "logs:GetLogDelivery", "logs:ListLogDeliveries", "logs:PutResourcePolicy", "logs:DescribeResourcePolicies", "logs:DescribeLogGroups", "s3:GetBucketPolicy", "s3:PutBucketPolicy", "firehose:TagDeliveryStream" ] + "permissions" : [ "kafkaconnect:UpdateConnector", "kafkaconnect:DescribeConnector", "kafkaconnect:DescribeConnectorOperation", "kafkaconnect:TagResource", "kafkaconnect:ListTagsForResource", "kafkaconnect:UntagResource", "iam:CreateServiceLinkedRole", "logs:UpdateLogDelivery", "logs:GetLogDelivery", "logs:ListLogDeliveries", "logs:PutResourcePolicy", "logs:DescribeResourcePolicies", "logs:DescribeLogGroups", "s3:GetBucketPolicy", "s3:PutBucketPolicy", "firehose:TagDeliveryStream" ] }, "list" : { "permissions" : [ "kafkaconnect:ListConnectors" ] diff --git a/aws-cloudformation-schema/aws-kinesisfirehose-deliverystream.json b/aws-cloudformation-schema/aws-kinesisfirehose-deliverystream.json index 5cdef7ccd3..23ec171df3 100644 --- a/aws-cloudformation-schema/aws-kinesisfirehose-deliverystream.json +++ b/aws-cloudformation-schema/aws-kinesisfirehose-deliverystream.json @@ -34,6 +34,9 @@ "DatabaseSourceConfiguration" : { "$ref" : "#/definitions/DatabaseSourceConfiguration" }, + "DirectPutSourceConfiguration" : { + "$ref" : "#/definitions/DirectPutSourceConfiguration" + }, "KinesisStreamSourceConfiguration" : { "$ref" : "#/definitions/KinesisStreamSourceConfiguration" }, @@ -180,6 +183,17 @@ }, "required" : [ "EndpointConfiguration", "S3Configuration" ] }, + "DirectPutSourceConfiguration" : { + "type" : "object", + "additionalProperties" : false, + "properties" : { + "ThroughputHintInMBs" : { + "type" : "integer", + "minimum" : 1, + "maximum" : 100 + } + } + }, "KinesisStreamSourceConfiguration" : { "type" : "object", "additionalProperties" : false, @@ -985,6 +999,9 @@ "propertyPath" : "/properties/Arn" } }, + "AppendOnly" : { + "type" : "boolean" + }, "RetryOptions" : { "$ref" : "#/definitions/RetryOptions" }, @@ -1685,6 +1702,6 @@ } }, "readOnlyProperties" : [ "/properties/Arn" ], - "createOnlyProperties" : [ "/properties/DeliveryStreamName", "/properties/DeliveryStreamType", "/properties/ElasticsearchDestinationConfiguration/VpcConfiguration", "/properties/AmazonopensearchserviceDestinationConfiguration/VpcConfiguration", "/properties/AmazonOpenSearchServerlessDestinationConfiguration/VpcConfiguration", "/properties/DatabaseSourceConfiguration", "/properties/KinesisStreamSourceConfiguration", "/properties/MSKSourceConfiguration", "/properties/IcebergDestinationConfiguration", "/properties/SnowflakeDestinationConfiguration/SnowflakeVpcConfiguration" ], + "createOnlyProperties" : [ "/properties/DeliveryStreamName", "/properties/DeliveryStreamType", "/properties/ElasticsearchDestinationConfiguration/VpcConfiguration", "/properties/AmazonopensearchserviceDestinationConfiguration/VpcConfiguration", "/properties/AmazonOpenSearchServerlessDestinationConfiguration/VpcConfiguration", "/properties/DatabaseSourceConfiguration", "/properties/KinesisStreamSourceConfiguration", "/properties/DirectPutSourceConfiguration", "/properties/MSKSourceConfiguration", "/properties/IcebergDestinationConfiguration", "/properties/SnowflakeDestinationConfiguration/SnowflakeVpcConfiguration" ], "primaryIdentifier" : [ "/properties/DeliveryStreamName" ] } \ No newline at end of file diff --git a/aws-cloudformation-schema/aws-msk-serverlesscluster.json b/aws-cloudformation-schema/aws-msk-serverlesscluster.json index 3b9bf7248c..ea02f84ca9 100644 --- a/aws-cloudformation-schema/aws-msk-serverlesscluster.json +++ b/aws-cloudformation-schema/aws-msk-serverlesscluster.json @@ -97,7 +97,8 @@ "tagOnCreate" : true, "tagUpdatable" : false, "cloudFormationSystemTags" : true, - "tagProperty" : "/properties/Tags" + "tagProperty" : "/properties/Tags", + "permissions" : [ "kafka:TagResource", "kafka:UntagResource", "kafka:ListTagsForResource" ] }, "handlers" : { "create" : { diff --git a/aws-cloudformation-schema/aws-neptunegraph-privategraphendpoint.json b/aws-cloudformation-schema/aws-neptunegraph-privategraphendpoint.json index d5ce04dcc8..84042d77d1 100644 --- a/aws-cloudformation-schema/aws-neptunegraph-privategraphendpoint.json +++ b/aws-cloudformation-schema/aws-neptunegraph-privategraphendpoint.json @@ -70,7 +70,7 @@ "timeoutInMinutes" : 2160 }, "list" : { - "permissions" : [ "neptune-graph:GetPrivateGraphEndpoint", "neptune-graph:ListPrivateGraphEndpoints" ], + "permissions" : [ "neptune-graph:GetPrivateGraphEndpoint", "neptune-graph:ListPrivateGraphEndpoints", "neptune-graph:ListGraphs" ], "timeoutInMinutes" : 2160 } } diff --git a/aws-cloudformation-schema/aws-panorama-package.json b/aws-cloudformation-schema/aws-panorama-package.json index faea583d45..d3ff16d531 100644 --- a/aws-cloudformation-schema/aws-panorama-package.json +++ b/aws-cloudformation-schema/aws-panorama-package.json @@ -108,11 +108,18 @@ } }, "additionalProperties" : false, - "taggable" : true, "required" : [ "PackageName" ], "readOnlyProperties" : [ "/properties/PackageId", "/properties/Arn", "/properties/CreatedTime", "/properties/StorageLocation/Bucket", "/properties/StorageLocation/RepoPrefixLocation", "/properties/StorageLocation/GeneratedPrefixLocation", "/properties/StorageLocation/BinaryPrefixLocation", "/properties/StorageLocation/ManifestPrefixLocation" ], "createOnlyProperties" : [ "/properties/PackageName" ], "primaryIdentifier" : [ "/properties/PackageId" ], + "tagging" : { + "taggable" : true, + "tagOnCreate" : true, + "tagUpdatable" : true, + "cloudFormationSystemTags" : true, + "tagProperty" : "/properties/Tags", + "permissions" : [ "panorama:ListTagsForResource", "panorama:TagResource", "panorama:UntagResource" ] + }, "handlers" : { "create" : { "permissions" : [ "panorama:CreatePackage", "panorama:ListTagsForResource", "panorama:TagResource", "panorama:DescribePackage", "s3:ListBucket", "s3:PutObject", "s3:GetObject", "s3:GetObjectVersion" ] diff --git a/aws-cloudformation-schema/aws-panorama-packageversion.json b/aws-cloudformation-schema/aws-panorama-packageversion.json index fdbee2ba2d..87173147be 100644 --- a/aws-cloudformation-schema/aws-panorama-packageversion.json +++ b/aws-cloudformation-schema/aws-panorama-packageversion.json @@ -102,7 +102,6 @@ } }, "additionalProperties" : false, - "taggable" : false, "required" : [ "PackageId", "PackageVersion", "PatchVersion" ], "readOnlyProperties" : [ "/properties/PackageName", "/properties/PackageArn", "/properties/Status", "/properties/StatusDescription", "/properties/IsLatestPatch", "/properties/RegisteredTime" ], "createOnlyProperties" : [ "/properties/OwnerAccount", "/properties/PackageId", "/properties/PackageVersion", "/properties/PatchVersion" ], diff --git a/aws-cloudformation-schema/aws-qbusiness-datasource.json b/aws-cloudformation-schema/aws-qbusiness-datasource.json index c20b6d34b7..0ce7c79c6f 100644 --- a/aws-cloudformation-schema/aws-qbusiness-datasource.json +++ b/aws-cloudformation-schema/aws-qbusiness-datasource.json @@ -357,7 +357,12 @@ } }, "tagging" : { - "taggable" : true + "taggable" : true, + "tagUpdatable" : true, + "tagOnCreate" : true, + "cloudFormationSystemTags" : true, + "tagProperty" : "/properties/Tags", + "permissions" : [ "qbusiness:UntagResource", "qbusiness:TagResource", "qbusiness:ListTagsForResource" ] }, "sourceUrl" : "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-qbusiness", "additionalProperties" : false diff --git a/aws-cloudformation-schema/aws-qbusiness-index.json b/aws-cloudformation-schema/aws-qbusiness-index.json index 48bd836db9..91d30f5534 100644 --- a/aws-cloudformation-schema/aws-qbusiness-index.json +++ b/aws-cloudformation-schema/aws-qbusiness-index.json @@ -187,7 +187,12 @@ } }, "tagging" : { - "taggable" : true + "taggable" : true, + "tagUpdatable" : true, + "tagOnCreate" : true, + "cloudFormationSystemTags" : true, + "tagProperty" : "/properties/Tags", + "permissions" : [ "qbusiness:UntagResource", "qbusiness:TagResource", "qbusiness:ListTagsForResource" ] }, "sourceUrl" : "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-qbusiness", "additionalProperties" : false diff --git a/aws-cloudformation-schema/aws-qbusiness-retriever.json b/aws-cloudformation-schema/aws-qbusiness-retriever.json index f969699896..2b074f03a9 100644 --- a/aws-cloudformation-schema/aws-qbusiness-retriever.json +++ b/aws-cloudformation-schema/aws-qbusiness-retriever.json @@ -165,7 +165,12 @@ } }, "tagging" : { - "taggable" : true + "taggable" : true, + "tagUpdatable" : true, + "tagOnCreate" : true, + "cloudFormationSystemTags" : true, + "tagProperty" : "/properties/Tags", + "permissions" : [ "qbusiness:UntagResource", "qbusiness:TagResource", "qbusiness:ListTagsForResource" ] }, "sourceUrl" : "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-qbusiness", "additionalProperties" : false diff --git a/aws-cloudformation-schema/aws-qbusiness-webexperience.json b/aws-cloudformation-schema/aws-qbusiness-webexperience.json index 3661a8915e..3a9ef8d074 100644 --- a/aws-cloudformation-schema/aws-qbusiness-webexperience.json +++ b/aws-cloudformation-schema/aws-qbusiness-webexperience.json @@ -260,7 +260,12 @@ } }, "tagging" : { - "taggable" : true + "taggable" : true, + "tagUpdatable" : true, + "tagOnCreate" : true, + "cloudFormationSystemTags" : true, + "tagProperty" : "/properties/Tags", + "permissions" : [ "qbusiness:UntagResource", "qbusiness:TagResource", "qbusiness:ListTagsForResource" ] }, "sourceUrl" : "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-qbusiness", "additionalProperties" : false diff --git a/aws-cloudformation-schema/aws-ram-permission.json b/aws-cloudformation-schema/aws-ram-permission.json index 099543a2a8..1546820247 100644 --- a/aws-cloudformation-schema/aws-ram-permission.json +++ b/aws-cloudformation-schema/aws-ram-permission.json @@ -68,7 +68,9 @@ "taggable" : true, "tagOnCreate" : true, "tagUpdatable" : true, - "cloudFormationSystemTags" : false + "cloudFormationSystemTags" : false, + "tagProperty" : "/properties/Tags", + "permissions" : [ "ram:TagResource", "ram:UntagResource" ] }, "handlers" : { "create" : { diff --git a/aws-cloudformation-schema/aws-resourcegroups-group.json b/aws-cloudformation-schema/aws-resourcegroups-group.json index 630671f34f..1307895afd 100644 --- a/aws-cloudformation-schema/aws-resourcegroups-group.json +++ b/aws-cloudformation-schema/aws-resourcegroups-group.json @@ -147,7 +147,7 @@ "tagUpdatable" : true, "cloudFormationSystemTags" : true, "tagProperty" : "/properties/Tags", - "permissions" : [ "resource-groups:Tag", "resource-groups:Untag" ] + "permissions" : [ "resource-groups:Tag", "resource-groups:Untag", "resource-groups:GetTags" ] }, "handlers" : { "create" : { diff --git a/aws-cloudformation-schema/aws-sagemaker-pipeline.json b/aws-cloudformation-schema/aws-sagemaker-pipeline.json index ac21b710f6..8f6a144209 100644 --- a/aws-cloudformation-schema/aws-sagemaker-pipeline.json +++ b/aws-cloudformation-schema/aws-sagemaker-pipeline.json @@ -112,6 +112,14 @@ "required" : [ "PipelineName", "PipelineDefinition", "RoleArn" ], "createOnlyProperties" : [ "/properties/PipelineName" ], "primaryIdentifier" : [ "/properties/PipelineName" ], + "tagging" : { + "taggable" : true, + "tagOnCreate" : true, + "tagUpdatable" : true, + "cloudFormationSystemTags" : true, + "tagProperty" : "/properties/Tags", + "permissions" : [ "sagemaker:AddTags", "sagemaker:ListTags", "sagemaker:DeleteTags" ] + }, "handlers" : { "create" : { "permissions" : [ "iam:PassRole", "s3:GetObject", "sagemaker:CreatePipeline", "sagemaker:DescribePipeline", "sagemaker:AddTags", "sagemaker:ListTags" ] diff --git a/meta/.botocore.version b/meta/.botocore.version index c7f67753e6..42bce65fd1 100644 --- a/meta/.botocore.version +++ b/meta/.botocore.version @@ -1 +1 @@ -1.36.7 +1.36.9 diff --git a/provider/cmd/pulumi-gen-aws-native/supported-types.txt b/provider/cmd/pulumi-gen-aws-native/supported-types.txt index 241c342cb0..b6753911ee 100644 --- a/provider/cmd/pulumi-gen-aws-native/supported-types.txt +++ b/provider/cmd/pulumi-gen-aws-native/supported-types.txt @@ -1153,6 +1153,8 @@ Datadog::Monitors::Downtime Datadog::Monitors::DowntimeSchedule Datadog::Monitors::Monitor Datadog::SLOs::SLO +Dynatrace::Automation::SiteReliabilityGuardian +Dynatrace::Automation::Workflow Dynatrace::Configuration::Dashboard Dynatrace::Environment::Metric Dynatrace::Environment::ServiceLevelObjective diff --git a/provider/cmd/pulumi-resource-aws-native/metadata.json b/provider/cmd/pulumi-resource-aws-native/metadata.json index 7476ac067e..77ded2aa98 100644 --- a/provider/cmd/pulumi-resource-aws-native/metadata.json +++ b/provider/cmd/pulumi-resource-aws-native/metadata.json @@ -9068,6 +9068,9 @@ "$ref": "#/types/aws-native:aps:ScraperDestination", "description": "The Amazon Managed Service for Prometheus workspace the scraper sends metrics to." }, + "roleConfiguration": { + "$ref": "#/types/aws-native:aps:ScraperRoleConfiguration" + }, "scrapeConfiguration": { "$ref": "#/types/aws-native:aps:ScraperScrapeConfiguration", "description": "The configuration in use by the scraper." @@ -9101,6 +9104,9 @@ "type": "string", "description": "IAM role ARN for the scraper." }, + "roleConfiguration": { + "$ref": "#/types/aws-native:aps:ScraperRoleConfiguration" + }, "scrapeConfiguration": { "$ref": "#/types/aws-native:aps:ScraperScrapeConfiguration", "description": "The configuration in use by the scraper." @@ -12045,7 +12051,6 @@ "logGroupArn", "name", "password", - "tags", "username" ], "tagsProperty": "tags", @@ -16790,7 +16795,7 @@ }, "publisherId": { "type": "string", - "description": "The publisher id assigned by CloudFormation for publishing in this region." + "description": "The reserved publisher id for this type, or the publisher id assigned by CloudFormation for publishing in this region." }, "type": { "$ref": "#/types/aws-native:cloudformation:PublicTypeVersionType", @@ -16855,7 +16860,7 @@ }, "publisherId": { "type": "string", - "description": "The publisher id assigned by CloudFormation for publishing in this region." + "description": "The reserved publisher id for this type, or the publisher id assigned by CloudFormation for publishing in this region." }, "publisherProfile": { "type": "string", @@ -17453,7 +17458,7 @@ }, "publisherId": { "type": "string", - "description": "The publisher id assigned by CloudFormation for publishing in this region." + "description": "The reserved publisher id for this type, or the publisher id assigned by CloudFormation for publishing in this region." }, "type": { "$ref": "#/types/aws-native:cloudformation:TypeActivationType", @@ -17500,7 +17505,7 @@ }, "publisherId": { "type": "string", - "description": "The publisher id assigned by CloudFormation for publishing in this region." + "description": "The reserved publisher id for this type, or the publisher id assigned by CloudFormation for publishing in this region." }, "type": { "$ref": "#/types/aws-native:cloudformation:TypeActivationType", @@ -18163,36 +18168,45 @@ "type": "array", "items": { "$ref": "#/types/aws-native:index:Tag" - } + }, + "description": "A complex type that contains zero or more `Tag` elements." }, "vpcOriginEndpointConfig": { - "$ref": "#/types/aws-native:cloudfront:VpcOriginEndpointConfig" + "$ref": "#/types/aws-native:cloudfront:VpcOriginEndpointConfig", + "description": "The VPC origin endpoint configuration." } }, "outputs": { "arn": { - "type": "string" + "type": "string", + "description": "The VPC origin ARN." }, "awsId": { - "type": "string" + "type": "string", + "description": "The VPC origin ID." }, "createdTime": { - "type": "string" + "type": "string", + "description": "The VPC origin created time." }, "lastModifiedTime": { - "type": "string" + "type": "string", + "description": "The VPC origin last modified time." }, "status": { - "type": "string" + "type": "string", + "description": "The VPC origin status." }, "tags": { "type": "array", "items": { "$ref": "#/types/aws-native:index:Tag" - } + }, + "description": "A complex type that contains zero or more `Tag` elements." }, "vpcOriginEndpointConfig": { - "$ref": "#/types/aws-native:cloudfront:VpcOriginEndpointConfig" + "$ref": "#/types/aws-native:cloudfront:VpcOriginEndpointConfig", + "description": "The VPC origin endpoint configuration." } }, "required": [ @@ -33366,7 +33380,7 @@ }, "instanceCount": { "type": "integer", - "description": "The number of instances for which to reserve capacity.\n\n\u003e You can request future-dated Capacity Reservations for an instance count with a minimum of 100 VPUs. For example, if you request a future-dated Capacity Reservation for `m5.xlarge` instances, you must request at least 25 instances ( *25 * m5.xlarge = 100 vCPUs* ). \n\nValid range: 1 - 1000" + "description": "The number of instances for which to reserve capacity.\n\n\u003e You can request future-dated Capacity Reservations for an instance count with a minimum of 100 vCPUs. For example, if you request a future-dated Capacity Reservation for `m5.xlarge` instances, you must request at least 25 instances ( *25 * m5.xlarge = 100 vCPUs* ). \n\nValid range: 1 - 1000" }, "instanceMatchCriteria": { "type": "string", @@ -33443,7 +33457,7 @@ }, "instanceCount": { "type": "integer", - "description": "The number of instances for which to reserve capacity.\n\n\u003e You can request future-dated Capacity Reservations for an instance count with a minimum of 100 VPUs. For example, if you request a future-dated Capacity Reservation for `m5.xlarge` instances, you must request at least 25 instances ( *25 * m5.xlarge = 100 vCPUs* ). \n\nValid range: 1 - 1000" + "description": "The number of instances for which to reserve capacity.\n\n\u003e You can request future-dated Capacity Reservations for an instance count with a minimum of 100 vCPUs. For example, if you request a future-dated Capacity Reservation for `m5.xlarge` instances, you must request at least 25 instances ( *25 * m5.xlarge = 100 vCPUs* ). \n\nValid range: 1 - 1000" }, "instanceMatchCriteria": { "type": "string", @@ -61056,6 +61070,10 @@ "$ref": "#/types/aws-native:iotsitewise:GatewayPlatform", "description": "The gateway's platform. You can only specify one platform in a gateway." }, + "gatewayVersion": { + "type": "string", + "description": "The version of the gateway you want to create." + }, "tags": { "type": "array", "items": { @@ -61085,6 +61103,11 @@ "description": "The gateway's platform. You can only specify one platform in a gateway.", "replaceOnChanges": true }, + "gatewayVersion": { + "type": "string", + "description": "The version of the gateway you want to create.", + "replaceOnChanges": true + }, "tags": { "type": "array", "items": { @@ -61100,7 +61123,8 @@ "gatewayPlatform" ], "createOnly": [ - "gatewayPlatform" + "gatewayPlatform", + "gatewayVersion" ], "readOnly": [ "gatewayId" @@ -64836,6 +64860,9 @@ "$ref": "#/types/aws-native:kinesisfirehose:DeliveryStreamType", "description": "The Firehose stream type. This can be one of the following values:\n\n- `DirectPut` : Provider applications access the Firehose stream directly.\n- `KinesisStreamAsSource` : The Firehose stream uses a Kinesis data stream as a source." }, + "directPutSourceConfiguration": { + "$ref": "#/types/aws-native:kinesisfirehose:DeliveryStreamDirectPutSourceConfiguration" + }, "elasticsearchDestinationConfiguration": { "$ref": "#/types/aws-native:kinesisfirehose:DeliveryStreamElasticsearchDestinationConfiguration", "description": "An Amazon ES destination for the delivery stream.\n\nConditional. You must specify only one destination configuration.\n\nIf you change the delivery stream destination from an Amazon ES destination to an Amazon S3 or Amazon Redshift destination, update requires [some interruptions](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-some-interrupt) ." @@ -64916,6 +64943,10 @@ "description": "The Firehose stream type. This can be one of the following values:\n\n- `DirectPut` : Provider applications access the Firehose stream directly.\n- `KinesisStreamAsSource` : The Firehose stream uses a Kinesis data stream as a source.", "replaceOnChanges": true }, + "directPutSourceConfiguration": { + "$ref": "#/types/aws-native:kinesisfirehose:DeliveryStreamDirectPutSourceConfiguration", + "replaceOnChanges": true + }, "elasticsearchDestinationConfiguration": { "$ref": "#/types/aws-native:kinesisfirehose:DeliveryStreamElasticsearchDestinationConfiguration", "description": "An Amazon ES destination for the delivery stream.\n\nConditional. You must specify only one destination configuration.\n\nIf you change the delivery stream destination from an Amazon ES destination to an Amazon S3 or Amazon Redshift destination, update requires [some interruptions](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-some-interrupt) ." @@ -64978,6 +65009,7 @@ "databaseSourceConfiguration", "deliveryStreamName", "deliveryStreamType", + "directPutSourceConfiguration", "elasticsearchDestinationConfiguration/vpcConfiguration", "icebergDestinationConfiguration", "kinesisStreamSourceConfiguration", @@ -121071,6 +121103,19 @@ } } }, + "aws-native:aps:ScraperRoleConfiguration": { + "type": "object", + "properties": { + "sourceRoleArn": { + "type": "string", + "description": "IAM Role in source account" + }, + "targetRoleArn": { + "type": "string", + "description": "IAM Role in the target account" + } + } + }, "aws-native:aps:ScraperScrapeConfiguration": { "type": "object", "properties": { @@ -124046,6 +124091,9 @@ "readOnly": { "type": "boolean", "description": "If this value is `true` , the container has read-only access to the volume. Otherwise, the container can write to the volume. The default value is `false` ." + }, + "subPath": { + "type": "string" } } }, @@ -124074,12 +124122,32 @@ "aws-native:batch:JobDefinitionEksMetadata": { "type": "object", "properties": { + "annotations": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, "labels": { "type": "object", "additionalProperties": { "type": "string" }, "description": "Key-value pairs used to identify, sort, and organize cube resources. Can contain up to 63 uppercase letters, lowercase letters, numbers, hyphens (-), and underscores (_). Labels can be added or modified at any time. Each resource can have multiple labels, but each key must be unique for a given object." + }, + "namespace": { + "type": "string" + } + } + }, + "aws-native:batch:JobDefinitionEksPersistentVolumeClaim": { + "type": "object", + "properties": { + "claimName": { + "type": "string" + }, + "readOnly": { + "type": "boolean" } } }, @@ -124173,6 +124241,9 @@ "type": "string", "description": "The name of the volume. The name must be allowed as a DNS subdomain name. For more information, see [DNS subdomain names](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#dns-subdomain-names) in the *Kubernetes documentation* ." }, + "persistentVolumeClaim": { + "$ref": "#/types/aws-native:batch:JobDefinitionEksPersistentVolumeClaim" + }, "secret": { "$ref": "#/types/aws-native:batch:JobDefinitionEksSecret", "description": "Specifies the configuration of a Kubernetes `secret` volume. For more information, see [secret](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/storage/volumes/#secret) in the *Kubernetes documentation* ." @@ -131345,6 +131416,9 @@ "s3OriginConfig": { "$ref": "#/types/aws-native:cloudfront:DistributionS3OriginConfig", "description": "Use this type to specify an origin that is an Amazon S3 bucket that is not configured with static website hosting. To specify any other type of origin, including an Amazon S3 bucket that is configured with static website hosting, use the ``CustomOriginConfig`` type instead." + }, + "vpcOriginConfig": { + "$ref": "#/types/aws-native:cloudfront:DistributionVpcOriginConfig" } }, "irreversibleNames": { @@ -131523,6 +131597,20 @@ } } }, + "aws-native:cloudfront:DistributionVpcOriginConfig": { + "type": "object", + "properties": { + "originKeepaliveTimeout": { + "type": "integer" + }, + "originReadTimeout": { + "type": "integer" + }, + "vpcOriginId": { + "type": "string" + } + } + }, "aws-native:cloudfront:FunctionConfig": { "type": "object", "properties": { @@ -132069,19 +132157,24 @@ "type": "object", "properties": { "arn": { - "type": "string" + "type": "string", + "description": "The ARN of the CloudFront VPC origin endpoint configuration." }, "httpPort": { - "type": "integer" + "type": "integer", + "description": "The HTTP port for the CloudFront VPC origin endpoint configuration." }, "httpsPort": { - "type": "integer" + "type": "integer", + "description": "The HTTPS port of the CloudFront VPC origin endpoint configuration." }, "name": { - "type": "string" + "type": "string", + "description": "The name of the CloudFront VPC origin endpoint configuration." }, "originProtocolPolicy": { - "type": "string" + "type": "string", + "description": "The origin protocol policy for the CloudFront VPC origin endpoint configuration." }, "originSslProtocols": { "type": "array", @@ -132100,10 +132193,12 @@ "type": "object", "properties": { "key": { - "type": "string" + "type": "string", + "description": "A string that contains `Tag` key.\n\nThe string length should be between 1 and 128 characters. Valid characters include `a-z` , `A-Z` , `0-9` , space, and the special characters `_ - . : / = + @` ." }, "value": { - "type": "string" + "type": "string", + "description": "A string that contains an optional `Tag` value.\n\nThe string length should be between 0 and 256 characters. Valid characters include `a-z` , `A-Z` , `0-9` , space, and the special characters `_ - . : / = + @` ." } } }, @@ -148218,14 +148313,14 @@ "items": { "type": "string" }, - "description": "The IDs of the security groups associated with the task or service. If you don't specify a security group, the default security group for the VPC is used. There's a limit of 5 security groups that can be specified per ``awsvpcConfiguration``.\n All specified security groups must be from the same VPC." + "description": "The IDs of the security groups associated with the task or service. If you don't specify a security group, the default security group for the VPC is used. There's a limit of 5 security groups that can be specified.\n All specified security groups must be from the same VPC." }, "subnets": { "type": "array", "items": { "type": "string" }, - "description": "The IDs of the subnets associated with the task or service. There's a limit of 16 subnets that can be specified per ``awsvpcConfiguration``.\n All specified subnets must be from the same VPC." + "description": "The IDs of the subnets associated with the task or service. There's a limit of 16 subnets that can be specified.\n All specified subnets must be from the same VPC." } } }, @@ -148522,9 +148617,6 @@ "type": "integer", "description": "The throughput to provision for a volume, in MiB/s, with a maximum of 1,000 MiB/s. This parameter maps 1:1 with the ``Throughput`` parameter of the [CreateVolume API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateVolume.html) in the *Amazon EC2 API Reference*.\n This parameter is only supported for the ``gp3`` volume type." }, - "volumeInitializationRate": { - "type": "integer" - }, "volumeType": { "type": "string", "description": "The volume type. This parameter maps 1:1 with the ``VolumeType`` parameter of the [CreateVolume API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateVolume.html) in the *Amazon EC2 API Reference*. For more information, see [Amazon EBS volume types](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-volume-types.html) in the *Amazon EC2 User Guide*.\n The following are the supported volume types.\n + General Purpose SSD: ``gp2``|``gp3`` \n + Provisioned IOPS SSD: ``io1``|``io2`` \n + Throughput Optimized HDD: ``st1`` \n + Cold HDD: ``sc1`` \n + Magnetic: ``standard`` \n The magnetic volume type is not supported on Fargate." @@ -163722,29 +163814,27 @@ } } }, - "aws-native:iotsitewise:GatewayGreengrass": { - "type": "object", - "properties": { - "groupArn": { - "type": "string", - "description": "The ARN of the Greengrass group." - } - } - }, "aws-native:iotsitewise:GatewayGreengrassV2": { "type": "object", "properties": { + "coreDeviceOperatingSystem": { + "$ref": "#/types/aws-native:iotsitewise:GatewayGreengrassV2CoreDeviceOperatingSystem", + "description": "The operating system of the core device in AWS IoT Greengrass V2." + }, "coreDeviceThingName": { "type": "string", "description": "The name of the CoreDevice in GreenGrass V2." } } }, + "aws-native:iotsitewise:GatewayGreengrassV2CoreDeviceOperatingSystem": { + "type": "string" + }, "aws-native:iotsitewise:GatewayPlatform": { "type": "object", "properties": { "greengrass": { - "$ref": "#/types/aws-native:iotsitewise:GatewayGreengrass", + "$ref": "pulumi.json#/Any", "description": "A gateway that runs on AWS IoT Greengrass V1." }, "greengrassV2": { @@ -168275,6 +168365,17 @@ "s3ErrorOutputPrefix": "S3ErrorOutputPrefix" } }, + "aws-native:kinesisfirehose:DeliveryStreamDirectPutSourceConfiguration": { + "type": "object", + "properties": { + "throughputHintInMbs": { + "type": "integer" + } + }, + "irreversibleNames": { + "throughputHintInMbs": "ThroughputHintInMBs" + } + }, "aws-native:kinesisfirehose:DeliveryStreamDocumentIdOptions": { "type": "object", "properties": { @@ -168628,6 +168729,9 @@ "aws-native:kinesisfirehose:DeliveryStreamIcebergDestinationConfiguration": { "type": "object", "properties": { + "appendOnly": { + "type": "boolean" + }, "bufferingHints": { "$ref": "#/types/aws-native:kinesisfirehose:DeliveryStreamBufferingHints" }, diff --git a/provider/cmd/pulumi-resource-aws-native/schema.json b/provider/cmd/pulumi-resource-aws-native/schema.json index bf353b72c7..b338602219 100644 --- a/provider/cmd/pulumi-resource-aws-native/schema.json +++ b/provider/cmd/pulumi-resource-aws-native/schema.json @@ -11132,6 +11132,20 @@ "workspaceArn" ] }, + "aws-native:aps:ScraperRoleConfiguration": { + "description": "Role configuration", + "properties": { + "sourceRoleArn": { + "type": "string", + "description": "IAM Role in source account" + }, + "targetRoleArn": { + "type": "string", + "description": "IAM Role in the target account" + } + }, + "type": "object" + }, "aws-native:aps:ScraperScrapeConfiguration": { "description": "Scraper configuration", "properties": { @@ -17463,6 +17477,9 @@ "readOnly": { "type": "boolean", "description": "If this value is `true` , the container has read-only access to the volume. Otherwise, the container can write to the volume. The default value is `false` ." + }, + "subPath": { + "type": "string" } }, "type": "object" @@ -17491,16 +17508,39 @@ }, "aws-native:batch:JobDefinitionEksMetadata": { "properties": { + "annotations": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, "labels": { "type": "object", "additionalProperties": { "type": "string" }, "description": "Key-value pairs used to identify, sort, and organize cube resources. Can contain up to 63 uppercase letters, lowercase letters, numbers, hyphens (-), and underscores (_). Labels can be added or modified at any time. Each resource can have multiple labels, but each key must be unique for a given object." + }, + "namespace": { + "type": "string" } }, "type": "object" }, + "aws-native:batch:JobDefinitionEksPersistentVolumeClaim": { + "properties": { + "claimName": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + } + }, + "type": "object", + "required": [ + "claimName" + ] + }, "aws-native:batch:JobDefinitionEksPodProperties": { "properties": { "containers": { @@ -17593,6 +17633,9 @@ "type": "string", "description": "The name of the volume. The name must be allowed as a DNS subdomain name. For more information, see [DNS subdomain names](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#dns-subdomain-names) in the *Kubernetes documentation* ." }, + "persistentVolumeClaim": { + "$ref": "#/types/aws-native:batch:JobDefinitionEksPersistentVolumeClaim" + }, "secret": { "$ref": "#/types/aws-native:batch:JobDefinitionEksSecret", "description": "Specifies the configuration of a Kubernetes `secret` volume. For more information, see [secret](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/storage/volumes/#secret) in the *Kubernetes documentation* ." @@ -28389,6 +28432,9 @@ "s3OriginConfig": { "$ref": "#/types/aws-native:cloudfront:DistributionS3OriginConfig", "description": "Use this type to specify an origin that is an Amazon S3 bucket that is not configured with static website hosting. To specify any other type of origin, including an Amazon S3 bucket that is configured with static website hosting, use the ``CustomOriginConfig`` type instead." + }, + "vpcOriginConfig": { + "$ref": "#/types/aws-native:cloudfront:DistributionVpcOriginConfig" } }, "type": "object", @@ -28624,6 +28670,23 @@ }, "type": "object" }, + "aws-native:cloudfront:DistributionVpcOriginConfig": { + "properties": { + "originKeepaliveTimeout": { + "type": "integer" + }, + "originReadTimeout": { + "type": "integer" + }, + "vpcOriginId": { + "type": "string" + } + }, + "type": "object", + "required": [ + "vpcOriginId" + ] + }, "aws-native:cloudfront:FunctionConfig": { "description": "Contains configuration information about a CloudFront function.", "properties": { @@ -29318,19 +29381,24 @@ "aws-native:cloudfront:VpcOriginEndpointConfig": { "properties": { "arn": { - "type": "string" + "type": "string", + "description": "The ARN of the CloudFront VPC origin endpoint configuration." }, "httpPort": { - "type": "integer" + "type": "integer", + "description": "The HTTP port for the CloudFront VPC origin endpoint configuration." }, "httpsPort": { - "type": "integer" + "type": "integer", + "description": "The HTTPS port of the CloudFront VPC origin endpoint configuration." }, "name": { - "type": "string" + "type": "string", + "description": "The name of the CloudFront VPC origin endpoint configuration." }, "originProtocolPolicy": { - "type": "string" + "type": "string", + "description": "The origin protocol policy for the CloudFront VPC origin endpoint configuration." }, "originSslProtocols": { "type": "array", @@ -29348,10 +29416,12 @@ "aws-native:cloudfront:VpcOriginTag": { "properties": { "key": { - "type": "string" + "type": "string", + "description": "A string that contains `Tag` key.\n\nThe string length should be between 1 and 128 characters. Valid characters include `a-z` , `A-Z` , `0-9` , space, and the special characters `_ - . : / = + @` ." }, "value": { - "type": "string" + "type": "string", + "description": "A string that contains an optional `Tag` value.\n\nThe string length should be between 0 and 256 characters. Valid characters include `a-z` , `A-Z` , `0-9` , space, and the special characters `_ - . : / = + @` ." } }, "type": "object", @@ -53404,14 +53474,14 @@ "items": { "type": "string" }, - "description": "The IDs of the security groups associated with the task or service. If you don't specify a security group, the default security group for the VPC is used. There's a limit of 5 security groups that can be specified per ``awsvpcConfiguration``.\n All specified security groups must be from the same VPC." + "description": "The IDs of the security groups associated with the task or service. If you don't specify a security group, the default security group for the VPC is used. There's a limit of 5 security groups that can be specified.\n All specified security groups must be from the same VPC." }, "subnets": { "type": "array", "items": { "type": "string" }, - "description": "The IDs of the subnets associated with the task or service. There's a limit of 16 subnets that can be specified per ``awsvpcConfiguration``.\n All specified subnets must be from the same VPC." + "description": "The IDs of the subnets associated with the task or service. There's a limit of 16 subnets that can be specified.\n All specified subnets must be from the same VPC." } }, "type": "object" @@ -53798,9 +53868,6 @@ "type": "integer", "description": "The throughput to provision for a volume, in MiB/s, with a maximum of 1,000 MiB/s. This parameter maps 1:1 with the ``Throughput`` parameter of the [CreateVolume API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateVolume.html) in the *Amazon EC2 API Reference*.\n This parameter is only supported for the ``gp3`` volume type." }, - "volumeInitializationRate": { - "type": "integer" - }, "volumeType": { "type": "string", "description": "The volume type. This parameter maps 1:1 with the ``VolumeType`` parameter of the [CreateVolume API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateVolume.html) in the *Amazon EC2 API Reference*. For more information, see [Amazon EBS volume types](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-volume-types.html) in the *Amazon EC2 User Guide*.\n The following are the supported volume types.\n + General Purpose SSD: ``gp2``|``gp3`` \n + Provisioned IOPS SSD: ``io1``|``io2`` \n + Throughput Optimized HDD: ``st1`` \n + Cold HDD: ``sc1`` \n + Magnetic: ``standard`` \n The magnetic volume type is not supported on Fargate." @@ -75222,22 +75289,13 @@ "capabilityNamespace" ] }, - "aws-native:iotsitewise:GatewayGreengrass": { - "description": "Contains the ARN of AWS IoT Greengrass Group V1 that the gateway runs on.", - "properties": { - "groupArn": { - "type": "string", - "description": "The ARN of the Greengrass group." - } - }, - "type": "object", - "required": [ - "groupArn" - ] - }, "aws-native:iotsitewise:GatewayGreengrassV2": { "description": "Contains the CoreDeviceThingName of AWS IoT Greengrass Group V2 that the gateway runs on.", "properties": { + "coreDeviceOperatingSystem": { + "$ref": "#/types/aws-native:iotsitewise:GatewayGreengrassV2CoreDeviceOperatingSystem", + "description": "The operating system of the core device in AWS IoT Greengrass V2." + }, "coreDeviceThingName": { "type": "string", "description": "The name of the CoreDevice in GreenGrass V2." @@ -75248,11 +75306,29 @@ "coreDeviceThingName" ] }, + "aws-native:iotsitewise:GatewayGreengrassV2CoreDeviceOperatingSystem": { + "description": "The operating system of the core device in AWS IoT Greengrass V2.", + "type": "string", + "enum": [ + { + "name": "LinuxAarch64", + "value": "LINUX_AARCH64" + }, + { + "name": "LinuxAmd64", + "value": "LINUX_AMD64" + }, + { + "name": "WindowsAmd64", + "value": "WINDOWS_AMD64" + } + ] + }, "aws-native:iotsitewise:GatewayPlatform": { "description": "Contains a gateway's platform information.", "properties": { "greengrass": { - "$ref": "#/types/aws-native:iotsitewise:GatewayGreengrass", + "$ref": "pulumi.json#/Any", "description": "A gateway that runs on AWS IoT Greengrass V1." }, "greengrassV2": { @@ -81571,6 +81647,14 @@ "destinationTableName" ] }, + "aws-native:kinesisfirehose:DeliveryStreamDirectPutSourceConfiguration": { + "properties": { + "throughputHintInMbs": { + "type": "integer" + } + }, + "type": "object" + }, "aws-native:kinesisfirehose:DeliveryStreamDocumentIdOptions": { "properties": { "defaultDocumentIdFormat": { @@ -82031,6 +82115,9 @@ }, "aws-native:kinesisfirehose:DeliveryStreamIcebergDestinationConfiguration": { "properties": { + "appendOnly": { + "type": "boolean" + }, "bufferingHints": { "$ref": "#/types/aws-native:kinesisfirehose:DeliveryStreamBufferingHints" }, @@ -191404,6 +191491,9 @@ "type": "string", "description": "IAM role ARN for the scraper." }, + "roleConfiguration": { + "$ref": "#/types/aws-native:aps:ScraperRoleConfiguration" + }, "scrapeConfiguration": { "$ref": "#/types/aws-native:aps:ScraperScrapeConfiguration", "description": "The configuration in use by the scraper." @@ -191443,6 +191533,9 @@ "$ref": "#/types/aws-native:aps:ScraperDestination", "description": "The Amazon Managed Service for Prometheus workspace the scraper sends metrics to." }, + "roleConfiguration": { + "$ref": "#/types/aws-native:aps:ScraperRoleConfiguration" + }, "scrapeConfiguration": { "$ref": "#/types/aws-native:aps:ScraperScrapeConfiguration", "description": "The configuration in use by the scraper." @@ -198421,7 +198514,7 @@ }, "publisherId": { "type": "string", - "description": "The publisher id assigned by CloudFormation for publishing in this region." + "description": "The reserved publisher id for this type, or the publisher id assigned by CloudFormation for publishing in this region." }, "type": { "$ref": "#/types/aws-native:cloudformation:PublicTypeVersionType", @@ -198486,7 +198579,7 @@ }, "publisherId": { "type": "string", - "description": "The publisher id assigned by CloudFormation for publishing in this region." + "description": "The reserved publisher id for this type, or the publisher id assigned by CloudFormation for publishing in this region." }, "publisherProfile": { "type": "string", @@ -199035,7 +199128,7 @@ }, "publisherId": { "type": "string", - "description": "The publisher id assigned by CloudFormation for publishing in this region." + "description": "The reserved publisher id for this type, or the publisher id assigned by CloudFormation for publishing in this region." }, "type": { "$ref": "#/types/aws-native:cloudformation:TypeActivationType", @@ -199081,7 +199174,7 @@ }, "publisherId": { "type": "string", - "description": "The publisher id assigned by CloudFormation for publishing in this region." + "description": "The reserved publisher id for this type, or the publisher id assigned by CloudFormation for publishing in this region." }, "type": { "$ref": "#/types/aws-native:cloudformation:TypeActivationType", @@ -199631,28 +199724,35 @@ "description": "Resource Type definition for AWS::CloudFront::VpcOrigin", "properties": { "arn": { - "type": "string" + "type": "string", + "description": "The VPC origin ARN." }, "awsId": { - "type": "string" + "type": "string", + "description": "The VPC origin ID." }, "createdTime": { - "type": "string" + "type": "string", + "description": "The VPC origin created time." }, "lastModifiedTime": { - "type": "string" + "type": "string", + "description": "The VPC origin last modified time." }, "status": { - "type": "string" + "type": "string", + "description": "The VPC origin status." }, "tags": { "type": "array", "items": { "$ref": "#/types/aws-native:index:Tag" - } + }, + "description": "A complex type that contains zero or more `Tag` elements." }, "vpcOriginEndpointConfig": { - "$ref": "#/types/aws-native:cloudfront:VpcOriginEndpointConfig" + "$ref": "#/types/aws-native:cloudfront:VpcOriginEndpointConfig", + "description": "The VPC origin endpoint configuration." } }, "type": "object", @@ -199669,10 +199769,12 @@ "type": "array", "items": { "$ref": "#/types/aws-native:index:Tag" - } + }, + "description": "A complex type that contains zero or more `Tag` elements." }, "vpcOriginEndpointConfig": { - "$ref": "#/types/aws-native:cloudfront:VpcOriginEndpointConfig" + "$ref": "#/types/aws-native:cloudfront:VpcOriginEndpointConfig", + "description": "The VPC origin endpoint configuration." } }, "requiredInputs": [ @@ -213302,7 +213404,7 @@ }, "instanceCount": { "type": "integer", - "description": "The number of instances for which to reserve capacity.\n\n\u003e You can request future-dated Capacity Reservations for an instance count with a minimum of 100 VPUs. For example, if you request a future-dated Capacity Reservation for `m5.xlarge` instances, you must request at least 25 instances ( *25 * m5.xlarge = 100 vCPUs* ). \n\nValid range: 1 - 1000" + "description": "The number of instances for which to reserve capacity.\n\n\u003e You can request future-dated Capacity Reservations for an instance count with a minimum of 100 vCPUs. For example, if you request a future-dated Capacity Reservation for `m5.xlarge` instances, you must request at least 25 instances ( *25 * m5.xlarge = 100 vCPUs* ). \n\nValid range: 1 - 1000" }, "instanceMatchCriteria": { "type": "string", @@ -213386,7 +213488,7 @@ }, "instanceCount": { "type": "integer", - "description": "The number of instances for which to reserve capacity.\n\n\u003e You can request future-dated Capacity Reservations for an instance count with a minimum of 100 VPUs. For example, if you request a future-dated Capacity Reservation for `m5.xlarge` instances, you must request at least 25 instances ( *25 * m5.xlarge = 100 vCPUs* ). \n\nValid range: 1 - 1000" + "description": "The number of instances for which to reserve capacity.\n\n\u003e You can request future-dated Capacity Reservations for an instance count with a minimum of 100 vCPUs. For example, if you request a future-dated Capacity Reservation for `m5.xlarge` instances, you must request at least 25 instances ( *25 * m5.xlarge = 100 vCPUs* ). \n\nValid range: 1 - 1000" }, "instanceMatchCriteria": { "type": "string", @@ -237780,6 +237882,11 @@ "description": "The gateway's platform. You can only specify one platform in a gateway.", "replaceOnChanges": true }, + "gatewayVersion": { + "type": "string", + "description": "The version of the gateway you want to create.", + "replaceOnChanges": true + }, "tags": { "type": "array", "items": { @@ -237810,6 +237917,10 @@ "$ref": "#/types/aws-native:iotsitewise:GatewayPlatform", "description": "The gateway's platform. You can only specify one platform in a gateway." }, + "gatewayVersion": { + "type": "string", + "description": "The version of the gateway you want to create." + }, "tags": { "type": "array", "items": { @@ -241075,6 +241186,10 @@ "description": "The Firehose stream type. This can be one of the following values:\n\n- `DirectPut` : Provider applications access the Firehose stream directly.\n- `KinesisStreamAsSource` : The Firehose stream uses a Kinesis data stream as a source.", "replaceOnChanges": true }, + "directPutSourceConfiguration": { + "$ref": "#/types/aws-native:kinesisfirehose:DeliveryStreamDirectPutSourceConfiguration", + "replaceOnChanges": true + }, "elasticsearchDestinationConfiguration": { "$ref": "#/types/aws-native:kinesisfirehose:DeliveryStreamElasticsearchDestinationConfiguration", "description": "An Amazon ES destination for the delivery stream.\n\nConditional. You must specify only one destination configuration.\n\nIf you change the delivery stream destination from an Amazon ES destination to an Amazon S3 or Amazon Redshift destination, update requires [some interruptions](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-some-interrupt) ." @@ -241155,6 +241270,9 @@ "$ref": "#/types/aws-native:kinesisfirehose:DeliveryStreamType", "description": "The Firehose stream type. This can be one of the following values:\n\n- `DirectPut` : Provider applications access the Firehose stream directly.\n- `KinesisStreamAsSource` : The Firehose stream uses a Kinesis data stream as a source." }, + "directPutSourceConfiguration": { + "$ref": "#/types/aws-native:kinesisfirehose:DeliveryStreamDirectPutSourceConfiguration" + }, "elasticsearchDestinationConfiguration": { "$ref": "#/types/aws-native:kinesisfirehose:DeliveryStreamElasticsearchDestinationConfiguration", "description": "An Amazon ES destination for the delivery stream.\n\nConditional. You must specify only one destination configuration.\n\nIf you change the delivery stream destination from an Amazon ES destination to an Amazon S3 or Amazon Redshift destination, update requires [some interruptions](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-some-interrupt) ." @@ -288287,6 +288405,9 @@ "type": "string", "description": "IAM role ARN for the scraper." }, + "roleConfiguration": { + "$ref": "#/types/aws-native:aps:ScraperRoleConfiguration" + }, "scrapeConfiguration": { "$ref": "#/types/aws-native:aps:ScraperScrapeConfiguration", "description": "The configuration in use by the scraper." @@ -292015,7 +292136,7 @@ }, "publisherId": { "type": "string", - "description": "The publisher id assigned by CloudFormation for publishing in this region." + "description": "The reserved publisher id for this type, or the publisher id assigned by CloudFormation for publishing in this region." }, "typeVersionArn": { "type": "string", @@ -292030,7 +292151,7 @@ "properties": { "publisherId": { "type": "string", - "description": "The publisher id assigned by CloudFormation for publishing in this region." + "description": "The reserved publisher id for this type, or the publisher id assigned by CloudFormation for publishing in this region." } }, "required": [ @@ -292045,7 +292166,7 @@ }, "publisherId": { "type": "string", - "description": "The publisher id assigned by CloudFormation for publishing in this region." + "description": "The reserved publisher id for this type, or the publisher id assigned by CloudFormation for publishing in this region." }, "publisherProfile": { "type": "string", @@ -292339,7 +292460,7 @@ }, "publisherId": { "type": "string", - "description": "The publisher id assigned by CloudFormation for publishing in this region." + "description": "The reserved publisher id for this type, or the publisher id assigned by CloudFormation for publishing in this region." }, "typeName": { "type": "string", @@ -292772,7 +292893,8 @@ "inputs": { "properties": { "id": { - "type": "string" + "type": "string", + "description": "The VPC origin ID." } }, "required": [ @@ -292782,28 +292904,35 @@ "outputs": { "properties": { "arn": { - "type": "string" + "type": "string", + "description": "The VPC origin ARN." }, "createdTime": { - "type": "string" + "type": "string", + "description": "The VPC origin created time." }, "id": { - "type": "string" + "type": "string", + "description": "The VPC origin ID." }, "lastModifiedTime": { - "type": "string" + "type": "string", + "description": "The VPC origin last modified time." }, "status": { - "type": "string" + "type": "string", + "description": "The VPC origin status." }, "tags": { "type": "array", "items": { "$ref": "#/types/aws-native:index:Tag" - } + }, + "description": "A complex type that contains zero or more `Tag` elements." }, "vpcOriginEndpointConfig": { - "$ref": "#/types/aws-native:cloudfront:VpcOriginEndpointConfig" + "$ref": "#/types/aws-native:cloudfront:VpcOriginEndpointConfig", + "description": "The VPC origin endpoint configuration." } } } @@ -300166,7 +300295,7 @@ }, "instanceCount": { "type": "integer", - "description": "The number of instances for which to reserve capacity.\n\n\u003e You can request future-dated Capacity Reservations for an instance count with a minimum of 100 VPUs. For example, if you request a future-dated Capacity Reservation for `m5.xlarge` instances, you must request at least 25 instances ( *25 * m5.xlarge = 100 vCPUs* ). \n\nValid range: 1 - 1000" + "description": "The number of instances for which to reserve capacity.\n\n\u003e You can request future-dated Capacity Reservations for an instance count with a minimum of 100 vCPUs. For example, if you request a future-dated Capacity Reservation for `m5.xlarge` instances, you must request at least 25 instances ( *25 * m5.xlarge = 100 vCPUs* ). \n\nValid range: 1 - 1000" }, "instanceMatchCriteria": { "type": "string", diff --git a/reports/missedAutonaming.json b/reports/missedAutonaming.json index ea81cc4c63..5c08649047 100644 --- a/reports/missedAutonaming.json +++ b/reports/missedAutonaming.json @@ -1205,6 +1205,9 @@ "$ref": "#/types/aws-native:aps:ScraperDestination", "description": "The Amazon Managed Service for Prometheus workspace the scraper sends metrics to." }, + "roleConfiguration": { + "$ref": "#/types/aws-native:aps:ScraperRoleConfiguration" + }, "scrapeConfiguration": { "$ref": "#/types/aws-native:aps:ScraperScrapeConfiguration", "description": "The configuration in use by the scraper." @@ -1878,7 +1881,7 @@ }, "publisherId": { "type": "string", - "description": "The publisher id assigned by CloudFormation for publishing in this region." + "description": "The reserved publisher id for this type, or the publisher id assigned by CloudFormation for publishing in this region." }, "type": { "$ref": "#/types/aws-native:cloudformation:TypeActivationType", @@ -2011,10 +2014,12 @@ "type": "array", "items": { "$ref": "#/types/aws-native:index:Tag" - } + }, + "description": "A complex type that contains zero or more `Tag` elements." }, "vpcOriginEndpointConfig": { - "$ref": "#/types/aws-native:cloudfront:VpcOriginEndpointConfig" + "$ref": "#/types/aws-native:cloudfront:VpcOriginEndpointConfig", + "description": "The VPC origin endpoint configuration." } } }, @@ -3707,7 +3712,7 @@ }, "instanceCount": { "type": "integer", - "description": "The number of instances for which to reserve capacity.\n\n\u003e You can request future-dated Capacity Reservations for an instance count with a minimum of 100 VPUs. For example, if you request a future-dated Capacity Reservation for `m5.xlarge` instances, you must request at least 25 instances ( *25 * m5.xlarge = 100 vCPUs* ). \n\nValid range: 1 - 1000" + "description": "The number of instances for which to reserve capacity.\n\n\u003e You can request future-dated Capacity Reservations for an instance count with a minimum of 100 vCPUs. For example, if you request a future-dated Capacity Reservation for `m5.xlarge` instances, you must request at least 25 instances ( *25 * m5.xlarge = 100 vCPUs* ). \n\nValid range: 1 - 1000" }, "instanceMatchCriteria": { "type": "string", diff --git a/sdk/dotnet/Aps/GetScraper.cs b/sdk/dotnet/Aps/GetScraper.cs index 97d68909ef..44e3822660 100644 --- a/sdk/dotnet/Aps/GetScraper.cs +++ b/sdk/dotnet/Aps/GetScraper.cs @@ -79,6 +79,7 @@ public sealed class GetScraperResult /// IAM role ARN for the scraper. /// public readonly string? RoleArn; + public readonly Outputs.ScraperRoleConfiguration? RoleConfiguration; /// /// The configuration in use by the scraper. /// @@ -102,6 +103,8 @@ private GetScraperResult( string? roleArn, + Outputs.ScraperRoleConfiguration? roleConfiguration, + Outputs.ScraperScrapeConfiguration? scrapeConfiguration, string? scraperId, @@ -112,6 +115,7 @@ private GetScraperResult( Arn = arn; Destination = destination; RoleArn = roleArn; + RoleConfiguration = roleConfiguration; ScrapeConfiguration = scrapeConfiguration; ScraperId = scraperId; Tags = tags; diff --git a/sdk/dotnet/Aps/Inputs/ScraperRoleConfigurationArgs.cs b/sdk/dotnet/Aps/Inputs/ScraperRoleConfigurationArgs.cs new file mode 100644 index 0000000000..60459656c2 --- /dev/null +++ b/sdk/dotnet/Aps/Inputs/ScraperRoleConfigurationArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AwsNative.Aps.Inputs +{ + + /// + /// Role configuration + /// + public sealed class ScraperRoleConfigurationArgs : global::Pulumi.ResourceArgs + { + /// + /// IAM Role in source account + /// + [Input("sourceRoleArn")] + public Input? SourceRoleArn { get; set; } + + /// + /// IAM Role in the target account + /// + [Input("targetRoleArn")] + public Input? TargetRoleArn { get; set; } + + public ScraperRoleConfigurationArgs() + { + } + public static new ScraperRoleConfigurationArgs Empty => new ScraperRoleConfigurationArgs(); + } +} diff --git a/sdk/dotnet/Aps/Outputs/ScraperRoleConfiguration.cs b/sdk/dotnet/Aps/Outputs/ScraperRoleConfiguration.cs new file mode 100644 index 0000000000..cfeeaf1ba5 --- /dev/null +++ b/sdk/dotnet/Aps/Outputs/ScraperRoleConfiguration.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AwsNative.Aps.Outputs +{ + + /// + /// Role configuration + /// + [OutputType] + public sealed class ScraperRoleConfiguration + { + /// + /// IAM Role in source account + /// + public readonly string? SourceRoleArn; + /// + /// IAM Role in the target account + /// + public readonly string? TargetRoleArn; + + [OutputConstructor] + private ScraperRoleConfiguration( + string? sourceRoleArn, + + string? targetRoleArn) + { + SourceRoleArn = sourceRoleArn; + TargetRoleArn = targetRoleArn; + } + } +} diff --git a/sdk/dotnet/Aps/Scraper.cs b/sdk/dotnet/Aps/Scraper.cs index 317aa1301f..ce599ffa87 100644 --- a/sdk/dotnet/Aps/Scraper.cs +++ b/sdk/dotnet/Aps/Scraper.cs @@ -39,6 +39,9 @@ public partial class Scraper : global::Pulumi.CustomResource [Output("roleArn")] public Output RoleArn { get; private set; } = null!; + [Output("roleConfiguration")] + public Output RoleConfiguration { get; private set; } = null!; + /// /// The configuration in use by the scraper. /// @@ -124,6 +127,9 @@ public sealed class ScraperArgs : global::Pulumi.ResourceArgs [Input("destination", required: true)] public Input Destination { get; set; } = null!; + [Input("roleConfiguration")] + public Input? RoleConfiguration { get; set; } + /// /// The configuration in use by the scraper. /// diff --git a/sdk/dotnet/Batch/Inputs/JobDefinitionEksContainerVolumeMountArgs.cs b/sdk/dotnet/Batch/Inputs/JobDefinitionEksContainerVolumeMountArgs.cs index 8fc48c1d12..9433dd324f 100644 --- a/sdk/dotnet/Batch/Inputs/JobDefinitionEksContainerVolumeMountArgs.cs +++ b/sdk/dotnet/Batch/Inputs/JobDefinitionEksContainerVolumeMountArgs.cs @@ -30,6 +30,9 @@ public sealed class JobDefinitionEksContainerVolumeMountArgs : global::Pulumi.Re [Input("readOnly")] public Input? ReadOnly { get; set; } + [Input("subPath")] + public Input? SubPath { get; set; } + public JobDefinitionEksContainerVolumeMountArgs() { } diff --git a/sdk/dotnet/Batch/Inputs/JobDefinitionEksMetadataArgs.cs b/sdk/dotnet/Batch/Inputs/JobDefinitionEksMetadataArgs.cs index 4b42b01f9d..b9bacf600b 100644 --- a/sdk/dotnet/Batch/Inputs/JobDefinitionEksMetadataArgs.cs +++ b/sdk/dotnet/Batch/Inputs/JobDefinitionEksMetadataArgs.cs @@ -12,6 +12,14 @@ namespace Pulumi.AwsNative.Batch.Inputs public sealed class JobDefinitionEksMetadataArgs : global::Pulumi.ResourceArgs { + [Input("annotations")] + private InputMap? _annotations; + public InputMap Annotations + { + get => _annotations ?? (_annotations = new InputMap()); + set => _annotations = value; + } + [Input("labels")] private InputMap? _labels; @@ -24,6 +32,9 @@ public InputMap Labels set => _labels = value; } + [Input("namespace")] + public Input? Namespace { get; set; } + public JobDefinitionEksMetadataArgs() { } diff --git a/sdk/dotnet/Batch/Inputs/JobDefinitionEksPersistentVolumeClaimArgs.cs b/sdk/dotnet/Batch/Inputs/JobDefinitionEksPersistentVolumeClaimArgs.cs new file mode 100644 index 0000000000..690d008963 --- /dev/null +++ b/sdk/dotnet/Batch/Inputs/JobDefinitionEksPersistentVolumeClaimArgs.cs @@ -0,0 +1,26 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AwsNative.Batch.Inputs +{ + + public sealed class JobDefinitionEksPersistentVolumeClaimArgs : global::Pulumi.ResourceArgs + { + [Input("claimName", required: true)] + public Input ClaimName { get; set; } = null!; + + [Input("readOnly")] + public Input? ReadOnly { get; set; } + + public JobDefinitionEksPersistentVolumeClaimArgs() + { + } + public static new JobDefinitionEksPersistentVolumeClaimArgs Empty => new JobDefinitionEksPersistentVolumeClaimArgs(); + } +} diff --git a/sdk/dotnet/Batch/Inputs/JobDefinitionEksVolumeArgs.cs b/sdk/dotnet/Batch/Inputs/JobDefinitionEksVolumeArgs.cs index ec2d7f260d..2de8e754bd 100644 --- a/sdk/dotnet/Batch/Inputs/JobDefinitionEksVolumeArgs.cs +++ b/sdk/dotnet/Batch/Inputs/JobDefinitionEksVolumeArgs.cs @@ -30,6 +30,9 @@ public sealed class JobDefinitionEksVolumeArgs : global::Pulumi.ResourceArgs [Input("name", required: true)] public Input Name { get; set; } = null!; + [Input("persistentVolumeClaim")] + public Input? PersistentVolumeClaim { get; set; } + /// /// Specifies the configuration of a Kubernetes `secret` volume. For more information, see [secret](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/storage/volumes/#secret) in the *Kubernetes documentation* . /// diff --git a/sdk/dotnet/Batch/Outputs/JobDefinitionEksContainerVolumeMount.cs b/sdk/dotnet/Batch/Outputs/JobDefinitionEksContainerVolumeMount.cs index 3e6b76fab7..53a0eb2d07 100644 --- a/sdk/dotnet/Batch/Outputs/JobDefinitionEksContainerVolumeMount.cs +++ b/sdk/dotnet/Batch/Outputs/JobDefinitionEksContainerVolumeMount.cs @@ -25,6 +25,7 @@ public sealed class JobDefinitionEksContainerVolumeMount /// If this value is `true` , the container has read-only access to the volume. Otherwise, the container can write to the volume. The default value is `false` . /// public readonly bool? ReadOnly; + public readonly string? SubPath; [OutputConstructor] private JobDefinitionEksContainerVolumeMount( @@ -32,11 +33,14 @@ private JobDefinitionEksContainerVolumeMount( string? name, - bool? readOnly) + bool? readOnly, + + string? subPath) { MountPath = mountPath; Name = name; ReadOnly = readOnly; + SubPath = subPath; } } } diff --git a/sdk/dotnet/Batch/Outputs/JobDefinitionEksMetadata.cs b/sdk/dotnet/Batch/Outputs/JobDefinitionEksMetadata.cs index 8bde7bd575..77f887413c 100644 --- a/sdk/dotnet/Batch/Outputs/JobDefinitionEksMetadata.cs +++ b/sdk/dotnet/Batch/Outputs/JobDefinitionEksMetadata.cs @@ -13,15 +13,24 @@ namespace Pulumi.AwsNative.Batch.Outputs [OutputType] public sealed class JobDefinitionEksMetadata { + public readonly ImmutableDictionary? Annotations; /// /// Key-value pairs used to identify, sort, and organize cube resources. Can contain up to 63 uppercase letters, lowercase letters, numbers, hyphens (-), and underscores (_). Labels can be added or modified at any time. Each resource can have multiple labels, but each key must be unique for a given object. /// public readonly ImmutableDictionary? Labels; + public readonly string? Namespace; [OutputConstructor] - private JobDefinitionEksMetadata(ImmutableDictionary? labels) + private JobDefinitionEksMetadata( + ImmutableDictionary? annotations, + + ImmutableDictionary? labels, + + string? @namespace) { + Annotations = annotations; Labels = labels; + Namespace = @namespace; } } } diff --git a/sdk/dotnet/Batch/Outputs/JobDefinitionEksPersistentVolumeClaim.cs b/sdk/dotnet/Batch/Outputs/JobDefinitionEksPersistentVolumeClaim.cs new file mode 100644 index 0000000000..010dc8d7b1 --- /dev/null +++ b/sdk/dotnet/Batch/Outputs/JobDefinitionEksPersistentVolumeClaim.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AwsNative.Batch.Outputs +{ + + [OutputType] + public sealed class JobDefinitionEksPersistentVolumeClaim + { + public readonly string ClaimName; + public readonly bool? ReadOnly; + + [OutputConstructor] + private JobDefinitionEksPersistentVolumeClaim( + string claimName, + + bool? readOnly) + { + ClaimName = claimName; + ReadOnly = readOnly; + } + } +} diff --git a/sdk/dotnet/Batch/Outputs/JobDefinitionEksVolume.cs b/sdk/dotnet/Batch/Outputs/JobDefinitionEksVolume.cs index b7ae56f98e..db9be7d732 100644 --- a/sdk/dotnet/Batch/Outputs/JobDefinitionEksVolume.cs +++ b/sdk/dotnet/Batch/Outputs/JobDefinitionEksVolume.cs @@ -25,6 +25,7 @@ public sealed class JobDefinitionEksVolume /// The name of the volume. The name must be allowed as a DNS subdomain name. For more information, see [DNS subdomain names](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#dns-subdomain-names) in the *Kubernetes documentation* . /// public readonly string Name; + public readonly Outputs.JobDefinitionEksPersistentVolumeClaim? PersistentVolumeClaim; /// /// Specifies the configuration of a Kubernetes `secret` volume. For more information, see [secret](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/storage/volumes/#secret) in the *Kubernetes documentation* . /// @@ -38,11 +39,14 @@ private JobDefinitionEksVolume( string name, + Outputs.JobDefinitionEksPersistentVolumeClaim? persistentVolumeClaim, + Outputs.JobDefinitionEksSecret? secret) { EmptyDir = emptyDir; HostPath = hostPath; Name = name; + PersistentVolumeClaim = persistentVolumeClaim; Secret = secret; } } diff --git a/sdk/dotnet/CloudFormation/GetPublicTypeVersion.cs b/sdk/dotnet/CloudFormation/GetPublicTypeVersion.cs index f1647307f5..eabda7ce9a 100644 --- a/sdk/dotnet/CloudFormation/GetPublicTypeVersion.cs +++ b/sdk/dotnet/CloudFormation/GetPublicTypeVersion.cs @@ -68,7 +68,7 @@ public sealed class GetPublicTypeVersionResult /// public readonly string? PublicTypeArn; /// - /// The publisher id assigned by CloudFormation for publishing in this region. + /// The reserved publisher id for this type, or the publisher id assigned by CloudFormation for publishing in this region. /// public readonly string? PublisherId; /// diff --git a/sdk/dotnet/CloudFormation/GetPublisher.cs b/sdk/dotnet/CloudFormation/GetPublisher.cs index 6820a5d873..76e0c16793 100644 --- a/sdk/dotnet/CloudFormation/GetPublisher.cs +++ b/sdk/dotnet/CloudFormation/GetPublisher.cs @@ -34,7 +34,7 @@ public static Output Invoke(GetPublisherInvokeArgs args, Inv public sealed class GetPublisherArgs : global::Pulumi.InvokeArgs { /// - /// The publisher id assigned by CloudFormation for publishing in this region. + /// The reserved publisher id for this type, or the publisher id assigned by CloudFormation for publishing in this region. /// [Input("publisherId", required: true)] public string PublisherId { get; set; } = null!; @@ -48,7 +48,7 @@ public GetPublisherArgs() public sealed class GetPublisherInvokeArgs : global::Pulumi.InvokeArgs { /// - /// The publisher id assigned by CloudFormation for publishing in this region. + /// The reserved publisher id for this type, or the publisher id assigned by CloudFormation for publishing in this region. /// [Input("publisherId", required: true)] public Input PublisherId { get; set; } = null!; @@ -68,7 +68,7 @@ public sealed class GetPublisherResult /// public readonly Pulumi.AwsNative.CloudFormation.PublisherIdentityProvider? IdentityProvider; /// - /// The publisher id assigned by CloudFormation for publishing in this region. + /// The reserved publisher id for this type, or the publisher id assigned by CloudFormation for publishing in this region. /// public readonly string? PublisherId; /// diff --git a/sdk/dotnet/CloudFormation/GetTypeActivation.cs b/sdk/dotnet/CloudFormation/GetTypeActivation.cs index 1b9ed50388..aa17f9d751 100644 --- a/sdk/dotnet/CloudFormation/GetTypeActivation.cs +++ b/sdk/dotnet/CloudFormation/GetTypeActivation.cs @@ -72,7 +72,7 @@ public sealed class GetTypeActivationResult /// public readonly string? PublicTypeArn; /// - /// The publisher id assigned by CloudFormation for publishing in this region. + /// The reserved publisher id for this type, or the publisher id assigned by CloudFormation for publishing in this region. /// public readonly string? PublisherId; /// diff --git a/sdk/dotnet/CloudFormation/PublicTypeVersion.cs b/sdk/dotnet/CloudFormation/PublicTypeVersion.cs index 53fd8668d4..94ac32b8bc 100644 --- a/sdk/dotnet/CloudFormation/PublicTypeVersion.cs +++ b/sdk/dotnet/CloudFormation/PublicTypeVersion.cs @@ -40,7 +40,7 @@ public partial class PublicTypeVersion : global::Pulumi.CustomResource public Output PublicVersionNumber { get; private set; } = null!; /// - /// The publisher id assigned by CloudFormation for publishing in this region. + /// The reserved publisher id for this type, or the publisher id assigned by CloudFormation for publishing in this region. /// [Output("publisherId")] public Output PublisherId { get; private set; } = null!; diff --git a/sdk/dotnet/CloudFormation/Publisher.cs b/sdk/dotnet/CloudFormation/Publisher.cs index f88f7965fb..2c28a58518 100644 --- a/sdk/dotnet/CloudFormation/Publisher.cs +++ b/sdk/dotnet/CloudFormation/Publisher.cs @@ -34,7 +34,7 @@ public partial class Publisher : global::Pulumi.CustomResource public Output IdentityProvider { get; private set; } = null!; /// - /// The publisher id assigned by CloudFormation for publishing in this region. + /// The reserved publisher id for this type, or the publisher id assigned by CloudFormation for publishing in this region. /// [Output("publisherId")] public Output PublisherId { get; private set; } = null!; diff --git a/sdk/dotnet/CloudFormation/TypeActivation.cs b/sdk/dotnet/CloudFormation/TypeActivation.cs index 83fa3a30c0..51200c76c4 100644 --- a/sdk/dotnet/CloudFormation/TypeActivation.cs +++ b/sdk/dotnet/CloudFormation/TypeActivation.cs @@ -52,7 +52,7 @@ public partial class TypeActivation : global::Pulumi.CustomResource public Output PublicTypeArn { get; private set; } = null!; /// - /// The publisher id assigned by CloudFormation for publishing in this region. + /// The reserved publisher id for this type, or the publisher id assigned by CloudFormation for publishing in this region. /// [Output("publisherId")] public Output PublisherId { get; private set; } = null!; @@ -163,7 +163,7 @@ public sealed class TypeActivationArgs : global::Pulumi.ResourceArgs public Input? PublicTypeArn { get; set; } /// - /// The publisher id assigned by CloudFormation for publishing in this region. + /// The reserved publisher id for this type, or the publisher id assigned by CloudFormation for publishing in this region. /// [Input("publisherId")] public Input? PublisherId { get; set; } diff --git a/sdk/dotnet/CloudFront/GetVpcOrigin.cs b/sdk/dotnet/CloudFront/GetVpcOrigin.cs index f8e56bf3fa..ce5a164dff 100644 --- a/sdk/dotnet/CloudFront/GetVpcOrigin.cs +++ b/sdk/dotnet/CloudFront/GetVpcOrigin.cs @@ -33,6 +33,9 @@ public static Output Invoke(GetVpcOriginInvokeArgs args, Inv public sealed class GetVpcOriginArgs : global::Pulumi.InvokeArgs { + /// + /// The VPC origin ID. + /// [Input("id", required: true)] public string Id { get; set; } = null!; @@ -44,6 +47,9 @@ public GetVpcOriginArgs() public sealed class GetVpcOriginInvokeArgs : global::Pulumi.InvokeArgs { + /// + /// The VPC origin ID. + /// [Input("id", required: true)] public Input Id { get; set; } = null!; @@ -57,12 +63,33 @@ public GetVpcOriginInvokeArgs() [OutputType] public sealed class GetVpcOriginResult { + /// + /// The VPC origin ARN. + /// public readonly string? Arn; + /// + /// The VPC origin created time. + /// public readonly string? CreatedTime; + /// + /// The VPC origin ID. + /// public readonly string? Id; + /// + /// The VPC origin last modified time. + /// public readonly string? LastModifiedTime; + /// + /// The VPC origin status. + /// public readonly string? Status; + /// + /// A complex type that contains zero or more `Tag` elements. + /// public readonly ImmutableArray Tags; + /// + /// The VPC origin endpoint configuration. + /// public readonly Outputs.VpcOriginEndpointConfig? VpcOriginEndpointConfig; [OutputConstructor] diff --git a/sdk/dotnet/CloudFront/Inputs/DistributionOriginArgs.cs b/sdk/dotnet/CloudFront/Inputs/DistributionOriginArgs.cs index 9749496ece..73c66f3b0a 100644 --- a/sdk/dotnet/CloudFront/Inputs/DistributionOriginArgs.cs +++ b/sdk/dotnet/CloudFront/Inputs/DistributionOriginArgs.cs @@ -101,6 +101,9 @@ public InputList OriginCustomHeaders [Input("s3OriginConfig")] public Input? S3OriginConfig { get; set; } + [Input("vpcOriginConfig")] + public Input? VpcOriginConfig { get; set; } + public DistributionOriginArgs() { } diff --git a/sdk/dotnet/CloudFront/Inputs/DistributionVpcOriginConfigArgs.cs b/sdk/dotnet/CloudFront/Inputs/DistributionVpcOriginConfigArgs.cs new file mode 100644 index 0000000000..1c0acade17 --- /dev/null +++ b/sdk/dotnet/CloudFront/Inputs/DistributionVpcOriginConfigArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AwsNative.CloudFront.Inputs +{ + + public sealed class DistributionVpcOriginConfigArgs : global::Pulumi.ResourceArgs + { + [Input("originKeepaliveTimeout")] + public Input? OriginKeepaliveTimeout { get; set; } + + [Input("originReadTimeout")] + public Input? OriginReadTimeout { get; set; } + + [Input("vpcOriginId", required: true)] + public Input VpcOriginId { get; set; } = null!; + + public DistributionVpcOriginConfigArgs() + { + } + public static new DistributionVpcOriginConfigArgs Empty => new DistributionVpcOriginConfigArgs(); + } +} diff --git a/sdk/dotnet/CloudFront/Inputs/VpcOriginEndpointConfigArgs.cs b/sdk/dotnet/CloudFront/Inputs/VpcOriginEndpointConfigArgs.cs index a021fbbee2..42a6df2561 100644 --- a/sdk/dotnet/CloudFront/Inputs/VpcOriginEndpointConfigArgs.cs +++ b/sdk/dotnet/CloudFront/Inputs/VpcOriginEndpointConfigArgs.cs @@ -12,18 +12,33 @@ namespace Pulumi.AwsNative.CloudFront.Inputs public sealed class VpcOriginEndpointConfigArgs : global::Pulumi.ResourceArgs { + /// + /// The ARN of the CloudFront VPC origin endpoint configuration. + /// [Input("arn", required: true)] public Input Arn { get; set; } = null!; + /// + /// The HTTP port for the CloudFront VPC origin endpoint configuration. + /// [Input("httpPort")] public Input? HttpPort { get; set; } + /// + /// The HTTPS port of the CloudFront VPC origin endpoint configuration. + /// [Input("httpsPort")] public Input? HttpsPort { get; set; } + /// + /// The name of the CloudFront VPC origin endpoint configuration. + /// [Input("name", required: true)] public Input Name { get; set; } = null!; + /// + /// The origin protocol policy for the CloudFront VPC origin endpoint configuration. + /// [Input("originProtocolPolicy")] public Input? OriginProtocolPolicy { get; set; } diff --git a/sdk/dotnet/CloudFront/Outputs/DistributionOrigin.cs b/sdk/dotnet/CloudFront/Outputs/DistributionOrigin.cs index fbd3e97f31..2998de4f1d 100644 --- a/sdk/dotnet/CloudFront/Outputs/DistributionOrigin.cs +++ b/sdk/dotnet/CloudFront/Outputs/DistributionOrigin.cs @@ -76,6 +76,7 @@ public sealed class DistributionOrigin /// Use this type to specify an origin that is an Amazon S3 bucket that is not configured with static website hosting. To specify any other type of origin, including an Amazon S3 bucket that is configured with static website hosting, use the ``CustomOriginConfig`` type instead. /// public readonly Outputs.DistributionS3OriginConfig? S3OriginConfig; + public readonly Outputs.DistributionVpcOriginConfig? VpcOriginConfig; [OutputConstructor] private DistributionOrigin( @@ -97,7 +98,9 @@ private DistributionOrigin( Outputs.DistributionOriginShield? originShield, - Outputs.DistributionS3OriginConfig? s3OriginConfig) + Outputs.DistributionS3OriginConfig? s3OriginConfig, + + Outputs.DistributionVpcOriginConfig? vpcOriginConfig) { ConnectionAttempts = connectionAttempts; ConnectionTimeout = connectionTimeout; @@ -109,6 +112,7 @@ private DistributionOrigin( OriginPath = originPath; OriginShield = originShield; S3OriginConfig = s3OriginConfig; + VpcOriginConfig = vpcOriginConfig; } } } diff --git a/sdk/dotnet/CloudFront/Outputs/DistributionVpcOriginConfig.cs b/sdk/dotnet/CloudFront/Outputs/DistributionVpcOriginConfig.cs new file mode 100644 index 0000000000..5904500624 --- /dev/null +++ b/sdk/dotnet/CloudFront/Outputs/DistributionVpcOriginConfig.cs @@ -0,0 +1,33 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AwsNative.CloudFront.Outputs +{ + + [OutputType] + public sealed class DistributionVpcOriginConfig + { + public readonly int? OriginKeepaliveTimeout; + public readonly int? OriginReadTimeout; + public readonly string VpcOriginId; + + [OutputConstructor] + private DistributionVpcOriginConfig( + int? originKeepaliveTimeout, + + int? originReadTimeout, + + string vpcOriginId) + { + OriginKeepaliveTimeout = originKeepaliveTimeout; + OriginReadTimeout = originReadTimeout; + VpcOriginId = vpcOriginId; + } + } +} diff --git a/sdk/dotnet/CloudFront/Outputs/VpcOriginEndpointConfig.cs b/sdk/dotnet/CloudFront/Outputs/VpcOriginEndpointConfig.cs index e0063f0000..a9118bf588 100644 --- a/sdk/dotnet/CloudFront/Outputs/VpcOriginEndpointConfig.cs +++ b/sdk/dotnet/CloudFront/Outputs/VpcOriginEndpointConfig.cs @@ -13,10 +13,25 @@ namespace Pulumi.AwsNative.CloudFront.Outputs [OutputType] public sealed class VpcOriginEndpointConfig { + /// + /// The ARN of the CloudFront VPC origin endpoint configuration. + /// public readonly string Arn; + /// + /// The HTTP port for the CloudFront VPC origin endpoint configuration. + /// public readonly int? HttpPort; + /// + /// The HTTPS port of the CloudFront VPC origin endpoint configuration. + /// public readonly int? HttpsPort; + /// + /// The name of the CloudFront VPC origin endpoint configuration. + /// public readonly string Name; + /// + /// The origin protocol policy for the CloudFront VPC origin endpoint configuration. + /// public readonly string? OriginProtocolPolicy; public readonly ImmutableArray OriginSslProtocols; diff --git a/sdk/dotnet/CloudFront/VpcOrigin.cs b/sdk/dotnet/CloudFront/VpcOrigin.cs index eed2ece894..58373caf84 100644 --- a/sdk/dotnet/CloudFront/VpcOrigin.cs +++ b/sdk/dotnet/CloudFront/VpcOrigin.cs @@ -15,24 +15,45 @@ namespace Pulumi.AwsNative.CloudFront [AwsNativeResourceType("aws-native:cloudfront:VpcOrigin")] public partial class VpcOrigin : global::Pulumi.CustomResource { + /// + /// The VPC origin ARN. + /// [Output("arn")] public Output Arn { get; private set; } = null!; + /// + /// The VPC origin ID. + /// [Output("awsId")] public Output AwsId { get; private set; } = null!; + /// + /// The VPC origin created time. + /// [Output("createdTime")] public Output CreatedTime { get; private set; } = null!; + /// + /// The VPC origin last modified time. + /// [Output("lastModifiedTime")] public Output LastModifiedTime { get; private set; } = null!; + /// + /// The VPC origin status. + /// [Output("status")] public Output Status { get; private set; } = null!; + /// + /// A complex type that contains zero or more `Tag` elements. + /// [Output("tags")] public Output> Tags { get; private set; } = null!; + /// + /// The VPC origin endpoint configuration. + /// [Output("vpcOriginEndpointConfig")] public Output VpcOriginEndpointConfig { get; private set; } = null!; @@ -83,12 +104,19 @@ public sealed class VpcOriginArgs : global::Pulumi.ResourceArgs { [Input("tags")] private InputList? _tags; + + /// + /// A complex type that contains zero or more `Tag` elements. + /// public InputList Tags { get => _tags ?? (_tags = new InputList()); set => _tags = value; } + /// + /// The VPC origin endpoint configuration. + /// [Input("vpcOriginEndpointConfig", required: true)] public Input VpcOriginEndpointConfig { get; set; } = null!; diff --git a/sdk/dotnet/Ec2/CapacityReservation.cs b/sdk/dotnet/Ec2/CapacityReservation.cs index c96087b7e1..16fbb75c94 100644 --- a/sdk/dotnet/Ec2/CapacityReservation.cs +++ b/sdk/dotnet/Ec2/CapacityReservation.cs @@ -75,7 +75,7 @@ public partial class CapacityReservation : global::Pulumi.CustomResource /// /// The number of instances for which to reserve capacity. /// - /// > You can request future-dated Capacity Reservations for an instance count with a minimum of 100 VPUs. For example, if you request a future-dated Capacity Reservation for `m5.xlarge` instances, you must request at least 25 instances ( *25 * m5.xlarge = 100 vCPUs* ). + /// > You can request future-dated Capacity Reservations for an instance count with a minimum of 100 vCPUs. For example, if you request a future-dated Capacity Reservation for `m5.xlarge` instances, you must request at least 25 instances ( *25 * m5.xlarge = 100 vCPUs* ). /// /// Valid range: 1 - 1000 /// @@ -262,7 +262,7 @@ public sealed class CapacityReservationArgs : global::Pulumi.ResourceArgs /// /// The number of instances for which to reserve capacity. /// - /// > You can request future-dated Capacity Reservations for an instance count with a minimum of 100 VPUs. For example, if you request a future-dated Capacity Reservation for `m5.xlarge` instances, you must request at least 25 instances ( *25 * m5.xlarge = 100 vCPUs* ). + /// > You can request future-dated Capacity Reservations for an instance count with a minimum of 100 vCPUs. For example, if you request a future-dated Capacity Reservation for `m5.xlarge` instances, you must request at least 25 instances ( *25 * m5.xlarge = 100 vCPUs* ). /// /// Valid range: 1 - 1000 /// diff --git a/sdk/dotnet/Ec2/GetCapacityReservation.cs b/sdk/dotnet/Ec2/GetCapacityReservation.cs index b46e8413cf..a2ebc36d27 100644 --- a/sdk/dotnet/Ec2/GetCapacityReservation.cs +++ b/sdk/dotnet/Ec2/GetCapacityReservation.cs @@ -91,7 +91,7 @@ public sealed class GetCapacityReservationResult /// /// The number of instances for which to reserve capacity. /// - /// > You can request future-dated Capacity Reservations for an instance count with a minimum of 100 VPUs. For example, if you request a future-dated Capacity Reservation for `m5.xlarge` instances, you must request at least 25 instances ( *25 * m5.xlarge = 100 vCPUs* ). + /// > You can request future-dated Capacity Reservations for an instance count with a minimum of 100 vCPUs. For example, if you request a future-dated Capacity Reservation for `m5.xlarge` instances, you must request at least 25 instances ( *25 * m5.xlarge = 100 vCPUs* ). /// /// Valid range: 1 - 1000 /// diff --git a/sdk/dotnet/Ecs/Inputs/ServiceAwsVpcConfigurationArgs.cs b/sdk/dotnet/Ecs/Inputs/ServiceAwsVpcConfigurationArgs.cs index c56fdfe3dd..2be3c41e49 100644 --- a/sdk/dotnet/Ecs/Inputs/ServiceAwsVpcConfigurationArgs.cs +++ b/sdk/dotnet/Ecs/Inputs/ServiceAwsVpcConfigurationArgs.cs @@ -25,7 +25,7 @@ public sealed class ServiceAwsVpcConfigurationArgs : global::Pulumi.ResourceArgs private InputList? _securityGroups; /// - /// The IDs of the security groups associated with the task or service. If you don't specify a security group, the default security group for the VPC is used. There's a limit of 5 security groups that can be specified per ``awsvpcConfiguration``. + /// The IDs of the security groups associated with the task or service. If you don't specify a security group, the default security group for the VPC is used. There's a limit of 5 security groups that can be specified. /// All specified security groups must be from the same VPC. /// public InputList SecurityGroups @@ -38,7 +38,7 @@ public InputList SecurityGroups private InputList? _subnets; /// - /// The IDs of the subnets associated with the task or service. There's a limit of 16 subnets that can be specified per ``awsvpcConfiguration``. + /// The IDs of the subnets associated with the task or service. There's a limit of 16 subnets that can be specified. /// All specified subnets must be from the same VPC. /// public InputList Subnets diff --git a/sdk/dotnet/Ecs/Inputs/ServiceManagedEbsVolumeConfigurationArgs.cs b/sdk/dotnet/Ecs/Inputs/ServiceManagedEbsVolumeConfigurationArgs.cs index 0beafe2e78..5754a45d3b 100644 --- a/sdk/dotnet/Ecs/Inputs/ServiceManagedEbsVolumeConfigurationArgs.cs +++ b/sdk/dotnet/Ecs/Inputs/ServiceManagedEbsVolumeConfigurationArgs.cs @@ -93,9 +93,6 @@ public InputList TagSpecifications [Input("throughput")] public Input? Throughput { get; set; } - [Input("volumeInitializationRate")] - public Input? VolumeInitializationRate { get; set; } - /// /// The volume type. This parameter maps 1:1 with the ``VolumeType`` parameter of the [CreateVolume API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateVolume.html) in the *Amazon EC2 API Reference*. For more information, see [Amazon EBS volume types](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-volume-types.html) in the *Amazon EC2 User Guide*. /// The following are the supported volume types. diff --git a/sdk/dotnet/Ecs/Outputs/ServiceAwsVpcConfiguration.cs b/sdk/dotnet/Ecs/Outputs/ServiceAwsVpcConfiguration.cs index 5cf6c0b229..b02aa36698 100644 --- a/sdk/dotnet/Ecs/Outputs/ServiceAwsVpcConfiguration.cs +++ b/sdk/dotnet/Ecs/Outputs/ServiceAwsVpcConfiguration.cs @@ -21,12 +21,12 @@ public sealed class ServiceAwsVpcConfiguration /// public readonly Pulumi.AwsNative.Ecs.ServiceAwsVpcConfigurationAssignPublicIp? AssignPublicIp; /// - /// The IDs of the security groups associated with the task or service. If you don't specify a security group, the default security group for the VPC is used. There's a limit of 5 security groups that can be specified per ``awsvpcConfiguration``. + /// The IDs of the security groups associated with the task or service. If you don't specify a security group, the default security group for the VPC is used. There's a limit of 5 security groups that can be specified. /// All specified security groups must be from the same VPC. /// public readonly ImmutableArray SecurityGroups; /// - /// The IDs of the subnets associated with the task or service. There's a limit of 16 subnets that can be specified per ``awsvpcConfiguration``. + /// The IDs of the subnets associated with the task or service. There's a limit of 16 subnets that can be specified. /// All specified subnets must be from the same VPC. /// public readonly ImmutableArray Subnets; diff --git a/sdk/dotnet/Ecs/Outputs/ServiceManagedEbsVolumeConfiguration.cs b/sdk/dotnet/Ecs/Outputs/ServiceManagedEbsVolumeConfiguration.cs index 58546fedc7..91a5e6d95c 100644 --- a/sdk/dotnet/Ecs/Outputs/ServiceManagedEbsVolumeConfiguration.cs +++ b/sdk/dotnet/Ecs/Outputs/ServiceManagedEbsVolumeConfiguration.cs @@ -70,7 +70,6 @@ public sealed class ServiceManagedEbsVolumeConfiguration /// This parameter is only supported for the ``gp3`` volume type. /// public readonly int? Throughput; - public readonly int? VolumeInitializationRate; /// /// The volume type. This parameter maps 1:1 with the ``VolumeType`` parameter of the [CreateVolume API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateVolume.html) in the *Amazon EC2 API Reference*. For more information, see [Amazon EBS volume types](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-volume-types.html) in the *Amazon EC2 User Guide*. /// The following are the supported volume types. @@ -103,8 +102,6 @@ private ServiceManagedEbsVolumeConfiguration( int? throughput, - int? volumeInitializationRate, - string? volumeType) { Encrypted = encrypted; @@ -116,7 +113,6 @@ private ServiceManagedEbsVolumeConfiguration( SnapshotId = snapshotId; TagSpecifications = tagSpecifications; Throughput = throughput; - VolumeInitializationRate = volumeInitializationRate; VolumeType = volumeType; } } diff --git a/sdk/dotnet/IoTSiteWise/Enums.cs b/sdk/dotnet/IoTSiteWise/Enums.cs index 9897147549..cb542a0bd7 100644 --- a/sdk/dotnet/IoTSiteWise/Enums.cs +++ b/sdk/dotnet/IoTSiteWise/Enums.cs @@ -126,6 +126,38 @@ private AssetPropertyNotificationState(string value) public override string ToString() => _value; } + /// + /// The operating system of the core device in AWS IoT Greengrass V2. + /// + [EnumType] + public readonly struct GatewayGreengrassV2CoreDeviceOperatingSystem : IEquatable + { + private readonly string _value; + + private GatewayGreengrassV2CoreDeviceOperatingSystem(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static GatewayGreengrassV2CoreDeviceOperatingSystem LinuxAarch64 { get; } = new GatewayGreengrassV2CoreDeviceOperatingSystem("LINUX_AARCH64"); + public static GatewayGreengrassV2CoreDeviceOperatingSystem LinuxAmd64 { get; } = new GatewayGreengrassV2CoreDeviceOperatingSystem("LINUX_AMD64"); + public static GatewayGreengrassV2CoreDeviceOperatingSystem WindowsAmd64 { get; } = new GatewayGreengrassV2CoreDeviceOperatingSystem("WINDOWS_AMD64"); + + public static bool operator ==(GatewayGreengrassV2CoreDeviceOperatingSystem left, GatewayGreengrassV2CoreDeviceOperatingSystem right) => left.Equals(right); + public static bool operator !=(GatewayGreengrassV2CoreDeviceOperatingSystem left, GatewayGreengrassV2CoreDeviceOperatingSystem right) => !left.Equals(right); + + public static explicit operator string(GatewayGreengrassV2CoreDeviceOperatingSystem value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is GatewayGreengrassV2CoreDeviceOperatingSystem other && Equals(other); + public bool Equals(GatewayGreengrassV2CoreDeviceOperatingSystem other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + /// /// The type of portal /// diff --git a/sdk/dotnet/IoTSiteWise/Gateway.cs b/sdk/dotnet/IoTSiteWise/Gateway.cs index faf739f4bd..f2cd090e7b 100644 --- a/sdk/dotnet/IoTSiteWise/Gateway.cs +++ b/sdk/dotnet/IoTSiteWise/Gateway.cs @@ -39,6 +39,12 @@ public partial class Gateway : global::Pulumi.CustomResource [Output("gatewayPlatform")] public Output GatewayPlatform { get; private set; } = null!; + /// + /// The version of the gateway you want to create. + /// + [Output("gatewayVersion")] + public Output GatewayVersion { get; private set; } = null!; + /// /// A list of key-value pairs that contain metadata for the gateway. /// @@ -71,6 +77,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? ReplaceOnChanges = { "gatewayPlatform", + "gatewayVersion", }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); @@ -118,6 +125,12 @@ public InputList GatewayCapabilitySummaries [Input("gatewayPlatform", required: true)] public Input GatewayPlatform { get; set; } = null!; + /// + /// The version of the gateway you want to create. + /// + [Input("gatewayVersion")] + public Input? GatewayVersion { get; set; } + [Input("tags")] private InputList? _tags; diff --git a/sdk/dotnet/IoTSiteWise/Inputs/GatewayGreengrassArgs.cs b/sdk/dotnet/IoTSiteWise/Inputs/GatewayGreengrassArgs.cs deleted file mode 100644 index 1640e8ea7a..0000000000 --- a/sdk/dotnet/IoTSiteWise/Inputs/GatewayGreengrassArgs.cs +++ /dev/null @@ -1,29 +0,0 @@ -// *** WARNING: this file was generated by pulumi. *** -// *** 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.AwsNative.IoTSiteWise.Inputs -{ - - /// - /// Contains the ARN of AWS IoT Greengrass Group V1 that the gateway runs on. - /// - public sealed class GatewayGreengrassArgs : global::Pulumi.ResourceArgs - { - /// - /// The ARN of the Greengrass group. - /// - [Input("groupArn", required: true)] - public Input GroupArn { get; set; } = null!; - - public GatewayGreengrassArgs() - { - } - public static new GatewayGreengrassArgs Empty => new GatewayGreengrassArgs(); - } -} diff --git a/sdk/dotnet/IoTSiteWise/Inputs/GatewayGreengrassV2Args.cs b/sdk/dotnet/IoTSiteWise/Inputs/GatewayGreengrassV2Args.cs index b0a0cecf1d..fb9b3e128f 100644 --- a/sdk/dotnet/IoTSiteWise/Inputs/GatewayGreengrassV2Args.cs +++ b/sdk/dotnet/IoTSiteWise/Inputs/GatewayGreengrassV2Args.cs @@ -15,6 +15,12 @@ namespace Pulumi.AwsNative.IoTSiteWise.Inputs /// public sealed class GatewayGreengrassV2Args : global::Pulumi.ResourceArgs { + /// + /// The operating system of the core device in AWS IoT Greengrass V2. + /// + [Input("coreDeviceOperatingSystem")] + public Input? CoreDeviceOperatingSystem { get; set; } + /// /// The name of the CoreDevice in GreenGrass V2. /// diff --git a/sdk/dotnet/IoTSiteWise/Inputs/GatewayPlatformArgs.cs b/sdk/dotnet/IoTSiteWise/Inputs/GatewayPlatformArgs.cs index f5bfc109e2..73819f7e78 100644 --- a/sdk/dotnet/IoTSiteWise/Inputs/GatewayPlatformArgs.cs +++ b/sdk/dotnet/IoTSiteWise/Inputs/GatewayPlatformArgs.cs @@ -19,7 +19,7 @@ public sealed class GatewayPlatformArgs : global::Pulumi.ResourceArgs /// A gateway that runs on AWS IoT Greengrass V1. /// [Input("greengrass")] - public Input? Greengrass { get; set; } + public Input? Greengrass { get; set; } /// /// A gateway that runs on AWS IoT Greengrass V2. diff --git a/sdk/dotnet/IoTSiteWise/Outputs/GatewayGreengrass.cs b/sdk/dotnet/IoTSiteWise/Outputs/GatewayGreengrass.cs deleted file mode 100644 index b0fb0b9e7c..0000000000 --- a/sdk/dotnet/IoTSiteWise/Outputs/GatewayGreengrass.cs +++ /dev/null @@ -1,30 +0,0 @@ -// *** WARNING: this file was generated by pulumi. *** -// *** 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.AwsNative.IoTSiteWise.Outputs -{ - - /// - /// Contains the ARN of AWS IoT Greengrass Group V1 that the gateway runs on. - /// - [OutputType] - public sealed class GatewayGreengrass - { - /// - /// The ARN of the Greengrass group. - /// - public readonly string GroupArn; - - [OutputConstructor] - private GatewayGreengrass(string groupArn) - { - GroupArn = groupArn; - } - } -} diff --git a/sdk/dotnet/IoTSiteWise/Outputs/GatewayGreengrassV2.cs b/sdk/dotnet/IoTSiteWise/Outputs/GatewayGreengrassV2.cs index 8faaf4861d..0de0e4a05b 100644 --- a/sdk/dotnet/IoTSiteWise/Outputs/GatewayGreengrassV2.cs +++ b/sdk/dotnet/IoTSiteWise/Outputs/GatewayGreengrassV2.cs @@ -16,14 +16,22 @@ namespace Pulumi.AwsNative.IoTSiteWise.Outputs [OutputType] public sealed class GatewayGreengrassV2 { + /// + /// The operating system of the core device in AWS IoT Greengrass V2. + /// + public readonly Pulumi.AwsNative.IoTSiteWise.GatewayGreengrassV2CoreDeviceOperatingSystem? CoreDeviceOperatingSystem; /// /// The name of the CoreDevice in GreenGrass V2. /// public readonly string CoreDeviceThingName; [OutputConstructor] - private GatewayGreengrassV2(string coreDeviceThingName) + private GatewayGreengrassV2( + Pulumi.AwsNative.IoTSiteWise.GatewayGreengrassV2CoreDeviceOperatingSystem? coreDeviceOperatingSystem, + + string coreDeviceThingName) { + CoreDeviceOperatingSystem = coreDeviceOperatingSystem; CoreDeviceThingName = coreDeviceThingName; } } diff --git a/sdk/dotnet/IoTSiteWise/Outputs/GatewayPlatform.cs b/sdk/dotnet/IoTSiteWise/Outputs/GatewayPlatform.cs index 4c667ef6cc..7d55c8d985 100644 --- a/sdk/dotnet/IoTSiteWise/Outputs/GatewayPlatform.cs +++ b/sdk/dotnet/IoTSiteWise/Outputs/GatewayPlatform.cs @@ -19,7 +19,7 @@ public sealed class GatewayPlatform /// /// A gateway that runs on AWS IoT Greengrass V1. /// - public readonly Outputs.GatewayGreengrass? Greengrass; + public readonly object? Greengrass; /// /// A gateway that runs on AWS IoT Greengrass V2. /// @@ -31,7 +31,7 @@ public sealed class GatewayPlatform [OutputConstructor] private GatewayPlatform( - Outputs.GatewayGreengrass? greengrass, + object? greengrass, Outputs.GatewayGreengrassV2? greengrassV2, diff --git a/sdk/dotnet/KinesisFirehose/DeliveryStream.cs b/sdk/dotnet/KinesisFirehose/DeliveryStream.cs index 022ccd9819..e32cda44e5 100644 --- a/sdk/dotnet/KinesisFirehose/DeliveryStream.cs +++ b/sdk/dotnet/KinesisFirehose/DeliveryStream.cs @@ -62,6 +62,9 @@ public partial class DeliveryStream : global::Pulumi.CustomResource [Output("deliveryStreamType")] public Output DeliveryStreamType { get; private set; } = null!; + [Output("directPutSourceConfiguration")] + public Output DirectPutSourceConfiguration { get; private set; } = null!; + /// /// An Amazon ES destination for the delivery stream. /// @@ -184,6 +187,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? "databaseSourceConfiguration", "deliveryStreamName", "deliveryStreamType", + "directPutSourceConfiguration", "elasticsearchDestinationConfiguration.vpcConfiguration", "icebergDestinationConfiguration", "kinesisStreamSourceConfiguration", @@ -253,6 +257,9 @@ public sealed class DeliveryStreamArgs : global::Pulumi.ResourceArgs [Input("deliveryStreamType")] public Input? DeliveryStreamType { get; set; } + [Input("directPutSourceConfiguration")] + public Input? DirectPutSourceConfiguration { get; set; } + /// /// An Amazon ES destination for the delivery stream. /// diff --git a/sdk/dotnet/KinesisFirehose/Inputs/DeliveryStreamDirectPutSourceConfigurationArgs.cs b/sdk/dotnet/KinesisFirehose/Inputs/DeliveryStreamDirectPutSourceConfigurationArgs.cs new file mode 100644 index 0000000000..2cda514bc7 --- /dev/null +++ b/sdk/dotnet/KinesisFirehose/Inputs/DeliveryStreamDirectPutSourceConfigurationArgs.cs @@ -0,0 +1,23 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AwsNative.KinesisFirehose.Inputs +{ + + public sealed class DeliveryStreamDirectPutSourceConfigurationArgs : global::Pulumi.ResourceArgs + { + [Input("throughputHintInMbs")] + public Input? ThroughputHintInMbs { get; set; } + + public DeliveryStreamDirectPutSourceConfigurationArgs() + { + } + public static new DeliveryStreamDirectPutSourceConfigurationArgs Empty => new DeliveryStreamDirectPutSourceConfigurationArgs(); + } +} diff --git a/sdk/dotnet/KinesisFirehose/Inputs/DeliveryStreamIcebergDestinationConfigurationArgs.cs b/sdk/dotnet/KinesisFirehose/Inputs/DeliveryStreamIcebergDestinationConfigurationArgs.cs index d3f81be856..29acf3576b 100644 --- a/sdk/dotnet/KinesisFirehose/Inputs/DeliveryStreamIcebergDestinationConfigurationArgs.cs +++ b/sdk/dotnet/KinesisFirehose/Inputs/DeliveryStreamIcebergDestinationConfigurationArgs.cs @@ -12,6 +12,9 @@ namespace Pulumi.AwsNative.KinesisFirehose.Inputs public sealed class DeliveryStreamIcebergDestinationConfigurationArgs : global::Pulumi.ResourceArgs { + [Input("appendOnly")] + public Input? AppendOnly { get; set; } + [Input("bufferingHints")] public Input? BufferingHints { get; set; } diff --git a/sdk/dotnet/KinesisFirehose/Outputs/DeliveryStreamDirectPutSourceConfiguration.cs b/sdk/dotnet/KinesisFirehose/Outputs/DeliveryStreamDirectPutSourceConfiguration.cs new file mode 100644 index 0000000000..a38f77cd73 --- /dev/null +++ b/sdk/dotnet/KinesisFirehose/Outputs/DeliveryStreamDirectPutSourceConfiguration.cs @@ -0,0 +1,24 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AwsNative.KinesisFirehose.Outputs +{ + + [OutputType] + public sealed class DeliveryStreamDirectPutSourceConfiguration + { + public readonly int? ThroughputHintInMbs; + + [OutputConstructor] + private DeliveryStreamDirectPutSourceConfiguration(int? throughputHintInMbs) + { + ThroughputHintInMbs = throughputHintInMbs; + } + } +} diff --git a/sdk/dotnet/KinesisFirehose/Outputs/DeliveryStreamIcebergDestinationConfiguration.cs b/sdk/dotnet/KinesisFirehose/Outputs/DeliveryStreamIcebergDestinationConfiguration.cs index cff3ad4af9..85a4a6d072 100644 --- a/sdk/dotnet/KinesisFirehose/Outputs/DeliveryStreamIcebergDestinationConfiguration.cs +++ b/sdk/dotnet/KinesisFirehose/Outputs/DeliveryStreamIcebergDestinationConfiguration.cs @@ -13,6 +13,7 @@ namespace Pulumi.AwsNative.KinesisFirehose.Outputs [OutputType] public sealed class DeliveryStreamIcebergDestinationConfiguration { + public readonly bool? AppendOnly; public readonly Outputs.DeliveryStreamBufferingHints? BufferingHints; /// /// Configuration describing where the destination Apache Iceberg Tables are persisted. @@ -37,6 +38,8 @@ public sealed class DeliveryStreamIcebergDestinationConfiguration [OutputConstructor] private DeliveryStreamIcebergDestinationConfiguration( + bool? appendOnly, + Outputs.DeliveryStreamBufferingHints? bufferingHints, Outputs.DeliveryStreamCatalogConfiguration catalogConfiguration, @@ -55,6 +58,7 @@ private DeliveryStreamIcebergDestinationConfiguration( Outputs.DeliveryStreamS3DestinationConfiguration s3Configuration) { + AppendOnly = appendOnly; BufferingHints = bufferingHints; CatalogConfiguration = catalogConfiguration; CloudWatchLoggingOptions = cloudWatchLoggingOptions; diff --git a/sdk/go/aws/aps/getScraper.go b/sdk/go/aws/aps/getScraper.go index a5fe259cb4..2cff914e10 100644 --- a/sdk/go/aws/aps/getScraper.go +++ b/sdk/go/aws/aps/getScraper.go @@ -36,7 +36,8 @@ type LookupScraperResult struct { // The Amazon Managed Service for Prometheus workspace the scraper sends metrics to. Destination *ScraperDestination `pulumi:"destination"` // IAM role ARN for the scraper. - RoleArn *string `pulumi:"roleArn"` + RoleArn *string `pulumi:"roleArn"` + RoleConfiguration *ScraperRoleConfiguration `pulumi:"roleConfiguration"` // The configuration in use by the scraper. ScrapeConfiguration *ScraperScrapeConfiguration `pulumi:"scrapeConfiguration"` // Required to identify a specific scraper. @@ -97,6 +98,10 @@ func (o LookupScraperResultOutput) RoleArn() pulumi.StringPtrOutput { return o.ApplyT(func(v LookupScraperResult) *string { return v.RoleArn }).(pulumi.StringPtrOutput) } +func (o LookupScraperResultOutput) RoleConfiguration() ScraperRoleConfigurationPtrOutput { + return o.ApplyT(func(v LookupScraperResult) *ScraperRoleConfiguration { return v.RoleConfiguration }).(ScraperRoleConfigurationPtrOutput) +} + // The configuration in use by the scraper. func (o LookupScraperResultOutput) ScrapeConfiguration() ScraperScrapeConfigurationPtrOutput { return o.ApplyT(func(v LookupScraperResult) *ScraperScrapeConfiguration { return v.ScrapeConfiguration }).(ScraperScrapeConfigurationPtrOutput) diff --git a/sdk/go/aws/aps/pulumiTypes.go b/sdk/go/aws/aps/pulumiTypes.go index b63d93ed06..8517b1020e 100644 --- a/sdk/go/aws/aps/pulumiTypes.go +++ b/sdk/go/aws/aps/pulumiTypes.go @@ -250,6 +250,165 @@ func (o ScraperDestinationAmpConfigurationPropertiesPtrOutput) WorkspaceArn() pu }).(pulumi.StringPtrOutput) } +// Role configuration +type ScraperRoleConfiguration struct { + // IAM Role in source account + SourceRoleArn *string `pulumi:"sourceRoleArn"` + // IAM Role in the target account + TargetRoleArn *string `pulumi:"targetRoleArn"` +} + +// ScraperRoleConfigurationInput is an input type that accepts ScraperRoleConfigurationArgs and ScraperRoleConfigurationOutput values. +// You can construct a concrete instance of `ScraperRoleConfigurationInput` via: +// +// ScraperRoleConfigurationArgs{...} +type ScraperRoleConfigurationInput interface { + pulumi.Input + + ToScraperRoleConfigurationOutput() ScraperRoleConfigurationOutput + ToScraperRoleConfigurationOutputWithContext(context.Context) ScraperRoleConfigurationOutput +} + +// Role configuration +type ScraperRoleConfigurationArgs struct { + // IAM Role in source account + SourceRoleArn pulumi.StringPtrInput `pulumi:"sourceRoleArn"` + // IAM Role in the target account + TargetRoleArn pulumi.StringPtrInput `pulumi:"targetRoleArn"` +} + +func (ScraperRoleConfigurationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ScraperRoleConfiguration)(nil)).Elem() +} + +func (i ScraperRoleConfigurationArgs) ToScraperRoleConfigurationOutput() ScraperRoleConfigurationOutput { + return i.ToScraperRoleConfigurationOutputWithContext(context.Background()) +} + +func (i ScraperRoleConfigurationArgs) ToScraperRoleConfigurationOutputWithContext(ctx context.Context) ScraperRoleConfigurationOutput { + return pulumi.ToOutputWithContext(ctx, i).(ScraperRoleConfigurationOutput) +} + +func (i ScraperRoleConfigurationArgs) ToScraperRoleConfigurationPtrOutput() ScraperRoleConfigurationPtrOutput { + return i.ToScraperRoleConfigurationPtrOutputWithContext(context.Background()) +} + +func (i ScraperRoleConfigurationArgs) ToScraperRoleConfigurationPtrOutputWithContext(ctx context.Context) ScraperRoleConfigurationPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ScraperRoleConfigurationOutput).ToScraperRoleConfigurationPtrOutputWithContext(ctx) +} + +// ScraperRoleConfigurationPtrInput is an input type that accepts ScraperRoleConfigurationArgs, ScraperRoleConfigurationPtr and ScraperRoleConfigurationPtrOutput values. +// You can construct a concrete instance of `ScraperRoleConfigurationPtrInput` via: +// +// ScraperRoleConfigurationArgs{...} +// +// or: +// +// nil +type ScraperRoleConfigurationPtrInput interface { + pulumi.Input + + ToScraperRoleConfigurationPtrOutput() ScraperRoleConfigurationPtrOutput + ToScraperRoleConfigurationPtrOutputWithContext(context.Context) ScraperRoleConfigurationPtrOutput +} + +type scraperRoleConfigurationPtrType ScraperRoleConfigurationArgs + +func ScraperRoleConfigurationPtr(v *ScraperRoleConfigurationArgs) ScraperRoleConfigurationPtrInput { + return (*scraperRoleConfigurationPtrType)(v) +} + +func (*scraperRoleConfigurationPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ScraperRoleConfiguration)(nil)).Elem() +} + +func (i *scraperRoleConfigurationPtrType) ToScraperRoleConfigurationPtrOutput() ScraperRoleConfigurationPtrOutput { + return i.ToScraperRoleConfigurationPtrOutputWithContext(context.Background()) +} + +func (i *scraperRoleConfigurationPtrType) ToScraperRoleConfigurationPtrOutputWithContext(ctx context.Context) ScraperRoleConfigurationPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ScraperRoleConfigurationPtrOutput) +} + +// Role configuration +type ScraperRoleConfigurationOutput struct{ *pulumi.OutputState } + +func (ScraperRoleConfigurationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ScraperRoleConfiguration)(nil)).Elem() +} + +func (o ScraperRoleConfigurationOutput) ToScraperRoleConfigurationOutput() ScraperRoleConfigurationOutput { + return o +} + +func (o ScraperRoleConfigurationOutput) ToScraperRoleConfigurationOutputWithContext(ctx context.Context) ScraperRoleConfigurationOutput { + return o +} + +func (o ScraperRoleConfigurationOutput) ToScraperRoleConfigurationPtrOutput() ScraperRoleConfigurationPtrOutput { + return o.ToScraperRoleConfigurationPtrOutputWithContext(context.Background()) +} + +func (o ScraperRoleConfigurationOutput) ToScraperRoleConfigurationPtrOutputWithContext(ctx context.Context) ScraperRoleConfigurationPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ScraperRoleConfiguration) *ScraperRoleConfiguration { + return &v + }).(ScraperRoleConfigurationPtrOutput) +} + +// IAM Role in source account +func (o ScraperRoleConfigurationOutput) SourceRoleArn() pulumi.StringPtrOutput { + return o.ApplyT(func(v ScraperRoleConfiguration) *string { return v.SourceRoleArn }).(pulumi.StringPtrOutput) +} + +// IAM Role in the target account +func (o ScraperRoleConfigurationOutput) TargetRoleArn() pulumi.StringPtrOutput { + return o.ApplyT(func(v ScraperRoleConfiguration) *string { return v.TargetRoleArn }).(pulumi.StringPtrOutput) +} + +type ScraperRoleConfigurationPtrOutput struct{ *pulumi.OutputState } + +func (ScraperRoleConfigurationPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ScraperRoleConfiguration)(nil)).Elem() +} + +func (o ScraperRoleConfigurationPtrOutput) ToScraperRoleConfigurationPtrOutput() ScraperRoleConfigurationPtrOutput { + return o +} + +func (o ScraperRoleConfigurationPtrOutput) ToScraperRoleConfigurationPtrOutputWithContext(ctx context.Context) ScraperRoleConfigurationPtrOutput { + return o +} + +func (o ScraperRoleConfigurationPtrOutput) Elem() ScraperRoleConfigurationOutput { + return o.ApplyT(func(v *ScraperRoleConfiguration) ScraperRoleConfiguration { + if v != nil { + return *v + } + var ret ScraperRoleConfiguration + return ret + }).(ScraperRoleConfigurationOutput) +} + +// IAM Role in source account +func (o ScraperRoleConfigurationPtrOutput) SourceRoleArn() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ScraperRoleConfiguration) *string { + if v == nil { + return nil + } + return v.SourceRoleArn + }).(pulumi.StringPtrOutput) +} + +// IAM Role in the target account +func (o ScraperRoleConfigurationPtrOutput) TargetRoleArn() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ScraperRoleConfiguration) *string { + if v == nil { + return nil + } + return v.TargetRoleArn + }).(pulumi.StringPtrOutput) +} + // Scraper configuration type ScraperScrapeConfiguration struct { // Prometheus compatible scrape configuration in base64 encoded blob format @@ -732,6 +891,8 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*ScraperDestinationInput)(nil)).Elem(), ScraperDestinationArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ScraperDestinationAmpConfigurationPropertiesInput)(nil)).Elem(), ScraperDestinationAmpConfigurationPropertiesArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ScraperDestinationAmpConfigurationPropertiesPtrInput)(nil)).Elem(), ScraperDestinationAmpConfigurationPropertiesArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ScraperRoleConfigurationInput)(nil)).Elem(), ScraperRoleConfigurationArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ScraperRoleConfigurationPtrInput)(nil)).Elem(), ScraperRoleConfigurationArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ScraperScrapeConfigurationInput)(nil)).Elem(), ScraperScrapeConfigurationArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ScraperSourceInput)(nil)).Elem(), ScraperSourceArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ScraperSourceEksConfigurationPropertiesInput)(nil)).Elem(), ScraperSourceEksConfigurationPropertiesArgs{}) @@ -742,6 +903,8 @@ func init() { pulumi.RegisterOutputType(ScraperDestinationPtrOutput{}) pulumi.RegisterOutputType(ScraperDestinationAmpConfigurationPropertiesOutput{}) pulumi.RegisterOutputType(ScraperDestinationAmpConfigurationPropertiesPtrOutput{}) + pulumi.RegisterOutputType(ScraperRoleConfigurationOutput{}) + pulumi.RegisterOutputType(ScraperRoleConfigurationPtrOutput{}) pulumi.RegisterOutputType(ScraperScrapeConfigurationOutput{}) pulumi.RegisterOutputType(ScraperScrapeConfigurationPtrOutput{}) pulumi.RegisterOutputType(ScraperSourceOutput{}) diff --git a/sdk/go/aws/aps/scraper.go b/sdk/go/aws/aps/scraper.go index cdfc3fbabd..b5e536b174 100644 --- a/sdk/go/aws/aps/scraper.go +++ b/sdk/go/aws/aps/scraper.go @@ -24,7 +24,8 @@ type Scraper struct { // The Amazon Managed Service for Prometheus workspace the scraper sends metrics to. Destination ScraperDestinationOutput `pulumi:"destination"` // IAM role ARN for the scraper. - RoleArn pulumi.StringOutput `pulumi:"roleArn"` + RoleArn pulumi.StringOutput `pulumi:"roleArn"` + RoleConfiguration ScraperRoleConfigurationPtrOutput `pulumi:"roleConfiguration"` // The configuration in use by the scraper. ScrapeConfiguration ScraperScrapeConfigurationOutput `pulumi:"scrapeConfiguration"` // Required to identify a specific scraper. @@ -91,7 +92,8 @@ type scraperArgs struct { // Scraper alias. Alias *string `pulumi:"alias"` // The Amazon Managed Service for Prometheus workspace the scraper sends metrics to. - Destination ScraperDestination `pulumi:"destination"` + Destination ScraperDestination `pulumi:"destination"` + RoleConfiguration *ScraperRoleConfiguration `pulumi:"roleConfiguration"` // The configuration in use by the scraper. ScrapeConfiguration ScraperScrapeConfiguration `pulumi:"scrapeConfiguration"` // The Amazon EKS cluster from which the scraper collects metrics. @@ -105,7 +107,8 @@ type ScraperArgs struct { // Scraper alias. Alias pulumi.StringPtrInput // The Amazon Managed Service for Prometheus workspace the scraper sends metrics to. - Destination ScraperDestinationInput + Destination ScraperDestinationInput + RoleConfiguration ScraperRoleConfigurationPtrInput // The configuration in use by the scraper. ScrapeConfiguration ScraperScrapeConfigurationInput // The Amazon EKS cluster from which the scraper collects metrics. @@ -171,6 +174,10 @@ func (o ScraperOutput) RoleArn() pulumi.StringOutput { return o.ApplyT(func(v *Scraper) pulumi.StringOutput { return v.RoleArn }).(pulumi.StringOutput) } +func (o ScraperOutput) RoleConfiguration() ScraperRoleConfigurationPtrOutput { + return o.ApplyT(func(v *Scraper) ScraperRoleConfigurationPtrOutput { return v.RoleConfiguration }).(ScraperRoleConfigurationPtrOutput) +} + // The configuration in use by the scraper. func (o ScraperOutput) ScrapeConfiguration() ScraperScrapeConfigurationOutput { return o.ApplyT(func(v *Scraper) ScraperScrapeConfigurationOutput { return v.ScrapeConfiguration }).(ScraperScrapeConfigurationOutput) diff --git a/sdk/go/aws/batch/pulumiTypes.go b/sdk/go/aws/batch/pulumiTypes.go index 0383f03b91..83aad440bd 100644 --- a/sdk/go/aws/batch/pulumiTypes.go +++ b/sdk/go/aws/batch/pulumiTypes.go @@ -4060,7 +4060,8 @@ type JobDefinitionEksContainerVolumeMount struct { // The name the volume mount. This must match the name of one of the volumes in the pod. Name *string `pulumi:"name"` // If this value is `true` , the container has read-only access to the volume. Otherwise, the container can write to the volume. The default value is `false` . - ReadOnly *bool `pulumi:"readOnly"` + ReadOnly *bool `pulumi:"readOnly"` + SubPath *string `pulumi:"subPath"` } // JobDefinitionEksContainerVolumeMountInput is an input type that accepts JobDefinitionEksContainerVolumeMountArgs and JobDefinitionEksContainerVolumeMountOutput values. @@ -4080,7 +4081,8 @@ type JobDefinitionEksContainerVolumeMountArgs struct { // The name the volume mount. This must match the name of one of the volumes in the pod. Name pulumi.StringPtrInput `pulumi:"name"` // If this value is `true` , the container has read-only access to the volume. Otherwise, the container can write to the volume. The default value is `false` . - ReadOnly pulumi.BoolPtrInput `pulumi:"readOnly"` + ReadOnly pulumi.BoolPtrInput `pulumi:"readOnly"` + SubPath pulumi.StringPtrInput `pulumi:"subPath"` } func (JobDefinitionEksContainerVolumeMountArgs) ElementType() reflect.Type { @@ -4149,6 +4151,10 @@ func (o JobDefinitionEksContainerVolumeMountOutput) ReadOnly() pulumi.BoolPtrOut return o.ApplyT(func(v JobDefinitionEksContainerVolumeMount) *bool { return v.ReadOnly }).(pulumi.BoolPtrOutput) } +func (o JobDefinitionEksContainerVolumeMountOutput) SubPath() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobDefinitionEksContainerVolumeMount) *string { return v.SubPath }).(pulumi.StringPtrOutput) +} + type JobDefinitionEksContainerVolumeMountArrayOutput struct{ *pulumi.OutputState } func (JobDefinitionEksContainerVolumeMountArrayOutput) ElementType() reflect.Type { @@ -4475,8 +4481,10 @@ func (o JobDefinitionEksHostPathPtrOutput) Path() pulumi.StringPtrOutput { } type JobDefinitionEksMetadata struct { + Annotations map[string]string `pulumi:"annotations"` // Key-value pairs used to identify, sort, and organize cube resources. Can contain up to 63 uppercase letters, lowercase letters, numbers, hyphens (-), and underscores (_). Labels can be added or modified at any time. Each resource can have multiple labels, but each key must be unique for a given object. - Labels map[string]string `pulumi:"labels"` + Labels map[string]string `pulumi:"labels"` + Namespace *string `pulumi:"namespace"` } // JobDefinitionEksMetadataInput is an input type that accepts JobDefinitionEksMetadataArgs and JobDefinitionEksMetadataOutput values. @@ -4491,8 +4499,10 @@ type JobDefinitionEksMetadataInput interface { } type JobDefinitionEksMetadataArgs struct { + Annotations pulumi.StringMapInput `pulumi:"annotations"` // Key-value pairs used to identify, sort, and organize cube resources. Can contain up to 63 uppercase letters, lowercase letters, numbers, hyphens (-), and underscores (_). Labels can be added or modified at any time. Each resource can have multiple labels, but each key must be unique for a given object. - Labels pulumi.StringMapInput `pulumi:"labels"` + Labels pulumi.StringMapInput `pulumi:"labels"` + Namespace pulumi.StringPtrInput `pulumi:"namespace"` } func (JobDefinitionEksMetadataArgs) ElementType() reflect.Type { @@ -4572,11 +4582,19 @@ func (o JobDefinitionEksMetadataOutput) ToJobDefinitionEksMetadataPtrOutputWithC }).(JobDefinitionEksMetadataPtrOutput) } +func (o JobDefinitionEksMetadataOutput) Annotations() pulumi.StringMapOutput { + return o.ApplyT(func(v JobDefinitionEksMetadata) map[string]string { return v.Annotations }).(pulumi.StringMapOutput) +} + // Key-value pairs used to identify, sort, and organize cube resources. Can contain up to 63 uppercase letters, lowercase letters, numbers, hyphens (-), and underscores (_). Labels can be added or modified at any time. Each resource can have multiple labels, but each key must be unique for a given object. func (o JobDefinitionEksMetadataOutput) Labels() pulumi.StringMapOutput { return o.ApplyT(func(v JobDefinitionEksMetadata) map[string]string { return v.Labels }).(pulumi.StringMapOutput) } +func (o JobDefinitionEksMetadataOutput) Namespace() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobDefinitionEksMetadata) *string { return v.Namespace }).(pulumi.StringPtrOutput) +} + type JobDefinitionEksMetadataPtrOutput struct{ *pulumi.OutputState } func (JobDefinitionEksMetadataPtrOutput) ElementType() reflect.Type { @@ -4601,6 +4619,15 @@ func (o JobDefinitionEksMetadataPtrOutput) Elem() JobDefinitionEksMetadataOutput }).(JobDefinitionEksMetadataOutput) } +func (o JobDefinitionEksMetadataPtrOutput) Annotations() pulumi.StringMapOutput { + return o.ApplyT(func(v *JobDefinitionEksMetadata) map[string]string { + if v == nil { + return nil + } + return v.Annotations + }).(pulumi.StringMapOutput) +} + // Key-value pairs used to identify, sort, and organize cube resources. Can contain up to 63 uppercase letters, lowercase letters, numbers, hyphens (-), and underscores (_). Labels can be added or modified at any time. Each resource can have multiple labels, but each key must be unique for a given object. func (o JobDefinitionEksMetadataPtrOutput) Labels() pulumi.StringMapOutput { return o.ApplyT(func(v *JobDefinitionEksMetadata) map[string]string { @@ -4611,6 +4638,163 @@ func (o JobDefinitionEksMetadataPtrOutput) Labels() pulumi.StringMapOutput { }).(pulumi.StringMapOutput) } +func (o JobDefinitionEksMetadataPtrOutput) Namespace() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobDefinitionEksMetadata) *string { + if v == nil { + return nil + } + return v.Namespace + }).(pulumi.StringPtrOutput) +} + +type JobDefinitionEksPersistentVolumeClaim struct { + ClaimName string `pulumi:"claimName"` + ReadOnly *bool `pulumi:"readOnly"` +} + +// JobDefinitionEksPersistentVolumeClaimInput is an input type that accepts JobDefinitionEksPersistentVolumeClaimArgs and JobDefinitionEksPersistentVolumeClaimOutput values. +// You can construct a concrete instance of `JobDefinitionEksPersistentVolumeClaimInput` via: +// +// JobDefinitionEksPersistentVolumeClaimArgs{...} +type JobDefinitionEksPersistentVolumeClaimInput interface { + pulumi.Input + + ToJobDefinitionEksPersistentVolumeClaimOutput() JobDefinitionEksPersistentVolumeClaimOutput + ToJobDefinitionEksPersistentVolumeClaimOutputWithContext(context.Context) JobDefinitionEksPersistentVolumeClaimOutput +} + +type JobDefinitionEksPersistentVolumeClaimArgs struct { + ClaimName pulumi.StringInput `pulumi:"claimName"` + ReadOnly pulumi.BoolPtrInput `pulumi:"readOnly"` +} + +func (JobDefinitionEksPersistentVolumeClaimArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobDefinitionEksPersistentVolumeClaim)(nil)).Elem() +} + +func (i JobDefinitionEksPersistentVolumeClaimArgs) ToJobDefinitionEksPersistentVolumeClaimOutput() JobDefinitionEksPersistentVolumeClaimOutput { + return i.ToJobDefinitionEksPersistentVolumeClaimOutputWithContext(context.Background()) +} + +func (i JobDefinitionEksPersistentVolumeClaimArgs) ToJobDefinitionEksPersistentVolumeClaimOutputWithContext(ctx context.Context) JobDefinitionEksPersistentVolumeClaimOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobDefinitionEksPersistentVolumeClaimOutput) +} + +func (i JobDefinitionEksPersistentVolumeClaimArgs) ToJobDefinitionEksPersistentVolumeClaimPtrOutput() JobDefinitionEksPersistentVolumeClaimPtrOutput { + return i.ToJobDefinitionEksPersistentVolumeClaimPtrOutputWithContext(context.Background()) +} + +func (i JobDefinitionEksPersistentVolumeClaimArgs) ToJobDefinitionEksPersistentVolumeClaimPtrOutputWithContext(ctx context.Context) JobDefinitionEksPersistentVolumeClaimPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobDefinitionEksPersistentVolumeClaimOutput).ToJobDefinitionEksPersistentVolumeClaimPtrOutputWithContext(ctx) +} + +// JobDefinitionEksPersistentVolumeClaimPtrInput is an input type that accepts JobDefinitionEksPersistentVolumeClaimArgs, JobDefinitionEksPersistentVolumeClaimPtr and JobDefinitionEksPersistentVolumeClaimPtrOutput values. +// You can construct a concrete instance of `JobDefinitionEksPersistentVolumeClaimPtrInput` via: +// +// JobDefinitionEksPersistentVolumeClaimArgs{...} +// +// or: +// +// nil +type JobDefinitionEksPersistentVolumeClaimPtrInput interface { + pulumi.Input + + ToJobDefinitionEksPersistentVolumeClaimPtrOutput() JobDefinitionEksPersistentVolumeClaimPtrOutput + ToJobDefinitionEksPersistentVolumeClaimPtrOutputWithContext(context.Context) JobDefinitionEksPersistentVolumeClaimPtrOutput +} + +type jobDefinitionEksPersistentVolumeClaimPtrType JobDefinitionEksPersistentVolumeClaimArgs + +func JobDefinitionEksPersistentVolumeClaimPtr(v *JobDefinitionEksPersistentVolumeClaimArgs) JobDefinitionEksPersistentVolumeClaimPtrInput { + return (*jobDefinitionEksPersistentVolumeClaimPtrType)(v) +} + +func (*jobDefinitionEksPersistentVolumeClaimPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobDefinitionEksPersistentVolumeClaim)(nil)).Elem() +} + +func (i *jobDefinitionEksPersistentVolumeClaimPtrType) ToJobDefinitionEksPersistentVolumeClaimPtrOutput() JobDefinitionEksPersistentVolumeClaimPtrOutput { + return i.ToJobDefinitionEksPersistentVolumeClaimPtrOutputWithContext(context.Background()) +} + +func (i *jobDefinitionEksPersistentVolumeClaimPtrType) ToJobDefinitionEksPersistentVolumeClaimPtrOutputWithContext(ctx context.Context) JobDefinitionEksPersistentVolumeClaimPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobDefinitionEksPersistentVolumeClaimPtrOutput) +} + +type JobDefinitionEksPersistentVolumeClaimOutput struct{ *pulumi.OutputState } + +func (JobDefinitionEksPersistentVolumeClaimOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobDefinitionEksPersistentVolumeClaim)(nil)).Elem() +} + +func (o JobDefinitionEksPersistentVolumeClaimOutput) ToJobDefinitionEksPersistentVolumeClaimOutput() JobDefinitionEksPersistentVolumeClaimOutput { + return o +} + +func (o JobDefinitionEksPersistentVolumeClaimOutput) ToJobDefinitionEksPersistentVolumeClaimOutputWithContext(ctx context.Context) JobDefinitionEksPersistentVolumeClaimOutput { + return o +} + +func (o JobDefinitionEksPersistentVolumeClaimOutput) ToJobDefinitionEksPersistentVolumeClaimPtrOutput() JobDefinitionEksPersistentVolumeClaimPtrOutput { + return o.ToJobDefinitionEksPersistentVolumeClaimPtrOutputWithContext(context.Background()) +} + +func (o JobDefinitionEksPersistentVolumeClaimOutput) ToJobDefinitionEksPersistentVolumeClaimPtrOutputWithContext(ctx context.Context) JobDefinitionEksPersistentVolumeClaimPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobDefinitionEksPersistentVolumeClaim) *JobDefinitionEksPersistentVolumeClaim { + return &v + }).(JobDefinitionEksPersistentVolumeClaimPtrOutput) +} + +func (o JobDefinitionEksPersistentVolumeClaimOutput) ClaimName() pulumi.StringOutput { + return o.ApplyT(func(v JobDefinitionEksPersistentVolumeClaim) string { return v.ClaimName }).(pulumi.StringOutput) +} + +func (o JobDefinitionEksPersistentVolumeClaimOutput) ReadOnly() pulumi.BoolPtrOutput { + return o.ApplyT(func(v JobDefinitionEksPersistentVolumeClaim) *bool { return v.ReadOnly }).(pulumi.BoolPtrOutput) +} + +type JobDefinitionEksPersistentVolumeClaimPtrOutput struct{ *pulumi.OutputState } + +func (JobDefinitionEksPersistentVolumeClaimPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobDefinitionEksPersistentVolumeClaim)(nil)).Elem() +} + +func (o JobDefinitionEksPersistentVolumeClaimPtrOutput) ToJobDefinitionEksPersistentVolumeClaimPtrOutput() JobDefinitionEksPersistentVolumeClaimPtrOutput { + return o +} + +func (o JobDefinitionEksPersistentVolumeClaimPtrOutput) ToJobDefinitionEksPersistentVolumeClaimPtrOutputWithContext(ctx context.Context) JobDefinitionEksPersistentVolumeClaimPtrOutput { + return o +} + +func (o JobDefinitionEksPersistentVolumeClaimPtrOutput) Elem() JobDefinitionEksPersistentVolumeClaimOutput { + return o.ApplyT(func(v *JobDefinitionEksPersistentVolumeClaim) JobDefinitionEksPersistentVolumeClaim { + if v != nil { + return *v + } + var ret JobDefinitionEksPersistentVolumeClaim + return ret + }).(JobDefinitionEksPersistentVolumeClaimOutput) +} + +func (o JobDefinitionEksPersistentVolumeClaimPtrOutput) ClaimName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobDefinitionEksPersistentVolumeClaim) *string { + if v == nil { + return nil + } + return &v.ClaimName + }).(pulumi.StringPtrOutput) +} + +func (o JobDefinitionEksPersistentVolumeClaimPtrOutput) ReadOnly() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *JobDefinitionEksPersistentVolumeClaim) *bool { + if v == nil { + return nil + } + return v.ReadOnly + }).(pulumi.BoolPtrOutput) +} + type JobDefinitionEksPodProperties struct { // The properties of the container that's used on the Amazon EKS pod. // @@ -5231,7 +5415,8 @@ type JobDefinitionEksVolume struct { // Specifies the configuration of a Kubernetes `hostPath` volume. For more information, see [hostPath](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/storage/volumes/#hostpath) in the *Kubernetes documentation* . HostPath *JobDefinitionEksHostPath `pulumi:"hostPath"` // The name of the volume. The name must be allowed as a DNS subdomain name. For more information, see [DNS subdomain names](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#dns-subdomain-names) in the *Kubernetes documentation* . - Name string `pulumi:"name"` + Name string `pulumi:"name"` + PersistentVolumeClaim *JobDefinitionEksPersistentVolumeClaim `pulumi:"persistentVolumeClaim"` // Specifies the configuration of a Kubernetes `secret` volume. For more information, see [secret](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/storage/volumes/#secret) in the *Kubernetes documentation* . Secret *JobDefinitionEksSecret `pulumi:"secret"` } @@ -5253,7 +5438,8 @@ type JobDefinitionEksVolumeArgs struct { // Specifies the configuration of a Kubernetes `hostPath` volume. For more information, see [hostPath](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/storage/volumes/#hostpath) in the *Kubernetes documentation* . HostPath JobDefinitionEksHostPathPtrInput `pulumi:"hostPath"` // The name of the volume. The name must be allowed as a DNS subdomain name. For more information, see [DNS subdomain names](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#dns-subdomain-names) in the *Kubernetes documentation* . - Name pulumi.StringInput `pulumi:"name"` + Name pulumi.StringInput `pulumi:"name"` + PersistentVolumeClaim JobDefinitionEksPersistentVolumeClaimPtrInput `pulumi:"persistentVolumeClaim"` // Specifies the configuration of a Kubernetes `secret` volume. For more information, see [secret](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/storage/volumes/#secret) in the *Kubernetes documentation* . Secret JobDefinitionEksSecretPtrInput `pulumi:"secret"` } @@ -5324,6 +5510,10 @@ func (o JobDefinitionEksVolumeOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v JobDefinitionEksVolume) string { return v.Name }).(pulumi.StringOutput) } +func (o JobDefinitionEksVolumeOutput) PersistentVolumeClaim() JobDefinitionEksPersistentVolumeClaimPtrOutput { + return o.ApplyT(func(v JobDefinitionEksVolume) *JobDefinitionEksPersistentVolumeClaim { return v.PersistentVolumeClaim }).(JobDefinitionEksPersistentVolumeClaimPtrOutput) +} + // Specifies the configuration of a Kubernetes `secret` volume. For more information, see [secret](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/storage/volumes/#secret) in the *Kubernetes documentation* . func (o JobDefinitionEksVolumeOutput) Secret() JobDefinitionEksSecretPtrOutput { return o.ApplyT(func(v JobDefinitionEksVolume) *JobDefinitionEksSecret { return v.Secret }).(JobDefinitionEksSecretPtrOutput) @@ -10183,6 +10373,8 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*JobDefinitionEksHostPathPtrInput)(nil)).Elem(), JobDefinitionEksHostPathArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*JobDefinitionEksMetadataInput)(nil)).Elem(), JobDefinitionEksMetadataArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*JobDefinitionEksMetadataPtrInput)(nil)).Elem(), JobDefinitionEksMetadataArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*JobDefinitionEksPersistentVolumeClaimInput)(nil)).Elem(), JobDefinitionEksPersistentVolumeClaimArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*JobDefinitionEksPersistentVolumeClaimPtrInput)(nil)).Elem(), JobDefinitionEksPersistentVolumeClaimArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*JobDefinitionEksPodPropertiesInput)(nil)).Elem(), JobDefinitionEksPodPropertiesArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*JobDefinitionEksPodPropertiesPtrInput)(nil)).Elem(), JobDefinitionEksPodPropertiesArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*JobDefinitionEksPropertiesInput)(nil)).Elem(), JobDefinitionEksPropertiesArgs{}) @@ -10291,6 +10483,8 @@ func init() { pulumi.RegisterOutputType(JobDefinitionEksHostPathPtrOutput{}) pulumi.RegisterOutputType(JobDefinitionEksMetadataOutput{}) pulumi.RegisterOutputType(JobDefinitionEksMetadataPtrOutput{}) + pulumi.RegisterOutputType(JobDefinitionEksPersistentVolumeClaimOutput{}) + pulumi.RegisterOutputType(JobDefinitionEksPersistentVolumeClaimPtrOutput{}) pulumi.RegisterOutputType(JobDefinitionEksPodPropertiesOutput{}) pulumi.RegisterOutputType(JobDefinitionEksPodPropertiesPtrOutput{}) pulumi.RegisterOutputType(JobDefinitionEksPropertiesOutput{}) diff --git a/sdk/go/aws/cloudformation/getPublicTypeVersion.go b/sdk/go/aws/cloudformation/getPublicTypeVersion.go index aa86733cbb..6fabb6a23d 100644 --- a/sdk/go/aws/cloudformation/getPublicTypeVersion.go +++ b/sdk/go/aws/cloudformation/getPublicTypeVersion.go @@ -30,7 +30,7 @@ type LookupPublicTypeVersionArgs struct { type LookupPublicTypeVersionResult struct { // The Amazon Resource Number (ARN) assigned to the public extension upon publication PublicTypeArn *string `pulumi:"publicTypeArn"` - // The publisher id assigned by CloudFormation for publishing in this region. + // The reserved publisher id for this type, or the publisher id assigned by CloudFormation for publishing in this region. PublisherId *string `pulumi:"publisherId"` // The Amazon Resource Number (ARN) of the extension with the versionId. TypeVersionArn *string `pulumi:"typeVersionArn"` @@ -73,7 +73,7 @@ func (o LookupPublicTypeVersionResultOutput) PublicTypeArn() pulumi.StringPtrOut return o.ApplyT(func(v LookupPublicTypeVersionResult) *string { return v.PublicTypeArn }).(pulumi.StringPtrOutput) } -// The publisher id assigned by CloudFormation for publishing in this region. +// The reserved publisher id for this type, or the publisher id assigned by CloudFormation for publishing in this region. func (o LookupPublicTypeVersionResultOutput) PublisherId() pulumi.StringPtrOutput { return o.ApplyT(func(v LookupPublicTypeVersionResult) *string { return v.PublisherId }).(pulumi.StringPtrOutput) } diff --git a/sdk/go/aws/cloudformation/getPublisher.go b/sdk/go/aws/cloudformation/getPublisher.go index 3851beed20..1251cc44a8 100644 --- a/sdk/go/aws/cloudformation/getPublisher.go +++ b/sdk/go/aws/cloudformation/getPublisher.go @@ -23,14 +23,14 @@ func LookupPublisher(ctx *pulumi.Context, args *LookupPublisherArgs, opts ...pul } type LookupPublisherArgs struct { - // The publisher id assigned by CloudFormation for publishing in this region. + // The reserved publisher id for this type, or the publisher id assigned by CloudFormation for publishing in this region. PublisherId string `pulumi:"publisherId"` } type LookupPublisherResult struct { // The type of account used as the identity provider when registering this publisher with CloudFormation. IdentityProvider *PublisherIdentityProvider `pulumi:"identityProvider"` - // The publisher id assigned by CloudFormation for publishing in this region. + // The reserved publisher id for this type, or the publisher id assigned by CloudFormation for publishing in this region. PublisherId *string `pulumi:"publisherId"` // The URL to the publisher's profile with the identity provider. PublisherProfile *string `pulumi:"publisherProfile"` @@ -48,7 +48,7 @@ func LookupPublisherOutput(ctx *pulumi.Context, args LookupPublisherOutputArgs, } type LookupPublisherOutputArgs struct { - // The publisher id assigned by CloudFormation for publishing in this region. + // The reserved publisher id for this type, or the publisher id assigned by CloudFormation for publishing in this region. PublisherId pulumi.StringInput `pulumi:"publisherId"` } @@ -75,7 +75,7 @@ func (o LookupPublisherResultOutput) IdentityProvider() PublisherIdentityProvide return o.ApplyT(func(v LookupPublisherResult) *PublisherIdentityProvider { return v.IdentityProvider }).(PublisherIdentityProviderPtrOutput) } -// The publisher id assigned by CloudFormation for publishing in this region. +// The reserved publisher id for this type, or the publisher id assigned by CloudFormation for publishing in this region. func (o LookupPublisherResultOutput) PublisherId() pulumi.StringPtrOutput { return o.ApplyT(func(v LookupPublisherResult) *string { return v.PublisherId }).(pulumi.StringPtrOutput) } diff --git a/sdk/go/aws/cloudformation/getTypeActivation.go b/sdk/go/aws/cloudformation/getTypeActivation.go index 966e0d48d1..a6c7db45e1 100644 --- a/sdk/go/aws/cloudformation/getTypeActivation.go +++ b/sdk/go/aws/cloudformation/getTypeActivation.go @@ -32,7 +32,7 @@ type LookupTypeActivationResult struct { Arn *string `pulumi:"arn"` // The Amazon Resource Number (ARN) assigned to the public extension upon publication PublicTypeArn *string `pulumi:"publicTypeArn"` - // The publisher id assigned by CloudFormation for publishing in this region. + // The reserved publisher id for this type, or the publisher id assigned by CloudFormation for publishing in this region. PublisherId *string `pulumi:"publisherId"` // The name of the type being registered. // @@ -84,7 +84,7 @@ func (o LookupTypeActivationResultOutput) PublicTypeArn() pulumi.StringPtrOutput return o.ApplyT(func(v LookupTypeActivationResult) *string { return v.PublicTypeArn }).(pulumi.StringPtrOutput) } -// The publisher id assigned by CloudFormation for publishing in this region. +// The reserved publisher id for this type, or the publisher id assigned by CloudFormation for publishing in this region. func (o LookupTypeActivationResultOutput) PublisherId() pulumi.StringPtrOutput { return o.ApplyT(func(v LookupTypeActivationResult) *string { return v.PublisherId }).(pulumi.StringPtrOutput) } diff --git a/sdk/go/aws/cloudformation/publicTypeVersion.go b/sdk/go/aws/cloudformation/publicTypeVersion.go index b017f010c5..d5a30cd78a 100644 --- a/sdk/go/aws/cloudformation/publicTypeVersion.go +++ b/sdk/go/aws/cloudformation/publicTypeVersion.go @@ -23,7 +23,7 @@ type PublicTypeVersion struct { PublicTypeArn pulumi.StringOutput `pulumi:"publicTypeArn"` // The version number of a public third-party extension PublicVersionNumber pulumi.StringPtrOutput `pulumi:"publicVersionNumber"` - // The publisher id assigned by CloudFormation for publishing in this region. + // The reserved publisher id for this type, or the publisher id assigned by CloudFormation for publishing in this region. PublisherId pulumi.StringOutput `pulumi:"publisherId"` // The kind of extension Type PublicTypeVersionTypePtrOutput `pulumi:"type"` @@ -170,7 +170,7 @@ func (o PublicTypeVersionOutput) PublicVersionNumber() pulumi.StringPtrOutput { return o.ApplyT(func(v *PublicTypeVersion) pulumi.StringPtrOutput { return v.PublicVersionNumber }).(pulumi.StringPtrOutput) } -// The publisher id assigned by CloudFormation for publishing in this region. +// The reserved publisher id for this type, or the publisher id assigned by CloudFormation for publishing in this region. func (o PublicTypeVersionOutput) PublisherId() pulumi.StringOutput { return o.ApplyT(func(v *PublicTypeVersion) pulumi.StringOutput { return v.PublisherId }).(pulumi.StringOutput) } diff --git a/sdk/go/aws/cloudformation/publisher.go b/sdk/go/aws/cloudformation/publisher.go index f85c5ab7b0..e09ce43d48 100644 --- a/sdk/go/aws/cloudformation/publisher.go +++ b/sdk/go/aws/cloudformation/publisher.go @@ -22,7 +22,7 @@ type Publisher struct { ConnectionArn pulumi.StringPtrOutput `pulumi:"connectionArn"` // The type of account used as the identity provider when registering this publisher with CloudFormation. IdentityProvider PublisherIdentityProviderOutput `pulumi:"identityProvider"` - // The publisher id assigned by CloudFormation for publishing in this region. + // The reserved publisher id for this type, or the publisher id assigned by CloudFormation for publishing in this region. PublisherId pulumi.StringOutput `pulumi:"publisherId"` // The URL to the publisher's profile with the identity provider. PublisherProfile pulumi.StringOutput `pulumi:"publisherProfile"` @@ -144,7 +144,7 @@ func (o PublisherOutput) IdentityProvider() PublisherIdentityProviderOutput { return o.ApplyT(func(v *Publisher) PublisherIdentityProviderOutput { return v.IdentityProvider }).(PublisherIdentityProviderOutput) } -// The publisher id assigned by CloudFormation for publishing in this region. +// The reserved publisher id for this type, or the publisher id assigned by CloudFormation for publishing in this region. func (o PublisherOutput) PublisherId() pulumi.StringOutput { return o.ApplyT(func(v *Publisher) pulumi.StringOutput { return v.PublisherId }).(pulumi.StringOutput) } diff --git a/sdk/go/aws/cloudformation/typeActivation.go b/sdk/go/aws/cloudformation/typeActivation.go index edb9c63af5..c4c8a7aa1b 100644 --- a/sdk/go/aws/cloudformation/typeActivation.go +++ b/sdk/go/aws/cloudformation/typeActivation.go @@ -27,7 +27,7 @@ type TypeActivation struct { MajorVersion pulumi.StringPtrOutput `pulumi:"majorVersion"` // The Amazon Resource Number (ARN) assigned to the public extension upon publication PublicTypeArn pulumi.StringPtrOutput `pulumi:"publicTypeArn"` - // The publisher id assigned by CloudFormation for publishing in this region. + // The reserved publisher id for this type, or the publisher id assigned by CloudFormation for publishing in this region. PublisherId pulumi.StringPtrOutput `pulumi:"publisherId"` // The kind of extension Type TypeActivationTypePtrOutput `pulumi:"type"` @@ -95,7 +95,7 @@ type typeActivationArgs struct { MajorVersion *string `pulumi:"majorVersion"` // The Amazon Resource Number (ARN) assigned to the public extension upon publication PublicTypeArn *string `pulumi:"publicTypeArn"` - // The publisher id assigned by CloudFormation for publishing in this region. + // The reserved publisher id for this type, or the publisher id assigned by CloudFormation for publishing in this region. PublisherId *string `pulumi:"publisherId"` // The kind of extension Type *TypeActivationType `pulumi:"type"` @@ -121,7 +121,7 @@ type TypeActivationArgs struct { MajorVersion pulumi.StringPtrInput // The Amazon Resource Number (ARN) assigned to the public extension upon publication PublicTypeArn pulumi.StringPtrInput - // The publisher id assigned by CloudFormation for publishing in this region. + // The reserved publisher id for this type, or the publisher id assigned by CloudFormation for publishing in this region. PublisherId pulumi.StringPtrInput // The kind of extension Type TypeActivationTypePtrInput @@ -202,7 +202,7 @@ func (o TypeActivationOutput) PublicTypeArn() pulumi.StringPtrOutput { return o.ApplyT(func(v *TypeActivation) pulumi.StringPtrOutput { return v.PublicTypeArn }).(pulumi.StringPtrOutput) } -// The publisher id assigned by CloudFormation for publishing in this region. +// The reserved publisher id for this type, or the publisher id assigned by CloudFormation for publishing in this region. func (o TypeActivationOutput) PublisherId() pulumi.StringPtrOutput { return o.ApplyT(func(v *TypeActivation) pulumi.StringPtrOutput { return v.PublisherId }).(pulumi.StringPtrOutput) } diff --git a/sdk/go/aws/cloudfront/getVpcOrigin.go b/sdk/go/aws/cloudfront/getVpcOrigin.go index 9675b388de..9e0b426572 100644 --- a/sdk/go/aws/cloudfront/getVpcOrigin.go +++ b/sdk/go/aws/cloudfront/getVpcOrigin.go @@ -24,16 +24,24 @@ func LookupVpcOrigin(ctx *pulumi.Context, args *LookupVpcOriginArgs, opts ...pul } type LookupVpcOriginArgs struct { + // The VPC origin ID. Id string `pulumi:"id"` } type LookupVpcOriginResult struct { - Arn *string `pulumi:"arn"` - CreatedTime *string `pulumi:"createdTime"` - Id *string `pulumi:"id"` - LastModifiedTime *string `pulumi:"lastModifiedTime"` - Status *string `pulumi:"status"` - Tags []aws.Tag `pulumi:"tags"` + // The VPC origin ARN. + Arn *string `pulumi:"arn"` + // The VPC origin created time. + CreatedTime *string `pulumi:"createdTime"` + // The VPC origin ID. + Id *string `pulumi:"id"` + // The VPC origin last modified time. + LastModifiedTime *string `pulumi:"lastModifiedTime"` + // The VPC origin status. + Status *string `pulumi:"status"` + // A complex type that contains zero or more `Tag` elements. + Tags []aws.Tag `pulumi:"tags"` + // The VPC origin endpoint configuration. VpcOriginEndpointConfig *VpcOriginEndpointConfig `pulumi:"vpcOriginEndpointConfig"` } @@ -47,6 +55,7 @@ func LookupVpcOriginOutput(ctx *pulumi.Context, args LookupVpcOriginOutputArgs, } type LookupVpcOriginOutputArgs struct { + // The VPC origin ID. Id pulumi.StringInput `pulumi:"id"` } @@ -68,30 +77,37 @@ func (o LookupVpcOriginResultOutput) ToLookupVpcOriginResultOutputWithContext(ct return o } +// The VPC origin ARN. func (o LookupVpcOriginResultOutput) Arn() pulumi.StringPtrOutput { return o.ApplyT(func(v LookupVpcOriginResult) *string { return v.Arn }).(pulumi.StringPtrOutput) } +// The VPC origin created time. func (o LookupVpcOriginResultOutput) CreatedTime() pulumi.StringPtrOutput { return o.ApplyT(func(v LookupVpcOriginResult) *string { return v.CreatedTime }).(pulumi.StringPtrOutput) } +// The VPC origin ID. func (o LookupVpcOriginResultOutput) Id() pulumi.StringPtrOutput { return o.ApplyT(func(v LookupVpcOriginResult) *string { return v.Id }).(pulumi.StringPtrOutput) } +// The VPC origin last modified time. func (o LookupVpcOriginResultOutput) LastModifiedTime() pulumi.StringPtrOutput { return o.ApplyT(func(v LookupVpcOriginResult) *string { return v.LastModifiedTime }).(pulumi.StringPtrOutput) } +// The VPC origin status. func (o LookupVpcOriginResultOutput) Status() pulumi.StringPtrOutput { return o.ApplyT(func(v LookupVpcOriginResult) *string { return v.Status }).(pulumi.StringPtrOutput) } +// A complex type that contains zero or more `Tag` elements. func (o LookupVpcOriginResultOutput) Tags() aws.TagArrayOutput { return o.ApplyT(func(v LookupVpcOriginResult) []aws.Tag { return v.Tags }).(aws.TagArrayOutput) } +// The VPC origin endpoint configuration. func (o LookupVpcOriginResultOutput) VpcOriginEndpointConfig() VpcOriginEndpointConfigPtrOutput { return o.ApplyT(func(v LookupVpcOriginResult) *VpcOriginEndpointConfig { return v.VpcOriginEndpointConfig }).(VpcOriginEndpointConfigPtrOutput) } diff --git a/sdk/go/aws/cloudfront/pulumiTypes.go b/sdk/go/aws/cloudfront/pulumiTypes.go index b36f8cfd93..5731e353af 100644 --- a/sdk/go/aws/cloudfront/pulumiTypes.go +++ b/sdk/go/aws/cloudfront/pulumiTypes.go @@ -5848,7 +5848,8 @@ type DistributionOrigin struct { // For more information, see [Using Origin Shield](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/origin-shield.html) in the *Amazon CloudFront Developer Guide*. OriginShield *DistributionOriginShield `pulumi:"originShield"` // Use this type to specify an origin that is an Amazon S3 bucket that is not configured with static website hosting. To specify any other type of origin, including an Amazon S3 bucket that is configured with static website hosting, use the ``CustomOriginConfig`` type instead. - S3OriginConfig *DistributionS3OriginConfig `pulumi:"s3OriginConfig"` + S3OriginConfig *DistributionS3OriginConfig `pulumi:"s3OriginConfig"` + VpcOriginConfig *DistributionVpcOriginConfig `pulumi:"vpcOriginConfig"` } // DistributionOriginInput is an input type that accepts DistributionOriginArgs and DistributionOriginOutput values. @@ -5903,7 +5904,8 @@ type DistributionOriginArgs struct { // For more information, see [Using Origin Shield](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/origin-shield.html) in the *Amazon CloudFront Developer Guide*. OriginShield DistributionOriginShieldPtrInput `pulumi:"originShield"` // Use this type to specify an origin that is an Amazon S3 bucket that is not configured with static website hosting. To specify any other type of origin, including an Amazon S3 bucket that is configured with static website hosting, use the ``CustomOriginConfig`` type instead. - S3OriginConfig DistributionS3OriginConfigPtrInput `pulumi:"s3OriginConfig"` + S3OriginConfig DistributionS3OriginConfigPtrInput `pulumi:"s3OriginConfig"` + VpcOriginConfig DistributionVpcOriginConfigPtrInput `pulumi:"vpcOriginConfig"` } func (DistributionOriginArgs) ElementType() reflect.Type { @@ -6036,6 +6038,10 @@ func (o DistributionOriginOutput) S3OriginConfig() DistributionS3OriginConfigPtr return o.ApplyT(func(v DistributionOrigin) *DistributionS3OriginConfig { return v.S3OriginConfig }).(DistributionS3OriginConfigPtrOutput) } +func (o DistributionOriginOutput) VpcOriginConfig() DistributionVpcOriginConfigPtrOutput { + return o.ApplyT(func(v DistributionOrigin) *DistributionVpcOriginConfig { return v.VpcOriginConfig }).(DistributionVpcOriginConfigPtrOutput) +} + type DistributionOriginArrayOutput struct{ *pulumi.OutputState } func (DistributionOriginArrayOutput) ElementType() reflect.Type { @@ -7595,6 +7601,169 @@ func (o DistributionViewerCertificatePtrOutput) SslSupportMethod() pulumi.String }).(pulumi.StringPtrOutput) } +type DistributionVpcOriginConfig struct { + OriginKeepaliveTimeout *int `pulumi:"originKeepaliveTimeout"` + OriginReadTimeout *int `pulumi:"originReadTimeout"` + VpcOriginId string `pulumi:"vpcOriginId"` +} + +// DistributionVpcOriginConfigInput is an input type that accepts DistributionVpcOriginConfigArgs and DistributionVpcOriginConfigOutput values. +// You can construct a concrete instance of `DistributionVpcOriginConfigInput` via: +// +// DistributionVpcOriginConfigArgs{...} +type DistributionVpcOriginConfigInput interface { + pulumi.Input + + ToDistributionVpcOriginConfigOutput() DistributionVpcOriginConfigOutput + ToDistributionVpcOriginConfigOutputWithContext(context.Context) DistributionVpcOriginConfigOutput +} + +type DistributionVpcOriginConfigArgs struct { + OriginKeepaliveTimeout pulumi.IntPtrInput `pulumi:"originKeepaliveTimeout"` + OriginReadTimeout pulumi.IntPtrInput `pulumi:"originReadTimeout"` + VpcOriginId pulumi.StringInput `pulumi:"vpcOriginId"` +} + +func (DistributionVpcOriginConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DistributionVpcOriginConfig)(nil)).Elem() +} + +func (i DistributionVpcOriginConfigArgs) ToDistributionVpcOriginConfigOutput() DistributionVpcOriginConfigOutput { + return i.ToDistributionVpcOriginConfigOutputWithContext(context.Background()) +} + +func (i DistributionVpcOriginConfigArgs) ToDistributionVpcOriginConfigOutputWithContext(ctx context.Context) DistributionVpcOriginConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(DistributionVpcOriginConfigOutput) +} + +func (i DistributionVpcOriginConfigArgs) ToDistributionVpcOriginConfigPtrOutput() DistributionVpcOriginConfigPtrOutput { + return i.ToDistributionVpcOriginConfigPtrOutputWithContext(context.Background()) +} + +func (i DistributionVpcOriginConfigArgs) ToDistributionVpcOriginConfigPtrOutputWithContext(ctx context.Context) DistributionVpcOriginConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DistributionVpcOriginConfigOutput).ToDistributionVpcOriginConfigPtrOutputWithContext(ctx) +} + +// DistributionVpcOriginConfigPtrInput is an input type that accepts DistributionVpcOriginConfigArgs, DistributionVpcOriginConfigPtr and DistributionVpcOriginConfigPtrOutput values. +// You can construct a concrete instance of `DistributionVpcOriginConfigPtrInput` via: +// +// DistributionVpcOriginConfigArgs{...} +// +// or: +// +// nil +type DistributionVpcOriginConfigPtrInput interface { + pulumi.Input + + ToDistributionVpcOriginConfigPtrOutput() DistributionVpcOriginConfigPtrOutput + ToDistributionVpcOriginConfigPtrOutputWithContext(context.Context) DistributionVpcOriginConfigPtrOutput +} + +type distributionVpcOriginConfigPtrType DistributionVpcOriginConfigArgs + +func DistributionVpcOriginConfigPtr(v *DistributionVpcOriginConfigArgs) DistributionVpcOriginConfigPtrInput { + return (*distributionVpcOriginConfigPtrType)(v) +} + +func (*distributionVpcOriginConfigPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**DistributionVpcOriginConfig)(nil)).Elem() +} + +func (i *distributionVpcOriginConfigPtrType) ToDistributionVpcOriginConfigPtrOutput() DistributionVpcOriginConfigPtrOutput { + return i.ToDistributionVpcOriginConfigPtrOutputWithContext(context.Background()) +} + +func (i *distributionVpcOriginConfigPtrType) ToDistributionVpcOriginConfigPtrOutputWithContext(ctx context.Context) DistributionVpcOriginConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DistributionVpcOriginConfigPtrOutput) +} + +type DistributionVpcOriginConfigOutput struct{ *pulumi.OutputState } + +func (DistributionVpcOriginConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DistributionVpcOriginConfig)(nil)).Elem() +} + +func (o DistributionVpcOriginConfigOutput) ToDistributionVpcOriginConfigOutput() DistributionVpcOriginConfigOutput { + return o +} + +func (o DistributionVpcOriginConfigOutput) ToDistributionVpcOriginConfigOutputWithContext(ctx context.Context) DistributionVpcOriginConfigOutput { + return o +} + +func (o DistributionVpcOriginConfigOutput) ToDistributionVpcOriginConfigPtrOutput() DistributionVpcOriginConfigPtrOutput { + return o.ToDistributionVpcOriginConfigPtrOutputWithContext(context.Background()) +} + +func (o DistributionVpcOriginConfigOutput) ToDistributionVpcOriginConfigPtrOutputWithContext(ctx context.Context) DistributionVpcOriginConfigPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v DistributionVpcOriginConfig) *DistributionVpcOriginConfig { + return &v + }).(DistributionVpcOriginConfigPtrOutput) +} + +func (o DistributionVpcOriginConfigOutput) OriginKeepaliveTimeout() pulumi.IntPtrOutput { + return o.ApplyT(func(v DistributionVpcOriginConfig) *int { return v.OriginKeepaliveTimeout }).(pulumi.IntPtrOutput) +} + +func (o DistributionVpcOriginConfigOutput) OriginReadTimeout() pulumi.IntPtrOutput { + return o.ApplyT(func(v DistributionVpcOriginConfig) *int { return v.OriginReadTimeout }).(pulumi.IntPtrOutput) +} + +func (o DistributionVpcOriginConfigOutput) VpcOriginId() pulumi.StringOutput { + return o.ApplyT(func(v DistributionVpcOriginConfig) string { return v.VpcOriginId }).(pulumi.StringOutput) +} + +type DistributionVpcOriginConfigPtrOutput struct{ *pulumi.OutputState } + +func (DistributionVpcOriginConfigPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DistributionVpcOriginConfig)(nil)).Elem() +} + +func (o DistributionVpcOriginConfigPtrOutput) ToDistributionVpcOriginConfigPtrOutput() DistributionVpcOriginConfigPtrOutput { + return o +} + +func (o DistributionVpcOriginConfigPtrOutput) ToDistributionVpcOriginConfigPtrOutputWithContext(ctx context.Context) DistributionVpcOriginConfigPtrOutput { + return o +} + +func (o DistributionVpcOriginConfigPtrOutput) Elem() DistributionVpcOriginConfigOutput { + return o.ApplyT(func(v *DistributionVpcOriginConfig) DistributionVpcOriginConfig { + if v != nil { + return *v + } + var ret DistributionVpcOriginConfig + return ret + }).(DistributionVpcOriginConfigOutput) +} + +func (o DistributionVpcOriginConfigPtrOutput) OriginKeepaliveTimeout() pulumi.IntPtrOutput { + return o.ApplyT(func(v *DistributionVpcOriginConfig) *int { + if v == nil { + return nil + } + return v.OriginKeepaliveTimeout + }).(pulumi.IntPtrOutput) +} + +func (o DistributionVpcOriginConfigPtrOutput) OriginReadTimeout() pulumi.IntPtrOutput { + return o.ApplyT(func(v *DistributionVpcOriginConfig) *int { + if v == nil { + return nil + } + return v.OriginReadTimeout + }).(pulumi.IntPtrOutput) +} + +func (o DistributionVpcOriginConfigPtrOutput) VpcOriginId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DistributionVpcOriginConfig) *string { + if v == nil { + return nil + } + return &v.VpcOriginId + }).(pulumi.StringPtrOutput) +} + // Contains configuration information about a CloudFront function. type FunctionConfig struct { // A comment to describe the function. @@ -12765,10 +12934,15 @@ func (o ResponseHeadersPolicyXssProtectionPtrOutput) ReportUri() pulumi.StringPt } type VpcOriginEndpointConfig struct { - Arn string `pulumi:"arn"` - HttpPort *int `pulumi:"httpPort"` - HttpsPort *int `pulumi:"httpsPort"` - Name string `pulumi:"name"` + // The ARN of the CloudFront VPC origin endpoint configuration. + Arn string `pulumi:"arn"` + // The HTTP port for the CloudFront VPC origin endpoint configuration. + HttpPort *int `pulumi:"httpPort"` + // The HTTPS port of the CloudFront VPC origin endpoint configuration. + HttpsPort *int `pulumi:"httpsPort"` + // The name of the CloudFront VPC origin endpoint configuration. + Name string `pulumi:"name"` + // The origin protocol policy for the CloudFront VPC origin endpoint configuration. OriginProtocolPolicy *string `pulumi:"originProtocolPolicy"` OriginSslProtocols []string `pulumi:"originSslProtocols"` } @@ -12785,10 +12959,15 @@ type VpcOriginEndpointConfigInput interface { } type VpcOriginEndpointConfigArgs struct { - Arn pulumi.StringInput `pulumi:"arn"` - HttpPort pulumi.IntPtrInput `pulumi:"httpPort"` - HttpsPort pulumi.IntPtrInput `pulumi:"httpsPort"` - Name pulumi.StringInput `pulumi:"name"` + // The ARN of the CloudFront VPC origin endpoint configuration. + Arn pulumi.StringInput `pulumi:"arn"` + // The HTTP port for the CloudFront VPC origin endpoint configuration. + HttpPort pulumi.IntPtrInput `pulumi:"httpPort"` + // The HTTPS port of the CloudFront VPC origin endpoint configuration. + HttpsPort pulumi.IntPtrInput `pulumi:"httpsPort"` + // The name of the CloudFront VPC origin endpoint configuration. + Name pulumi.StringInput `pulumi:"name"` + // The origin protocol policy for the CloudFront VPC origin endpoint configuration. OriginProtocolPolicy pulumi.StringPtrInput `pulumi:"originProtocolPolicy"` OriginSslProtocols pulumi.StringArrayInput `pulumi:"originSslProtocols"` } @@ -12819,22 +12998,27 @@ func (o VpcOriginEndpointConfigOutput) ToVpcOriginEndpointConfigOutputWithContex return o } +// The ARN of the CloudFront VPC origin endpoint configuration. func (o VpcOriginEndpointConfigOutput) Arn() pulumi.StringOutput { return o.ApplyT(func(v VpcOriginEndpointConfig) string { return v.Arn }).(pulumi.StringOutput) } +// The HTTP port for the CloudFront VPC origin endpoint configuration. func (o VpcOriginEndpointConfigOutput) HttpPort() pulumi.IntPtrOutput { return o.ApplyT(func(v VpcOriginEndpointConfig) *int { return v.HttpPort }).(pulumi.IntPtrOutput) } +// The HTTPS port of the CloudFront VPC origin endpoint configuration. func (o VpcOriginEndpointConfigOutput) HttpsPort() pulumi.IntPtrOutput { return o.ApplyT(func(v VpcOriginEndpointConfig) *int { return v.HttpsPort }).(pulumi.IntPtrOutput) } +// The name of the CloudFront VPC origin endpoint configuration. func (o VpcOriginEndpointConfigOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v VpcOriginEndpointConfig) string { return v.Name }).(pulumi.StringOutput) } +// The origin protocol policy for the CloudFront VPC origin endpoint configuration. func (o VpcOriginEndpointConfigOutput) OriginProtocolPolicy() pulumi.StringPtrOutput { return o.ApplyT(func(v VpcOriginEndpointConfig) *string { return v.OriginProtocolPolicy }).(pulumi.StringPtrOutput) } @@ -12867,6 +13051,7 @@ func (o VpcOriginEndpointConfigPtrOutput) Elem() VpcOriginEndpointConfigOutput { }).(VpcOriginEndpointConfigOutput) } +// The ARN of the CloudFront VPC origin endpoint configuration. func (o VpcOriginEndpointConfigPtrOutput) Arn() pulumi.StringPtrOutput { return o.ApplyT(func(v *VpcOriginEndpointConfig) *string { if v == nil { @@ -12876,6 +13061,7 @@ func (o VpcOriginEndpointConfigPtrOutput) Arn() pulumi.StringPtrOutput { }).(pulumi.StringPtrOutput) } +// The HTTP port for the CloudFront VPC origin endpoint configuration. func (o VpcOriginEndpointConfigPtrOutput) HttpPort() pulumi.IntPtrOutput { return o.ApplyT(func(v *VpcOriginEndpointConfig) *int { if v == nil { @@ -12885,6 +13071,7 @@ func (o VpcOriginEndpointConfigPtrOutput) HttpPort() pulumi.IntPtrOutput { }).(pulumi.IntPtrOutput) } +// The HTTPS port of the CloudFront VPC origin endpoint configuration. func (o VpcOriginEndpointConfigPtrOutput) HttpsPort() pulumi.IntPtrOutput { return o.ApplyT(func(v *VpcOriginEndpointConfig) *int { if v == nil { @@ -12894,6 +13081,7 @@ func (o VpcOriginEndpointConfigPtrOutput) HttpsPort() pulumi.IntPtrOutput { }).(pulumi.IntPtrOutput) } +// The name of the CloudFront VPC origin endpoint configuration. func (o VpcOriginEndpointConfigPtrOutput) Name() pulumi.StringPtrOutput { return o.ApplyT(func(v *VpcOriginEndpointConfig) *string { if v == nil { @@ -12903,6 +13091,7 @@ func (o VpcOriginEndpointConfigPtrOutput) Name() pulumi.StringPtrOutput { }).(pulumi.StringPtrOutput) } +// The origin protocol policy for the CloudFront VPC origin endpoint configuration. func (o VpcOriginEndpointConfigPtrOutput) OriginProtocolPolicy() pulumi.StringPtrOutput { return o.ApplyT(func(v *VpcOriginEndpointConfig) *string { if v == nil { @@ -12922,7 +13111,13 @@ func (o VpcOriginEndpointConfigPtrOutput) OriginSslProtocols() pulumi.StringArra } type VpcOriginTag struct { - Key string `pulumi:"key"` + // A string that contains `Tag` key. + // + // The string length should be between 1 and 128 characters. Valid characters include `a-z` , `A-Z` , `0-9` , space, and the special characters `_ - . : / = + @` . + Key string `pulumi:"key"` + // A string that contains an optional `Tag` value. + // + // The string length should be between 0 and 256 characters. Valid characters include `a-z` , `A-Z` , `0-9` , space, and the special characters `_ - . : / = + @` . Value string `pulumi:"value"` } @@ -12993,6 +13188,8 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*DistributionStatusCodesInput)(nil)).Elem(), DistributionStatusCodesArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DistributionViewerCertificateInput)(nil)).Elem(), DistributionViewerCertificateArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DistributionViewerCertificatePtrInput)(nil)).Elem(), DistributionViewerCertificateArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DistributionVpcOriginConfigInput)(nil)).Elem(), DistributionVpcOriginConfigArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DistributionVpcOriginConfigPtrInput)(nil)).Elem(), DistributionVpcOriginConfigArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*FunctionConfigInput)(nil)).Elem(), FunctionConfigArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*FunctionKeyValueStoreAssociationInput)(nil)).Elem(), FunctionKeyValueStoreAssociationArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*FunctionKeyValueStoreAssociationArrayInput)(nil)).Elem(), FunctionKeyValueStoreAssociationArray{}) @@ -13124,6 +13321,8 @@ func init() { pulumi.RegisterOutputType(DistributionStatusCodesOutput{}) pulumi.RegisterOutputType(DistributionViewerCertificateOutput{}) pulumi.RegisterOutputType(DistributionViewerCertificatePtrOutput{}) + pulumi.RegisterOutputType(DistributionVpcOriginConfigOutput{}) + pulumi.RegisterOutputType(DistributionVpcOriginConfigPtrOutput{}) pulumi.RegisterOutputType(FunctionConfigOutput{}) pulumi.RegisterOutputType(FunctionConfigPtrOutput{}) pulumi.RegisterOutputType(FunctionKeyValueStoreAssociationOutput{}) diff --git a/sdk/go/aws/cloudfront/vpcOrigin.go b/sdk/go/aws/cloudfront/vpcOrigin.go index 0aed04c5a8..15d49c3e40 100644 --- a/sdk/go/aws/cloudfront/vpcOrigin.go +++ b/sdk/go/aws/cloudfront/vpcOrigin.go @@ -17,12 +17,19 @@ import ( type VpcOrigin struct { pulumi.CustomResourceState - Arn pulumi.StringOutput `pulumi:"arn"` - AwsId pulumi.StringOutput `pulumi:"awsId"` - CreatedTime pulumi.StringOutput `pulumi:"createdTime"` - LastModifiedTime pulumi.StringOutput `pulumi:"lastModifiedTime"` - Status pulumi.StringOutput `pulumi:"status"` - Tags aws.TagArrayOutput `pulumi:"tags"` + // The VPC origin ARN. + Arn pulumi.StringOutput `pulumi:"arn"` + // The VPC origin ID. + AwsId pulumi.StringOutput `pulumi:"awsId"` + // The VPC origin created time. + CreatedTime pulumi.StringOutput `pulumi:"createdTime"` + // The VPC origin last modified time. + LastModifiedTime pulumi.StringOutput `pulumi:"lastModifiedTime"` + // The VPC origin status. + Status pulumi.StringOutput `pulumi:"status"` + // A complex type that contains zero or more `Tag` elements. + Tags aws.TagArrayOutput `pulumi:"tags"` + // The VPC origin endpoint configuration. VpcOriginEndpointConfig VpcOriginEndpointConfigOutput `pulumi:"vpcOriginEndpointConfig"` } @@ -69,13 +76,17 @@ func (VpcOriginState) ElementType() reflect.Type { } type vpcOriginArgs struct { - Tags []aws.Tag `pulumi:"tags"` + // A complex type that contains zero or more `Tag` elements. + Tags []aws.Tag `pulumi:"tags"` + // The VPC origin endpoint configuration. VpcOriginEndpointConfig VpcOriginEndpointConfig `pulumi:"vpcOriginEndpointConfig"` } // The set of arguments for constructing a VpcOrigin resource. type VpcOriginArgs struct { - Tags aws.TagArrayInput + // A complex type that contains zero or more `Tag` elements. + Tags aws.TagArrayInput + // The VPC origin endpoint configuration. VpcOriginEndpointConfig VpcOriginEndpointConfigInput } @@ -116,30 +127,37 @@ func (o VpcOriginOutput) ToVpcOriginOutputWithContext(ctx context.Context) VpcOr return o } +// The VPC origin ARN. func (o VpcOriginOutput) Arn() pulumi.StringOutput { return o.ApplyT(func(v *VpcOrigin) pulumi.StringOutput { return v.Arn }).(pulumi.StringOutput) } +// The VPC origin ID. func (o VpcOriginOutput) AwsId() pulumi.StringOutput { return o.ApplyT(func(v *VpcOrigin) pulumi.StringOutput { return v.AwsId }).(pulumi.StringOutput) } +// The VPC origin created time. func (o VpcOriginOutput) CreatedTime() pulumi.StringOutput { return o.ApplyT(func(v *VpcOrigin) pulumi.StringOutput { return v.CreatedTime }).(pulumi.StringOutput) } +// The VPC origin last modified time. func (o VpcOriginOutput) LastModifiedTime() pulumi.StringOutput { return o.ApplyT(func(v *VpcOrigin) pulumi.StringOutput { return v.LastModifiedTime }).(pulumi.StringOutput) } +// The VPC origin status. func (o VpcOriginOutput) Status() pulumi.StringOutput { return o.ApplyT(func(v *VpcOrigin) pulumi.StringOutput { return v.Status }).(pulumi.StringOutput) } +// A complex type that contains zero or more `Tag` elements. func (o VpcOriginOutput) Tags() aws.TagArrayOutput { return o.ApplyT(func(v *VpcOrigin) aws.TagArrayOutput { return v.Tags }).(aws.TagArrayOutput) } +// The VPC origin endpoint configuration. func (o VpcOriginOutput) VpcOriginEndpointConfig() VpcOriginEndpointConfigOutput { return o.ApplyT(func(v *VpcOrigin) VpcOriginEndpointConfigOutput { return v.VpcOriginEndpointConfig }).(VpcOriginEndpointConfigOutput) } diff --git a/sdk/go/aws/ec2/capacityReservation.go b/sdk/go/aws/ec2/capacityReservation.go index 7076507bac..2971a789e6 100644 --- a/sdk/go/aws/ec2/capacityReservation.go +++ b/sdk/go/aws/ec2/capacityReservation.go @@ -43,7 +43,7 @@ type CapacityReservation struct { EphemeralStorage pulumi.BoolPtrOutput `pulumi:"ephemeralStorage"` // The number of instances for which to reserve capacity. // - // > You can request future-dated Capacity Reservations for an instance count with a minimum of 100 VPUs. For example, if you request a future-dated Capacity Reservation for `m5.xlarge` instances, you must request at least 25 instances ( *25 * m5.xlarge = 100 vCPUs* ). + // > You can request future-dated Capacity Reservations for an instance count with a minimum of 100 vCPUs. For example, if you request a future-dated Capacity Reservation for `m5.xlarge` instances, you must request at least 25 instances ( *25 * m5.xlarge = 100 vCPUs* ). // // Valid range: 1 - 1000 InstanceCount pulumi.IntOutput `pulumi:"instanceCount"` @@ -172,7 +172,7 @@ type capacityReservationArgs struct { EphemeralStorage *bool `pulumi:"ephemeralStorage"` // The number of instances for which to reserve capacity. // - // > You can request future-dated Capacity Reservations for an instance count with a minimum of 100 VPUs. For example, if you request a future-dated Capacity Reservation for `m5.xlarge` instances, you must request at least 25 instances ( *25 * m5.xlarge = 100 vCPUs* ). + // > You can request future-dated Capacity Reservations for an instance count with a minimum of 100 vCPUs. For example, if you request a future-dated Capacity Reservation for `m5.xlarge` instances, you must request at least 25 instances ( *25 * m5.xlarge = 100 vCPUs* ). // // Valid range: 1 - 1000 InstanceCount int `pulumi:"instanceCount"` @@ -239,7 +239,7 @@ type CapacityReservationArgs struct { EphemeralStorage pulumi.BoolPtrInput // The number of instances for which to reserve capacity. // - // > You can request future-dated Capacity Reservations for an instance count with a minimum of 100 VPUs. For example, if you request a future-dated Capacity Reservation for `m5.xlarge` instances, you must request at least 25 instances ( *25 * m5.xlarge = 100 vCPUs* ). + // > You can request future-dated Capacity Reservations for an instance count with a minimum of 100 vCPUs. For example, if you request a future-dated Capacity Reservation for `m5.xlarge` instances, you must request at least 25 instances ( *25 * m5.xlarge = 100 vCPUs* ). // // Valid range: 1 - 1000 InstanceCount pulumi.IntInput @@ -369,7 +369,7 @@ func (o CapacityReservationOutput) EphemeralStorage() pulumi.BoolPtrOutput { // The number of instances for which to reserve capacity. // -// > You can request future-dated Capacity Reservations for an instance count with a minimum of 100 VPUs. For example, if you request a future-dated Capacity Reservation for `m5.xlarge` instances, you must request at least 25 instances ( *25 * m5.xlarge = 100 vCPUs* ). +// > You can request future-dated Capacity Reservations for an instance count with a minimum of 100 vCPUs. For example, if you request a future-dated Capacity Reservation for `m5.xlarge` instances, you must request at least 25 instances ( *25 * m5.xlarge = 100 vCPUs* ). // // Valid range: 1 - 1000 func (o CapacityReservationOutput) InstanceCount() pulumi.IntOutput { diff --git a/sdk/go/aws/ec2/getCapacityReservation.go b/sdk/go/aws/ec2/getCapacityReservation.go index 6e1b8c3e5e..8c7a67efd8 100644 --- a/sdk/go/aws/ec2/getCapacityReservation.go +++ b/sdk/go/aws/ec2/getCapacityReservation.go @@ -47,7 +47,7 @@ type LookupCapacityReservationResult struct { Id *string `pulumi:"id"` // The number of instances for which to reserve capacity. // - // > You can request future-dated Capacity Reservations for an instance count with a minimum of 100 VPUs. For example, if you request a future-dated Capacity Reservation for `m5.xlarge` instances, you must request at least 25 instances ( *25 * m5.xlarge = 100 vCPUs* ). + // > You can request future-dated Capacity Reservations for an instance count with a minimum of 100 vCPUs. For example, if you request a future-dated Capacity Reservation for `m5.xlarge` instances, you must request at least 25 instances ( *25 * m5.xlarge = 100 vCPUs* ). // // Valid range: 1 - 1000 InstanceCount *int `pulumi:"instanceCount"` @@ -127,7 +127,7 @@ func (o LookupCapacityReservationResultOutput) Id() pulumi.StringPtrOutput { // The number of instances for which to reserve capacity. // -// > You can request future-dated Capacity Reservations for an instance count with a minimum of 100 VPUs. For example, if you request a future-dated Capacity Reservation for `m5.xlarge` instances, you must request at least 25 instances ( *25 * m5.xlarge = 100 vCPUs* ). +// > You can request future-dated Capacity Reservations for an instance count with a minimum of 100 vCPUs. For example, if you request a future-dated Capacity Reservation for `m5.xlarge` instances, you must request at least 25 instances ( *25 * m5.xlarge = 100 vCPUs* ). // // Valid range: 1 - 1000 func (o LookupCapacityReservationResultOutput) InstanceCount() pulumi.IntPtrOutput { diff --git a/sdk/go/aws/ecs/pulumiTypes.go b/sdk/go/aws/ecs/pulumiTypes.go index 325ce617fc..9d38a7648b 100644 --- a/sdk/go/aws/ecs/pulumiTypes.go +++ b/sdk/go/aws/ecs/pulumiTypes.go @@ -1743,10 +1743,10 @@ type ClusterTag struct { type ServiceAwsVpcConfiguration struct { // Whether the task's elastic network interface receives a public IP address. The default value is ``ENABLED``. AssignPublicIp *ServiceAwsVpcConfigurationAssignPublicIp `pulumi:"assignPublicIp"` - // The IDs of the security groups associated with the task or service. If you don't specify a security group, the default security group for the VPC is used. There's a limit of 5 security groups that can be specified per ``awsvpcConfiguration``. + // The IDs of the security groups associated with the task or service. If you don't specify a security group, the default security group for the VPC is used. There's a limit of 5 security groups that can be specified. // All specified security groups must be from the same VPC. SecurityGroups []string `pulumi:"securityGroups"` - // The IDs of the subnets associated with the task or service. There's a limit of 16 subnets that can be specified per ``awsvpcConfiguration``. + // The IDs of the subnets associated with the task or service. There's a limit of 16 subnets that can be specified. // All specified subnets must be from the same VPC. Subnets []string `pulumi:"subnets"` } @@ -1766,10 +1766,10 @@ type ServiceAwsVpcConfigurationInput interface { type ServiceAwsVpcConfigurationArgs struct { // Whether the task's elastic network interface receives a public IP address. The default value is ``ENABLED``. AssignPublicIp ServiceAwsVpcConfigurationAssignPublicIpPtrInput `pulumi:"assignPublicIp"` - // The IDs of the security groups associated with the task or service. If you don't specify a security group, the default security group for the VPC is used. There's a limit of 5 security groups that can be specified per ``awsvpcConfiguration``. + // The IDs of the security groups associated with the task or service. If you don't specify a security group, the default security group for the VPC is used. There's a limit of 5 security groups that can be specified. // All specified security groups must be from the same VPC. SecurityGroups pulumi.StringArrayInput `pulumi:"securityGroups"` - // The IDs of the subnets associated with the task or service. There's a limit of 16 subnets that can be specified per ``awsvpcConfiguration``. + // The IDs of the subnets associated with the task or service. There's a limit of 16 subnets that can be specified. // All specified subnets must be from the same VPC. Subnets pulumi.StringArrayInput `pulumi:"subnets"` } @@ -1857,14 +1857,14 @@ func (o ServiceAwsVpcConfigurationOutput) AssignPublicIp() ServiceAwsVpcConfigur return o.ApplyT(func(v ServiceAwsVpcConfiguration) *ServiceAwsVpcConfigurationAssignPublicIp { return v.AssignPublicIp }).(ServiceAwsVpcConfigurationAssignPublicIpPtrOutput) } -// The IDs of the security groups associated with the task or service. If you don't specify a security group, the default security group for the VPC is used. There's a limit of 5 security groups that can be specified per “awsvpcConfiguration“. +// The IDs of the security groups associated with the task or service. If you don't specify a security group, the default security group for the VPC is used. There's a limit of 5 security groups that can be specified. // // All specified security groups must be from the same VPC. func (o ServiceAwsVpcConfigurationOutput) SecurityGroups() pulumi.StringArrayOutput { return o.ApplyT(func(v ServiceAwsVpcConfiguration) []string { return v.SecurityGroups }).(pulumi.StringArrayOutput) } -// The IDs of the subnets associated with the task or service. There's a limit of 16 subnets that can be specified per “awsvpcConfiguration“. +// The IDs of the subnets associated with the task or service. There's a limit of 16 subnets that can be specified. // // All specified subnets must be from the same VPC. func (o ServiceAwsVpcConfigurationOutput) Subnets() pulumi.StringArrayOutput { @@ -1905,7 +1905,7 @@ func (o ServiceAwsVpcConfigurationPtrOutput) AssignPublicIp() ServiceAwsVpcConfi }).(ServiceAwsVpcConfigurationAssignPublicIpPtrOutput) } -// The IDs of the security groups associated with the task or service. If you don't specify a security group, the default security group for the VPC is used. There's a limit of 5 security groups that can be specified per “awsvpcConfiguration“. +// The IDs of the security groups associated with the task or service. If you don't specify a security group, the default security group for the VPC is used. There's a limit of 5 security groups that can be specified. // // All specified security groups must be from the same VPC. func (o ServiceAwsVpcConfigurationPtrOutput) SecurityGroups() pulumi.StringArrayOutput { @@ -1917,7 +1917,7 @@ func (o ServiceAwsVpcConfigurationPtrOutput) SecurityGroups() pulumi.StringArray }).(pulumi.StringArrayOutput) } -// The IDs of the subnets associated with the task or service. There's a limit of 16 subnets that can be specified per “awsvpcConfiguration“. +// The IDs of the subnets associated with the task or service. There's a limit of 16 subnets that can be specified. // // All specified subnets must be from the same VPC. func (o ServiceAwsVpcConfigurationPtrOutput) Subnets() pulumi.StringArrayOutput { @@ -4302,8 +4302,7 @@ type ServiceManagedEbsVolumeConfiguration struct { TagSpecifications []ServiceEbsTagSpecification `pulumi:"tagSpecifications"` // The throughput to provision for a volume, in MiB/s, with a maximum of 1,000 MiB/s. This parameter maps 1:1 with the ``Throughput`` parameter of the [CreateVolume API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateVolume.html) in the *Amazon EC2 API Reference*. // This parameter is only supported for the ``gp3`` volume type. - Throughput *int `pulumi:"throughput"` - VolumeInitializationRate *int `pulumi:"volumeInitializationRate"` + Throughput *int `pulumi:"throughput"` // The volume type. This parameter maps 1:1 with the ``VolumeType`` parameter of the [CreateVolume API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateVolume.html) in the *Amazon EC2 API Reference*. For more information, see [Amazon EBS volume types](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-volume-types.html) in the *Amazon EC2 User Guide*. // The following are the supported volume types. // + General Purpose SSD: ``gp2``|``gp3`` @@ -4364,8 +4363,7 @@ type ServiceManagedEbsVolumeConfigurationArgs struct { TagSpecifications ServiceEbsTagSpecificationArrayInput `pulumi:"tagSpecifications"` // The throughput to provision for a volume, in MiB/s, with a maximum of 1,000 MiB/s. This parameter maps 1:1 with the ``Throughput`` parameter of the [CreateVolume API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateVolume.html) in the *Amazon EC2 API Reference*. // This parameter is only supported for the ``gp3`` volume type. - Throughput pulumi.IntPtrInput `pulumi:"throughput"` - VolumeInitializationRate pulumi.IntPtrInput `pulumi:"volumeInitializationRate"` + Throughput pulumi.IntPtrInput `pulumi:"throughput"` // The volume type. This parameter maps 1:1 with the ``VolumeType`` parameter of the [CreateVolume API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateVolume.html) in the *Amazon EC2 API Reference*. For more information, see [Amazon EBS volume types](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-volume-types.html) in the *Amazon EC2 User Guide*. // The following are the supported volume types. // + General Purpose SSD: ``gp2``|``gp3`` @@ -4524,10 +4522,6 @@ func (o ServiceManagedEbsVolumeConfigurationOutput) Throughput() pulumi.IntPtrOu return o.ApplyT(func(v ServiceManagedEbsVolumeConfiguration) *int { return v.Throughput }).(pulumi.IntPtrOutput) } -func (o ServiceManagedEbsVolumeConfigurationOutput) VolumeInitializationRate() pulumi.IntPtrOutput { - return o.ApplyT(func(v ServiceManagedEbsVolumeConfiguration) *int { return v.VolumeInitializationRate }).(pulumi.IntPtrOutput) -} - // The volume type. This parameter maps 1:1 with the “VolumeType“ parameter of the [CreateVolume API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateVolume.html) in the *Amazon EC2 API Reference*. For more information, see [Amazon EBS volume types](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-volume-types.html) in the *Amazon EC2 User Guide*. // // The following are the supported volume types. @@ -4677,15 +4671,6 @@ func (o ServiceManagedEbsVolumeConfigurationPtrOutput) Throughput() pulumi.IntPt }).(pulumi.IntPtrOutput) } -func (o ServiceManagedEbsVolumeConfigurationPtrOutput) VolumeInitializationRate() pulumi.IntPtrOutput { - return o.ApplyT(func(v *ServiceManagedEbsVolumeConfiguration) *int { - if v == nil { - return nil - } - return v.VolumeInitializationRate - }).(pulumi.IntPtrOutput) -} - // The volume type. This parameter maps 1:1 with the “VolumeType“ parameter of the [CreateVolume API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateVolume.html) in the *Amazon EC2 API Reference*. For more information, see [Amazon EBS volume types](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-volume-types.html) in the *Amazon EC2 User Guide*. // // The following are the supported volume types. diff --git a/sdk/go/aws/iotsitewise/gateway.go b/sdk/go/aws/iotsitewise/gateway.go index 31b29e0d4d..6fae52eb37 100644 --- a/sdk/go/aws/iotsitewise/gateway.go +++ b/sdk/go/aws/iotsitewise/gateway.go @@ -25,6 +25,8 @@ type Gateway struct { GatewayName pulumi.StringOutput `pulumi:"gatewayName"` // The gateway's platform. You can only specify one platform in a gateway. GatewayPlatform GatewayPlatformOutput `pulumi:"gatewayPlatform"` + // The version of the gateway you want to create. + GatewayVersion pulumi.StringPtrOutput `pulumi:"gatewayVersion"` // A list of key-value pairs that contain metadata for the gateway. Tags aws.TagArrayOutput `pulumi:"tags"` } @@ -41,6 +43,7 @@ func NewGateway(ctx *pulumi.Context, } replaceOnChanges := pulumi.ReplaceOnChanges([]string{ "gatewayPlatform", + "gatewayVersion", }) opts = append(opts, replaceOnChanges) opts = internal.PkgResourceDefaultOpts(opts) @@ -82,6 +85,8 @@ type gatewayArgs struct { GatewayName *string `pulumi:"gatewayName"` // The gateway's platform. You can only specify one platform in a gateway. GatewayPlatform GatewayPlatform `pulumi:"gatewayPlatform"` + // The version of the gateway you want to create. + GatewayVersion *string `pulumi:"gatewayVersion"` // A list of key-value pairs that contain metadata for the gateway. Tags []aws.Tag `pulumi:"tags"` } @@ -94,6 +99,8 @@ type GatewayArgs struct { GatewayName pulumi.StringPtrInput // The gateway's platform. You can only specify one platform in a gateway. GatewayPlatform GatewayPlatformInput + // The version of the gateway you want to create. + GatewayVersion pulumi.StringPtrInput // A list of key-value pairs that contain metadata for the gateway. Tags aws.TagArrayInput } @@ -155,6 +162,11 @@ func (o GatewayOutput) GatewayPlatform() GatewayPlatformOutput { return o.ApplyT(func(v *Gateway) GatewayPlatformOutput { return v.GatewayPlatform }).(GatewayPlatformOutput) } +// The version of the gateway you want to create. +func (o GatewayOutput) GatewayVersion() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Gateway) pulumi.StringPtrOutput { return v.GatewayVersion }).(pulumi.StringPtrOutput) +} + // A list of key-value pairs that contain metadata for the gateway. func (o GatewayOutput) Tags() aws.TagArrayOutput { return o.ApplyT(func(v *Gateway) aws.TagArrayOutput { return v.Tags }).(aws.TagArrayOutput) diff --git a/sdk/go/aws/iotsitewise/pulumiEnums.go b/sdk/go/aws/iotsitewise/pulumiEnums.go index 446255eaf6..386613a7df 100644 --- a/sdk/go/aws/iotsitewise/pulumiEnums.go +++ b/sdk/go/aws/iotsitewise/pulumiEnums.go @@ -679,6 +679,174 @@ func (in *assetPropertyNotificationStatePtr) ToAssetPropertyNotificationStatePtr return pulumi.ToOutputWithContext(ctx, in).(AssetPropertyNotificationStatePtrOutput) } +// The operating system of the core device in AWS IoT Greengrass V2. +type GatewayGreengrassV2CoreDeviceOperatingSystem string + +const ( + GatewayGreengrassV2CoreDeviceOperatingSystemLinuxAarch64 = GatewayGreengrassV2CoreDeviceOperatingSystem("LINUX_AARCH64") + GatewayGreengrassV2CoreDeviceOperatingSystemLinuxAmd64 = GatewayGreengrassV2CoreDeviceOperatingSystem("LINUX_AMD64") + GatewayGreengrassV2CoreDeviceOperatingSystemWindowsAmd64 = GatewayGreengrassV2CoreDeviceOperatingSystem("WINDOWS_AMD64") +) + +func (GatewayGreengrassV2CoreDeviceOperatingSystem) ElementType() reflect.Type { + return reflect.TypeOf((*GatewayGreengrassV2CoreDeviceOperatingSystem)(nil)).Elem() +} + +func (e GatewayGreengrassV2CoreDeviceOperatingSystem) ToGatewayGreengrassV2CoreDeviceOperatingSystemOutput() GatewayGreengrassV2CoreDeviceOperatingSystemOutput { + return pulumi.ToOutput(e).(GatewayGreengrassV2CoreDeviceOperatingSystemOutput) +} + +func (e GatewayGreengrassV2CoreDeviceOperatingSystem) ToGatewayGreengrassV2CoreDeviceOperatingSystemOutputWithContext(ctx context.Context) GatewayGreengrassV2CoreDeviceOperatingSystemOutput { + return pulumi.ToOutputWithContext(ctx, e).(GatewayGreengrassV2CoreDeviceOperatingSystemOutput) +} + +func (e GatewayGreengrassV2CoreDeviceOperatingSystem) ToGatewayGreengrassV2CoreDeviceOperatingSystemPtrOutput() GatewayGreengrassV2CoreDeviceOperatingSystemPtrOutput { + return e.ToGatewayGreengrassV2CoreDeviceOperatingSystemPtrOutputWithContext(context.Background()) +} + +func (e GatewayGreengrassV2CoreDeviceOperatingSystem) ToGatewayGreengrassV2CoreDeviceOperatingSystemPtrOutputWithContext(ctx context.Context) GatewayGreengrassV2CoreDeviceOperatingSystemPtrOutput { + return GatewayGreengrassV2CoreDeviceOperatingSystem(e).ToGatewayGreengrassV2CoreDeviceOperatingSystemOutputWithContext(ctx).ToGatewayGreengrassV2CoreDeviceOperatingSystemPtrOutputWithContext(ctx) +} + +func (e GatewayGreengrassV2CoreDeviceOperatingSystem) ToStringOutput() pulumi.StringOutput { + return pulumi.ToOutput(pulumi.String(e)).(pulumi.StringOutput) +} + +func (e GatewayGreengrassV2CoreDeviceOperatingSystem) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput { + return pulumi.ToOutputWithContext(ctx, pulumi.String(e)).(pulumi.StringOutput) +} + +func (e GatewayGreengrassV2CoreDeviceOperatingSystem) ToStringPtrOutput() pulumi.StringPtrOutput { + return pulumi.String(e).ToStringPtrOutputWithContext(context.Background()) +} + +func (e GatewayGreengrassV2CoreDeviceOperatingSystem) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput { + return pulumi.String(e).ToStringOutputWithContext(ctx).ToStringPtrOutputWithContext(ctx) +} + +type GatewayGreengrassV2CoreDeviceOperatingSystemOutput struct{ *pulumi.OutputState } + +func (GatewayGreengrassV2CoreDeviceOperatingSystemOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GatewayGreengrassV2CoreDeviceOperatingSystem)(nil)).Elem() +} + +func (o GatewayGreengrassV2CoreDeviceOperatingSystemOutput) ToGatewayGreengrassV2CoreDeviceOperatingSystemOutput() GatewayGreengrassV2CoreDeviceOperatingSystemOutput { + return o +} + +func (o GatewayGreengrassV2CoreDeviceOperatingSystemOutput) ToGatewayGreengrassV2CoreDeviceOperatingSystemOutputWithContext(ctx context.Context) GatewayGreengrassV2CoreDeviceOperatingSystemOutput { + return o +} + +func (o GatewayGreengrassV2CoreDeviceOperatingSystemOutput) ToGatewayGreengrassV2CoreDeviceOperatingSystemPtrOutput() GatewayGreengrassV2CoreDeviceOperatingSystemPtrOutput { + return o.ToGatewayGreengrassV2CoreDeviceOperatingSystemPtrOutputWithContext(context.Background()) +} + +func (o GatewayGreengrassV2CoreDeviceOperatingSystemOutput) ToGatewayGreengrassV2CoreDeviceOperatingSystemPtrOutputWithContext(ctx context.Context) GatewayGreengrassV2CoreDeviceOperatingSystemPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GatewayGreengrassV2CoreDeviceOperatingSystem) *GatewayGreengrassV2CoreDeviceOperatingSystem { + return &v + }).(GatewayGreengrassV2CoreDeviceOperatingSystemPtrOutput) +} + +func (o GatewayGreengrassV2CoreDeviceOperatingSystemOutput) ToStringOutput() pulumi.StringOutput { + return o.ToStringOutputWithContext(context.Background()) +} + +func (o GatewayGreengrassV2CoreDeviceOperatingSystemOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, e GatewayGreengrassV2CoreDeviceOperatingSystem) string { + return string(e) + }).(pulumi.StringOutput) +} + +func (o GatewayGreengrassV2CoreDeviceOperatingSystemOutput) ToStringPtrOutput() pulumi.StringPtrOutput { + return o.ToStringPtrOutputWithContext(context.Background()) +} + +func (o GatewayGreengrassV2CoreDeviceOperatingSystemOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, e GatewayGreengrassV2CoreDeviceOperatingSystem) *string { + v := string(e) + return &v + }).(pulumi.StringPtrOutput) +} + +type GatewayGreengrassV2CoreDeviceOperatingSystemPtrOutput struct{ *pulumi.OutputState } + +func (GatewayGreengrassV2CoreDeviceOperatingSystemPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GatewayGreengrassV2CoreDeviceOperatingSystem)(nil)).Elem() +} + +func (o GatewayGreengrassV2CoreDeviceOperatingSystemPtrOutput) ToGatewayGreengrassV2CoreDeviceOperatingSystemPtrOutput() GatewayGreengrassV2CoreDeviceOperatingSystemPtrOutput { + return o +} + +func (o GatewayGreengrassV2CoreDeviceOperatingSystemPtrOutput) ToGatewayGreengrassV2CoreDeviceOperatingSystemPtrOutputWithContext(ctx context.Context) GatewayGreengrassV2CoreDeviceOperatingSystemPtrOutput { + return o +} + +func (o GatewayGreengrassV2CoreDeviceOperatingSystemPtrOutput) Elem() GatewayGreengrassV2CoreDeviceOperatingSystemOutput { + return o.ApplyT(func(v *GatewayGreengrassV2CoreDeviceOperatingSystem) GatewayGreengrassV2CoreDeviceOperatingSystem { + if v != nil { + return *v + } + var ret GatewayGreengrassV2CoreDeviceOperatingSystem + return ret + }).(GatewayGreengrassV2CoreDeviceOperatingSystemOutput) +} + +func (o GatewayGreengrassV2CoreDeviceOperatingSystemPtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput { + return o.ToStringPtrOutputWithContext(context.Background()) +} + +func (o GatewayGreengrassV2CoreDeviceOperatingSystemPtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, e *GatewayGreengrassV2CoreDeviceOperatingSystem) *string { + if e == nil { + return nil + } + v := string(*e) + return &v + }).(pulumi.StringPtrOutput) +} + +// GatewayGreengrassV2CoreDeviceOperatingSystemInput is an input type that accepts values of the GatewayGreengrassV2CoreDeviceOperatingSystem enum +// A concrete instance of `GatewayGreengrassV2CoreDeviceOperatingSystemInput` can be one of the following: +// +// GatewayGreengrassV2CoreDeviceOperatingSystemLinuxAarch64 +// GatewayGreengrassV2CoreDeviceOperatingSystemLinuxAmd64 +// GatewayGreengrassV2CoreDeviceOperatingSystemWindowsAmd64 +type GatewayGreengrassV2CoreDeviceOperatingSystemInput interface { + pulumi.Input + + ToGatewayGreengrassV2CoreDeviceOperatingSystemOutput() GatewayGreengrassV2CoreDeviceOperatingSystemOutput + ToGatewayGreengrassV2CoreDeviceOperatingSystemOutputWithContext(context.Context) GatewayGreengrassV2CoreDeviceOperatingSystemOutput +} + +var gatewayGreengrassV2CoreDeviceOperatingSystemPtrType = reflect.TypeOf((**GatewayGreengrassV2CoreDeviceOperatingSystem)(nil)).Elem() + +type GatewayGreengrassV2CoreDeviceOperatingSystemPtrInput interface { + pulumi.Input + + ToGatewayGreengrassV2CoreDeviceOperatingSystemPtrOutput() GatewayGreengrassV2CoreDeviceOperatingSystemPtrOutput + ToGatewayGreengrassV2CoreDeviceOperatingSystemPtrOutputWithContext(context.Context) GatewayGreengrassV2CoreDeviceOperatingSystemPtrOutput +} + +type gatewayGreengrassV2CoreDeviceOperatingSystemPtr string + +func GatewayGreengrassV2CoreDeviceOperatingSystemPtr(v string) GatewayGreengrassV2CoreDeviceOperatingSystemPtrInput { + return (*gatewayGreengrassV2CoreDeviceOperatingSystemPtr)(&v) +} + +func (*gatewayGreengrassV2CoreDeviceOperatingSystemPtr) ElementType() reflect.Type { + return gatewayGreengrassV2CoreDeviceOperatingSystemPtrType +} + +func (in *gatewayGreengrassV2CoreDeviceOperatingSystemPtr) ToGatewayGreengrassV2CoreDeviceOperatingSystemPtrOutput() GatewayGreengrassV2CoreDeviceOperatingSystemPtrOutput { + return pulumi.ToOutput(in).(GatewayGreengrassV2CoreDeviceOperatingSystemPtrOutput) +} + +func (in *gatewayGreengrassV2CoreDeviceOperatingSystemPtr) ToGatewayGreengrassV2CoreDeviceOperatingSystemPtrOutputWithContext(ctx context.Context) GatewayGreengrassV2CoreDeviceOperatingSystemPtrOutput { + return pulumi.ToOutputWithContext(ctx, in).(GatewayGreengrassV2CoreDeviceOperatingSystemPtrOutput) +} + // The type of portal type PortalType string @@ -854,6 +1022,8 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*AssetModelTypeNamePtrInput)(nil)).Elem(), AssetModelTypeName("Measurement")) pulumi.RegisterInputType(reflect.TypeOf((*AssetPropertyNotificationStateInput)(nil)).Elem(), AssetPropertyNotificationState("ENABLED")) pulumi.RegisterInputType(reflect.TypeOf((*AssetPropertyNotificationStatePtrInput)(nil)).Elem(), AssetPropertyNotificationState("ENABLED")) + pulumi.RegisterInputType(reflect.TypeOf((*GatewayGreengrassV2CoreDeviceOperatingSystemInput)(nil)).Elem(), GatewayGreengrassV2CoreDeviceOperatingSystem("LINUX_AARCH64")) + pulumi.RegisterInputType(reflect.TypeOf((*GatewayGreengrassV2CoreDeviceOperatingSystemPtrInput)(nil)).Elem(), GatewayGreengrassV2CoreDeviceOperatingSystem("LINUX_AARCH64")) pulumi.RegisterInputType(reflect.TypeOf((*PortalTypeInput)(nil)).Elem(), PortalType("SITEWISE_PORTAL_V1")) pulumi.RegisterInputType(reflect.TypeOf((*PortalTypePtrInput)(nil)).Elem(), PortalType("SITEWISE_PORTAL_V1")) pulumi.RegisterOutputType(AssetModelDataTypeOutput{}) @@ -864,6 +1034,8 @@ func init() { pulumi.RegisterOutputType(AssetModelTypeNamePtrOutput{}) pulumi.RegisterOutputType(AssetPropertyNotificationStateOutput{}) pulumi.RegisterOutputType(AssetPropertyNotificationStatePtrOutput{}) + pulumi.RegisterOutputType(GatewayGreengrassV2CoreDeviceOperatingSystemOutput{}) + pulumi.RegisterOutputType(GatewayGreengrassV2CoreDeviceOperatingSystemPtrOutput{}) pulumi.RegisterOutputType(PortalTypeOutput{}) pulumi.RegisterOutputType(PortalTypePtrOutput{}) } diff --git a/sdk/go/aws/iotsitewise/pulumiTypes.go b/sdk/go/aws/iotsitewise/pulumiTypes.go index e01c650d8f..9e787fc7a1 100644 --- a/sdk/go/aws/iotsitewise/pulumiTypes.go +++ b/sdk/go/aws/iotsitewise/pulumiTypes.go @@ -3252,148 +3252,10 @@ func (o GatewayCapabilitySummaryArrayOutput) Index(i pulumi.IntInput) GatewayCap }).(GatewayCapabilitySummaryOutput) } -// Contains the ARN of AWS IoT Greengrass Group V1 that the gateway runs on. -type GatewayGreengrass struct { - // The ARN of the Greengrass group. - GroupArn string `pulumi:"groupArn"` -} - -// GatewayGreengrassInput is an input type that accepts GatewayGreengrassArgs and GatewayGreengrassOutput values. -// You can construct a concrete instance of `GatewayGreengrassInput` via: -// -// GatewayGreengrassArgs{...} -type GatewayGreengrassInput interface { - pulumi.Input - - ToGatewayGreengrassOutput() GatewayGreengrassOutput - ToGatewayGreengrassOutputWithContext(context.Context) GatewayGreengrassOutput -} - -// Contains the ARN of AWS IoT Greengrass Group V1 that the gateway runs on. -type GatewayGreengrassArgs struct { - // The ARN of the Greengrass group. - GroupArn pulumi.StringInput `pulumi:"groupArn"` -} - -func (GatewayGreengrassArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GatewayGreengrass)(nil)).Elem() -} - -func (i GatewayGreengrassArgs) ToGatewayGreengrassOutput() GatewayGreengrassOutput { - return i.ToGatewayGreengrassOutputWithContext(context.Background()) -} - -func (i GatewayGreengrassArgs) ToGatewayGreengrassOutputWithContext(ctx context.Context) GatewayGreengrassOutput { - return pulumi.ToOutputWithContext(ctx, i).(GatewayGreengrassOutput) -} - -func (i GatewayGreengrassArgs) ToGatewayGreengrassPtrOutput() GatewayGreengrassPtrOutput { - return i.ToGatewayGreengrassPtrOutputWithContext(context.Background()) -} - -func (i GatewayGreengrassArgs) ToGatewayGreengrassPtrOutputWithContext(ctx context.Context) GatewayGreengrassPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GatewayGreengrassOutput).ToGatewayGreengrassPtrOutputWithContext(ctx) -} - -// GatewayGreengrassPtrInput is an input type that accepts GatewayGreengrassArgs, GatewayGreengrassPtr and GatewayGreengrassPtrOutput values. -// You can construct a concrete instance of `GatewayGreengrassPtrInput` via: -// -// GatewayGreengrassArgs{...} -// -// or: -// -// nil -type GatewayGreengrassPtrInput interface { - pulumi.Input - - ToGatewayGreengrassPtrOutput() GatewayGreengrassPtrOutput - ToGatewayGreengrassPtrOutputWithContext(context.Context) GatewayGreengrassPtrOutput -} - -type gatewayGreengrassPtrType GatewayGreengrassArgs - -func GatewayGreengrassPtr(v *GatewayGreengrassArgs) GatewayGreengrassPtrInput { - return (*gatewayGreengrassPtrType)(v) -} - -func (*gatewayGreengrassPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GatewayGreengrass)(nil)).Elem() -} - -func (i *gatewayGreengrassPtrType) ToGatewayGreengrassPtrOutput() GatewayGreengrassPtrOutput { - return i.ToGatewayGreengrassPtrOutputWithContext(context.Background()) -} - -func (i *gatewayGreengrassPtrType) ToGatewayGreengrassPtrOutputWithContext(ctx context.Context) GatewayGreengrassPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GatewayGreengrassPtrOutput) -} - -// Contains the ARN of AWS IoT Greengrass Group V1 that the gateway runs on. -type GatewayGreengrassOutput struct{ *pulumi.OutputState } - -func (GatewayGreengrassOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GatewayGreengrass)(nil)).Elem() -} - -func (o GatewayGreengrassOutput) ToGatewayGreengrassOutput() GatewayGreengrassOutput { - return o -} - -func (o GatewayGreengrassOutput) ToGatewayGreengrassOutputWithContext(ctx context.Context) GatewayGreengrassOutput { - return o -} - -func (o GatewayGreengrassOutput) ToGatewayGreengrassPtrOutput() GatewayGreengrassPtrOutput { - return o.ToGatewayGreengrassPtrOutputWithContext(context.Background()) -} - -func (o GatewayGreengrassOutput) ToGatewayGreengrassPtrOutputWithContext(ctx context.Context) GatewayGreengrassPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GatewayGreengrass) *GatewayGreengrass { - return &v - }).(GatewayGreengrassPtrOutput) -} - -// The ARN of the Greengrass group. -func (o GatewayGreengrassOutput) GroupArn() pulumi.StringOutput { - return o.ApplyT(func(v GatewayGreengrass) string { return v.GroupArn }).(pulumi.StringOutput) -} - -type GatewayGreengrassPtrOutput struct{ *pulumi.OutputState } - -func (GatewayGreengrassPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GatewayGreengrass)(nil)).Elem() -} - -func (o GatewayGreengrassPtrOutput) ToGatewayGreengrassPtrOutput() GatewayGreengrassPtrOutput { - return o -} - -func (o GatewayGreengrassPtrOutput) ToGatewayGreengrassPtrOutputWithContext(ctx context.Context) GatewayGreengrassPtrOutput { - return o -} - -func (o GatewayGreengrassPtrOutput) Elem() GatewayGreengrassOutput { - return o.ApplyT(func(v *GatewayGreengrass) GatewayGreengrass { - if v != nil { - return *v - } - var ret GatewayGreengrass - return ret - }).(GatewayGreengrassOutput) -} - -// The ARN of the Greengrass group. -func (o GatewayGreengrassPtrOutput) GroupArn() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GatewayGreengrass) *string { - if v == nil { - return nil - } - return &v.GroupArn - }).(pulumi.StringPtrOutput) -} - // Contains the CoreDeviceThingName of AWS IoT Greengrass Group V2 that the gateway runs on. type GatewayGreengrassV2 struct { + // The operating system of the core device in AWS IoT Greengrass V2. + CoreDeviceOperatingSystem *GatewayGreengrassV2CoreDeviceOperatingSystem `pulumi:"coreDeviceOperatingSystem"` // The name of the CoreDevice in GreenGrass V2. CoreDeviceThingName string `pulumi:"coreDeviceThingName"` } @@ -3411,6 +3273,8 @@ type GatewayGreengrassV2Input interface { // Contains the CoreDeviceThingName of AWS IoT Greengrass Group V2 that the gateway runs on. type GatewayGreengrassV2Args struct { + // The operating system of the core device in AWS IoT Greengrass V2. + CoreDeviceOperatingSystem GatewayGreengrassV2CoreDeviceOperatingSystemPtrInput `pulumi:"coreDeviceOperatingSystem"` // The name of the CoreDevice in GreenGrass V2. CoreDeviceThingName pulumi.StringInput `pulumi:"coreDeviceThingName"` } @@ -3493,6 +3357,13 @@ func (o GatewayGreengrassV2Output) ToGatewayGreengrassV2PtrOutputWithContext(ctx }).(GatewayGreengrassV2PtrOutput) } +// The operating system of the core device in AWS IoT Greengrass V2. +func (o GatewayGreengrassV2Output) CoreDeviceOperatingSystem() GatewayGreengrassV2CoreDeviceOperatingSystemPtrOutput { + return o.ApplyT(func(v GatewayGreengrassV2) *GatewayGreengrassV2CoreDeviceOperatingSystem { + return v.CoreDeviceOperatingSystem + }).(GatewayGreengrassV2CoreDeviceOperatingSystemPtrOutput) +} + // The name of the CoreDevice in GreenGrass V2. func (o GatewayGreengrassV2Output) CoreDeviceThingName() pulumi.StringOutput { return o.ApplyT(func(v GatewayGreengrassV2) string { return v.CoreDeviceThingName }).(pulumi.StringOutput) @@ -3522,6 +3393,16 @@ func (o GatewayGreengrassV2PtrOutput) Elem() GatewayGreengrassV2Output { }).(GatewayGreengrassV2Output) } +// The operating system of the core device in AWS IoT Greengrass V2. +func (o GatewayGreengrassV2PtrOutput) CoreDeviceOperatingSystem() GatewayGreengrassV2CoreDeviceOperatingSystemPtrOutput { + return o.ApplyT(func(v *GatewayGreengrassV2) *GatewayGreengrassV2CoreDeviceOperatingSystem { + if v == nil { + return nil + } + return v.CoreDeviceOperatingSystem + }).(GatewayGreengrassV2CoreDeviceOperatingSystemPtrOutput) +} + // The name of the CoreDevice in GreenGrass V2. func (o GatewayGreengrassV2PtrOutput) CoreDeviceThingName() pulumi.StringPtrOutput { return o.ApplyT(func(v *GatewayGreengrassV2) *string { @@ -3535,7 +3416,7 @@ func (o GatewayGreengrassV2PtrOutput) CoreDeviceThingName() pulumi.StringPtrOutp // Contains a gateway's platform information. type GatewayPlatform struct { // A gateway that runs on AWS IoT Greengrass V1. - Greengrass *GatewayGreengrass `pulumi:"greengrass"` + Greengrass interface{} `pulumi:"greengrass"` // A gateway that runs on AWS IoT Greengrass V2. GreengrassV2 *GatewayGreengrassV2 `pulumi:"greengrassV2"` // A gateway that runs on Siemens Industrial Edge. @@ -3556,7 +3437,7 @@ type GatewayPlatformInput interface { // Contains a gateway's platform information. type GatewayPlatformArgs struct { // A gateway that runs on AWS IoT Greengrass V1. - Greengrass GatewayGreengrassPtrInput `pulumi:"greengrass"` + Greengrass pulumi.Input `pulumi:"greengrass"` // A gateway that runs on AWS IoT Greengrass V2. GreengrassV2 GatewayGreengrassV2PtrInput `pulumi:"greengrassV2"` // A gateway that runs on Siemens Industrial Edge. @@ -3591,8 +3472,8 @@ func (o GatewayPlatformOutput) ToGatewayPlatformOutputWithContext(ctx context.Co } // A gateway that runs on AWS IoT Greengrass V1. -func (o GatewayPlatformOutput) Greengrass() GatewayGreengrassPtrOutput { - return o.ApplyT(func(v GatewayPlatform) *GatewayGreengrass { return v.Greengrass }).(GatewayGreengrassPtrOutput) +func (o GatewayPlatformOutput) Greengrass() pulumi.AnyOutput { + return o.ApplyT(func(v GatewayPlatform) interface{} { return v.Greengrass }).(pulumi.AnyOutput) } // A gateway that runs on AWS IoT Greengrass V2. @@ -3909,8 +3790,6 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*AssetPropertyArrayInput)(nil)).Elem(), AssetPropertyArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GatewayCapabilitySummaryInput)(nil)).Elem(), GatewayCapabilitySummaryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GatewayCapabilitySummaryArrayInput)(nil)).Elem(), GatewayCapabilitySummaryArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GatewayGreengrassInput)(nil)).Elem(), GatewayGreengrassArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GatewayGreengrassPtrInput)(nil)).Elem(), GatewayGreengrassArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GatewayGreengrassV2Input)(nil)).Elem(), GatewayGreengrassV2Args{}) pulumi.RegisterInputType(reflect.TypeOf((*GatewayGreengrassV2PtrInput)(nil)).Elem(), GatewayGreengrassV2Args{}) pulumi.RegisterInputType(reflect.TypeOf((*GatewayPlatformInput)(nil)).Elem(), GatewayPlatformArgs{}) @@ -3962,8 +3841,6 @@ func init() { pulumi.RegisterOutputType(AssetPropertyArrayOutput{}) pulumi.RegisterOutputType(GatewayCapabilitySummaryOutput{}) pulumi.RegisterOutputType(GatewayCapabilitySummaryArrayOutput{}) - pulumi.RegisterOutputType(GatewayGreengrassOutput{}) - pulumi.RegisterOutputType(GatewayGreengrassPtrOutput{}) pulumi.RegisterOutputType(GatewayGreengrassV2Output{}) pulumi.RegisterOutputType(GatewayGreengrassV2PtrOutput{}) pulumi.RegisterOutputType(GatewayPlatformOutput{}) diff --git a/sdk/go/aws/kinesisfirehose/deliveryStream.go b/sdk/go/aws/kinesisfirehose/deliveryStream.go index 77309dd2a4..a1e929c380 100644 --- a/sdk/go/aws/kinesisfirehose/deliveryStream.go +++ b/sdk/go/aws/kinesisfirehose/deliveryStream.go @@ -34,7 +34,8 @@ type DeliveryStream struct { // // - `DirectPut` : Provider applications access the Firehose stream directly. // - `KinesisStreamAsSource` : The Firehose stream uses a Kinesis data stream as a source. - DeliveryStreamType DeliveryStreamTypePtrOutput `pulumi:"deliveryStreamType"` + DeliveryStreamType DeliveryStreamTypePtrOutput `pulumi:"deliveryStreamType"` + DirectPutSourceConfiguration DeliveryStreamDirectPutSourceConfigurationPtrOutput `pulumi:"directPutSourceConfiguration"` // An Amazon ES destination for the delivery stream. // // Conditional. You must specify only one destination configuration. @@ -98,6 +99,7 @@ func NewDeliveryStream(ctx *pulumi.Context, "databaseSourceConfiguration", "deliveryStreamName", "deliveryStreamType", + "directPutSourceConfiguration", "elasticsearchDestinationConfiguration.vpcConfiguration", "icebergDestinationConfiguration", "kinesisStreamSourceConfiguration", @@ -154,7 +156,8 @@ type deliveryStreamArgs struct { // // - `DirectPut` : Provider applications access the Firehose stream directly. // - `KinesisStreamAsSource` : The Firehose stream uses a Kinesis data stream as a source. - DeliveryStreamType *DeliveryStreamType `pulumi:"deliveryStreamType"` + DeliveryStreamType *DeliveryStreamType `pulumi:"deliveryStreamType"` + DirectPutSourceConfiguration *DeliveryStreamDirectPutSourceConfiguration `pulumi:"directPutSourceConfiguration"` // An Amazon ES destination for the delivery stream. // // Conditional. You must specify only one destination configuration. @@ -223,7 +226,8 @@ type DeliveryStreamArgs struct { // // - `DirectPut` : Provider applications access the Firehose stream directly. // - `KinesisStreamAsSource` : The Firehose stream uses a Kinesis data stream as a source. - DeliveryStreamType DeliveryStreamTypePtrInput + DeliveryStreamType DeliveryStreamTypePtrInput + DirectPutSourceConfiguration DeliveryStreamDirectPutSourceConfigurationPtrInput // An Amazon ES destination for the delivery stream. // // Conditional. You must specify only one destination configuration. @@ -359,6 +363,12 @@ func (o DeliveryStreamOutput) DeliveryStreamType() DeliveryStreamTypePtrOutput { return o.ApplyT(func(v *DeliveryStream) DeliveryStreamTypePtrOutput { return v.DeliveryStreamType }).(DeliveryStreamTypePtrOutput) } +func (o DeliveryStreamOutput) DirectPutSourceConfiguration() DeliveryStreamDirectPutSourceConfigurationPtrOutput { + return o.ApplyT(func(v *DeliveryStream) DeliveryStreamDirectPutSourceConfigurationPtrOutput { + return v.DirectPutSourceConfiguration + }).(DeliveryStreamDirectPutSourceConfigurationPtrOutput) +} + // An Amazon ES destination for the delivery stream. // // Conditional. You must specify only one destination configuration. diff --git a/sdk/go/aws/kinesisfirehose/pulumiTypes.go b/sdk/go/aws/kinesisfirehose/pulumiTypes.go index d9b5c6f962..c10ca8c482 100644 --- a/sdk/go/aws/kinesisfirehose/pulumiTypes.go +++ b/sdk/go/aws/kinesisfirehose/pulumiTypes.go @@ -3805,6 +3805,139 @@ func (o DeliveryStreamDestinationTableConfigurationArrayOutput) Index(i pulumi.I }).(DeliveryStreamDestinationTableConfigurationOutput) } +type DeliveryStreamDirectPutSourceConfiguration struct { + ThroughputHintInMbs *int `pulumi:"throughputHintInMbs"` +} + +// DeliveryStreamDirectPutSourceConfigurationInput is an input type that accepts DeliveryStreamDirectPutSourceConfigurationArgs and DeliveryStreamDirectPutSourceConfigurationOutput values. +// You can construct a concrete instance of `DeliveryStreamDirectPutSourceConfigurationInput` via: +// +// DeliveryStreamDirectPutSourceConfigurationArgs{...} +type DeliveryStreamDirectPutSourceConfigurationInput interface { + pulumi.Input + + ToDeliveryStreamDirectPutSourceConfigurationOutput() DeliveryStreamDirectPutSourceConfigurationOutput + ToDeliveryStreamDirectPutSourceConfigurationOutputWithContext(context.Context) DeliveryStreamDirectPutSourceConfigurationOutput +} + +type DeliveryStreamDirectPutSourceConfigurationArgs struct { + ThroughputHintInMbs pulumi.IntPtrInput `pulumi:"throughputHintInMbs"` +} + +func (DeliveryStreamDirectPutSourceConfigurationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DeliveryStreamDirectPutSourceConfiguration)(nil)).Elem() +} + +func (i DeliveryStreamDirectPutSourceConfigurationArgs) ToDeliveryStreamDirectPutSourceConfigurationOutput() DeliveryStreamDirectPutSourceConfigurationOutput { + return i.ToDeliveryStreamDirectPutSourceConfigurationOutputWithContext(context.Background()) +} + +func (i DeliveryStreamDirectPutSourceConfigurationArgs) ToDeliveryStreamDirectPutSourceConfigurationOutputWithContext(ctx context.Context) DeliveryStreamDirectPutSourceConfigurationOutput { + return pulumi.ToOutputWithContext(ctx, i).(DeliveryStreamDirectPutSourceConfigurationOutput) +} + +func (i DeliveryStreamDirectPutSourceConfigurationArgs) ToDeliveryStreamDirectPutSourceConfigurationPtrOutput() DeliveryStreamDirectPutSourceConfigurationPtrOutput { + return i.ToDeliveryStreamDirectPutSourceConfigurationPtrOutputWithContext(context.Background()) +} + +func (i DeliveryStreamDirectPutSourceConfigurationArgs) ToDeliveryStreamDirectPutSourceConfigurationPtrOutputWithContext(ctx context.Context) DeliveryStreamDirectPutSourceConfigurationPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DeliveryStreamDirectPutSourceConfigurationOutput).ToDeliveryStreamDirectPutSourceConfigurationPtrOutputWithContext(ctx) +} + +// DeliveryStreamDirectPutSourceConfigurationPtrInput is an input type that accepts DeliveryStreamDirectPutSourceConfigurationArgs, DeliveryStreamDirectPutSourceConfigurationPtr and DeliveryStreamDirectPutSourceConfigurationPtrOutput values. +// You can construct a concrete instance of `DeliveryStreamDirectPutSourceConfigurationPtrInput` via: +// +// DeliveryStreamDirectPutSourceConfigurationArgs{...} +// +// or: +// +// nil +type DeliveryStreamDirectPutSourceConfigurationPtrInput interface { + pulumi.Input + + ToDeliveryStreamDirectPutSourceConfigurationPtrOutput() DeliveryStreamDirectPutSourceConfigurationPtrOutput + ToDeliveryStreamDirectPutSourceConfigurationPtrOutputWithContext(context.Context) DeliveryStreamDirectPutSourceConfigurationPtrOutput +} + +type deliveryStreamDirectPutSourceConfigurationPtrType DeliveryStreamDirectPutSourceConfigurationArgs + +func DeliveryStreamDirectPutSourceConfigurationPtr(v *DeliveryStreamDirectPutSourceConfigurationArgs) DeliveryStreamDirectPutSourceConfigurationPtrInput { + return (*deliveryStreamDirectPutSourceConfigurationPtrType)(v) +} + +func (*deliveryStreamDirectPutSourceConfigurationPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**DeliveryStreamDirectPutSourceConfiguration)(nil)).Elem() +} + +func (i *deliveryStreamDirectPutSourceConfigurationPtrType) ToDeliveryStreamDirectPutSourceConfigurationPtrOutput() DeliveryStreamDirectPutSourceConfigurationPtrOutput { + return i.ToDeliveryStreamDirectPutSourceConfigurationPtrOutputWithContext(context.Background()) +} + +func (i *deliveryStreamDirectPutSourceConfigurationPtrType) ToDeliveryStreamDirectPutSourceConfigurationPtrOutputWithContext(ctx context.Context) DeliveryStreamDirectPutSourceConfigurationPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DeliveryStreamDirectPutSourceConfigurationPtrOutput) +} + +type DeliveryStreamDirectPutSourceConfigurationOutput struct{ *pulumi.OutputState } + +func (DeliveryStreamDirectPutSourceConfigurationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DeliveryStreamDirectPutSourceConfiguration)(nil)).Elem() +} + +func (o DeliveryStreamDirectPutSourceConfigurationOutput) ToDeliveryStreamDirectPutSourceConfigurationOutput() DeliveryStreamDirectPutSourceConfigurationOutput { + return o +} + +func (o DeliveryStreamDirectPutSourceConfigurationOutput) ToDeliveryStreamDirectPutSourceConfigurationOutputWithContext(ctx context.Context) DeliveryStreamDirectPutSourceConfigurationOutput { + return o +} + +func (o DeliveryStreamDirectPutSourceConfigurationOutput) ToDeliveryStreamDirectPutSourceConfigurationPtrOutput() DeliveryStreamDirectPutSourceConfigurationPtrOutput { + return o.ToDeliveryStreamDirectPutSourceConfigurationPtrOutputWithContext(context.Background()) +} + +func (o DeliveryStreamDirectPutSourceConfigurationOutput) ToDeliveryStreamDirectPutSourceConfigurationPtrOutputWithContext(ctx context.Context) DeliveryStreamDirectPutSourceConfigurationPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v DeliveryStreamDirectPutSourceConfiguration) *DeliveryStreamDirectPutSourceConfiguration { + return &v + }).(DeliveryStreamDirectPutSourceConfigurationPtrOutput) +} + +func (o DeliveryStreamDirectPutSourceConfigurationOutput) ThroughputHintInMbs() pulumi.IntPtrOutput { + return o.ApplyT(func(v DeliveryStreamDirectPutSourceConfiguration) *int { return v.ThroughputHintInMbs }).(pulumi.IntPtrOutput) +} + +type DeliveryStreamDirectPutSourceConfigurationPtrOutput struct{ *pulumi.OutputState } + +func (DeliveryStreamDirectPutSourceConfigurationPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DeliveryStreamDirectPutSourceConfiguration)(nil)).Elem() +} + +func (o DeliveryStreamDirectPutSourceConfigurationPtrOutput) ToDeliveryStreamDirectPutSourceConfigurationPtrOutput() DeliveryStreamDirectPutSourceConfigurationPtrOutput { + return o +} + +func (o DeliveryStreamDirectPutSourceConfigurationPtrOutput) ToDeliveryStreamDirectPutSourceConfigurationPtrOutputWithContext(ctx context.Context) DeliveryStreamDirectPutSourceConfigurationPtrOutput { + return o +} + +func (o DeliveryStreamDirectPutSourceConfigurationPtrOutput) Elem() DeliveryStreamDirectPutSourceConfigurationOutput { + return o.ApplyT(func(v *DeliveryStreamDirectPutSourceConfiguration) DeliveryStreamDirectPutSourceConfiguration { + if v != nil { + return *v + } + var ret DeliveryStreamDirectPutSourceConfiguration + return ret + }).(DeliveryStreamDirectPutSourceConfigurationOutput) +} + +func (o DeliveryStreamDirectPutSourceConfigurationPtrOutput) ThroughputHintInMbs() pulumi.IntPtrOutput { + return o.ApplyT(func(v *DeliveryStreamDirectPutSourceConfiguration) *int { + if v == nil { + return nil + } + return v.ThroughputHintInMbs + }).(pulumi.IntPtrOutput) +} + type DeliveryStreamDocumentIdOptions struct { // When the `FIREHOSE_DEFAULT` option is chosen, Firehose generates a unique document ID for each record based on a unique internal identifier. The generated document ID is stable across multiple delivery attempts, which helps prevent the same record from being indexed multiple times with different document IDs. // @@ -6471,6 +6604,7 @@ func (o DeliveryStreamHttpEndpointRequestConfigurationPtrOutput) ContentEncoding } type DeliveryStreamIcebergDestinationConfiguration struct { + AppendOnly *bool `pulumi:"appendOnly"` BufferingHints *DeliveryStreamBufferingHints `pulumi:"bufferingHints"` // Configuration describing where the destination Apache Iceberg Tables are persisted. CatalogConfiguration DeliveryStreamCatalogConfiguration `pulumi:"catalogConfiguration"` @@ -6498,6 +6632,7 @@ type DeliveryStreamIcebergDestinationConfigurationInput interface { } type DeliveryStreamIcebergDestinationConfigurationArgs struct { + AppendOnly pulumi.BoolPtrInput `pulumi:"appendOnly"` BufferingHints DeliveryStreamBufferingHintsPtrInput `pulumi:"bufferingHints"` // Configuration describing where the destination Apache Iceberg Tables are persisted. CatalogConfiguration DeliveryStreamCatalogConfigurationInput `pulumi:"catalogConfiguration"` @@ -6590,6 +6725,10 @@ func (o DeliveryStreamIcebergDestinationConfigurationOutput) ToDeliveryStreamIce }).(DeliveryStreamIcebergDestinationConfigurationPtrOutput) } +func (o DeliveryStreamIcebergDestinationConfigurationOutput) AppendOnly() pulumi.BoolPtrOutput { + return o.ApplyT(func(v DeliveryStreamIcebergDestinationConfiguration) *bool { return v.AppendOnly }).(pulumi.BoolPtrOutput) +} + func (o DeliveryStreamIcebergDestinationConfigurationOutput) BufferingHints() DeliveryStreamBufferingHintsPtrOutput { return o.ApplyT(func(v DeliveryStreamIcebergDestinationConfiguration) *DeliveryStreamBufferingHints { return v.BufferingHints @@ -6670,6 +6809,15 @@ func (o DeliveryStreamIcebergDestinationConfigurationPtrOutput) Elem() DeliveryS }).(DeliveryStreamIcebergDestinationConfigurationOutput) } +func (o DeliveryStreamIcebergDestinationConfigurationPtrOutput) AppendOnly() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *DeliveryStreamIcebergDestinationConfiguration) *bool { + if v == nil { + return nil + } + return v.AppendOnly + }).(pulumi.BoolPtrOutput) +} + func (o DeliveryStreamIcebergDestinationConfigurationPtrOutput) BufferingHints() DeliveryStreamBufferingHintsPtrOutput { return o.ApplyT(func(v *DeliveryStreamIcebergDestinationConfiguration) *DeliveryStreamBufferingHints { if v == nil { @@ -12177,6 +12325,8 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*DeliveryStreamDeserializerPtrInput)(nil)).Elem(), DeliveryStreamDeserializerArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DeliveryStreamDestinationTableConfigurationInput)(nil)).Elem(), DeliveryStreamDestinationTableConfigurationArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DeliveryStreamDestinationTableConfigurationArrayInput)(nil)).Elem(), DeliveryStreamDestinationTableConfigurationArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*DeliveryStreamDirectPutSourceConfigurationInput)(nil)).Elem(), DeliveryStreamDirectPutSourceConfigurationArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DeliveryStreamDirectPutSourceConfigurationPtrInput)(nil)).Elem(), DeliveryStreamDirectPutSourceConfigurationArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DeliveryStreamDocumentIdOptionsInput)(nil)).Elem(), DeliveryStreamDocumentIdOptionsArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DeliveryStreamDocumentIdOptionsPtrInput)(nil)).Elem(), DeliveryStreamDocumentIdOptionsArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DeliveryStreamDynamicPartitioningConfigurationInput)(nil)).Elem(), DeliveryStreamDynamicPartitioningConfigurationArgs{}) @@ -12299,6 +12449,8 @@ func init() { pulumi.RegisterOutputType(DeliveryStreamDeserializerPtrOutput{}) pulumi.RegisterOutputType(DeliveryStreamDestinationTableConfigurationOutput{}) pulumi.RegisterOutputType(DeliveryStreamDestinationTableConfigurationArrayOutput{}) + pulumi.RegisterOutputType(DeliveryStreamDirectPutSourceConfigurationOutput{}) + pulumi.RegisterOutputType(DeliveryStreamDirectPutSourceConfigurationPtrOutput{}) pulumi.RegisterOutputType(DeliveryStreamDocumentIdOptionsOutput{}) pulumi.RegisterOutputType(DeliveryStreamDocumentIdOptionsPtrOutput{}) pulumi.RegisterOutputType(DeliveryStreamDynamicPartitioningConfigurationOutput{}) diff --git a/sdk/nodejs/aps/getScraper.ts b/sdk/nodejs/aps/getScraper.ts index 568d8b17e0..8f0b99b545 100644 --- a/sdk/nodejs/aps/getScraper.ts +++ b/sdk/nodejs/aps/getScraper.ts @@ -41,6 +41,7 @@ export interface GetScraperResult { * IAM role ARN for the scraper. */ readonly roleArn?: string; + readonly roleConfiguration?: outputs.aps.ScraperRoleConfiguration; /** * The configuration in use by the scraper. */ diff --git a/sdk/nodejs/aps/scraper.ts b/sdk/nodejs/aps/scraper.ts index a13cdf6467..0610c3f3ea 100644 --- a/sdk/nodejs/aps/scraper.ts +++ b/sdk/nodejs/aps/scraper.ts @@ -53,6 +53,7 @@ export class Scraper extends pulumi.CustomResource { * IAM role ARN for the scraper. */ public /*out*/ readonly roleArn!: pulumi.Output; + public readonly roleConfiguration!: pulumi.Output; /** * The configuration in use by the scraper. */ @@ -92,6 +93,7 @@ export class Scraper extends pulumi.CustomResource { } resourceInputs["alias"] = args ? args.alias : undefined; resourceInputs["destination"] = args ? args.destination : undefined; + resourceInputs["roleConfiguration"] = args ? args.roleConfiguration : undefined; resourceInputs["scrapeConfiguration"] = args ? args.scrapeConfiguration : undefined; resourceInputs["source"] = args ? args.source : undefined; resourceInputs["tags"] = args ? args.tags : undefined; @@ -103,6 +105,7 @@ export class Scraper extends pulumi.CustomResource { resourceInputs["arn"] = undefined /*out*/; resourceInputs["destination"] = undefined /*out*/; resourceInputs["roleArn"] = undefined /*out*/; + resourceInputs["roleConfiguration"] = undefined /*out*/; resourceInputs["scrapeConfiguration"] = undefined /*out*/; resourceInputs["scraperId"] = undefined /*out*/; resourceInputs["source"] = undefined /*out*/; @@ -127,6 +130,7 @@ export interface ScraperArgs { * The Amazon Managed Service for Prometheus workspace the scraper sends metrics to. */ destination: pulumi.Input; + roleConfiguration?: pulumi.Input; /** * The configuration in use by the scraper. */ diff --git a/sdk/nodejs/cloudformation/getPublicTypeVersion.ts b/sdk/nodejs/cloudformation/getPublicTypeVersion.ts index f60cb0e928..47c88fc818 100644 --- a/sdk/nodejs/cloudformation/getPublicTypeVersion.ts +++ b/sdk/nodejs/cloudformation/getPublicTypeVersion.ts @@ -27,7 +27,7 @@ export interface GetPublicTypeVersionResult { */ readonly publicTypeArn?: string; /** - * The publisher id assigned by CloudFormation for publishing in this region. + * The reserved publisher id for this type, or the publisher id assigned by CloudFormation for publishing in this region. */ readonly publisherId?: string; /** diff --git a/sdk/nodejs/cloudformation/getPublisher.ts b/sdk/nodejs/cloudformation/getPublisher.ts index 3a0c904dcc..54aacd0ce5 100644 --- a/sdk/nodejs/cloudformation/getPublisher.ts +++ b/sdk/nodejs/cloudformation/getPublisher.ts @@ -19,7 +19,7 @@ export function getPublisher(args: GetPublisherArgs, opts?: pulumi.InvokeOptions export interface GetPublisherArgs { /** - * The publisher id assigned by CloudFormation for publishing in this region. + * The reserved publisher id for this type, or the publisher id assigned by CloudFormation for publishing in this region. */ publisherId: string; } @@ -30,7 +30,7 @@ export interface GetPublisherResult { */ readonly identityProvider?: enums.cloudformation.PublisherIdentityProvider; /** - * The publisher id assigned by CloudFormation for publishing in this region. + * The reserved publisher id for this type, or the publisher id assigned by CloudFormation for publishing in this region. */ readonly publisherId?: string; /** @@ -54,7 +54,7 @@ export function getPublisherOutput(args: GetPublisherOutputArgs, opts?: pulumi.I export interface GetPublisherOutputArgs { /** - * The publisher id assigned by CloudFormation for publishing in this region. + * The reserved publisher id for this type, or the publisher id assigned by CloudFormation for publishing in this region. */ publisherId: pulumi.Input; } diff --git a/sdk/nodejs/cloudformation/getTypeActivation.ts b/sdk/nodejs/cloudformation/getTypeActivation.ts index d41dc210d1..e7d9ba5fc3 100644 --- a/sdk/nodejs/cloudformation/getTypeActivation.ts +++ b/sdk/nodejs/cloudformation/getTypeActivation.ts @@ -31,7 +31,7 @@ export interface GetTypeActivationResult { */ readonly publicTypeArn?: string; /** - * The publisher id assigned by CloudFormation for publishing in this region. + * The reserved publisher id for this type, or the publisher id assigned by CloudFormation for publishing in this region. */ readonly publisherId?: string; /** diff --git a/sdk/nodejs/cloudformation/publicTypeVersion.ts b/sdk/nodejs/cloudformation/publicTypeVersion.ts index be8b3b0621..43988b8d9b 100644 --- a/sdk/nodejs/cloudformation/publicTypeVersion.ts +++ b/sdk/nodejs/cloudformation/publicTypeVersion.ts @@ -54,7 +54,7 @@ export class PublicTypeVersion extends pulumi.CustomResource { */ public readonly publicVersionNumber!: pulumi.Output; /** - * The publisher id assigned by CloudFormation for publishing in this region. + * The reserved publisher id for this type, or the publisher id assigned by CloudFormation for publishing in this region. */ public /*out*/ readonly publisherId!: pulumi.Output; /** diff --git a/sdk/nodejs/cloudformation/publisher.ts b/sdk/nodejs/cloudformation/publisher.ts index 0705a1b087..d0722ed693 100644 --- a/sdk/nodejs/cloudformation/publisher.ts +++ b/sdk/nodejs/cloudformation/publisher.ts @@ -50,7 +50,7 @@ export class Publisher extends pulumi.CustomResource { */ public /*out*/ readonly identityProvider!: pulumi.Output; /** - * The publisher id assigned by CloudFormation for publishing in this region. + * The reserved publisher id for this type, or the publisher id assigned by CloudFormation for publishing in this region. */ public /*out*/ readonly publisherId!: pulumi.Output; /** diff --git a/sdk/nodejs/cloudformation/typeActivation.ts b/sdk/nodejs/cloudformation/typeActivation.ts index 3201280381..cca35b9786 100644 --- a/sdk/nodejs/cloudformation/typeActivation.ts +++ b/sdk/nodejs/cloudformation/typeActivation.ts @@ -62,7 +62,7 @@ export class TypeActivation extends pulumi.CustomResource { */ public readonly publicTypeArn!: pulumi.Output; /** - * The publisher id assigned by CloudFormation for publishing in this region. + * The reserved publisher id for this type, or the publisher id assigned by CloudFormation for publishing in this region. */ public readonly publisherId!: pulumi.Output; /** @@ -151,7 +151,7 @@ export interface TypeActivationArgs { */ publicTypeArn?: pulumi.Input; /** - * The publisher id assigned by CloudFormation for publishing in this region. + * The reserved publisher id for this type, or the publisher id assigned by CloudFormation for publishing in this region. */ publisherId?: pulumi.Input; /** diff --git a/sdk/nodejs/cloudfront/getVpcOrigin.ts b/sdk/nodejs/cloudfront/getVpcOrigin.ts index b968ef2264..19fc2ba3ff 100644 --- a/sdk/nodejs/cloudfront/getVpcOrigin.ts +++ b/sdk/nodejs/cloudfront/getVpcOrigin.ts @@ -18,16 +18,40 @@ export function getVpcOrigin(args: GetVpcOriginArgs, opts?: pulumi.InvokeOptions } export interface GetVpcOriginArgs { + /** + * The VPC origin ID. + */ id: string; } export interface GetVpcOriginResult { + /** + * The VPC origin ARN. + */ readonly arn?: string; + /** + * The VPC origin created time. + */ readonly createdTime?: string; + /** + * The VPC origin ID. + */ readonly id?: string; + /** + * The VPC origin last modified time. + */ readonly lastModifiedTime?: string; + /** + * The VPC origin status. + */ readonly status?: string; + /** + * A complex type that contains zero or more `Tag` elements. + */ readonly tags?: outputs.Tag[]; + /** + * The VPC origin endpoint configuration. + */ readonly vpcOriginEndpointConfig?: outputs.cloudfront.VpcOriginEndpointConfig; } /** @@ -41,5 +65,8 @@ export function getVpcOriginOutput(args: GetVpcOriginOutputArgs, opts?: pulumi.I } export interface GetVpcOriginOutputArgs { + /** + * The VPC origin ID. + */ id: pulumi.Input; } diff --git a/sdk/nodejs/cloudfront/vpcOrigin.ts b/sdk/nodejs/cloudfront/vpcOrigin.ts index cc611a5f23..95e65739fa 100644 --- a/sdk/nodejs/cloudfront/vpcOrigin.ts +++ b/sdk/nodejs/cloudfront/vpcOrigin.ts @@ -37,12 +37,33 @@ export class VpcOrigin extends pulumi.CustomResource { return obj['__pulumiType'] === VpcOrigin.__pulumiType; } + /** + * The VPC origin ARN. + */ public /*out*/ readonly arn!: pulumi.Output; + /** + * The VPC origin ID. + */ public /*out*/ readonly awsId!: pulumi.Output; + /** + * The VPC origin created time. + */ public /*out*/ readonly createdTime!: pulumi.Output; + /** + * The VPC origin last modified time. + */ public /*out*/ readonly lastModifiedTime!: pulumi.Output; + /** + * The VPC origin status. + */ public /*out*/ readonly status!: pulumi.Output; + /** + * A complex type that contains zero or more `Tag` elements. + */ public readonly tags!: pulumi.Output; + /** + * The VPC origin endpoint configuration. + */ public readonly vpcOriginEndpointConfig!: pulumi.Output; /** @@ -84,6 +105,12 @@ export class VpcOrigin extends pulumi.CustomResource { * The set of arguments for constructing a VpcOrigin resource. */ export interface VpcOriginArgs { + /** + * A complex type that contains zero or more `Tag` elements. + */ tags?: pulumi.Input[]>; + /** + * The VPC origin endpoint configuration. + */ vpcOriginEndpointConfig: pulumi.Input; } diff --git a/sdk/nodejs/ec2/capacityReservation.ts b/sdk/nodejs/ec2/capacityReservation.ts index 759e9b0171..33a3c88a8c 100644 --- a/sdk/nodejs/ec2/capacityReservation.ts +++ b/sdk/nodejs/ec2/capacityReservation.ts @@ -81,7 +81,7 @@ export class CapacityReservation extends pulumi.CustomResource { /** * The number of instances for which to reserve capacity. * - * > You can request future-dated Capacity Reservations for an instance count with a minimum of 100 VPUs. For example, if you request a future-dated Capacity Reservation for `m5.xlarge` instances, you must request at least 25 instances ( *25 * m5.xlarge = 100 vCPUs* ). + * > You can request future-dated Capacity Reservations for an instance count with a minimum of 100 vCPUs. For example, if you request a future-dated Capacity Reservation for `m5.xlarge` instances, you must request at least 25 instances ( *25 * m5.xlarge = 100 vCPUs* ). * * Valid range: 1 - 1000 */ @@ -248,7 +248,7 @@ export interface CapacityReservationArgs { /** * The number of instances for which to reserve capacity. * - * > You can request future-dated Capacity Reservations for an instance count with a minimum of 100 VPUs. For example, if you request a future-dated Capacity Reservation for `m5.xlarge` instances, you must request at least 25 instances ( *25 * m5.xlarge = 100 vCPUs* ). + * > You can request future-dated Capacity Reservations for an instance count with a minimum of 100 vCPUs. For example, if you request a future-dated Capacity Reservation for `m5.xlarge` instances, you must request at least 25 instances ( *25 * m5.xlarge = 100 vCPUs* ). * * Valid range: 1 - 1000 */ diff --git a/sdk/nodejs/ec2/getCapacityReservation.ts b/sdk/nodejs/ec2/getCapacityReservation.ts index 69ef38f9c6..925c81293b 100644 --- a/sdk/nodejs/ec2/getCapacityReservation.ts +++ b/sdk/nodejs/ec2/getCapacityReservation.ts @@ -50,7 +50,7 @@ export interface GetCapacityReservationResult { /** * The number of instances for which to reserve capacity. * - * > You can request future-dated Capacity Reservations for an instance count with a minimum of 100 VPUs. For example, if you request a future-dated Capacity Reservation for `m5.xlarge` instances, you must request at least 25 instances ( *25 * m5.xlarge = 100 vCPUs* ). + * > You can request future-dated Capacity Reservations for an instance count with a minimum of 100 vCPUs. For example, if you request a future-dated Capacity Reservation for `m5.xlarge` instances, you must request at least 25 instances ( *25 * m5.xlarge = 100 vCPUs* ). * * Valid range: 1 - 1000 */ diff --git a/sdk/nodejs/iotsitewise/gateway.ts b/sdk/nodejs/iotsitewise/gateway.ts index ea37e00ca0..834ef38228 100644 --- a/sdk/nodejs/iotsitewise/gateway.ts +++ b/sdk/nodejs/iotsitewise/gateway.ts @@ -53,6 +53,10 @@ export class Gateway extends pulumi.CustomResource { * The gateway's platform. You can only specify one platform in a gateway. */ public readonly gatewayPlatform!: pulumi.Output; + /** + * The version of the gateway you want to create. + */ + public readonly gatewayVersion!: pulumi.Output; /** * A list of key-value pairs that contain metadata for the gateway. */ @@ -75,6 +79,7 @@ export class Gateway extends pulumi.CustomResource { resourceInputs["gatewayCapabilitySummaries"] = args ? args.gatewayCapabilitySummaries : undefined; resourceInputs["gatewayName"] = args ? args.gatewayName : undefined; resourceInputs["gatewayPlatform"] = args ? args.gatewayPlatform : undefined; + resourceInputs["gatewayVersion"] = args ? args.gatewayVersion : undefined; resourceInputs["tags"] = args ? args.tags : undefined; resourceInputs["gatewayId"] = undefined /*out*/; } else { @@ -82,10 +87,11 @@ export class Gateway extends pulumi.CustomResource { resourceInputs["gatewayId"] = undefined /*out*/; resourceInputs["gatewayName"] = undefined /*out*/; resourceInputs["gatewayPlatform"] = undefined /*out*/; + resourceInputs["gatewayVersion"] = undefined /*out*/; resourceInputs["tags"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const replaceOnChanges = { replaceOnChanges: ["gatewayPlatform"] }; + const replaceOnChanges = { replaceOnChanges: ["gatewayPlatform", "gatewayVersion"] }; opts = pulumi.mergeOptions(opts, replaceOnChanges); super(Gateway.__pulumiType, name, resourceInputs, opts); } @@ -107,6 +113,10 @@ export interface GatewayArgs { * The gateway's platform. You can only specify one platform in a gateway. */ gatewayPlatform: pulumi.Input; + /** + * The version of the gateway you want to create. + */ + gatewayVersion?: pulumi.Input; /** * A list of key-value pairs that contain metadata for the gateway. */ diff --git a/sdk/nodejs/kinesisfirehose/deliveryStream.ts b/sdk/nodejs/kinesisfirehose/deliveryStream.ts index 4221fc5301..fdef164b2b 100644 --- a/sdk/nodejs/kinesisfirehose/deliveryStream.ts +++ b/sdk/nodejs/kinesisfirehose/deliveryStream.ts @@ -70,6 +70,7 @@ export class DeliveryStream extends pulumi.CustomResource { * - `KinesisStreamAsSource` : The Firehose stream uses a Kinesis data stream as a source. */ public readonly deliveryStreamType!: pulumi.Output; + public readonly directPutSourceConfiguration!: pulumi.Output; /** * An Amazon ES destination for the delivery stream. * @@ -158,6 +159,7 @@ export class DeliveryStream extends pulumi.CustomResource { resourceInputs["deliveryStreamEncryptionConfigurationInput"] = args ? args.deliveryStreamEncryptionConfigurationInput : undefined; resourceInputs["deliveryStreamName"] = args ? args.deliveryStreamName : undefined; resourceInputs["deliveryStreamType"] = args ? args.deliveryStreamType : undefined; + resourceInputs["directPutSourceConfiguration"] = args ? args.directPutSourceConfiguration : undefined; resourceInputs["elasticsearchDestinationConfiguration"] = args ? args.elasticsearchDestinationConfiguration : undefined; resourceInputs["extendedS3DestinationConfiguration"] = args ? args.extendedS3DestinationConfiguration : undefined; resourceInputs["httpEndpointDestinationConfiguration"] = args ? args.httpEndpointDestinationConfiguration : undefined; @@ -178,6 +180,7 @@ export class DeliveryStream extends pulumi.CustomResource { resourceInputs["deliveryStreamEncryptionConfigurationInput"] = undefined /*out*/; resourceInputs["deliveryStreamName"] = undefined /*out*/; resourceInputs["deliveryStreamType"] = undefined /*out*/; + resourceInputs["directPutSourceConfiguration"] = undefined /*out*/; resourceInputs["elasticsearchDestinationConfiguration"] = undefined /*out*/; resourceInputs["extendedS3DestinationConfiguration"] = undefined /*out*/; resourceInputs["httpEndpointDestinationConfiguration"] = undefined /*out*/; @@ -191,7 +194,7 @@ export class DeliveryStream extends pulumi.CustomResource { resourceInputs["tags"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const replaceOnChanges = { replaceOnChanges: ["amazonOpenSearchServerlessDestinationConfiguration.vpcConfiguration", "amazonopensearchserviceDestinationConfiguration.vpcConfiguration", "databaseSourceConfiguration", "deliveryStreamName", "deliveryStreamType", "elasticsearchDestinationConfiguration.vpcConfiguration", "icebergDestinationConfiguration", "kinesisStreamSourceConfiguration", "mskSourceConfiguration", "snowflakeDestinationConfiguration.snowflakeVpcConfiguration"] }; + const replaceOnChanges = { replaceOnChanges: ["amazonOpenSearchServerlessDestinationConfiguration.vpcConfiguration", "amazonopensearchserviceDestinationConfiguration.vpcConfiguration", "databaseSourceConfiguration", "deliveryStreamName", "deliveryStreamType", "directPutSourceConfiguration", "elasticsearchDestinationConfiguration.vpcConfiguration", "icebergDestinationConfiguration", "kinesisStreamSourceConfiguration", "mskSourceConfiguration", "snowflakeDestinationConfiguration.snowflakeVpcConfiguration"] }; opts = pulumi.mergeOptions(opts, replaceOnChanges); super(DeliveryStream.__pulumiType, name, resourceInputs, opts); } @@ -230,6 +233,7 @@ export interface DeliveryStreamArgs { * - `KinesisStreamAsSource` : The Firehose stream uses a Kinesis data stream as a source. */ deliveryStreamType?: pulumi.Input; + directPutSourceConfiguration?: pulumi.Input; /** * An Amazon ES destination for the delivery stream. * diff --git a/sdk/nodejs/types/enums/iotsitewise/index.ts b/sdk/nodejs/types/enums/iotsitewise/index.ts index 1fe5390206..e021e3ef8b 100644 --- a/sdk/nodejs/types/enums/iotsitewise/index.ts +++ b/sdk/nodejs/types/enums/iotsitewise/index.ts @@ -37,6 +37,17 @@ export const AssetPropertyNotificationState = { */ export type AssetPropertyNotificationState = (typeof AssetPropertyNotificationState)[keyof typeof AssetPropertyNotificationState]; +export const GatewayGreengrassV2CoreDeviceOperatingSystem = { + LinuxAarch64: "LINUX_AARCH64", + LinuxAmd64: "LINUX_AMD64", + WindowsAmd64: "WINDOWS_AMD64", +} as const; + +/** + * The operating system of the core device in AWS IoT Greengrass V2. + */ +export type GatewayGreengrassV2CoreDeviceOperatingSystem = (typeof GatewayGreengrassV2CoreDeviceOperatingSystem)[keyof typeof GatewayGreengrassV2CoreDeviceOperatingSystem]; + export const PortalType = { SitewisePortalV1: "SITEWISE_PORTAL_V1", SitewisePortalV2: "SITEWISE_PORTAL_V2", diff --git a/sdk/nodejs/types/input.ts b/sdk/nodejs/types/input.ts index 48ed2f4a56..a79c3af5b1 100644 --- a/sdk/nodejs/types/input.ts +++ b/sdk/nodejs/types/input.ts @@ -6260,6 +6260,20 @@ export namespace aps { workspaceArn: pulumi.Input; } + /** + * Role configuration + */ + export interface ScraperRoleConfigurationArgs { + /** + * IAM Role in source account + */ + sourceRoleArn?: pulumi.Input; + /** + * IAM Role in the target account + */ + targetRoleArn?: pulumi.Input; + } + /** * Scraper configuration */ @@ -8974,6 +8988,7 @@ export namespace batch { * If this value is `true` , the container has read-only access to the volume. Otherwise, the container can write to the volume. The default value is `false` . */ readOnly?: pulumi.Input; + subPath?: pulumi.Input; } export interface JobDefinitionEksEmptyDirArgs { @@ -8998,10 +9013,17 @@ export namespace batch { } export interface JobDefinitionEksMetadataArgs { + annotations?: pulumi.Input<{[key: string]: pulumi.Input}>; /** * Key-value pairs used to identify, sort, and organize cube resources. Can contain up to 63 uppercase letters, lowercase letters, numbers, hyphens (-), and underscores (_). Labels can be added or modified at any time. Each resource can have multiple labels, but each key must be unique for a given object. */ labels?: pulumi.Input<{[key: string]: pulumi.Input}>; + namespace?: pulumi.Input; + } + + export interface JobDefinitionEksPersistentVolumeClaimArgs { + claimName: pulumi.Input; + readOnly?: pulumi.Input; } export interface JobDefinitionEksPodPropertiesArgs { @@ -9082,6 +9104,7 @@ export namespace batch { * The name of the volume. The name must be allowed as a DNS subdomain name. For more information, see [DNS subdomain names](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#dns-subdomain-names) in the *Kubernetes documentation* . */ name: pulumi.Input; + persistentVolumeClaim?: pulumi.Input; /** * Specifies the configuration of a Kubernetes `secret` volume. For more information, see [secret](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/storage/volumes/#secret) in the *Kubernetes documentation* . */ @@ -14144,6 +14167,7 @@ export namespace cloudfront { * Use this type to specify an origin that is an Amazon S3 bucket that is not configured with static website hosting. To specify any other type of origin, including an Amazon S3 bucket that is configured with static website hosting, use the ``CustomOriginConfig`` type instead. */ s3OriginConfig?: pulumi.Input; + vpcOriginConfig?: pulumi.Input; } /** @@ -14351,6 +14375,12 @@ export namespace cloudfront { sslSupportMethod?: pulumi.Input; } + export interface DistributionVpcOriginConfigArgs { + originKeepaliveTimeout?: pulumi.Input; + originReadTimeout?: pulumi.Input; + vpcOriginId: pulumi.Input; + } + /** * Contains configuration information about a CloudFront function. */ @@ -14952,10 +14982,25 @@ export namespace cloudfront { } export interface VpcOriginEndpointConfigArgs { + /** + * The ARN of the CloudFront VPC origin endpoint configuration. + */ arn: pulumi.Input; + /** + * The HTTP port for the CloudFront VPC origin endpoint configuration. + */ httpPort?: pulumi.Input; + /** + * The HTTPS port of the CloudFront VPC origin endpoint configuration. + */ httpsPort?: pulumi.Input; + /** + * The name of the CloudFront VPC origin endpoint configuration. + */ name: pulumi.Input; + /** + * The origin protocol policy for the CloudFront VPC origin endpoint configuration. + */ originProtocolPolicy?: pulumi.Input; originSslProtocols?: pulumi.Input[]>; } @@ -26971,12 +27016,12 @@ export namespace ecs { */ assignPublicIp?: pulumi.Input; /** - * The IDs of the security groups associated with the task or service. If you don't specify a security group, the default security group for the VPC is used. There's a limit of 5 security groups that can be specified per ``awsvpcConfiguration``. + * The IDs of the security groups associated with the task or service. If you don't specify a security group, the default security group for the VPC is used. There's a limit of 5 security groups that can be specified. * All specified security groups must be from the same VPC. */ securityGroups?: pulumi.Input[]>; /** - * The IDs of the subnets associated with the task or service. There's a limit of 16 subnets that can be specified per ``awsvpcConfiguration``. + * The IDs of the subnets associated with the task or service. There's a limit of 16 subnets that can be specified. * All specified subnets must be from the same VPC. */ subnets?: pulumi.Input[]>; @@ -27360,7 +27405,6 @@ export namespace ecs { * This parameter is only supported for the ``gp3`` volume type. */ throughput?: pulumi.Input; - volumeInitializationRate?: pulumi.Input; /** * The volume type. This parameter maps 1:1 with the ``VolumeType`` parameter of the [CreateVolume API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateVolume.html) in the *Amazon EC2 API Reference*. For more information, see [Amazon EBS volume types](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-volume-types.html) in the *Amazon EC2 User Guide*. * The following are the supported volume types. @@ -40046,20 +40090,14 @@ export namespace iotsitewise { capabilityNamespace: pulumi.Input; } - /** - * Contains the ARN of AWS IoT Greengrass Group V1 that the gateway runs on. - */ - export interface GatewayGreengrassArgs { - /** - * The ARN of the Greengrass group. - */ - groupArn: pulumi.Input; - } - /** * Contains the CoreDeviceThingName of AWS IoT Greengrass Group V2 that the gateway runs on. */ export interface GatewayGreengrassV2Args { + /** + * The operating system of the core device in AWS IoT Greengrass V2. + */ + coreDeviceOperatingSystem?: pulumi.Input; /** * The name of the CoreDevice in GreenGrass V2. */ @@ -40073,7 +40111,7 @@ export namespace iotsitewise { /** * A gateway that runs on AWS IoT Greengrass V1. */ - greengrass?: pulumi.Input; + greengrass?: any; /** * A gateway that runs on AWS IoT Greengrass V2. */ @@ -43430,6 +43468,10 @@ export namespace kinesisfirehose { uniqueKeys?: pulumi.Input[]>; } + export interface DeliveryStreamDirectPutSourceConfigurationArgs { + throughputHintInMbs?: pulumi.Input; + } + export interface DeliveryStreamDocumentIdOptionsArgs { /** * When the `FIREHOSE_DEFAULT` option is chosen, Firehose generates a unique document ID for each record based on a unique internal identifier. The generated document ID is stable across multiple delivery attempts, which helps prevent the same record from being indexed multiple times with different document IDs. @@ -43706,6 +43748,7 @@ export namespace kinesisfirehose { } export interface DeliveryStreamIcebergDestinationConfigurationArgs { + appendOnly?: pulumi.Input; bufferingHints?: pulumi.Input; /** * Configuration describing where the destination Apache Iceberg Tables are persisted. diff --git a/sdk/nodejs/types/output.ts b/sdk/nodejs/types/output.ts index d819e47a79..e979fe298d 100644 --- a/sdk/nodejs/types/output.ts +++ b/sdk/nodejs/types/output.ts @@ -6177,6 +6177,20 @@ export namespace aps { workspaceArn: string; } + /** + * Role configuration + */ + export interface ScraperRoleConfiguration { + /** + * IAM Role in source account + */ + sourceRoleArn?: string; + /** + * IAM Role in the target account + */ + targetRoleArn?: string; + } + /** * Scraper configuration */ @@ -8895,6 +8909,7 @@ export namespace batch { * If this value is `true` , the container has read-only access to the volume. Otherwise, the container can write to the volume. The default value is `false` . */ readOnly?: boolean; + subPath?: string; } export interface JobDefinitionEksEmptyDir { @@ -8919,10 +8934,17 @@ export namespace batch { } export interface JobDefinitionEksMetadata { + annotations?: {[key: string]: string}; /** * Key-value pairs used to identify, sort, and organize cube resources. Can contain up to 63 uppercase letters, lowercase letters, numbers, hyphens (-), and underscores (_). Labels can be added or modified at any time. Each resource can have multiple labels, but each key must be unique for a given object. */ labels?: {[key: string]: string}; + namespace?: string; + } + + export interface JobDefinitionEksPersistentVolumeClaim { + claimName: string; + readOnly?: boolean; } export interface JobDefinitionEksPodProperties { @@ -9003,6 +9025,7 @@ export namespace batch { * The name of the volume. The name must be allowed as a DNS subdomain name. For more information, see [DNS subdomain names](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#dns-subdomain-names) in the *Kubernetes documentation* . */ name: string; + persistentVolumeClaim?: outputs.batch.JobDefinitionEksPersistentVolumeClaim; /** * Specifies the configuration of a Kubernetes `secret` volume. For more information, see [secret](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/storage/volumes/#secret) in the *Kubernetes documentation* . */ @@ -14895,6 +14918,7 @@ export namespace cloudfront { * Use this type to specify an origin that is an Amazon S3 bucket that is not configured with static website hosting. To specify any other type of origin, including an Amazon S3 bucket that is configured with static website hosting, use the ``CustomOriginConfig`` type instead. */ s3OriginConfig?: outputs.cloudfront.DistributionS3OriginConfig; + vpcOriginConfig?: outputs.cloudfront.DistributionVpcOriginConfig; } /** @@ -15102,6 +15126,12 @@ export namespace cloudfront { sslSupportMethod?: string; } + export interface DistributionVpcOriginConfig { + originKeepaliveTimeout?: number; + originReadTimeout?: number; + vpcOriginId: string; + } + /** * Contains configuration information about a CloudFront function. */ @@ -15703,10 +15733,25 @@ export namespace cloudfront { } export interface VpcOriginEndpointConfig { + /** + * The ARN of the CloudFront VPC origin endpoint configuration. + */ arn: string; + /** + * The HTTP port for the CloudFront VPC origin endpoint configuration. + */ httpPort?: number; + /** + * The HTTPS port of the CloudFront VPC origin endpoint configuration. + */ httpsPort?: number; + /** + * The name of the CloudFront VPC origin endpoint configuration. + */ name: string; + /** + * The origin protocol policy for the CloudFront VPC origin endpoint configuration. + */ originProtocolPolicy?: string; originSslProtocols?: string[]; } @@ -28485,12 +28530,12 @@ export namespace ecs { */ assignPublicIp?: enums.ecs.ServiceAwsVpcConfigurationAssignPublicIp; /** - * The IDs of the security groups associated with the task or service. If you don't specify a security group, the default security group for the VPC is used. There's a limit of 5 security groups that can be specified per ``awsvpcConfiguration``. + * The IDs of the security groups associated with the task or service. If you don't specify a security group, the default security group for the VPC is used. There's a limit of 5 security groups that can be specified. * All specified security groups must be from the same VPC. */ securityGroups?: string[]; /** - * The IDs of the subnets associated with the task or service. There's a limit of 16 subnets that can be specified per ``awsvpcConfiguration``. + * The IDs of the subnets associated with the task or service. There's a limit of 16 subnets that can be specified. * All specified subnets must be from the same VPC. */ subnets?: string[]; @@ -28874,7 +28919,6 @@ export namespace ecs { * This parameter is only supported for the ``gp3`` volume type. */ throughput?: number; - volumeInitializationRate?: number; /** * The volume type. This parameter maps 1:1 with the ``VolumeType`` parameter of the [CreateVolume API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateVolume.html) in the *Amazon EC2 API Reference*. For more information, see [Amazon EBS volume types](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-volume-types.html) in the *Amazon EC2 User Guide*. * The following are the supported volume types. @@ -41643,20 +41687,14 @@ export namespace iotsitewise { capabilityNamespace: string; } - /** - * Contains the ARN of AWS IoT Greengrass Group V1 that the gateway runs on. - */ - export interface GatewayGreengrass { - /** - * The ARN of the Greengrass group. - */ - groupArn: string; - } - /** * Contains the CoreDeviceThingName of AWS IoT Greengrass Group V2 that the gateway runs on. */ export interface GatewayGreengrassV2 { + /** + * The operating system of the core device in AWS IoT Greengrass V2. + */ + coreDeviceOperatingSystem?: enums.iotsitewise.GatewayGreengrassV2CoreDeviceOperatingSystem; /** * The name of the CoreDevice in GreenGrass V2. */ @@ -41670,7 +41708,7 @@ export namespace iotsitewise { /** * A gateway that runs on AWS IoT Greengrass V1. */ - greengrass?: outputs.iotsitewise.GatewayGreengrass; + greengrass?: any; /** * A gateway that runs on AWS IoT Greengrass V2. */ @@ -45064,6 +45102,10 @@ export namespace kinesisfirehose { uniqueKeys?: string[]; } + export interface DeliveryStreamDirectPutSourceConfiguration { + throughputHintInMbs?: number; + } + export interface DeliveryStreamDocumentIdOptions { /** * When the `FIREHOSE_DEFAULT` option is chosen, Firehose generates a unique document ID for each record based on a unique internal identifier. The generated document ID is stable across multiple delivery attempts, which helps prevent the same record from being indexed multiple times with different document IDs. @@ -45340,6 +45382,7 @@ export namespace kinesisfirehose { } export interface DeliveryStreamIcebergDestinationConfiguration { + appendOnly?: boolean; bufferingHints?: outputs.kinesisfirehose.DeliveryStreamBufferingHints; /** * Configuration describing where the destination Apache Iceberg Tables are persisted. diff --git a/sdk/python/pulumi_aws_native/aps/_inputs.py b/sdk/python/pulumi_aws_native/aps/_inputs.py index 0fdbad7055..723da65a6e 100644 --- a/sdk/python/pulumi_aws_native/aps/_inputs.py +++ b/sdk/python/pulumi_aws_native/aps/_inputs.py @@ -19,6 +19,8 @@ 'ScraperDestinationAmpConfigurationPropertiesArgsDict', 'ScraperDestinationArgs', 'ScraperDestinationArgsDict', + 'ScraperRoleConfigurationArgs', + 'ScraperRoleConfigurationArgsDict', 'ScraperScrapeConfigurationArgs', 'ScraperScrapeConfigurationArgsDict', 'ScraperSourceEksConfigurationPropertiesArgs', @@ -102,6 +104,62 @@ def amp_configuration(self, value: Optional[pulumi.Input['ScraperDestinationAmpC pulumi.set(self, "amp_configuration", value) +if not MYPY: + class ScraperRoleConfigurationArgsDict(TypedDict): + """ + Role configuration + """ + source_role_arn: NotRequired[pulumi.Input[str]] + """ + IAM Role in source account + """ + target_role_arn: NotRequired[pulumi.Input[str]] + """ + IAM Role in the target account + """ +elif False: + ScraperRoleConfigurationArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class ScraperRoleConfigurationArgs: + def __init__(__self__, *, + source_role_arn: Optional[pulumi.Input[str]] = None, + target_role_arn: Optional[pulumi.Input[str]] = None): + """ + Role configuration + :param pulumi.Input[str] source_role_arn: IAM Role in source account + :param pulumi.Input[str] target_role_arn: IAM Role in the target account + """ + if source_role_arn is not None: + pulumi.set(__self__, "source_role_arn", source_role_arn) + if target_role_arn is not None: + pulumi.set(__self__, "target_role_arn", target_role_arn) + + @property + @pulumi.getter(name="sourceRoleArn") + def source_role_arn(self) -> Optional[pulumi.Input[str]]: + """ + IAM Role in source account + """ + return pulumi.get(self, "source_role_arn") + + @source_role_arn.setter + def source_role_arn(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "source_role_arn", value) + + @property + @pulumi.getter(name="targetRoleArn") + def target_role_arn(self) -> Optional[pulumi.Input[str]]: + """ + IAM Role in the target account + """ + return pulumi.get(self, "target_role_arn") + + @target_role_arn.setter + def target_role_arn(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "target_role_arn", value) + + if not MYPY: class ScraperScrapeConfigurationArgsDict(TypedDict): """ diff --git a/sdk/python/pulumi_aws_native/aps/get_scraper.py b/sdk/python/pulumi_aws_native/aps/get_scraper.py index e3f7a349af..bf2216133f 100644 --- a/sdk/python/pulumi_aws_native/aps/get_scraper.py +++ b/sdk/python/pulumi_aws_native/aps/get_scraper.py @@ -25,7 +25,7 @@ @pulumi.output_type class GetScraperResult: - def __init__(__self__, alias=None, arn=None, destination=None, role_arn=None, scrape_configuration=None, scraper_id=None, tags=None): + def __init__(__self__, alias=None, arn=None, destination=None, role_arn=None, role_configuration=None, scrape_configuration=None, scraper_id=None, tags=None): if alias and not isinstance(alias, str): raise TypeError("Expected argument 'alias' to be a str") pulumi.set(__self__, "alias", alias) @@ -38,6 +38,9 @@ def __init__(__self__, alias=None, arn=None, destination=None, role_arn=None, sc if role_arn and not isinstance(role_arn, str): raise TypeError("Expected argument 'role_arn' to be a str") pulumi.set(__self__, "role_arn", role_arn) + if role_configuration and not isinstance(role_configuration, dict): + raise TypeError("Expected argument 'role_configuration' to be a dict") + pulumi.set(__self__, "role_configuration", role_configuration) if scrape_configuration and not isinstance(scrape_configuration, dict): raise TypeError("Expected argument 'scrape_configuration' to be a dict") pulumi.set(__self__, "scrape_configuration", scrape_configuration) @@ -80,6 +83,11 @@ def role_arn(self) -> Optional[str]: """ return pulumi.get(self, "role_arn") + @property + @pulumi.getter(name="roleConfiguration") + def role_configuration(self) -> Optional['outputs.ScraperRoleConfiguration']: + return pulumi.get(self, "role_configuration") + @property @pulumi.getter(name="scrapeConfiguration") def scrape_configuration(self) -> Optional['outputs.ScraperScrapeConfiguration']: @@ -115,6 +123,7 @@ def __await__(self): arn=self.arn, destination=self.destination, role_arn=self.role_arn, + role_configuration=self.role_configuration, scrape_configuration=self.scrape_configuration, scraper_id=self.scraper_id, tags=self.tags) @@ -138,6 +147,7 @@ def get_scraper(arn: Optional[str] = None, arn=pulumi.get(__ret__, 'arn'), destination=pulumi.get(__ret__, 'destination'), role_arn=pulumi.get(__ret__, 'role_arn'), + role_configuration=pulumi.get(__ret__, 'role_configuration'), scrape_configuration=pulumi.get(__ret__, 'scrape_configuration'), scraper_id=pulumi.get(__ret__, 'scraper_id'), tags=pulumi.get(__ret__, 'tags')) @@ -158,6 +168,7 @@ def get_scraper_output(arn: Optional[pulumi.Input[str]] = None, arn=pulumi.get(__response__, 'arn'), destination=pulumi.get(__response__, 'destination'), role_arn=pulumi.get(__response__, 'role_arn'), + role_configuration=pulumi.get(__response__, 'role_configuration'), scrape_configuration=pulumi.get(__response__, 'scrape_configuration'), scraper_id=pulumi.get(__response__, 'scraper_id'), tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/aps/outputs.py b/sdk/python/pulumi_aws_native/aps/outputs.py index f89218148a..75405a8501 100644 --- a/sdk/python/pulumi_aws_native/aps/outputs.py +++ b/sdk/python/pulumi_aws_native/aps/outputs.py @@ -18,6 +18,7 @@ __all__ = [ 'ScraperDestination', 'ScraperDestinationAmpConfigurationProperties', + 'ScraperRoleConfiguration', 'ScraperScrapeConfiguration', 'ScraperSource', 'ScraperSourceEksConfigurationProperties', @@ -103,6 +104,60 @@ def workspace_arn(self) -> str: return pulumi.get(self, "workspace_arn") +@pulumi.output_type +class ScraperRoleConfiguration(dict): + """ + Role configuration + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "sourceRoleArn": + suggest = "source_role_arn" + elif key == "targetRoleArn": + suggest = "target_role_arn" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ScraperRoleConfiguration. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ScraperRoleConfiguration.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ScraperRoleConfiguration.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + source_role_arn: Optional[str] = None, + target_role_arn: Optional[str] = None): + """ + Role configuration + :param str source_role_arn: IAM Role in source account + :param str target_role_arn: IAM Role in the target account + """ + if source_role_arn is not None: + pulumi.set(__self__, "source_role_arn", source_role_arn) + if target_role_arn is not None: + pulumi.set(__self__, "target_role_arn", target_role_arn) + + @property + @pulumi.getter(name="sourceRoleArn") + def source_role_arn(self) -> Optional[str]: + """ + IAM Role in source account + """ + return pulumi.get(self, "source_role_arn") + + @property + @pulumi.getter(name="targetRoleArn") + def target_role_arn(self) -> Optional[str]: + """ + IAM Role in the target account + """ + return pulumi.get(self, "target_role_arn") + + @pulumi.output_type class ScraperScrapeConfiguration(dict): """ diff --git a/sdk/python/pulumi_aws_native/aps/scraper.py b/sdk/python/pulumi_aws_native/aps/scraper.py index 53132559e1..00a85cd481 100644 --- a/sdk/python/pulumi_aws_native/aps/scraper.py +++ b/sdk/python/pulumi_aws_native/aps/scraper.py @@ -27,6 +27,7 @@ def __init__(__self__, *, scrape_configuration: pulumi.Input['ScraperScrapeConfigurationArgs'], source: pulumi.Input['ScraperSourceArgs'], alias: Optional[pulumi.Input[str]] = None, + role_configuration: Optional[pulumi.Input['ScraperRoleConfigurationArgs']] = None, tags: Optional[pulumi.Input[Sequence[pulumi.Input['_root_inputs.TagArgs']]]] = None): """ The set of arguments for constructing a Scraper resource. @@ -41,6 +42,8 @@ def __init__(__self__, *, pulumi.set(__self__, "source", source) if alias is not None: pulumi.set(__self__, "alias", alias) + if role_configuration is not None: + pulumi.set(__self__, "role_configuration", role_configuration) if tags is not None: pulumi.set(__self__, "tags", tags) @@ -92,6 +95,15 @@ def alias(self) -> Optional[pulumi.Input[str]]: def alias(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "alias", value) + @property + @pulumi.getter(name="roleConfiguration") + def role_configuration(self) -> Optional[pulumi.Input['ScraperRoleConfigurationArgs']]: + return pulumi.get(self, "role_configuration") + + @role_configuration.setter + def role_configuration(self, value: Optional[pulumi.Input['ScraperRoleConfigurationArgs']]): + pulumi.set(self, "role_configuration", value) + @property @pulumi.getter def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['_root_inputs.TagArgs']]]]: @@ -112,6 +124,7 @@ def __init__(__self__, opts: Optional[pulumi.ResourceOptions] = None, alias: Optional[pulumi.Input[str]] = None, destination: Optional[pulumi.Input[Union['ScraperDestinationArgs', 'ScraperDestinationArgsDict']]] = None, + role_configuration: Optional[pulumi.Input[Union['ScraperRoleConfigurationArgs', 'ScraperRoleConfigurationArgsDict']]] = None, scrape_configuration: Optional[pulumi.Input[Union['ScraperScrapeConfigurationArgs', 'ScraperScrapeConfigurationArgsDict']]] = None, source: Optional[pulumi.Input[Union['ScraperSourceArgs', 'ScraperSourceArgsDict']]] = None, tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['_root_inputs.TagArgs', '_root_inputs.TagArgsDict']]]]] = None, @@ -153,6 +166,7 @@ def _internal_init(__self__, opts: Optional[pulumi.ResourceOptions] = None, alias: Optional[pulumi.Input[str]] = None, destination: Optional[pulumi.Input[Union['ScraperDestinationArgs', 'ScraperDestinationArgsDict']]] = None, + role_configuration: Optional[pulumi.Input[Union['ScraperRoleConfigurationArgs', 'ScraperRoleConfigurationArgsDict']]] = None, scrape_configuration: Optional[pulumi.Input[Union['ScraperScrapeConfigurationArgs', 'ScraperScrapeConfigurationArgsDict']]] = None, source: Optional[pulumi.Input[Union['ScraperSourceArgs', 'ScraperSourceArgsDict']]] = None, tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['_root_inputs.TagArgs', '_root_inputs.TagArgsDict']]]]] = None, @@ -169,6 +183,7 @@ def _internal_init(__self__, if destination is None and not opts.urn: raise TypeError("Missing required property 'destination'") __props__.__dict__["destination"] = destination + __props__.__dict__["role_configuration"] = role_configuration if scrape_configuration is None and not opts.urn: raise TypeError("Missing required property 'scrape_configuration'") __props__.__dict__["scrape_configuration"] = scrape_configuration @@ -207,6 +222,7 @@ def get(resource_name: str, __props__.__dict__["arn"] = None __props__.__dict__["destination"] = None __props__.__dict__["role_arn"] = None + __props__.__dict__["role_configuration"] = None __props__.__dict__["scrape_configuration"] = None __props__.__dict__["scraper_id"] = None __props__.__dict__["source"] = None @@ -245,6 +261,11 @@ def role_arn(self) -> pulumi.Output[str]: """ return pulumi.get(self, "role_arn") + @property + @pulumi.getter(name="roleConfiguration") + def role_configuration(self) -> pulumi.Output[Optional['outputs.ScraperRoleConfiguration']]: + return pulumi.get(self, "role_configuration") + @property @pulumi.getter(name="scrapeConfiguration") def scrape_configuration(self) -> pulumi.Output['outputs.ScraperScrapeConfiguration']: diff --git a/sdk/python/pulumi_aws_native/batch/_inputs.py b/sdk/python/pulumi_aws_native/batch/_inputs.py index 00b32fe662..7abdf11d3f 100644 --- a/sdk/python/pulumi_aws_native/batch/_inputs.py +++ b/sdk/python/pulumi_aws_native/batch/_inputs.py @@ -58,6 +58,8 @@ 'JobDefinitionEksHostPathArgsDict', 'JobDefinitionEksMetadataArgs', 'JobDefinitionEksMetadataArgsDict', + 'JobDefinitionEksPersistentVolumeClaimArgs', + 'JobDefinitionEksPersistentVolumeClaimArgsDict', 'JobDefinitionEksPodPropertiesArgs', 'JobDefinitionEksPodPropertiesArgsDict', 'JobDefinitionEksPropertiesArgs', @@ -2598,6 +2600,7 @@ class JobDefinitionEksContainerVolumeMountArgsDict(TypedDict): """ If this value is `true` , the container has read-only access to the volume. Otherwise, the container can write to the volume. The default value is `false` . """ + sub_path: NotRequired[pulumi.Input[str]] elif False: JobDefinitionEksContainerVolumeMountArgsDict: TypeAlias = Mapping[str, Any] @@ -2606,7 +2609,8 @@ class JobDefinitionEksContainerVolumeMountArgs: def __init__(__self__, *, mount_path: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, - read_only: Optional[pulumi.Input[bool]] = None): + read_only: Optional[pulumi.Input[bool]] = None, + sub_path: Optional[pulumi.Input[str]] = None): """ :param pulumi.Input[str] mount_path: The path on the container where the volume is mounted. :param pulumi.Input[str] name: The name the volume mount. This must match the name of one of the volumes in the pod. @@ -2618,6 +2622,8 @@ def __init__(__self__, *, pulumi.set(__self__, "name", name) if read_only is not None: pulumi.set(__self__, "read_only", read_only) + if sub_path is not None: + pulumi.set(__self__, "sub_path", sub_path) @property @pulumi.getter(name="mountPath") @@ -2655,6 +2661,15 @@ def read_only(self) -> Optional[pulumi.Input[bool]]: def read_only(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "read_only", value) + @property + @pulumi.getter(name="subPath") + def sub_path(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "sub_path") + + @sub_path.setter + def sub_path(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "sub_path", value) + if not MYPY: class JobDefinitionEksContainerArgsDict(TypedDict): @@ -2960,22 +2975,39 @@ def path(self, value: Optional[pulumi.Input[str]]): if not MYPY: class JobDefinitionEksMetadataArgsDict(TypedDict): + annotations: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] labels: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] """ Key-value pairs used to identify, sort, and organize cube resources. Can contain up to 63 uppercase letters, lowercase letters, numbers, hyphens (-), and underscores (_). Labels can be added or modified at any time. Each resource can have multiple labels, but each key must be unique for a given object. """ + namespace: NotRequired[pulumi.Input[str]] elif False: JobDefinitionEksMetadataArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type class JobDefinitionEksMetadataArgs: def __init__(__self__, *, - labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None): + annotations: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + namespace: Optional[pulumi.Input[str]] = None): """ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Key-value pairs used to identify, sort, and organize cube resources. Can contain up to 63 uppercase letters, lowercase letters, numbers, hyphens (-), and underscores (_). Labels can be added or modified at any time. Each resource can have multiple labels, but each key must be unique for a given object. """ + if annotations is not None: + pulumi.set(__self__, "annotations", annotations) if labels is not None: pulumi.set(__self__, "labels", labels) + if namespace is not None: + pulumi.set(__self__, "namespace", namespace) + + @property + @pulumi.getter + def annotations(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + return pulumi.get(self, "annotations") + + @annotations.setter + def annotations(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): + pulumi.set(self, "annotations", value) @property @pulumi.getter @@ -2989,6 +3021,50 @@ def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): pulumi.set(self, "labels", value) + @property + @pulumi.getter + def namespace(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "namespace") + + @namespace.setter + def namespace(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "namespace", value) + + +if not MYPY: + class JobDefinitionEksPersistentVolumeClaimArgsDict(TypedDict): + claim_name: pulumi.Input[str] + read_only: NotRequired[pulumi.Input[bool]] +elif False: + JobDefinitionEksPersistentVolumeClaimArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class JobDefinitionEksPersistentVolumeClaimArgs: + def __init__(__self__, *, + claim_name: pulumi.Input[str], + read_only: Optional[pulumi.Input[bool]] = None): + pulumi.set(__self__, "claim_name", claim_name) + if read_only is not None: + pulumi.set(__self__, "read_only", read_only) + + @property + @pulumi.getter(name="claimName") + def claim_name(self) -> pulumi.Input[str]: + return pulumi.get(self, "claim_name") + + @claim_name.setter + def claim_name(self, value: pulumi.Input[str]): + pulumi.set(self, "claim_name", value) + + @property + @pulumi.getter(name="readOnly") + def read_only(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "read_only") + + @read_only.setter + def read_only(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "read_only", value) + if not MYPY: class JobDefinitionEksPodPropertiesArgsDict(TypedDict): @@ -3303,6 +3379,7 @@ class JobDefinitionEksVolumeArgsDict(TypedDict): """ Specifies the configuration of a Kubernetes `hostPath` volume. For more information, see [hostPath](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/storage/volumes/#hostpath) in the *Kubernetes documentation* . """ + persistent_volume_claim: NotRequired[pulumi.Input['JobDefinitionEksPersistentVolumeClaimArgsDict']] secret: NotRequired[pulumi.Input['JobDefinitionEksSecretArgsDict']] """ Specifies the configuration of a Kubernetes `secret` volume. For more information, see [secret](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/storage/volumes/#secret) in the *Kubernetes documentation* . @@ -3316,6 +3393,7 @@ def __init__(__self__, *, name: pulumi.Input[str], empty_dir: Optional[pulumi.Input['JobDefinitionEksEmptyDirArgs']] = None, host_path: Optional[pulumi.Input['JobDefinitionEksHostPathArgs']] = None, + persistent_volume_claim: Optional[pulumi.Input['JobDefinitionEksPersistentVolumeClaimArgs']] = None, secret: Optional[pulumi.Input['JobDefinitionEksSecretArgs']] = None): """ :param pulumi.Input[str] name: The name of the volume. The name must be allowed as a DNS subdomain name. For more information, see [DNS subdomain names](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#dns-subdomain-names) in the *Kubernetes documentation* . @@ -3328,6 +3406,8 @@ def __init__(__self__, *, pulumi.set(__self__, "empty_dir", empty_dir) if host_path is not None: pulumi.set(__self__, "host_path", host_path) + if persistent_volume_claim is not None: + pulumi.set(__self__, "persistent_volume_claim", persistent_volume_claim) if secret is not None: pulumi.set(__self__, "secret", secret) @@ -3367,6 +3447,15 @@ def host_path(self) -> Optional[pulumi.Input['JobDefinitionEksHostPathArgs']]: def host_path(self, value: Optional[pulumi.Input['JobDefinitionEksHostPathArgs']]): pulumi.set(self, "host_path", value) + @property + @pulumi.getter(name="persistentVolumeClaim") + def persistent_volume_claim(self) -> Optional[pulumi.Input['JobDefinitionEksPersistentVolumeClaimArgs']]: + return pulumi.get(self, "persistent_volume_claim") + + @persistent_volume_claim.setter + def persistent_volume_claim(self, value: Optional[pulumi.Input['JobDefinitionEksPersistentVolumeClaimArgs']]): + pulumi.set(self, "persistent_volume_claim", value) + @property @pulumi.getter def secret(self) -> Optional[pulumi.Input['JobDefinitionEksSecretArgs']]: diff --git a/sdk/python/pulumi_aws_native/batch/outputs.py b/sdk/python/pulumi_aws_native/batch/outputs.py index 2d23d8765d..ca18d84752 100644 --- a/sdk/python/pulumi_aws_native/batch/outputs.py +++ b/sdk/python/pulumi_aws_native/batch/outputs.py @@ -38,6 +38,7 @@ 'JobDefinitionEksEmptyDir', 'JobDefinitionEksHostPath', 'JobDefinitionEksMetadata', + 'JobDefinitionEksPersistentVolumeClaim', 'JobDefinitionEksPodProperties', 'JobDefinitionEksProperties', 'JobDefinitionEksSecret', @@ -2067,6 +2068,8 @@ def __key_warning(key: str): suggest = "mount_path" elif key == "readOnly": suggest = "read_only" + elif key == "subPath": + suggest = "sub_path" if suggest: pulumi.log.warn(f"Key '{key}' not found in JobDefinitionEksContainerVolumeMount. Access the value via the '{suggest}' property getter instead.") @@ -2082,7 +2085,8 @@ def get(self, key: str, default = None) -> Any: def __init__(__self__, *, mount_path: Optional[str] = None, name: Optional[str] = None, - read_only: Optional[bool] = None): + read_only: Optional[bool] = None, + sub_path: Optional[str] = None): """ :param str mount_path: The path on the container where the volume is mounted. :param str name: The name the volume mount. This must match the name of one of the volumes in the pod. @@ -2094,6 +2098,8 @@ def __init__(__self__, *, pulumi.set(__self__, "name", name) if read_only is not None: pulumi.set(__self__, "read_only", read_only) + if sub_path is not None: + pulumi.set(__self__, "sub_path", sub_path) @property @pulumi.getter(name="mountPath") @@ -2119,6 +2125,11 @@ def read_only(self) -> Optional[bool]: """ return pulumi.get(self, "read_only") + @property + @pulumi.getter(name="subPath") + def sub_path(self) -> Optional[str]: + return pulumi.get(self, "sub_path") + @pulumi.output_type class JobDefinitionEksEmptyDir(dict): @@ -2196,12 +2207,23 @@ def path(self) -> Optional[str]: @pulumi.output_type class JobDefinitionEksMetadata(dict): def __init__(__self__, *, - labels: Optional[Mapping[str, str]] = None): + annotations: Optional[Mapping[str, str]] = None, + labels: Optional[Mapping[str, str]] = None, + namespace: Optional[str] = None): """ :param Mapping[str, str] labels: Key-value pairs used to identify, sort, and organize cube resources. Can contain up to 63 uppercase letters, lowercase letters, numbers, hyphens (-), and underscores (_). Labels can be added or modified at any time. Each resource can have multiple labels, but each key must be unique for a given object. """ + if annotations is not None: + pulumi.set(__self__, "annotations", annotations) if labels is not None: pulumi.set(__self__, "labels", labels) + if namespace is not None: + pulumi.set(__self__, "namespace", namespace) + + @property + @pulumi.getter + def annotations(self) -> Optional[Mapping[str, str]]: + return pulumi.get(self, "annotations") @property @pulumi.getter @@ -2211,6 +2233,50 @@ def labels(self) -> Optional[Mapping[str, str]]: """ return pulumi.get(self, "labels") + @property + @pulumi.getter + def namespace(self) -> Optional[str]: + return pulumi.get(self, "namespace") + + +@pulumi.output_type +class JobDefinitionEksPersistentVolumeClaim(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "claimName": + suggest = "claim_name" + elif key == "readOnly": + suggest = "read_only" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in JobDefinitionEksPersistentVolumeClaim. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + JobDefinitionEksPersistentVolumeClaim.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + JobDefinitionEksPersistentVolumeClaim.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + claim_name: str, + read_only: Optional[bool] = None): + pulumi.set(__self__, "claim_name", claim_name) + if read_only is not None: + pulumi.set(__self__, "read_only", read_only) + + @property + @pulumi.getter(name="claimName") + def claim_name(self) -> str: + return pulumi.get(self, "claim_name") + + @property + @pulumi.getter(name="readOnly") + def read_only(self) -> Optional[bool]: + return pulumi.get(self, "read_only") + @pulumi.output_type class JobDefinitionEksPodProperties(dict): @@ -2462,6 +2528,8 @@ def __key_warning(key: str): suggest = "empty_dir" elif key == "hostPath": suggest = "host_path" + elif key == "persistentVolumeClaim": + suggest = "persistent_volume_claim" if suggest: pulumi.log.warn(f"Key '{key}' not found in JobDefinitionEksVolume. Access the value via the '{suggest}' property getter instead.") @@ -2478,6 +2546,7 @@ def __init__(__self__, *, name: str, empty_dir: Optional['outputs.JobDefinitionEksEmptyDir'] = None, host_path: Optional['outputs.JobDefinitionEksHostPath'] = None, + persistent_volume_claim: Optional['outputs.JobDefinitionEksPersistentVolumeClaim'] = None, secret: Optional['outputs.JobDefinitionEksSecret'] = None): """ :param str name: The name of the volume. The name must be allowed as a DNS subdomain name. For more information, see [DNS subdomain names](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#dns-subdomain-names) in the *Kubernetes documentation* . @@ -2490,6 +2559,8 @@ def __init__(__self__, *, pulumi.set(__self__, "empty_dir", empty_dir) if host_path is not None: pulumi.set(__self__, "host_path", host_path) + if persistent_volume_claim is not None: + pulumi.set(__self__, "persistent_volume_claim", persistent_volume_claim) if secret is not None: pulumi.set(__self__, "secret", secret) @@ -2517,6 +2588,11 @@ def host_path(self) -> Optional['outputs.JobDefinitionEksHostPath']: """ return pulumi.get(self, "host_path") + @property + @pulumi.getter(name="persistentVolumeClaim") + def persistent_volume_claim(self) -> Optional['outputs.JobDefinitionEksPersistentVolumeClaim']: + return pulumi.get(self, "persistent_volume_claim") + @property @pulumi.getter def secret(self) -> Optional['outputs.JobDefinitionEksSecret']: diff --git a/sdk/python/pulumi_aws_native/cloudformation/get_public_type_version.py b/sdk/python/pulumi_aws_native/cloudformation/get_public_type_version.py index dc642f0924..cf93bc64d4 100644 --- a/sdk/python/pulumi_aws_native/cloudformation/get_public_type_version.py +++ b/sdk/python/pulumi_aws_native/cloudformation/get_public_type_version.py @@ -46,7 +46,7 @@ def public_type_arn(self) -> Optional[str]: @pulumi.getter(name="publisherId") def publisher_id(self) -> Optional[str]: """ - The publisher id assigned by CloudFormation for publishing in this region. + The reserved publisher id for this type, or the publisher id assigned by CloudFormation for publishing in this region. """ return pulumi.get(self, "publisher_id") diff --git a/sdk/python/pulumi_aws_native/cloudformation/get_publisher.py b/sdk/python/pulumi_aws_native/cloudformation/get_publisher.py index 3fdace5e7a..fef40681dd 100644 --- a/sdk/python/pulumi_aws_native/cloudformation/get_publisher.py +++ b/sdk/python/pulumi_aws_native/cloudformation/get_publisher.py @@ -50,7 +50,7 @@ def identity_provider(self) -> Optional['PublisherIdentityProvider']: @pulumi.getter(name="publisherId") def publisher_id(self) -> Optional[str]: """ - The publisher id assigned by CloudFormation for publishing in this region. + The reserved publisher id for this type, or the publisher id assigned by CloudFormation for publishing in this region. """ return pulumi.get(self, "publisher_id") @@ -89,7 +89,7 @@ def get_publisher(publisher_id: Optional[str] = None, Register as a publisher in the CloudFormation Registry. - :param str publisher_id: The publisher id assigned by CloudFormation for publishing in this region. + :param str publisher_id: The reserved publisher id for this type, or the publisher id assigned by CloudFormation for publishing in this region. """ __args__ = dict() __args__['publisherId'] = publisher_id @@ -107,7 +107,7 @@ def get_publisher_output(publisher_id: Optional[pulumi.Input[str]] = None, Register as a publisher in the CloudFormation Registry. - :param str publisher_id: The publisher id assigned by CloudFormation for publishing in this region. + :param str publisher_id: The reserved publisher id for this type, or the publisher id assigned by CloudFormation for publishing in this region. """ __args__ = dict() __args__['publisherId'] = publisher_id diff --git a/sdk/python/pulumi_aws_native/cloudformation/get_type_activation.py b/sdk/python/pulumi_aws_native/cloudformation/get_type_activation.py index bc776a58f9..737da8714b 100644 --- a/sdk/python/pulumi_aws_native/cloudformation/get_type_activation.py +++ b/sdk/python/pulumi_aws_native/cloudformation/get_type_activation.py @@ -60,7 +60,7 @@ def public_type_arn(self) -> Optional[str]: @pulumi.getter(name="publisherId") def publisher_id(self) -> Optional[str]: """ - The publisher id assigned by CloudFormation for publishing in this region. + The reserved publisher id for this type, or the publisher id assigned by CloudFormation for publishing in this region. """ return pulumi.get(self, "publisher_id") diff --git a/sdk/python/pulumi_aws_native/cloudformation/public_type_version.py b/sdk/python/pulumi_aws_native/cloudformation/public_type_version.py index 22bfce2cc9..18eaa9585c 100644 --- a/sdk/python/pulumi_aws_native/cloudformation/public_type_version.py +++ b/sdk/python/pulumi_aws_native/cloudformation/public_type_version.py @@ -249,7 +249,7 @@ def public_version_number(self) -> pulumi.Output[Optional[str]]: @pulumi.getter(name="publisherId") def publisher_id(self) -> pulumi.Output[str]: """ - The publisher id assigned by CloudFormation for publishing in this region. + The reserved publisher id for this type, or the publisher id assigned by CloudFormation for publishing in this region. """ return pulumi.get(self, "publisher_id") diff --git a/sdk/python/pulumi_aws_native/cloudformation/publisher.py b/sdk/python/pulumi_aws_native/cloudformation/publisher.py index 7c94e386b2..75f924554d 100644 --- a/sdk/python/pulumi_aws_native/cloudformation/publisher.py +++ b/sdk/python/pulumi_aws_native/cloudformation/publisher.py @@ -175,7 +175,7 @@ def identity_provider(self) -> pulumi.Output['PublisherIdentityProvider']: @pulumi.getter(name="publisherId") def publisher_id(self) -> pulumi.Output[str]: """ - The publisher id assigned by CloudFormation for publishing in this region. + The reserved publisher id for this type, or the publisher id assigned by CloudFormation for publishing in this region. """ return pulumi.get(self, "publisher_id") diff --git a/sdk/python/pulumi_aws_native/cloudformation/type_activation.py b/sdk/python/pulumi_aws_native/cloudformation/type_activation.py index d99bc32f0e..99f3a5a839 100644 --- a/sdk/python/pulumi_aws_native/cloudformation/type_activation.py +++ b/sdk/python/pulumi_aws_native/cloudformation/type_activation.py @@ -39,7 +39,7 @@ def __init__(__self__, *, :param pulumi.Input['TypeActivationLoggingConfigArgs'] logging_config: Specifies logging configuration information for a type. :param pulumi.Input[str] major_version: The Major Version of the type you want to enable :param pulumi.Input[str] public_type_arn: The Amazon Resource Number (ARN) assigned to the public extension upon publication - :param pulumi.Input[str] publisher_id: The publisher id assigned by CloudFormation for publishing in this region. + :param pulumi.Input[str] publisher_id: The reserved publisher id for this type, or the publisher id assigned by CloudFormation for publishing in this region. :param pulumi.Input['TypeActivationType'] type: The kind of extension :param pulumi.Input[str] type_name: The name of the type being registered. @@ -132,7 +132,7 @@ def public_type_arn(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="publisherId") def publisher_id(self) -> Optional[pulumi.Input[str]]: """ - The publisher id assigned by CloudFormation for publishing in this region. + The reserved publisher id for this type, or the publisher id assigned by CloudFormation for publishing in this region. """ return pulumi.get(self, "publisher_id") @@ -217,7 +217,7 @@ def __init__(__self__, :param pulumi.Input[Union['TypeActivationLoggingConfigArgs', 'TypeActivationLoggingConfigArgsDict']] logging_config: Specifies logging configuration information for a type. :param pulumi.Input[str] major_version: The Major Version of the type you want to enable :param pulumi.Input[str] public_type_arn: The Amazon Resource Number (ARN) assigned to the public extension upon publication - :param pulumi.Input[str] publisher_id: The publisher id assigned by CloudFormation for publishing in this region. + :param pulumi.Input[str] publisher_id: The reserved publisher id for this type, or the publisher id assigned by CloudFormation for publishing in this region. :param pulumi.Input['TypeActivationType'] type: The kind of extension :param pulumi.Input[str] type_name: The name of the type being registered. @@ -368,7 +368,7 @@ def public_type_arn(self) -> pulumi.Output[Optional[str]]: @pulumi.getter(name="publisherId") def publisher_id(self) -> pulumi.Output[Optional[str]]: """ - The publisher id assigned by CloudFormation for publishing in this region. + The reserved publisher id for this type, or the publisher id assigned by CloudFormation for publishing in this region. """ return pulumi.get(self, "publisher_id") diff --git a/sdk/python/pulumi_aws_native/cloudfront/_inputs.py b/sdk/python/pulumi_aws_native/cloudfront/_inputs.py index b50a0873bb..5452d53fb3 100644 --- a/sdk/python/pulumi_aws_native/cloudfront/_inputs.py +++ b/sdk/python/pulumi_aws_native/cloudfront/_inputs.py @@ -94,6 +94,8 @@ 'DistributionStatusCodesArgsDict', 'DistributionViewerCertificateArgs', 'DistributionViewerCertificateArgsDict', + 'DistributionVpcOriginConfigArgs', + 'DistributionVpcOriginConfigArgsDict', 'FunctionConfigArgs', 'FunctionConfigArgsDict', 'FunctionKeyValueStoreAssociationArgs', @@ -4224,6 +4226,7 @@ class DistributionOriginArgsDict(TypedDict): """ Use this type to specify an origin that is an Amazon S3 bucket that is not configured with static website hosting. To specify any other type of origin, including an Amazon S3 bucket that is configured with static website hosting, use the ``CustomOriginConfig`` type instead. """ + vpc_origin_config: NotRequired[pulumi.Input['DistributionVpcOriginConfigArgsDict']] elif False: DistributionOriginArgsDict: TypeAlias = Mapping[str, Any] @@ -4239,7 +4242,8 @@ def __init__(__self__, *, origin_custom_headers: Optional[pulumi.Input[Sequence[pulumi.Input['DistributionOriginCustomHeaderArgs']]]] = None, origin_path: Optional[pulumi.Input[str]] = None, origin_shield: Optional[pulumi.Input['DistributionOriginShieldArgs']] = None, - s3_origin_config: Optional[pulumi.Input['DistributionS3OriginConfigArgs']] = None): + s3_origin_config: Optional[pulumi.Input['DistributionS3OriginConfigArgs']] = None, + vpc_origin_config: Optional[pulumi.Input['DistributionVpcOriginConfigArgs']] = None): """ An origin. An origin is the location where content is stored, and from which CloudFront gets content to serve to viewers. To specify an origin: @@ -4291,6 +4295,8 @@ def __init__(__self__, *, pulumi.set(__self__, "origin_shield", origin_shield) if s3_origin_config is not None: pulumi.set(__self__, "s3_origin_config", s3_origin_config) + if vpc_origin_config is not None: + pulumi.set(__self__, "vpc_origin_config", vpc_origin_config) @property @pulumi.getter(name="domainName") @@ -4421,6 +4427,15 @@ def s3_origin_config(self) -> Optional[pulumi.Input['DistributionS3OriginConfigA def s3_origin_config(self, value: Optional[pulumi.Input['DistributionS3OriginConfigArgs']]): pulumi.set(self, "s3_origin_config", value) + @property + @pulumi.getter(name="vpcOriginConfig") + def vpc_origin_config(self) -> Optional[pulumi.Input['DistributionVpcOriginConfigArgs']]: + return pulumi.get(self, "vpc_origin_config") + + @vpc_origin_config.setter + def vpc_origin_config(self, value: Optional[pulumi.Input['DistributionVpcOriginConfigArgs']]): + pulumi.set(self, "vpc_origin_config", value) + if not MYPY: class DistributionRestrictionsArgsDict(TypedDict): @@ -4775,6 +4790,54 @@ def ssl_support_method(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "ssl_support_method", value) +if not MYPY: + class DistributionVpcOriginConfigArgsDict(TypedDict): + vpc_origin_id: pulumi.Input[str] + origin_keepalive_timeout: NotRequired[pulumi.Input[int]] + origin_read_timeout: NotRequired[pulumi.Input[int]] +elif False: + DistributionVpcOriginConfigArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class DistributionVpcOriginConfigArgs: + def __init__(__self__, *, + vpc_origin_id: pulumi.Input[str], + origin_keepalive_timeout: Optional[pulumi.Input[int]] = None, + origin_read_timeout: Optional[pulumi.Input[int]] = None): + pulumi.set(__self__, "vpc_origin_id", vpc_origin_id) + if origin_keepalive_timeout is not None: + pulumi.set(__self__, "origin_keepalive_timeout", origin_keepalive_timeout) + if origin_read_timeout is not None: + pulumi.set(__self__, "origin_read_timeout", origin_read_timeout) + + @property + @pulumi.getter(name="vpcOriginId") + def vpc_origin_id(self) -> pulumi.Input[str]: + return pulumi.get(self, "vpc_origin_id") + + @vpc_origin_id.setter + def vpc_origin_id(self, value: pulumi.Input[str]): + pulumi.set(self, "vpc_origin_id", value) + + @property + @pulumi.getter(name="originKeepaliveTimeout") + def origin_keepalive_timeout(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "origin_keepalive_timeout") + + @origin_keepalive_timeout.setter + def origin_keepalive_timeout(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "origin_keepalive_timeout", value) + + @property + @pulumi.getter(name="originReadTimeout") + def origin_read_timeout(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "origin_read_timeout") + + @origin_read_timeout.setter + def origin_read_timeout(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "origin_read_timeout", value) + + if not MYPY: class FunctionConfigArgsDict(TypedDict): """ @@ -7101,10 +7164,25 @@ def report_uri(self, value: Optional[pulumi.Input[str]]): if not MYPY: class VpcOriginEndpointConfigArgsDict(TypedDict): arn: pulumi.Input[str] + """ + The ARN of the CloudFront VPC origin endpoint configuration. + """ name: pulumi.Input[str] + """ + The name of the CloudFront VPC origin endpoint configuration. + """ http_port: NotRequired[pulumi.Input[int]] + """ + The HTTP port for the CloudFront VPC origin endpoint configuration. + """ https_port: NotRequired[pulumi.Input[int]] + """ + The HTTPS port of the CloudFront VPC origin endpoint configuration. + """ origin_protocol_policy: NotRequired[pulumi.Input[str]] + """ + The origin protocol policy for the CloudFront VPC origin endpoint configuration. + """ origin_ssl_protocols: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] elif False: VpcOriginEndpointConfigArgsDict: TypeAlias = Mapping[str, Any] @@ -7118,6 +7196,13 @@ def __init__(__self__, *, https_port: Optional[pulumi.Input[int]] = None, origin_protocol_policy: Optional[pulumi.Input[str]] = None, origin_ssl_protocols: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + """ + :param pulumi.Input[str] arn: The ARN of the CloudFront VPC origin endpoint configuration. + :param pulumi.Input[str] name: The name of the CloudFront VPC origin endpoint configuration. + :param pulumi.Input[int] http_port: The HTTP port for the CloudFront VPC origin endpoint configuration. + :param pulumi.Input[int] https_port: The HTTPS port of the CloudFront VPC origin endpoint configuration. + :param pulumi.Input[str] origin_protocol_policy: The origin protocol policy for the CloudFront VPC origin endpoint configuration. + """ pulumi.set(__self__, "arn", arn) pulumi.set(__self__, "name", name) if http_port is not None: @@ -7132,6 +7217,9 @@ def __init__(__self__, *, @property @pulumi.getter def arn(self) -> pulumi.Input[str]: + """ + The ARN of the CloudFront VPC origin endpoint configuration. + """ return pulumi.get(self, "arn") @arn.setter @@ -7141,6 +7229,9 @@ def arn(self, value: pulumi.Input[str]): @property @pulumi.getter def name(self) -> pulumi.Input[str]: + """ + The name of the CloudFront VPC origin endpoint configuration. + """ return pulumi.get(self, "name") @name.setter @@ -7150,6 +7241,9 @@ def name(self, value: pulumi.Input[str]): @property @pulumi.getter(name="httpPort") def http_port(self) -> Optional[pulumi.Input[int]]: + """ + The HTTP port for the CloudFront VPC origin endpoint configuration. + """ return pulumi.get(self, "http_port") @http_port.setter @@ -7159,6 +7253,9 @@ def http_port(self, value: Optional[pulumi.Input[int]]): @property @pulumi.getter(name="httpsPort") def https_port(self) -> Optional[pulumi.Input[int]]: + """ + The HTTPS port of the CloudFront VPC origin endpoint configuration. + """ return pulumi.get(self, "https_port") @https_port.setter @@ -7168,6 +7265,9 @@ def https_port(self, value: Optional[pulumi.Input[int]]): @property @pulumi.getter(name="originProtocolPolicy") def origin_protocol_policy(self) -> Optional[pulumi.Input[str]]: + """ + The origin protocol policy for the CloudFront VPC origin endpoint configuration. + """ return pulumi.get(self, "origin_protocol_policy") @origin_protocol_policy.setter diff --git a/sdk/python/pulumi_aws_native/cloudfront/get_vpc_origin.py b/sdk/python/pulumi_aws_native/cloudfront/get_vpc_origin.py index c2110f4702..e53992d912 100644 --- a/sdk/python/pulumi_aws_native/cloudfront/get_vpc_origin.py +++ b/sdk/python/pulumi_aws_native/cloudfront/get_vpc_origin.py @@ -51,36 +51,57 @@ def __init__(__self__, arn=None, created_time=None, id=None, last_modified_time= @property @pulumi.getter def arn(self) -> Optional[str]: + """ + The VPC origin ARN. + """ return pulumi.get(self, "arn") @property @pulumi.getter(name="createdTime") def created_time(self) -> Optional[str]: + """ + The VPC origin created time. + """ return pulumi.get(self, "created_time") @property @pulumi.getter def id(self) -> Optional[str]: + """ + The VPC origin ID. + """ return pulumi.get(self, "id") @property @pulumi.getter(name="lastModifiedTime") def last_modified_time(self) -> Optional[str]: + """ + The VPC origin last modified time. + """ return pulumi.get(self, "last_modified_time") @property @pulumi.getter def status(self) -> Optional[str]: + """ + The VPC origin status. + """ return pulumi.get(self, "status") @property @pulumi.getter def tags(self) -> Optional[Sequence['_root_outputs.Tag']]: + """ + A complex type that contains zero or more `Tag` elements. + """ return pulumi.get(self, "tags") @property @pulumi.getter(name="vpcOriginEndpointConfig") def vpc_origin_endpoint_config(self) -> Optional['outputs.VpcOriginEndpointConfig']: + """ + The VPC origin endpoint configuration. + """ return pulumi.get(self, "vpc_origin_endpoint_config") @@ -103,6 +124,9 @@ def get_vpc_origin(id: Optional[str] = None, opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetVpcOriginResult: """ Resource Type definition for AWS::CloudFront::VpcOrigin + + + :param str id: The VPC origin ID. """ __args__ = dict() __args__['id'] = id @@ -121,6 +145,9 @@ def get_vpc_origin_output(id: Optional[pulumi.Input[str]] = None, opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetVpcOriginResult]: """ Resource Type definition for AWS::CloudFront::VpcOrigin + + + :param str id: The VPC origin ID. """ __args__ = dict() __args__['id'] = id diff --git a/sdk/python/pulumi_aws_native/cloudfront/outputs.py b/sdk/python/pulumi_aws_native/cloudfront/outputs.py index ac8e7cd34c..79746ae7f7 100644 --- a/sdk/python/pulumi_aws_native/cloudfront/outputs.py +++ b/sdk/python/pulumi_aws_native/cloudfront/outputs.py @@ -56,6 +56,7 @@ 'DistributionS3OriginConfig', 'DistributionStatusCodes', 'DistributionViewerCertificate', + 'DistributionVpcOriginConfig', 'FunctionConfig', 'FunctionKeyValueStoreAssociation', 'FunctionMetadata', @@ -2916,6 +2917,8 @@ def __key_warning(key: str): suggest = "origin_shield" elif key == "s3OriginConfig": suggest = "s3_origin_config" + elif key == "vpcOriginConfig": + suggest = "vpc_origin_config" if suggest: pulumi.log.warn(f"Key '{key}' not found in DistributionOrigin. Access the value via the '{suggest}' property getter instead.") @@ -2938,7 +2941,8 @@ def __init__(__self__, *, origin_custom_headers: Optional[Sequence['outputs.DistributionOriginCustomHeader']] = None, origin_path: Optional[str] = None, origin_shield: Optional['outputs.DistributionOriginShield'] = None, - s3_origin_config: Optional['outputs.DistributionS3OriginConfig'] = None): + s3_origin_config: Optional['outputs.DistributionS3OriginConfig'] = None, + vpc_origin_config: Optional['outputs.DistributionVpcOriginConfig'] = None): """ An origin. An origin is the location where content is stored, and from which CloudFront gets content to serve to viewers. To specify an origin: @@ -2990,6 +2994,8 @@ def __init__(__self__, *, pulumi.set(__self__, "origin_shield", origin_shield) if s3_origin_config is not None: pulumi.set(__self__, "s3_origin_config", s3_origin_config) + if vpc_origin_config is not None: + pulumi.set(__self__, "vpc_origin_config", vpc_origin_config) @property @pulumi.getter(name="domainName") @@ -3080,6 +3086,11 @@ def s3_origin_config(self) -> Optional['outputs.DistributionS3OriginConfig']: """ return pulumi.get(self, "s3_origin_config") + @property + @pulumi.getter(name="vpcOriginConfig") + def vpc_origin_config(self) -> Optional['outputs.DistributionVpcOriginConfig']: + return pulumi.get(self, "vpc_origin_config") + @pulumi.output_type class DistributionOriginCustomHeader(dict): @@ -3707,6 +3718,55 @@ def ssl_support_method(self) -> Optional[str]: return pulumi.get(self, "ssl_support_method") +@pulumi.output_type +class DistributionVpcOriginConfig(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "vpcOriginId": + suggest = "vpc_origin_id" + elif key == "originKeepaliveTimeout": + suggest = "origin_keepalive_timeout" + elif key == "originReadTimeout": + suggest = "origin_read_timeout" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in DistributionVpcOriginConfig. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + DistributionVpcOriginConfig.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + DistributionVpcOriginConfig.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + vpc_origin_id: str, + origin_keepalive_timeout: Optional[int] = None, + origin_read_timeout: Optional[int] = None): + pulumi.set(__self__, "vpc_origin_id", vpc_origin_id) + if origin_keepalive_timeout is not None: + pulumi.set(__self__, "origin_keepalive_timeout", origin_keepalive_timeout) + if origin_read_timeout is not None: + pulumi.set(__self__, "origin_read_timeout", origin_read_timeout) + + @property + @pulumi.getter(name="vpcOriginId") + def vpc_origin_id(self) -> str: + return pulumi.get(self, "vpc_origin_id") + + @property + @pulumi.getter(name="originKeepaliveTimeout") + def origin_keepalive_timeout(self) -> Optional[int]: + return pulumi.get(self, "origin_keepalive_timeout") + + @property + @pulumi.getter(name="originReadTimeout") + def origin_read_timeout(self) -> Optional[int]: + return pulumi.get(self, "origin_read_timeout") + + @pulumi.output_type class FunctionConfig(dict): """ @@ -5627,6 +5687,13 @@ def __init__(__self__, *, https_port: Optional[int] = None, origin_protocol_policy: Optional[str] = None, origin_ssl_protocols: Optional[Sequence[str]] = None): + """ + :param str arn: The ARN of the CloudFront VPC origin endpoint configuration. + :param str name: The name of the CloudFront VPC origin endpoint configuration. + :param int http_port: The HTTP port for the CloudFront VPC origin endpoint configuration. + :param int https_port: The HTTPS port of the CloudFront VPC origin endpoint configuration. + :param str origin_protocol_policy: The origin protocol policy for the CloudFront VPC origin endpoint configuration. + """ pulumi.set(__self__, "arn", arn) pulumi.set(__self__, "name", name) if http_port is not None: @@ -5641,26 +5708,41 @@ def __init__(__self__, *, @property @pulumi.getter def arn(self) -> str: + """ + The ARN of the CloudFront VPC origin endpoint configuration. + """ return pulumi.get(self, "arn") @property @pulumi.getter def name(self) -> str: + """ + The name of the CloudFront VPC origin endpoint configuration. + """ return pulumi.get(self, "name") @property @pulumi.getter(name="httpPort") def http_port(self) -> Optional[int]: + """ + The HTTP port for the CloudFront VPC origin endpoint configuration. + """ return pulumi.get(self, "http_port") @property @pulumi.getter(name="httpsPort") def https_port(self) -> Optional[int]: + """ + The HTTPS port of the CloudFront VPC origin endpoint configuration. + """ return pulumi.get(self, "https_port") @property @pulumi.getter(name="originProtocolPolicy") def origin_protocol_policy(self) -> Optional[str]: + """ + The origin protocol policy for the CloudFront VPC origin endpoint configuration. + """ return pulumi.get(self, "origin_protocol_policy") @property diff --git a/sdk/python/pulumi_aws_native/cloudfront/vpc_origin.py b/sdk/python/pulumi_aws_native/cloudfront/vpc_origin.py index e5cb2694b6..d7bea19186 100644 --- a/sdk/python/pulumi_aws_native/cloudfront/vpc_origin.py +++ b/sdk/python/pulumi_aws_native/cloudfront/vpc_origin.py @@ -27,6 +27,8 @@ def __init__(__self__, *, tags: Optional[pulumi.Input[Sequence[pulumi.Input['_root_inputs.TagArgs']]]] = None): """ The set of arguments for constructing a VpcOrigin resource. + :param pulumi.Input['VpcOriginEndpointConfigArgs'] vpc_origin_endpoint_config: The VPC origin endpoint configuration. + :param pulumi.Input[Sequence[pulumi.Input['_root_inputs.TagArgs']]] tags: A complex type that contains zero or more `Tag` elements. """ pulumi.set(__self__, "vpc_origin_endpoint_config", vpc_origin_endpoint_config) if tags is not None: @@ -35,6 +37,9 @@ def __init__(__self__, *, @property @pulumi.getter(name="vpcOriginEndpointConfig") def vpc_origin_endpoint_config(self) -> pulumi.Input['VpcOriginEndpointConfigArgs']: + """ + The VPC origin endpoint configuration. + """ return pulumi.get(self, "vpc_origin_endpoint_config") @vpc_origin_endpoint_config.setter @@ -44,6 +49,9 @@ def vpc_origin_endpoint_config(self, value: pulumi.Input['VpcOriginEndpointConfi @property @pulumi.getter def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['_root_inputs.TagArgs']]]]: + """ + A complex type that contains zero or more `Tag` elements. + """ return pulumi.get(self, "tags") @tags.setter @@ -64,6 +72,8 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[Sequence[pulumi.Input[Union['_root_inputs.TagArgs', '_root_inputs.TagArgsDict']]]] tags: A complex type that contains zero or more `Tag` elements. + :param pulumi.Input[Union['VpcOriginEndpointConfigArgs', 'VpcOriginEndpointConfigArgsDict']] vpc_origin_endpoint_config: The VPC origin endpoint configuration. """ ... @overload @@ -143,35 +153,56 @@ def get(resource_name: str, @property @pulumi.getter def arn(self) -> pulumi.Output[str]: + """ + The VPC origin ARN. + """ return pulumi.get(self, "arn") @property @pulumi.getter(name="awsId") def aws_id(self) -> pulumi.Output[str]: + """ + The VPC origin ID. + """ return pulumi.get(self, "aws_id") @property @pulumi.getter(name="createdTime") def created_time(self) -> pulumi.Output[str]: + """ + The VPC origin created time. + """ return pulumi.get(self, "created_time") @property @pulumi.getter(name="lastModifiedTime") def last_modified_time(self) -> pulumi.Output[str]: + """ + The VPC origin last modified time. + """ return pulumi.get(self, "last_modified_time") @property @pulumi.getter def status(self) -> pulumi.Output[str]: + """ + The VPC origin status. + """ return pulumi.get(self, "status") @property @pulumi.getter def tags(self) -> pulumi.Output[Optional[Sequence['_root_outputs.Tag']]]: + """ + A complex type that contains zero or more `Tag` elements. + """ return pulumi.get(self, "tags") @property @pulumi.getter(name="vpcOriginEndpointConfig") def vpc_origin_endpoint_config(self) -> pulumi.Output['outputs.VpcOriginEndpointConfig']: + """ + The VPC origin endpoint configuration. + """ return pulumi.get(self, "vpc_origin_endpoint_config") diff --git a/sdk/python/pulumi_aws_native/ec2/capacity_reservation.py b/sdk/python/pulumi_aws_native/ec2/capacity_reservation.py index 25c25b87a9..5a0e840492 100644 --- a/sdk/python/pulumi_aws_native/ec2/capacity_reservation.py +++ b/sdk/python/pulumi_aws_native/ec2/capacity_reservation.py @@ -40,7 +40,7 @@ def __init__(__self__, *, The set of arguments for constructing a CapacityReservation resource. :param pulumi.Input[int] instance_count: The number of instances for which to reserve capacity. - > You can request future-dated Capacity Reservations for an instance count with a minimum of 100 VPUs. For example, if you request a future-dated Capacity Reservation for `m5.xlarge` instances, you must request at least 25 instances ( *25 * m5.xlarge = 100 vCPUs* ). + > You can request future-dated Capacity Reservations for an instance count with a minimum of 100 vCPUs. For example, if you request a future-dated Capacity Reservation for `m5.xlarge` instances, you must request at least 25 instances ( *25 * m5.xlarge = 100 vCPUs* ). Valid range: 1 - 1000 :param pulumi.Input[str] instance_platform: The type of operating system for which to reserve capacity. @@ -121,7 +121,7 @@ def instance_count(self) -> pulumi.Input[int]: """ The number of instances for which to reserve capacity. - > You can request future-dated Capacity Reservations for an instance count with a minimum of 100 VPUs. For example, if you request a future-dated Capacity Reservation for `m5.xlarge` instances, you must request at least 25 instances ( *25 * m5.xlarge = 100 vCPUs* ). + > You can request future-dated Capacity Reservations for an instance count with a minimum of 100 vCPUs. For example, if you request a future-dated Capacity Reservation for `m5.xlarge` instances, you must request at least 25 instances ( *25 * m5.xlarge = 100 vCPUs* ). Valid range: 1 - 1000 """ @@ -372,7 +372,7 @@ def __init__(__self__, :param pulumi.Input[bool] ephemeral_storage: *Deprecated.* :param pulumi.Input[int] instance_count: The number of instances for which to reserve capacity. - > You can request future-dated Capacity Reservations for an instance count with a minimum of 100 VPUs. For example, if you request a future-dated Capacity Reservation for `m5.xlarge` instances, you must request at least 25 instances ( *25 * m5.xlarge = 100 vCPUs* ). + > You can request future-dated Capacity Reservations for an instance count with a minimum of 100 vCPUs. For example, if you request a future-dated Capacity Reservation for `m5.xlarge` instances, you must request at least 25 instances ( *25 * m5.xlarge = 100 vCPUs* ). Valid range: 1 - 1000 :param pulumi.Input[str] instance_match_criteria: Indicates the type of instance launches that the Capacity Reservation accepts. The options include: @@ -599,7 +599,7 @@ def instance_count(self) -> pulumi.Output[int]: """ The number of instances for which to reserve capacity. - > You can request future-dated Capacity Reservations for an instance count with a minimum of 100 VPUs. For example, if you request a future-dated Capacity Reservation for `m5.xlarge` instances, you must request at least 25 instances ( *25 * m5.xlarge = 100 vCPUs* ). + > You can request future-dated Capacity Reservations for an instance count with a minimum of 100 vCPUs. For example, if you request a future-dated Capacity Reservation for `m5.xlarge` instances, you must request at least 25 instances ( *25 * m5.xlarge = 100 vCPUs* ). Valid range: 1 - 1000 """ diff --git a/sdk/python/pulumi_aws_native/ec2/get_capacity_reservation.py b/sdk/python/pulumi_aws_native/ec2/get_capacity_reservation.py index 4922a1e792..a09f2aec8d 100644 --- a/sdk/python/pulumi_aws_native/ec2/get_capacity_reservation.py +++ b/sdk/python/pulumi_aws_native/ec2/get_capacity_reservation.py @@ -93,7 +93,7 @@ def instance_count(self) -> Optional[int]: """ The number of instances for which to reserve capacity. - > You can request future-dated Capacity Reservations for an instance count with a minimum of 100 VPUs. For example, if you request a future-dated Capacity Reservation for `m5.xlarge` instances, you must request at least 25 instances ( *25 * m5.xlarge = 100 vCPUs* ). + > You can request future-dated Capacity Reservations for an instance count with a minimum of 100 vCPUs. For example, if you request a future-dated Capacity Reservation for `m5.xlarge` instances, you must request at least 25 instances ( *25 * m5.xlarge = 100 vCPUs* ). Valid range: 1 - 1000 """ diff --git a/sdk/python/pulumi_aws_native/ecs/_inputs.py b/sdk/python/pulumi_aws_native/ecs/_inputs.py index 2ca30aa02d..d79b3d9a95 100644 --- a/sdk/python/pulumi_aws_native/ecs/_inputs.py +++ b/sdk/python/pulumi_aws_native/ecs/_inputs.py @@ -972,12 +972,12 @@ class ServiceAwsVpcConfigurationArgsDict(TypedDict): """ security_groups: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] """ - The IDs of the security groups associated with the task or service. If you don't specify a security group, the default security group for the VPC is used. There's a limit of 5 security groups that can be specified per ``awsvpcConfiguration``. + The IDs of the security groups associated with the task or service. If you don't specify a security group, the default security group for the VPC is used. There's a limit of 5 security groups that can be specified. All specified security groups must be from the same VPC. """ subnets: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] """ - The IDs of the subnets associated with the task or service. There's a limit of 16 subnets that can be specified per ``awsvpcConfiguration``. + The IDs of the subnets associated with the task or service. There's a limit of 16 subnets that can be specified. All specified subnets must be from the same VPC. """ elif False: @@ -992,9 +992,9 @@ def __init__(__self__, *, """ An object representing the networking details for a task or service. For example ``awsVpcConfiguration={subnets=["subnet-12344321"],securityGroups=["sg-12344321"]}``. :param pulumi.Input['ServiceAwsVpcConfigurationAssignPublicIp'] assign_public_ip: Whether the task's elastic network interface receives a public IP address. The default value is ``ENABLED``. - :param pulumi.Input[Sequence[pulumi.Input[str]]] security_groups: The IDs of the security groups associated with the task or service. If you don't specify a security group, the default security group for the VPC is used. There's a limit of 5 security groups that can be specified per ``awsvpcConfiguration``. + :param pulumi.Input[Sequence[pulumi.Input[str]]] security_groups: The IDs of the security groups associated with the task or service. If you don't specify a security group, the default security group for the VPC is used. There's a limit of 5 security groups that can be specified. All specified security groups must be from the same VPC. - :param pulumi.Input[Sequence[pulumi.Input[str]]] subnets: The IDs of the subnets associated with the task or service. There's a limit of 16 subnets that can be specified per ``awsvpcConfiguration``. + :param pulumi.Input[Sequence[pulumi.Input[str]]] subnets: The IDs of the subnets associated with the task or service. There's a limit of 16 subnets that can be specified. All specified subnets must be from the same VPC. """ if assign_public_ip is not None: @@ -1020,7 +1020,7 @@ def assign_public_ip(self, value: Optional[pulumi.Input['ServiceAwsVpcConfigurat @pulumi.getter(name="securityGroups") def security_groups(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ - The IDs of the security groups associated with the task or service. If you don't specify a security group, the default security group for the VPC is used. There's a limit of 5 security groups that can be specified per ``awsvpcConfiguration``. + The IDs of the security groups associated with the task or service. If you don't specify a security group, the default security group for the VPC is used. There's a limit of 5 security groups that can be specified. All specified security groups must be from the same VPC. """ return pulumi.get(self, "security_groups") @@ -1033,7 +1033,7 @@ def security_groups(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str @pulumi.getter def subnets(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ - The IDs of the subnets associated with the task or service. There's a limit of 16 subnets that can be specified per ``awsvpcConfiguration``. + The IDs of the subnets associated with the task or service. There's a limit of 16 subnets that can be specified. All specified subnets must be from the same VPC. """ return pulumi.get(self, "subnets") @@ -2317,7 +2317,6 @@ class ServiceManagedEbsVolumeConfigurationArgsDict(TypedDict): The throughput to provision for a volume, in MiB/s, with a maximum of 1,000 MiB/s. This parameter maps 1:1 with the ``Throughput`` parameter of the [CreateVolume API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateVolume.html) in the *Amazon EC2 API Reference*. This parameter is only supported for the ``gp3`` volume type. """ - volume_initialization_rate: NotRequired[pulumi.Input[int]] volume_type: NotRequired[pulumi.Input[str]] """ The volume type. This parameter maps 1:1 with the ``VolumeType`` parameter of the [CreateVolume API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateVolume.html) in the *Amazon EC2 API Reference*. For more information, see [Amazon EBS volume types](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-volume-types.html) in the *Amazon EC2 User Guide*. @@ -2344,7 +2343,6 @@ def __init__(__self__, *, snapshot_id: Optional[pulumi.Input[str]] = None, tag_specifications: Optional[pulumi.Input[Sequence[pulumi.Input['ServiceEbsTagSpecificationArgs']]]] = None, throughput: Optional[pulumi.Input[int]] = None, - volume_initialization_rate: Optional[pulumi.Input[int]] = None, volume_type: Optional[pulumi.Input[str]] = None): """ The configuration for the Amazon EBS volume that Amazon ECS creates and manages on your behalf. These settings are used to create each Amazon EBS volume, with one volume created for each task in the service. For information about the supported launch types and operating systems, see [Supported operating systems and launch types](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ebs-volumes.html#ebs-volumes-configuration) in the*Amazon Elastic Container Service Developer Guide*. @@ -2401,8 +2399,6 @@ def __init__(__self__, *, pulumi.set(__self__, "tag_specifications", tag_specifications) if throughput is not None: pulumi.set(__self__, "throughput", throughput) - if volume_initialization_rate is not None: - pulumi.set(__self__, "volume_initialization_rate", volume_initialization_rate) if volume_type is not None: pulumi.set(__self__, "volume_type", volume_type) @@ -2531,15 +2527,6 @@ def throughput(self) -> Optional[pulumi.Input[int]]: def throughput(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "throughput", value) - @property - @pulumi.getter(name="volumeInitializationRate") - def volume_initialization_rate(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "volume_initialization_rate") - - @volume_initialization_rate.setter - def volume_initialization_rate(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "volume_initialization_rate", value) - @property @pulumi.getter(name="volumeType") def volume_type(self) -> Optional[pulumi.Input[str]]: diff --git a/sdk/python/pulumi_aws_native/ecs/outputs.py b/sdk/python/pulumi_aws_native/ecs/outputs.py index 6f39744dcc..e1a5bc3ca0 100644 --- a/sdk/python/pulumi_aws_native/ecs/outputs.py +++ b/sdk/python/pulumi_aws_native/ecs/outputs.py @@ -777,9 +777,9 @@ def __init__(__self__, *, """ An object representing the networking details for a task or service. For example ``awsVpcConfiguration={subnets=["subnet-12344321"],securityGroups=["sg-12344321"]}``. :param 'ServiceAwsVpcConfigurationAssignPublicIp' assign_public_ip: Whether the task's elastic network interface receives a public IP address. The default value is ``ENABLED``. - :param Sequence[str] security_groups: The IDs of the security groups associated with the task or service. If you don't specify a security group, the default security group for the VPC is used. There's a limit of 5 security groups that can be specified per ``awsvpcConfiguration``. + :param Sequence[str] security_groups: The IDs of the security groups associated with the task or service. If you don't specify a security group, the default security group for the VPC is used. There's a limit of 5 security groups that can be specified. All specified security groups must be from the same VPC. - :param Sequence[str] subnets: The IDs of the subnets associated with the task or service. There's a limit of 16 subnets that can be specified per ``awsvpcConfiguration``. + :param Sequence[str] subnets: The IDs of the subnets associated with the task or service. There's a limit of 16 subnets that can be specified. All specified subnets must be from the same VPC. """ if assign_public_ip is not None: @@ -801,7 +801,7 @@ def assign_public_ip(self) -> Optional['ServiceAwsVpcConfigurationAssignPublicIp @pulumi.getter(name="securityGroups") def security_groups(self) -> Optional[Sequence[str]]: """ - The IDs of the security groups associated with the task or service. If you don't specify a security group, the default security group for the VPC is used. There's a limit of 5 security groups that can be specified per ``awsvpcConfiguration``. + The IDs of the security groups associated with the task or service. If you don't specify a security group, the default security group for the VPC is used. There's a limit of 5 security groups that can be specified. All specified security groups must be from the same VPC. """ return pulumi.get(self, "security_groups") @@ -810,7 +810,7 @@ def security_groups(self) -> Optional[Sequence[str]]: @pulumi.getter def subnets(self) -> Optional[Sequence[str]]: """ - The IDs of the subnets associated with the task or service. There's a limit of 16 subnets that can be specified per ``awsvpcConfiguration``. + The IDs of the subnets associated with the task or service. There's a limit of 16 subnets that can be specified. All specified subnets must be from the same VPC. """ return pulumi.get(self, "subnets") @@ -1821,8 +1821,6 @@ def __key_warning(key: str): suggest = "snapshot_id" elif key == "tagSpecifications": suggest = "tag_specifications" - elif key == "volumeInitializationRate": - suggest = "volume_initialization_rate" elif key == "volumeType": suggest = "volume_type" @@ -1847,7 +1845,6 @@ def __init__(__self__, *, snapshot_id: Optional[str] = None, tag_specifications: Optional[Sequence['outputs.ServiceEbsTagSpecification']] = None, throughput: Optional[int] = None, - volume_initialization_rate: Optional[int] = None, volume_type: Optional[str] = None): """ The configuration for the Amazon EBS volume that Amazon ECS creates and manages on your behalf. These settings are used to create each Amazon EBS volume, with one volume created for each task in the service. For information about the supported launch types and operating systems, see [Supported operating systems and launch types](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ebs-volumes.html#ebs-volumes-configuration) in the*Amazon Elastic Container Service Developer Guide*. @@ -1904,8 +1901,6 @@ def __init__(__self__, *, pulumi.set(__self__, "tag_specifications", tag_specifications) if throughput is not None: pulumi.set(__self__, "throughput", throughput) - if volume_initialization_rate is not None: - pulumi.set(__self__, "volume_initialization_rate", volume_initialization_rate) if volume_type is not None: pulumi.set(__self__, "volume_type", volume_type) @@ -1998,11 +1993,6 @@ def throughput(self) -> Optional[int]: """ return pulumi.get(self, "throughput") - @property - @pulumi.getter(name="volumeInitializationRate") - def volume_initialization_rate(self) -> Optional[int]: - return pulumi.get(self, "volume_initialization_rate") - @property @pulumi.getter(name="volumeType") def volume_type(self) -> Optional[str]: diff --git a/sdk/python/pulumi_aws_native/iotsitewise/_enums.py b/sdk/python/pulumi_aws_native/iotsitewise/_enums.py index 63c52b9c61..e83575da14 100644 --- a/sdk/python/pulumi_aws_native/iotsitewise/_enums.py +++ b/sdk/python/pulumi_aws_native/iotsitewise/_enums.py @@ -9,6 +9,7 @@ 'AssetModelDataTypeSpec', 'AssetModelTypeName', 'AssetPropertyNotificationState', + 'GatewayGreengrassV2CoreDeviceOperatingSystem', 'PortalType', ] @@ -40,6 +41,15 @@ class AssetPropertyNotificationState(str, Enum): DISABLED = "DISABLED" +class GatewayGreengrassV2CoreDeviceOperatingSystem(str, Enum): + """ + The operating system of the core device in AWS IoT Greengrass V2. + """ + LINUX_AARCH64 = "LINUX_AARCH64" + LINUX_AMD64 = "LINUX_AMD64" + WINDOWS_AMD64 = "WINDOWS_AMD64" + + class PortalType(str, Enum): """ The type of portal diff --git a/sdk/python/pulumi_aws_native/iotsitewise/_inputs.py b/sdk/python/pulumi_aws_native/iotsitewise/_inputs.py index 3188a6f757..6a0394c79f 100644 --- a/sdk/python/pulumi_aws_native/iotsitewise/_inputs.py +++ b/sdk/python/pulumi_aws_native/iotsitewise/_inputs.py @@ -64,8 +64,6 @@ 'GatewayCapabilitySummaryArgsDict', 'GatewayGreengrassV2Args', 'GatewayGreengrassV2ArgsDict', - 'GatewayGreengrassArgs', - 'GatewayGreengrassArgsDict', 'GatewayPlatformArgs', 'GatewayPlatformArgsDict', 'GatewaySiemensIeArgs', @@ -1878,18 +1876,26 @@ class GatewayGreengrassV2ArgsDict(TypedDict): """ The name of the CoreDevice in GreenGrass V2. """ + core_device_operating_system: NotRequired[pulumi.Input['GatewayGreengrassV2CoreDeviceOperatingSystem']] + """ + The operating system of the core device in AWS IoT Greengrass V2. + """ elif False: GatewayGreengrassV2ArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type class GatewayGreengrassV2Args: def __init__(__self__, *, - core_device_thing_name: pulumi.Input[str]): + core_device_thing_name: pulumi.Input[str], + core_device_operating_system: Optional[pulumi.Input['GatewayGreengrassV2CoreDeviceOperatingSystem']] = None): """ Contains the CoreDeviceThingName of AWS IoT Greengrass Group V2 that the gateway runs on. :param pulumi.Input[str] core_device_thing_name: The name of the CoreDevice in GreenGrass V2. + :param pulumi.Input['GatewayGreengrassV2CoreDeviceOperatingSystem'] core_device_operating_system: The operating system of the core device in AWS IoT Greengrass V2. """ pulumi.set(__self__, "core_device_thing_name", core_device_thing_name) + if core_device_operating_system is not None: + pulumi.set(__self__, "core_device_operating_system", core_device_operating_system) @property @pulumi.getter(name="coreDeviceThingName") @@ -1903,40 +1909,17 @@ def core_device_thing_name(self) -> pulumi.Input[str]: def core_device_thing_name(self, value: pulumi.Input[str]): pulumi.set(self, "core_device_thing_name", value) - -if not MYPY: - class GatewayGreengrassArgsDict(TypedDict): - """ - Contains the ARN of AWS IoT Greengrass Group V1 that the gateway runs on. - """ - group_arn: pulumi.Input[str] - """ - The ARN of the Greengrass group. - """ -elif False: - GatewayGreengrassArgsDict: TypeAlias = Mapping[str, Any] - -@pulumi.input_type -class GatewayGreengrassArgs: - def __init__(__self__, *, - group_arn: pulumi.Input[str]): - """ - Contains the ARN of AWS IoT Greengrass Group V1 that the gateway runs on. - :param pulumi.Input[str] group_arn: The ARN of the Greengrass group. - """ - pulumi.set(__self__, "group_arn", group_arn) - @property - @pulumi.getter(name="groupArn") - def group_arn(self) -> pulumi.Input[str]: + @pulumi.getter(name="coreDeviceOperatingSystem") + def core_device_operating_system(self) -> Optional[pulumi.Input['GatewayGreengrassV2CoreDeviceOperatingSystem']]: """ - The ARN of the Greengrass group. + The operating system of the core device in AWS IoT Greengrass V2. """ - return pulumi.get(self, "group_arn") + return pulumi.get(self, "core_device_operating_system") - @group_arn.setter - def group_arn(self, value: pulumi.Input[str]): - pulumi.set(self, "group_arn", value) + @core_device_operating_system.setter + def core_device_operating_system(self, value: Optional[pulumi.Input['GatewayGreengrassV2CoreDeviceOperatingSystem']]): + pulumi.set(self, "core_device_operating_system", value) if not MYPY: @@ -1944,7 +1927,7 @@ class GatewayPlatformArgsDict(TypedDict): """ Contains a gateway's platform information. """ - greengrass: NotRequired[pulumi.Input['GatewayGreengrassArgsDict']] + greengrass: NotRequired[Any] """ A gateway that runs on AWS IoT Greengrass V1. """ @@ -1962,12 +1945,12 @@ class GatewayPlatformArgsDict(TypedDict): @pulumi.input_type class GatewayPlatformArgs: def __init__(__self__, *, - greengrass: Optional[pulumi.Input['GatewayGreengrassArgs']] = None, + greengrass: Optional[Any] = None, greengrass_v2: Optional[pulumi.Input['GatewayGreengrassV2Args']] = None, siemens_ie: Optional[pulumi.Input['GatewaySiemensIeArgs']] = None): """ Contains a gateway's platform information. - :param pulumi.Input['GatewayGreengrassArgs'] greengrass: A gateway that runs on AWS IoT Greengrass V1. + :param Any greengrass: A gateway that runs on AWS IoT Greengrass V1. :param pulumi.Input['GatewayGreengrassV2Args'] greengrass_v2: A gateway that runs on AWS IoT Greengrass V2. :param pulumi.Input['GatewaySiemensIeArgs'] siemens_ie: A gateway that runs on Siemens Industrial Edge. """ @@ -1980,14 +1963,14 @@ def __init__(__self__, *, @property @pulumi.getter - def greengrass(self) -> Optional[pulumi.Input['GatewayGreengrassArgs']]: + def greengrass(self) -> Optional[Any]: """ A gateway that runs on AWS IoT Greengrass V1. """ return pulumi.get(self, "greengrass") @greengrass.setter - def greengrass(self, value: Optional[pulumi.Input['GatewayGreengrassArgs']]): + def greengrass(self, value: Optional[Any]): pulumi.set(self, "greengrass", value) @property diff --git a/sdk/python/pulumi_aws_native/iotsitewise/gateway.py b/sdk/python/pulumi_aws_native/iotsitewise/gateway.py index b560357c71..16cf7be536 100644 --- a/sdk/python/pulumi_aws_native/iotsitewise/gateway.py +++ b/sdk/python/pulumi_aws_native/iotsitewise/gateway.py @@ -16,6 +16,7 @@ from . import outputs from .. import _inputs as _root_inputs from .. import outputs as _root_outputs +from ._enums import * from ._inputs import * __all__ = ['GatewayArgs', 'Gateway'] @@ -26,12 +27,14 @@ def __init__(__self__, *, gateway_platform: pulumi.Input['GatewayPlatformArgs'], gateway_capability_summaries: Optional[pulumi.Input[Sequence[pulumi.Input['GatewayCapabilitySummaryArgs']]]] = None, gateway_name: Optional[pulumi.Input[str]] = None, + gateway_version: Optional[pulumi.Input[str]] = None, tags: Optional[pulumi.Input[Sequence[pulumi.Input['_root_inputs.TagArgs']]]] = None): """ The set of arguments for constructing a Gateway resource. :param pulumi.Input['GatewayPlatformArgs'] gateway_platform: The gateway's platform. You can only specify one platform in a gateway. :param pulumi.Input[Sequence[pulumi.Input['GatewayCapabilitySummaryArgs']]] gateway_capability_summaries: A list of gateway capability summaries that each contain a namespace and status. :param pulumi.Input[str] gateway_name: A unique, friendly name for the gateway. + :param pulumi.Input[str] gateway_version: The version of the gateway you want to create. :param pulumi.Input[Sequence[pulumi.Input['_root_inputs.TagArgs']]] tags: A list of key-value pairs that contain metadata for the gateway. """ pulumi.set(__self__, "gateway_platform", gateway_platform) @@ -39,6 +42,8 @@ def __init__(__self__, *, pulumi.set(__self__, "gateway_capability_summaries", gateway_capability_summaries) if gateway_name is not None: pulumi.set(__self__, "gateway_name", gateway_name) + if gateway_version is not None: + pulumi.set(__self__, "gateway_version", gateway_version) if tags is not None: pulumi.set(__self__, "tags", tags) @@ -78,6 +83,18 @@ def gateway_name(self) -> Optional[pulumi.Input[str]]: def gateway_name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "gateway_name", value) + @property + @pulumi.getter(name="gatewayVersion") + def gateway_version(self) -> Optional[pulumi.Input[str]]: + """ + The version of the gateway you want to create. + """ + return pulumi.get(self, "gateway_version") + + @gateway_version.setter + def gateway_version(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "gateway_version", value) + @property @pulumi.getter def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['_root_inputs.TagArgs']]]]: @@ -99,6 +116,7 @@ def __init__(__self__, gateway_capability_summaries: Optional[pulumi.Input[Sequence[pulumi.Input[Union['GatewayCapabilitySummaryArgs', 'GatewayCapabilitySummaryArgsDict']]]]] = None, gateway_name: Optional[pulumi.Input[str]] = None, gateway_platform: Optional[pulumi.Input[Union['GatewayPlatformArgs', 'GatewayPlatformArgsDict']]] = None, + gateway_version: Optional[pulumi.Input[str]] = None, tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['_root_inputs.TagArgs', '_root_inputs.TagArgsDict']]]]] = None, __props__=None): """ @@ -109,6 +127,7 @@ def __init__(__self__, :param pulumi.Input[Sequence[pulumi.Input[Union['GatewayCapabilitySummaryArgs', 'GatewayCapabilitySummaryArgsDict']]]] gateway_capability_summaries: A list of gateway capability summaries that each contain a namespace and status. :param pulumi.Input[str] gateway_name: A unique, friendly name for the gateway. :param pulumi.Input[Union['GatewayPlatformArgs', 'GatewayPlatformArgsDict']] gateway_platform: The gateway's platform. You can only specify one platform in a gateway. + :param pulumi.Input[str] gateway_version: The version of the gateway you want to create. :param pulumi.Input[Sequence[pulumi.Input[Union['_root_inputs.TagArgs', '_root_inputs.TagArgsDict']]]] tags: A list of key-value pairs that contain metadata for the gateway. """ ... @@ -138,6 +157,7 @@ def _internal_init(__self__, gateway_capability_summaries: Optional[pulumi.Input[Sequence[pulumi.Input[Union['GatewayCapabilitySummaryArgs', 'GatewayCapabilitySummaryArgsDict']]]]] = None, gateway_name: Optional[pulumi.Input[str]] = None, gateway_platform: Optional[pulumi.Input[Union['GatewayPlatformArgs', 'GatewayPlatformArgsDict']]] = None, + gateway_version: Optional[pulumi.Input[str]] = None, tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['_root_inputs.TagArgs', '_root_inputs.TagArgsDict']]]]] = None, __props__=None): opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) @@ -153,9 +173,10 @@ def _internal_init(__self__, if gateway_platform is None and not opts.urn: raise TypeError("Missing required property 'gateway_platform'") __props__.__dict__["gateway_platform"] = gateway_platform + __props__.__dict__["gateway_version"] = gateway_version __props__.__dict__["tags"] = tags __props__.__dict__["gateway_id"] = None - replace_on_changes = pulumi.ResourceOptions(replace_on_changes=["gatewayPlatform"]) + replace_on_changes = pulumi.ResourceOptions(replace_on_changes=["gatewayPlatform", "gatewayVersion"]) opts = pulumi.ResourceOptions.merge(opts, replace_on_changes) super(Gateway, __self__).__init__( 'aws-native:iotsitewise:Gateway', @@ -183,6 +204,7 @@ def get(resource_name: str, __props__.__dict__["gateway_id"] = None __props__.__dict__["gateway_name"] = None __props__.__dict__["gateway_platform"] = None + __props__.__dict__["gateway_version"] = None __props__.__dict__["tags"] = None return Gateway(resource_name, opts=opts, __props__=__props__) @@ -218,6 +240,14 @@ def gateway_platform(self) -> pulumi.Output['outputs.GatewayPlatform']: """ return pulumi.get(self, "gateway_platform") + @property + @pulumi.getter(name="gatewayVersion") + def gateway_version(self) -> pulumi.Output[Optional[str]]: + """ + The version of the gateway you want to create. + """ + return pulumi.get(self, "gateway_version") + @property @pulumi.getter def tags(self) -> pulumi.Output[Optional[Sequence['_root_outputs.Tag']]]: diff --git a/sdk/python/pulumi_aws_native/iotsitewise/outputs.py b/sdk/python/pulumi_aws_native/iotsitewise/outputs.py index f60d19400d..aeb99b73c1 100644 --- a/sdk/python/pulumi_aws_native/iotsitewise/outputs.py +++ b/sdk/python/pulumi_aws_native/iotsitewise/outputs.py @@ -40,7 +40,6 @@ 'AssetModelVariableValue', 'AssetProperty', 'GatewayCapabilitySummary', - 'GatewayGreengrass', 'GatewayGreengrassV2', 'GatewayPlatform', 'GatewaySiemensIe', @@ -1374,45 +1373,6 @@ def capability_configuration(self) -> Optional[str]: return pulumi.get(self, "capability_configuration") -@pulumi.output_type -class GatewayGreengrass(dict): - """ - Contains the ARN of AWS IoT Greengrass Group V1 that the gateway runs on. - """ - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "groupArn": - suggest = "group_arn" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in GatewayGreengrass. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - GatewayGreengrass.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - GatewayGreengrass.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - group_arn: str): - """ - Contains the ARN of AWS IoT Greengrass Group V1 that the gateway runs on. - :param str group_arn: The ARN of the Greengrass group. - """ - pulumi.set(__self__, "group_arn", group_arn) - - @property - @pulumi.getter(name="groupArn") - def group_arn(self) -> str: - """ - The ARN of the Greengrass group. - """ - return pulumi.get(self, "group_arn") - - @pulumi.output_type class GatewayGreengrassV2(dict): """ @@ -1423,6 +1383,8 @@ def __key_warning(key: str): suggest = None if key == "coreDeviceThingName": suggest = "core_device_thing_name" + elif key == "coreDeviceOperatingSystem": + suggest = "core_device_operating_system" if suggest: pulumi.log.warn(f"Key '{key}' not found in GatewayGreengrassV2. Access the value via the '{suggest}' property getter instead.") @@ -1436,12 +1398,16 @@ def get(self, key: str, default = None) -> Any: return super().get(key, default) def __init__(__self__, *, - core_device_thing_name: str): + core_device_thing_name: str, + core_device_operating_system: Optional['GatewayGreengrassV2CoreDeviceOperatingSystem'] = None): """ Contains the CoreDeviceThingName of AWS IoT Greengrass Group V2 that the gateway runs on. :param str core_device_thing_name: The name of the CoreDevice in GreenGrass V2. + :param 'GatewayGreengrassV2CoreDeviceOperatingSystem' core_device_operating_system: The operating system of the core device in AWS IoT Greengrass V2. """ pulumi.set(__self__, "core_device_thing_name", core_device_thing_name) + if core_device_operating_system is not None: + pulumi.set(__self__, "core_device_operating_system", core_device_operating_system) @property @pulumi.getter(name="coreDeviceThingName") @@ -1451,6 +1417,14 @@ def core_device_thing_name(self) -> str: """ return pulumi.get(self, "core_device_thing_name") + @property + @pulumi.getter(name="coreDeviceOperatingSystem") + def core_device_operating_system(self) -> Optional['GatewayGreengrassV2CoreDeviceOperatingSystem']: + """ + The operating system of the core device in AWS IoT Greengrass V2. + """ + return pulumi.get(self, "core_device_operating_system") + @pulumi.output_type class GatewayPlatform(dict): @@ -1477,12 +1451,12 @@ def get(self, key: str, default = None) -> Any: return super().get(key, default) def __init__(__self__, *, - greengrass: Optional['outputs.GatewayGreengrass'] = None, + greengrass: Optional[Any] = None, greengrass_v2: Optional['outputs.GatewayGreengrassV2'] = None, siemens_ie: Optional['outputs.GatewaySiemensIe'] = None): """ Contains a gateway's platform information. - :param 'GatewayGreengrass' greengrass: A gateway that runs on AWS IoT Greengrass V1. + :param Any greengrass: A gateway that runs on AWS IoT Greengrass V1. :param 'GatewayGreengrassV2' greengrass_v2: A gateway that runs on AWS IoT Greengrass V2. :param 'GatewaySiemensIe' siemens_ie: A gateway that runs on Siemens Industrial Edge. """ @@ -1495,7 +1469,7 @@ def __init__(__self__, *, @property @pulumi.getter - def greengrass(self) -> Optional['outputs.GatewayGreengrass']: + def greengrass(self) -> Optional[Any]: """ A gateway that runs on AWS IoT Greengrass V1. """ diff --git a/sdk/python/pulumi_aws_native/kinesisfirehose/_inputs.py b/sdk/python/pulumi_aws_native/kinesisfirehose/_inputs.py index ba18312056..3e04cb4f31 100644 --- a/sdk/python/pulumi_aws_native/kinesisfirehose/_inputs.py +++ b/sdk/python/pulumi_aws_native/kinesisfirehose/_inputs.py @@ -56,6 +56,8 @@ 'DeliveryStreamDeserializerArgsDict', 'DeliveryStreamDestinationTableConfigurationArgs', 'DeliveryStreamDestinationTableConfigurationArgsDict', + 'DeliveryStreamDirectPutSourceConfigurationArgs', + 'DeliveryStreamDirectPutSourceConfigurationArgsDict', 'DeliveryStreamDocumentIdOptionsArgs', 'DeliveryStreamDocumentIdOptionsArgsDict', 'DeliveryStreamDynamicPartitioningConfigurationArgs', @@ -1780,6 +1782,29 @@ def unique_keys(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] pulumi.set(self, "unique_keys", value) +if not MYPY: + class DeliveryStreamDirectPutSourceConfigurationArgsDict(TypedDict): + throughput_hint_in_mbs: NotRequired[pulumi.Input[int]] +elif False: + DeliveryStreamDirectPutSourceConfigurationArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class DeliveryStreamDirectPutSourceConfigurationArgs: + def __init__(__self__, *, + throughput_hint_in_mbs: Optional[pulumi.Input[int]] = None): + if throughput_hint_in_mbs is not None: + pulumi.set(__self__, "throughput_hint_in_mbs", throughput_hint_in_mbs) + + @property + @pulumi.getter(name="throughputHintInMbs") + def throughput_hint_in_mbs(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "throughput_hint_in_mbs") + + @throughput_hint_in_mbs.setter + def throughput_hint_in_mbs(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "throughput_hint_in_mbs", value) + + if not MYPY: class DeliveryStreamDocumentIdOptionsArgsDict(TypedDict): default_document_id_format: pulumi.Input['DeliveryStreamDocumentIdOptionsDefaultDocumentIdFormat'] @@ -3099,6 +3124,7 @@ class DeliveryStreamIcebergDestinationConfigurationArgsDict(TypedDict): The Amazon Resource Name (ARN) of the IAM role to be assumed by Firehose for calling Apache Iceberg Tables. """ s3_configuration: pulumi.Input['DeliveryStreamS3DestinationConfigurationArgsDict'] + append_only: NotRequired[pulumi.Input[bool]] buffering_hints: NotRequired[pulumi.Input['DeliveryStreamBufferingHintsArgsDict']] cloud_watch_logging_options: NotRequired[pulumi.Input['DeliveryStreamCloudWatchLoggingOptionsArgsDict']] destination_table_configuration_list: NotRequired[pulumi.Input[Sequence[pulumi.Input['DeliveryStreamDestinationTableConfigurationArgsDict']]]] @@ -3120,6 +3146,7 @@ def __init__(__self__, *, catalog_configuration: pulumi.Input['DeliveryStreamCatalogConfigurationArgs'], role_arn: pulumi.Input[str], s3_configuration: pulumi.Input['DeliveryStreamS3DestinationConfigurationArgs'], + append_only: Optional[pulumi.Input[bool]] = None, buffering_hints: Optional[pulumi.Input['DeliveryStreamBufferingHintsArgs']] = None, cloud_watch_logging_options: Optional[pulumi.Input['DeliveryStreamCloudWatchLoggingOptionsArgs']] = None, destination_table_configuration_list: Optional[pulumi.Input[Sequence[pulumi.Input['DeliveryStreamDestinationTableConfigurationArgs']]]] = None, @@ -3135,6 +3162,8 @@ def __init__(__self__, *, pulumi.set(__self__, "catalog_configuration", catalog_configuration) pulumi.set(__self__, "role_arn", role_arn) pulumi.set(__self__, "s3_configuration", s3_configuration) + if append_only is not None: + pulumi.set(__self__, "append_only", append_only) if buffering_hints is not None: pulumi.set(__self__, "buffering_hints", buffering_hints) if cloud_watch_logging_options is not None: @@ -3181,6 +3210,15 @@ def s3_configuration(self) -> pulumi.Input['DeliveryStreamS3DestinationConfigura def s3_configuration(self, value: pulumi.Input['DeliveryStreamS3DestinationConfigurationArgs']): pulumi.set(self, "s3_configuration", value) + @property + @pulumi.getter(name="appendOnly") + def append_only(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "append_only") + + @append_only.setter + def append_only(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "append_only", value) + @property @pulumi.getter(name="bufferingHints") def buffering_hints(self) -> Optional[pulumi.Input['DeliveryStreamBufferingHintsArgs']]: diff --git a/sdk/python/pulumi_aws_native/kinesisfirehose/delivery_stream.py b/sdk/python/pulumi_aws_native/kinesisfirehose/delivery_stream.py index f07a89e7c3..cc05261d96 100644 --- a/sdk/python/pulumi_aws_native/kinesisfirehose/delivery_stream.py +++ b/sdk/python/pulumi_aws_native/kinesisfirehose/delivery_stream.py @@ -30,6 +30,7 @@ def __init__(__self__, *, delivery_stream_encryption_configuration_input: Optional[pulumi.Input['DeliveryStreamEncryptionConfigurationInputArgs']] = None, delivery_stream_name: Optional[pulumi.Input[str]] = None, delivery_stream_type: Optional[pulumi.Input['DeliveryStreamType']] = None, + direct_put_source_configuration: Optional[pulumi.Input['DeliveryStreamDirectPutSourceConfigurationArgs']] = None, elasticsearch_destination_configuration: Optional[pulumi.Input['DeliveryStreamElasticsearchDestinationConfigurationArgs']] = None, extended_s3_destination_configuration: Optional[pulumi.Input['DeliveryStreamExtendedS3DestinationConfigurationArgs']] = None, http_endpoint_destination_configuration: Optional[pulumi.Input['DeliveryStreamHttpEndpointDestinationConfigurationArgs']] = None, @@ -104,6 +105,8 @@ def __init__(__self__, *, pulumi.set(__self__, "delivery_stream_name", delivery_stream_name) if delivery_stream_type is not None: pulumi.set(__self__, "delivery_stream_type", delivery_stream_type) + if direct_put_source_configuration is not None: + pulumi.set(__self__, "direct_put_source_configuration", direct_put_source_configuration) if elasticsearch_destination_configuration is not None: pulumi.set(__self__, "elasticsearch_destination_configuration", elasticsearch_destination_configuration) if extended_s3_destination_configuration is not None: @@ -204,6 +207,15 @@ def delivery_stream_type(self) -> Optional[pulumi.Input['DeliveryStreamType']]: def delivery_stream_type(self, value: Optional[pulumi.Input['DeliveryStreamType']]): pulumi.set(self, "delivery_stream_type", value) + @property + @pulumi.getter(name="directPutSourceConfiguration") + def direct_put_source_configuration(self) -> Optional[pulumi.Input['DeliveryStreamDirectPutSourceConfigurationArgs']]: + return pulumi.get(self, "direct_put_source_configuration") + + @direct_put_source_configuration.setter + def direct_put_source_configuration(self, value: Optional[pulumi.Input['DeliveryStreamDirectPutSourceConfigurationArgs']]): + pulumi.set(self, "direct_put_source_configuration", value) + @property @pulumi.getter(name="elasticsearchDestinationConfiguration") def elasticsearch_destination_configuration(self) -> Optional[pulumi.Input['DeliveryStreamElasticsearchDestinationConfigurationArgs']]: @@ -374,6 +386,7 @@ def __init__(__self__, delivery_stream_encryption_configuration_input: Optional[pulumi.Input[Union['DeliveryStreamEncryptionConfigurationInputArgs', 'DeliveryStreamEncryptionConfigurationInputArgsDict']]] = None, delivery_stream_name: Optional[pulumi.Input[str]] = None, delivery_stream_type: Optional[pulumi.Input['DeliveryStreamType']] = None, + direct_put_source_configuration: Optional[pulumi.Input[Union['DeliveryStreamDirectPutSourceConfigurationArgs', 'DeliveryStreamDirectPutSourceConfigurationArgsDict']]] = None, elasticsearch_destination_configuration: Optional[pulumi.Input[Union['DeliveryStreamElasticsearchDestinationConfigurationArgs', 'DeliveryStreamElasticsearchDestinationConfigurationArgsDict']]] = None, extended_s3_destination_configuration: Optional[pulumi.Input[Union['DeliveryStreamExtendedS3DestinationConfigurationArgs', 'DeliveryStreamExtendedS3DestinationConfigurationArgsDict']]] = None, http_endpoint_destination_configuration: Optional[pulumi.Input[Union['DeliveryStreamHttpEndpointDestinationConfigurationArgs', 'DeliveryStreamHttpEndpointDestinationConfigurationArgsDict']]] = None, @@ -470,6 +483,7 @@ def _internal_init(__self__, delivery_stream_encryption_configuration_input: Optional[pulumi.Input[Union['DeliveryStreamEncryptionConfigurationInputArgs', 'DeliveryStreamEncryptionConfigurationInputArgsDict']]] = None, delivery_stream_name: Optional[pulumi.Input[str]] = None, delivery_stream_type: Optional[pulumi.Input['DeliveryStreamType']] = None, + direct_put_source_configuration: Optional[pulumi.Input[Union['DeliveryStreamDirectPutSourceConfigurationArgs', 'DeliveryStreamDirectPutSourceConfigurationArgsDict']]] = None, elasticsearch_destination_configuration: Optional[pulumi.Input[Union['DeliveryStreamElasticsearchDestinationConfigurationArgs', 'DeliveryStreamElasticsearchDestinationConfigurationArgsDict']]] = None, extended_s3_destination_configuration: Optional[pulumi.Input[Union['DeliveryStreamExtendedS3DestinationConfigurationArgs', 'DeliveryStreamExtendedS3DestinationConfigurationArgsDict']]] = None, http_endpoint_destination_configuration: Optional[pulumi.Input[Union['DeliveryStreamHttpEndpointDestinationConfigurationArgs', 'DeliveryStreamHttpEndpointDestinationConfigurationArgsDict']]] = None, @@ -496,6 +510,7 @@ def _internal_init(__self__, __props__.__dict__["delivery_stream_encryption_configuration_input"] = delivery_stream_encryption_configuration_input __props__.__dict__["delivery_stream_name"] = delivery_stream_name __props__.__dict__["delivery_stream_type"] = delivery_stream_type + __props__.__dict__["direct_put_source_configuration"] = direct_put_source_configuration __props__.__dict__["elasticsearch_destination_configuration"] = elasticsearch_destination_configuration __props__.__dict__["extended_s3_destination_configuration"] = extended_s3_destination_configuration __props__.__dict__["http_endpoint_destination_configuration"] = http_endpoint_destination_configuration @@ -508,7 +523,7 @@ def _internal_init(__self__, __props__.__dict__["splunk_destination_configuration"] = splunk_destination_configuration __props__.__dict__["tags"] = tags __props__.__dict__["arn"] = None - replace_on_changes = pulumi.ResourceOptions(replace_on_changes=["amazonOpenSearchServerlessDestinationConfiguration.vpcConfiguration", "amazonopensearchserviceDestinationConfiguration.vpcConfiguration", "databaseSourceConfiguration", "deliveryStreamName", "deliveryStreamType", "elasticsearchDestinationConfiguration.vpcConfiguration", "icebergDestinationConfiguration", "kinesisStreamSourceConfiguration", "mskSourceConfiguration", "snowflakeDestinationConfiguration.snowflakeVpcConfiguration"]) + replace_on_changes = pulumi.ResourceOptions(replace_on_changes=["amazonOpenSearchServerlessDestinationConfiguration.vpcConfiguration", "amazonopensearchserviceDestinationConfiguration.vpcConfiguration", "databaseSourceConfiguration", "deliveryStreamName", "deliveryStreamType", "directPutSourceConfiguration", "elasticsearchDestinationConfiguration.vpcConfiguration", "icebergDestinationConfiguration", "kinesisStreamSourceConfiguration", "mskSourceConfiguration", "snowflakeDestinationConfiguration.snowflakeVpcConfiguration"]) opts = pulumi.ResourceOptions.merge(opts, replace_on_changes) super(DeliveryStream, __self__).__init__( 'aws-native:kinesisfirehose:DeliveryStream', @@ -539,6 +554,7 @@ def get(resource_name: str, __props__.__dict__["delivery_stream_encryption_configuration_input"] = None __props__.__dict__["delivery_stream_name"] = None __props__.__dict__["delivery_stream_type"] = None + __props__.__dict__["direct_put_source_configuration"] = None __props__.__dict__["elasticsearch_destination_configuration"] = None __props__.__dict__["extended_s3_destination_configuration"] = None __props__.__dict__["http_endpoint_destination_configuration"] = None @@ -613,6 +629,11 @@ def delivery_stream_type(self) -> pulumi.Output[Optional['DeliveryStreamType']]: """ return pulumi.get(self, "delivery_stream_type") + @property + @pulumi.getter(name="directPutSourceConfiguration") + def direct_put_source_configuration(self) -> pulumi.Output[Optional['outputs.DeliveryStreamDirectPutSourceConfiguration']]: + return pulumi.get(self, "direct_put_source_configuration") + @property @pulumi.getter(name="elasticsearchDestinationConfiguration") def elasticsearch_destination_configuration(self) -> pulumi.Output[Optional['outputs.DeliveryStreamElasticsearchDestinationConfiguration']]: diff --git a/sdk/python/pulumi_aws_native/kinesisfirehose/outputs.py b/sdk/python/pulumi_aws_native/kinesisfirehose/outputs.py index ed7c3e9892..8e14919840 100644 --- a/sdk/python/pulumi_aws_native/kinesisfirehose/outputs.py +++ b/sdk/python/pulumi_aws_native/kinesisfirehose/outputs.py @@ -37,6 +37,7 @@ 'DeliveryStreamDatabases', 'DeliveryStreamDeserializer', 'DeliveryStreamDestinationTableConfiguration', + 'DeliveryStreamDirectPutSourceConfiguration', 'DeliveryStreamDocumentIdOptions', 'DeliveryStreamDynamicPartitioningConfiguration', 'DeliveryStreamElasticsearchBufferingHints', @@ -1424,6 +1425,36 @@ def unique_keys(self) -> Optional[Sequence[str]]: return pulumi.get(self, "unique_keys") +@pulumi.output_type +class DeliveryStreamDirectPutSourceConfiguration(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "throughputHintInMbs": + suggest = "throughput_hint_in_mbs" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in DeliveryStreamDirectPutSourceConfiguration. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + DeliveryStreamDirectPutSourceConfiguration.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + DeliveryStreamDirectPutSourceConfiguration.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + throughput_hint_in_mbs: Optional[int] = None): + if throughput_hint_in_mbs is not None: + pulumi.set(__self__, "throughput_hint_in_mbs", throughput_hint_in_mbs) + + @property + @pulumi.getter(name="throughputHintInMbs") + def throughput_hint_in_mbs(self) -> Optional[int]: + return pulumi.get(self, "throughput_hint_in_mbs") + + @pulumi.output_type class DeliveryStreamDocumentIdOptions(dict): @staticmethod @@ -2515,6 +2546,8 @@ def __key_warning(key: str): suggest = "role_arn" elif key == "s3Configuration": suggest = "s3_configuration" + elif key == "appendOnly": + suggest = "append_only" elif key == "bufferingHints": suggest = "buffering_hints" elif key == "cloudWatchLoggingOptions": @@ -2543,6 +2576,7 @@ def __init__(__self__, *, catalog_configuration: 'outputs.DeliveryStreamCatalogConfiguration', role_arn: str, s3_configuration: 'outputs.DeliveryStreamS3DestinationConfiguration', + append_only: Optional[bool] = None, buffering_hints: Optional['outputs.DeliveryStreamBufferingHints'] = None, cloud_watch_logging_options: Optional['outputs.DeliveryStreamCloudWatchLoggingOptions'] = None, destination_table_configuration_list: Optional[Sequence['outputs.DeliveryStreamDestinationTableConfiguration']] = None, @@ -2558,6 +2592,8 @@ def __init__(__self__, *, pulumi.set(__self__, "catalog_configuration", catalog_configuration) pulumi.set(__self__, "role_arn", role_arn) pulumi.set(__self__, "s3_configuration", s3_configuration) + if append_only is not None: + pulumi.set(__self__, "append_only", append_only) if buffering_hints is not None: pulumi.set(__self__, "buffering_hints", buffering_hints) if cloud_watch_logging_options is not None: @@ -2592,6 +2628,11 @@ def role_arn(self) -> str: def s3_configuration(self) -> 'outputs.DeliveryStreamS3DestinationConfiguration': return pulumi.get(self, "s3_configuration") + @property + @pulumi.getter(name="appendOnly") + def append_only(self) -> Optional[bool]: + return pulumi.get(self, "append_only") + @property @pulumi.getter(name="bufferingHints") def buffering_hints(self) -> Optional['outputs.DeliveryStreamBufferingHints']: