Skip to content

Commit

Permalink
Automated SDK generation @ aws-cloudformation-user-guide 19dc52cd3f20…
Browse files Browse the repository at this point in the history
…07d6d268b65b739ffb5ebf8c1e76 (#1436)

*Automated PR*

---------

Co-authored-by: Daniel Bradley <daniel@pulumi.com>
  • Loading branch information
pulumi-bot and danielrbradley authored Mar 27, 2024
1 parent e60c8d6 commit 7a8152a
Show file tree
Hide file tree
Showing 183 changed files with 12,451 additions and 1,262 deletions.
12 changes: 11 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,19 @@
# Change Log

## Unreleased
## 0.100.0 (2024-03-27)

- [Fix replaceOnChanges for Python programs with multi-word properties](https://github.com/pulumi/pulumi-aws-native/pull/1424)
- [Fix handling of AlreadyExists error while creating a resource](https://github.com/pulumi/pulumi-aws-native/pull/1439)
- [Improve cf2pulumi error messages](https://github.com/pulumi/pulumi-aws-native/pull/1438)
- [Skip aws:cdk:path metadata which fails conversion](https://github.com/pulumi/pulumi-aws-native/pull/1444)
- [Fix extension resource](https://github.com/pulumi/pulumi-aws-native/pull/1406)
- [Don't send writeOnly properties if they're also createOnly](https://github.com/pulumi/pulumi-aws-native/pull/1448)
- [Improve autonaming coverage](https://github.com/pulumi/pulumi-aws-native/pull/1443)

### Breaking Changes

- "aws-native:datasync:TaskReportConfigDestinationProperties": properties: "s3" type changed from "#/types/aws-native:datasync:TaskReportConfigDestinationPropertiesS3Properties" to "#/types/aws-native:datasync:TaskReportConfigDestinationS3"
- "aws-native:datasync:TaskReportConfigDestinationPropertiesS3Properties" missing

## 0.99.0 (2024-03-14)

Expand Down
24 changes: 23 additions & 1 deletion aws-cloudformation-schema/aws-appconfig-deployment.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,13 @@
"ApplicationId" : {
"type" : "string"
},
"DynamicExtensionParameters" : {
"type" : "array",
"uniqueItems" : false,
"items" : {
"$ref" : "#/definitions/DynamicExtensionParameters"
}
},
"Tags" : {
"type" : "array",
"uniqueItems" : false,
Expand All @@ -36,6 +43,21 @@
}
},
"definitions" : {
"DynamicExtensionParameters" : {
"type" : "object",
"additionalProperties" : false,
"properties" : {
"ExtensionReference" : {
"type" : "string"
},
"ParameterName" : {
"type" : "string"
},
"ParameterValue" : {
"type" : "string"
}
}
},
"Tags" : {
"type" : "object",
"additionalProperties" : false,
Expand All @@ -50,7 +72,7 @@
}
},
"required" : [ "DeploymentStrategyId", "ConfigurationProfileId", "EnvironmentId", "ConfigurationVersion", "ApplicationId" ],
"createOnlyProperties" : [ "/properties/KmsKeyIdentifier", "/properties/DeploymentStrategyId", "/properties/ConfigurationVersion", "/properties/ApplicationId", "/properties/ConfigurationProfileId", "/properties/Tags", "/properties/EnvironmentId", "/properties/Description" ],
"createOnlyProperties" : [ "/properties/KmsKeyIdentifier", "/properties/DeploymentStrategyId", "/properties/ConfigurationVersion", "/properties/ApplicationId", "/properties/ConfigurationProfileId", "/properties/Tags", "/properties/EnvironmentId", "/properties/Description", "/properties/DynamicExtensionParameters" ],
"primaryIdentifier" : [ "/properties/Id" ],
"readOnlyProperties" : [ "/properties/Id" ]
}
127 changes: 126 additions & 1 deletion aws-cloudformation-schema/aws-autoscaling-autoscalinggroup.json

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions aws-cloudformation-schema/aws-codepipeline-pipeline.json
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,9 @@
},
"Name" : {
"type" : "string"
},
"TimeoutInMinutes" : {
"type" : "integer"
}
},
"required" : [ "ActionTypeId", "Name" ]
Expand Down
113 changes: 89 additions & 24 deletions aws-cloudformation-schema/aws-datasync-task.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,29 +56,7 @@
"type" : "object",
"properties" : {
"S3" : {
"additionalProperties" : false,
"description" : "Specifies the Amazon S3 bucket where DataSync uploads your task report.",
"type" : "object",
"properties" : {
"Subdirectory" : {
"description" : "Specifies a bucket prefix for your report.",
"type" : "string",
"maxLength" : 4096,
"pattern" : "^[a-zA-Z0-9_\\-\\+\\./\\(\\)\\p{Zs}]*$"
},
"BucketAccessRoleArn" : {
"description" : "Specifies the Amazon Resource Name (ARN) of the IAM policy that allows Datasync to upload a task report to your S3 bucket.",
"type" : "string",
"maxLength" : 2048,
"pattern" : "^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):iam::[0-9]{12}:role/.*$"
},
"S3BucketArn" : {
"description" : "Specifies the ARN of the S3 bucket where Datasync uploads your report.",
"type" : "string",
"maxLength" : 156,
"pattern" : "^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):(s3|s3-outposts):[a-z\\-0-9]*:[0-9]*:.*$"
}
}
"$ref" : "#/definitions/TaskReportConfigDestinationS3"
}
}
},
Expand Down Expand Up @@ -155,6 +133,90 @@
},
"required" : [ "Destination", "OutputType" ]
},
"TaskReportConfigDestinationS3" : {
"additionalProperties" : false,
"description" : "Specifies the Amazon S3 bucket where DataSync uploads your task report.",
"type" : "object",
"properties" : {
"Subdirectory" : {
"description" : "Specifies a bucket prefix for your report.",
"type" : "string",
"maxLength" : 4096,
"pattern" : "^[a-zA-Z0-9_\\-\\+\\./\\(\\)\\p{Zs}]*$"
},
"BucketAccessRoleArn" : {
"description" : "Specifies the Amazon Resource Name (ARN) of the IAM policy that allows Datasync to upload a task report to your S3 bucket.",
"type" : "string",
"maxLength" : 2048,
"pattern" : "^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):iam::[0-9]{12}:role/.*$"
},
"S3BucketArn" : {
"description" : "Specifies the ARN of the S3 bucket where Datasync uploads your report.",
"type" : "string",
"maxLength" : 156,
"pattern" : "^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):(s3|s3-outposts):[a-z\\-0-9]*:[0-9]*:.*$"
}
}
},
"ManifestConfig" : {
"additionalProperties" : false,
"description" : "Configures a manifest, which is a list of files or objects that you want DataSync to transfer.",
"type" : "object",
"properties" : {
"Action" : {
"description" : "Specifies what DataSync uses the manifest for.",
"type" : "string",
"enum" : [ "TRANSFER" ]
},
"Format" : {
"description" : "Specifies the file format of your manifest.",
"type" : "string",
"enum" : [ "CSV" ]
},
"Source" : {
"additionalProperties" : false,
"description" : "Specifies the manifest that you want DataSync to use and where it's hosted.",
"type" : "object",
"properties" : {
"S3" : {
"$ref" : "#/definitions/ManifestConfigSourceS3"
}
}
}
},
"required" : [ "Source" ]
},
"ManifestConfigSourceS3" : {
"additionalProperties" : false,
"description" : "Specifies the S3 bucket where you're hosting the manifest that you want AWS DataSync to use.",
"type" : "object",
"properties" : {
"ManifestObjectPath" : {
"description" : "Specifies the Amazon S3 object key of your manifest.",
"type" : "string",
"maxLength" : 1024,
"pattern" : "^[\\p{L}\\p{M}\\p{Z}\\p{S}\\p{N}\\p{P}\\p{C}]*$"
},
"BucketAccessRoleArn" : {
"description" : "Specifies the AWS Identity and Access Management (IAM) role that allows DataSync to access your manifest.",
"type" : "string",
"maxLength" : 2048,
"pattern" : "^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):iam::[0-9]{12}:role/.*$"
},
"S3BucketArn" : {
"description" : "Specifies the Amazon Resource Name (ARN) of the S3 bucket where you're hosting your manifest.",
"type" : "string",
"maxLength" : 156,
"pattern" : "^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):(s3|s3-outposts):[a-z\\-0-9]*:[0-9]*:.*$"
},
"ManifestObjectVersionId" : {
"description" : "Specifies the object version ID of the manifest that you want DataSync to use.",
"type" : "string",
"maxLength" : 100,
"pattern" : "^.+$"
}
}
},
"TaskSchedule" : {
"additionalProperties" : false,
"description" : "Specifies the schedule you want your task to use for repeated executions.",
Expand Down Expand Up @@ -327,6 +389,9 @@
"TaskReportConfig" : {
"$ref" : "#/definitions/TaskReportConfig"
},
"ManifestConfig" : {
"$ref" : "#/definitions/ManifestConfig"
},
"Schedule" : {
"$ref" : "#/definitions/TaskSchedule"
},
Expand Down Expand Up @@ -368,7 +433,7 @@
"createOnlyProperties" : [ "/properties/DestinationLocationArn", "/properties/SourceLocationArn" ],
"handlers" : {
"create" : {
"permissions" : [ "datasync:CreateTask", "datasync:DescribeTask", "datasync:ListTagsForResource", "datasync:TagResource", "s3:ListAllMyBuckets", "s3:ListBucket", "ec2:DescribeNetworkInterfaces", "ec2:CreateNetworkInterface", "ec2:DeleteNetworkInterface", "ec2:DescribeSecurityGroups", "ec2:DescribeSubnets", "ec2:CreateNetworkInterfacePermission", "fsx:DescribeFileSystems", "elasticfilesystem:DescribeFileSystems", "elasticfilesystem:DescribeMountTargets", "logs:DescribeLogGroups", "iam:GetRole", "iam:PassRole", "iam:AssumeRole" ]
"permissions" : [ "datasync:CreateTask", "datasync:DescribeTask", "datasync:ListTagsForResource", "datasync:TagResource", "s3:ListAllMyBuckets", "s3:ListBucket", "s3:GetObject", "s3:GetObjectVersion", "ec2:DescribeNetworkInterfaces", "ec2:CreateNetworkInterface", "ec2:DeleteNetworkInterface", "ec2:DescribeSecurityGroups", "ec2:DescribeSubnets", "ec2:CreateNetworkInterfacePermission", "fsx:DescribeFileSystems", "elasticfilesystem:DescribeFileSystems", "elasticfilesystem:DescribeMountTargets", "logs:DescribeLogGroups", "iam:GetRole", "iam:PassRole", "iam:AssumeRole" ]
},
"read" : {
"permissions" : [ "datasync:DescribeTask", "datasync:ListTagsForResource" ]
Expand Down
6 changes: 5 additions & 1 deletion aws-cloudformation-schema/aws-ec2-networkinterface.json
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,10 @@
"items" : {
"$ref" : "#/definitions/Tag"
}
},
"VpcId" : {
"description" : "The ID of the VPC",
"type" : "string"
}
},
"definitions" : {
Expand Down Expand Up @@ -200,7 +204,7 @@
"required" : [ "SubnetId" ],
"createOnlyProperties" : [ "/properties/PrivateIpAddress", "/properties/InterfaceType", "/properties/SubnetId" ],
"primaryIdentifier" : [ "/properties/Id" ],
"readOnlyProperties" : [ "/properties/Id", "/properties/SecondaryPrivateIpAddresses", "/properties/PrimaryPrivateIpAddress", "/properties/PrimaryIpv6Address" ],
"readOnlyProperties" : [ "/properties/Id", "/properties/SecondaryPrivateIpAddresses", "/properties/PrimaryPrivateIpAddress", "/properties/PrimaryIpv6Address", "/properties/VpcId" ],
"conditionalCreateOnlyProperties" : [ "/properties/PrivateIpAddresses", "/properties/EnablePrimaryIpv6", "/properties/ConnectionTrackingSpecification" ],
"taggable" : true,
"handlers" : {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
"description" : "Resource Type definition for AWS::ElastiCache::ParameterGroup",
"additionalProperties" : false,
"properties" : {
"CacheParameterGroupName" : {
"type" : "string"
},
"Description" : {
"type" : "string"
},
Expand Down Expand Up @@ -46,5 +49,5 @@
"required" : [ "Description", "CacheParameterGroupFamily" ],
"createOnlyProperties" : [ "/properties/CacheParameterGroupFamily" ],
"primaryIdentifier" : [ "/properties/Id" ],
"readOnlyProperties" : [ "/properties/Id" ]
"readOnlyProperties" : [ "/properties/CacheParameterGroupName", "/properties/Id" ]
}
Loading

0 comments on commit 7a8152a

Please sign in to comment.