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 (#1505)

*Automated PR*

- "aws-native:lambda:Alias": properties: "aliasArn" missing output
"aliasArn"
- "aws-native:lambda:getAlias": inputs:
    - "aliasArn" missing input "aliasArn"
    -  required: "id" input has changed to Required
- "aws-native:ecs:ClusterConfiguration": properties:
"managedStorageConfiguration" missing
- "aws-native:ecs:ClusterManagedStorageConfiguration" missing
- "aws-native:lambda:AliasRoutingConfiguration": required:
"additionalVersionWeights" property has changed

#### New resources:

- `ec2.TransitGatewayRouteTablePropagation`
  • Loading branch information
pulumi-bot committed Apr 30, 2024
1 parent 0a377e8 commit 67f0756
Show file tree
Hide file tree
Showing 140 changed files with 6,125 additions and 3,157 deletions.
185 changes: 98 additions & 87 deletions aws-cloudformation-schema/aws-autoscaling-launchconfiguration.json
@@ -1,12 +1,33 @@
{
"sourceUrl" : "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-autoscaling.git",
"tagging" : {
"taggable" : false
},
"handlers" : {
"read" : {
"permissions" : [ "autoscaling:DescribeLaunchConfigurations" ]
},
"create" : {
"permissions" : [ "autoscaling:CreateLaunchConfiguration", "autoscaling:DescribeLaunchConfigurations", "iam:PassRole" ]
},
"list" : {
"permissions" : [ "autoscaling:DescribeLaunchConfigurations" ]
},
"delete" : {
"permissions" : [ "autoscaling:DeleteLaunchConfiguration", "autoscaling:DescribeLaunchConfigurations" ]
}
},
"typeName" : "AWS::AutoScaling::LaunchConfiguration",
"description" : "The AWS::AutoScaling::LaunchConfiguration resource specifies the launch configuration that can be used by an Auto Scaling group to configure Amazon EC2 instances.",
"sourceUrl" : "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-autoscaling.git",
"writeOnlyProperties" : [ "/properties/InstanceId" ],
"createOnlyProperties" : [ "/properties/AssociatePublicIpAddress", "/properties/BlockDeviceMappings", "/properties/ClassicLinkVPCId", "/properties/ClassicLinkVPCSecurityGroups", "/properties/EbsOptimized", "/properties/IamInstanceProfile", "/properties/ImageId", "/properties/InstanceId", "/properties/InstanceMonitoring", "/properties/InstanceType", "/properties/KernelId", "/properties/KeyName", "/properties/LaunchConfigurationName", "/properties/MetadataOptions", "/properties/PlacementTenancy", "/properties/RamDiskId", "/properties/SecurityGroups", "/properties/SpotPrice", "/properties/UserData" ],
"additionalProperties" : false,
"primaryIdentifier" : [ "/properties/LaunchConfigurationName" ],
"definitions" : {
"MetadataOptions" : {
"description" : "MetadataOptions is a property of AWS::AutoScaling::LaunchConfiguration that describes metadata options for the instances.",
"type" : "object",
"additionalProperties" : false,
"type" : "object",
"properties" : {
"HttpPutResponseHopLimit" : {
"description" : "The desired HTTP PUT response hop limit for instance metadata requests.",
Expand All @@ -24,9 +45,13 @@
},
"BlockDeviceMapping" : {
"description" : "BlockDeviceMapping is a property of AWS::AutoScaling::LaunchConfiguration that describes a block device mapping for an Auto Scaling group.",
"type" : "object",
"additionalProperties" : false,
"type" : "object",
"properties" : {
"Ebs" : {
"description" : "Parameters used to automatically set up EBS volumes when an instance is launched.",
"$ref" : "#/definitions/BlockDevice"
},
"NoDevice" : {
"description" : "Setting this value to true suppresses the specified device included in the block device mapping of the AMI.",
"type" : "boolean"
Expand All @@ -35,10 +60,6 @@
"description" : "The name of the virtual device.",
"type" : "string"
},
"Ebs" : {
"description" : "Parameters used to automatically set up EBS volumes when an instance is launched.",
"$ref" : "#/definitions/BlockDevice"
},
"DeviceName" : {
"description" : "The device name exposed to the EC2 instance (for example, /dev/sdh or xvdh). ",
"type" : "string"
Expand All @@ -48,8 +69,8 @@
},
"BlockDevice" : {
"description" : "BlockDevice is a subproperty of BlockDeviceMapping that describes an Amazon EBS volume.",
"type" : "object",
"additionalProperties" : false,
"type" : "object",
"properties" : {
"SnapshotId" : {
"description" : "The snapshot ID of the volume to use.",
Expand All @@ -63,6 +84,10 @@
"description" : "Specifies whether the volume should be encrypted. ",
"type" : "boolean"
},
"Throughput" : {
"description" : "The throughput (MiBps) to provision for a gp3 volume.",
"type" : "integer"
},
"Iops" : {
"description" : "The number of input/output (I/O) operations per second (IOPS) to provision for the volume. ",
"type" : "integer"
Expand All @@ -74,128 +99,114 @@
"DeleteOnTermination" : {
"description" : "Indicates whether the volume is deleted on instance termination. ",
"type" : "boolean"
},
"Throughput" : {
"description" : "The throughput (MiBps) to provision for a gp3 volume.",
"type" : "integer"
}
}
}
},
"properties" : {
"AssociatePublicIpAddress" : {
"description" : "For Auto Scaling groups that are running in a virtual private cloud (VPC), specifies whether to assign a public IP address to the group's instances.",
"type" : "boolean"
"PlacementTenancy" : {
"description" : "The tenancy of the instance, either default or dedicated.",
"type" : "string"
},
"BlockDeviceMappings" : {
"description" : "Specifies how block devices are exposed to the instance. You can specify virtual devices and EBS volumes.",
"type" : "array",
"uniqueItems" : true,
"SecurityGroups" : {
"description" : "A list that contains the security groups to assign to the instances in the Auto Scaling group.",
"insertionOrder" : false,
"type" : "array",
"items" : {
"$ref" : "#/definitions/BlockDeviceMapping"
"anyOf" : [ {
"relationshipRef" : {
"typeName" : "AWS::EC2::SecurityGroup",
"propertyPath" : "/properties/GroupId"
}
}, {
"relationshipRef" : {
"typeName" : "AWS::EC2::SecurityGroup",
"propertyPath" : "/properties/Id"
}
} ],
"type" : "string"
}
},
"ClassicLinkVPCId" : {
"description" : "The ID of a ClassicLink-enabled VPC to link your EC2-Classic instances to.",
"LaunchConfigurationName" : {
"minLength" : 1,
"description" : "The name of the launch configuration. This name must be unique per Region per account.",
"type" : "string",
"maxLength" : 255
},
"MetadataOptions" : {
"description" : "The metadata options for the instances.",
"$ref" : "#/definitions/MetadataOptions"
},
"InstanceId" : {
"description" : "The ID of the Amazon EC2 instance you want to use to create the launch configuration.",
"type" : "string"
},
"UserData" : {
"description" : "The Base64-encoded user data to make available to the launched EC2 instances.",
"type" : "string",
"maxLength" : 21847
},
"ClassicLinkVPCSecurityGroups" : {
"description" : "The IDs of one or more security groups for the VPC that you specified in the ClassicLinkVPCId property.",
"type" : "array",
"insertionOrder" : false,
"type" : "array",
"items" : {
"type" : "string"
}
},
"EbsOptimized" : {
"description" : "Specifies whether the launch configuration is optimized for EBS I/O (true) or not (false).",
"type" : "boolean"
"BlockDeviceMappings" : {
"uniqueItems" : true,
"description" : "Specifies how block devices are exposed to the instance. You can specify virtual devices and EBS volumes.",
"insertionOrder" : false,
"type" : "array",
"items" : {
"$ref" : "#/definitions/BlockDeviceMapping"
}
},
"IamInstanceProfile" : {
"description" : "Provides the name or the Amazon Resource Name (ARN) of the instance profile associated with the IAM role for the instance. The instance profile contains the IAM role.",
"type" : "string"
},
"ImageId" : {
"description" : "Provides the unique ID of the Amazon Machine Image (AMI) that was assigned during registration.",
"type" : "string"
},
"InstanceId" : {
"description" : "The ID of the Amazon EC2 instance you want to use to create the launch configuration.",
"KernelId" : {
"description" : "Provides the ID of the kernel associated with the EC2 AMI.",
"type" : "string"
},
"InstanceMonitoring" : {
"description" : "Controls whether instances in this group are launched with detailed (true) or basic (false) monitoring.",
"AssociatePublicIpAddress" : {
"description" : "For Auto Scaling groups that are running in a virtual private cloud (VPC), specifies whether to assign a public IP address to the group's instances.",
"type" : "boolean"
},
"InstanceType" : {
"description" : "Specifies the instance type of the EC2 instance.",
"ClassicLinkVPCId" : {
"description" : "The ID of a ClassicLink-enabled VPC to link your EC2-Classic instances to.",
"type" : "string"
},
"KernelId" : {
"description" : "Provides the ID of the kernel associated with the EC2 AMI.",
"type" : "string"
"EbsOptimized" : {
"description" : "Specifies whether the launch configuration is optimized for EBS I/O (true) or not (false).",
"type" : "boolean"
},
"KeyName" : {
"description" : "Provides the name of the EC2 key pair.",
"type" : "string"
},
"LaunchConfigurationName" : {
"description" : "The name of the launch configuration. This name must be unique per Region per account.",
"type" : "string",
"minLength" : 1,
"maxLength" : 255
"SpotPrice" : {
"description" : "The maximum hourly price you are willing to pay for any Spot Instances launched to fulfill the request.",
"type" : "string"
},
"MetadataOptions" : {
"description" : "The metadata options for the instances.",
"$ref" : "#/definitions/MetadataOptions"
"ImageId" : {
"description" : "Provides the unique ID of the Amazon Machine Image (AMI) that was assigned during registration.",
"type" : "string"
},
"PlacementTenancy" : {
"description" : "The tenancy of the instance, either default or dedicated.",
"InstanceType" : {
"description" : "Specifies the instance type of the EC2 instance.",
"type" : "string"
},
"RamDiskId" : {
"description" : "The ID of the RAM disk to select.",
"type" : "string"
},
"SecurityGroups" : {
"description" : "A list that contains the security groups to assign to the instances in the Auto Scaling group.",
"type" : "array",
"insertionOrder" : false,
"items" : {
"type" : "string"
}
},
"SpotPrice" : {
"description" : "The maximum hourly price you are willing to pay for any Spot Instances launched to fulfill the request.",
"type" : "string"
},
"UserData" : {
"description" : "The Base64-encoded user data to make available to the launched EC2 instances.",
"type" : "string",
"maxLength" : 21847
"InstanceMonitoring" : {
"description" : "Controls whether instances in this group are launched with detailed (true) or basic (false) monitoring.",
"type" : "boolean"
}
},
"additionalProperties" : false,
"required" : [ "ImageId", "InstanceType" ],
"createOnlyProperties" : [ "/properties/AssociatePublicIpAddress", "/properties/BlockDeviceMappings", "/properties/ClassicLinkVPCId", "/properties/ClassicLinkVPCSecurityGroups", "/properties/EbsOptimized", "/properties/IamInstanceProfile", "/properties/ImageId", "/properties/InstanceId", "/properties/InstanceMonitoring", "/properties/InstanceType", "/properties/KernelId", "/properties/KeyName", "/properties/LaunchConfigurationName", "/properties/MetadataOptions", "/properties/PlacementTenancy", "/properties/RamDiskId", "/properties/SecurityGroups", "/properties/SpotPrice", "/properties/UserData" ],
"tagging" : {
"taggable" : false
},
"primaryIdentifier" : [ "/properties/LaunchConfigurationName" ],
"writeOnlyProperties" : [ "/properties/InstanceId" ],
"handlers" : {
"create" : {
"permissions" : [ "autoscaling:CreateLaunchConfiguration", "autoscaling:DescribeLaunchConfigurations", "iam:PassRole" ]
},
"read" : {
"permissions" : [ "autoscaling:DescribeLaunchConfigurations" ]
},
"delete" : {
"permissions" : [ "autoscaling:DeleteLaunchConfiguration", "autoscaling:DescribeLaunchConfigurations" ]
},
"list" : {
"permissions" : [ "autoscaling:DescribeLaunchConfigurations" ]
}
}
"required" : [ "ImageId", "InstanceType" ]
}
30 changes: 28 additions & 2 deletions aws-cloudformation-schema/aws-bedrock-datasource.json
Expand Up @@ -39,13 +39,18 @@
"DataSourceStatus" : {
"type" : "string",
"description" : "The status of a data source.",
"enum" : [ "AVAILABLE", "DELETING" ]
"enum" : [ "AVAILABLE", "DELETING", "DELETE_UNSUCCESSFUL" ]
},
"DataSourceType" : {
"type" : "string",
"description" : "The type of the data source location.",
"enum" : [ "S3" ]
},
"DataDeletionPolicy" : {
"type" : "string",
"description" : "The deletion policy for the data source.",
"enum" : [ "RETAIN", "DELETE" ]
},
"FixedSizeChunkingConfiguration" : {
"type" : "object",
"description" : "Configurations for when you choose fixed-size chunking. If you set the chunkingStrategy as NONE, exclude this field.",
Expand Down Expand Up @@ -88,6 +93,13 @@
"minItems" : 1,
"description" : "A list of S3 prefixes that define the object containing the data sources.",
"insertionOrder" : false
},
"BucketOwnerAccountId" : {
"type" : "string",
"maxLength" : 12,
"minLength" : 12,
"pattern" : "^[0-9]{12}$",
"description" : "The account ID for the owner of the S3 bucket."
}
},
"required" : [ "BucketArn" ],
Expand Down Expand Up @@ -152,17 +164,31 @@
"VectorIngestionConfiguration" : {
"$ref" : "#/definitions/VectorIngestionConfiguration"
},
"DataDeletionPolicy" : {
"$ref" : "#/definitions/DataDeletionPolicy"
},
"CreatedAt" : {
"type" : "string",
"description" : "The time at which the data source was created."
},
"UpdatedAt" : {
"type" : "string",
"description" : "The time at which the knowledge base was last updated."
},
"FailureReasons" : {
"type" : "array",
"items" : {
"type" : "string",
"maxLength" : 2048,
"description" : "Failure Reason for Error."
},
"maxItems" : 2048,
"description" : "The details of the failure reasons related to the data source.",
"insertionOrder" : false
}
},
"required" : [ "DataSourceConfiguration", "Name", "KnowledgeBaseId" ],
"readOnlyProperties" : [ "/properties/DataSourceId", "/properties/DataSourceStatus", "/properties/CreatedAt", "/properties/UpdatedAt" ],
"readOnlyProperties" : [ "/properties/DataSourceId", "/properties/DataSourceStatus", "/properties/CreatedAt", "/properties/UpdatedAt", "/properties/FailureReasons" ],
"createOnlyProperties" : [ "/properties/KnowledgeBaseId", "/properties/VectorIngestionConfiguration" ],
"primaryIdentifier" : [ "/properties/KnowledgeBaseId", "/properties/DataSourceId" ],
"tagging" : {
Expand Down
2 changes: 1 addition & 1 deletion aws-cloudformation-schema/aws-bedrock-knowledgebase.json
Expand Up @@ -19,7 +19,7 @@
"KnowledgeBaseStatus" : {
"type" : "string",
"description" : "The status of a knowledge base.",
"enum" : [ "CREATING", "ACTIVE", "DELETING", "UPDATING", "FAILED" ]
"enum" : [ "CREATING", "ACTIVE", "DELETING", "UPDATING", "FAILED", "DELETE_UNSUCCESSFUL" ]
},
"KnowledgeBaseStorageType" : {
"type" : "string",
Expand Down

0 comments on commit 67f0756

Please sign in to comment.