Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automated SDK generation @ aws-cloudformation-user-guide 19dc52cd3f2007d6d268b65b739ffb5ebf8c1e76 #1818

Merged
merged 3 commits into from
Nov 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .docs.version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
bc551ce690715b7ce48fb06001d0c1e10fa82459
d590c28633819bbcb91f1a7ee1e5bc09e2f152c7
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,13 @@
"maxLength" : 300,
"pattern" : "^arn:aws(-[\\w]+)*:[\\w\\d-]+:([\\w\\d-]*)?:[\\w\\d_-]*([:/].+)*$"
},
"SNSNotificationArn" : {
"description" : "Application Insights sends notifications to this SNS topic whenever there is a problem update in the associated application.",
"type" : "string",
"minLength" : 20,
"maxLength" : 300,
"pattern" : "^arn:aws(-[\\w]+)*:[\\w\\d-]+:([\\w\\d-]*)?:[\\w\\d_-]*([:/].+)*$"
},
"Tags" : {
"description" : "The tags of Application Insights application.",
"type" : "array",
Expand Down Expand Up @@ -605,7 +612,7 @@
"required" : [ "ResourceGroupName" ],
"primaryIdentifier" : [ "/properties/ApplicationARN" ],
"readOnlyProperties" : [ "/properties/ApplicationARN" ],
"writeOnlyProperties" : [ "/properties/ComponentMonitoringSettings", "/properties/LogPatternSets", "/properties/CustomComponents", "/properties/GroupingType", "/properties/OpsItemSNSTopicArn", "/properties/AttachMissingPermission" ],
"writeOnlyProperties" : [ "/properties/ComponentMonitoringSettings", "/properties/LogPatternSets", "/properties/CustomComponents", "/properties/GroupingType", "/properties/OpsItemSNSTopicArn", "/properties/SNSNotificationArn", "/properties/AttachMissingPermission" ],
"createOnlyProperties" : [ "/properties/ResourceGroupName", "/properties/GroupingType" ],
"handlers" : {
"create" : {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
},
"Type" : {
"type" : "string",
"enum" : [ "SMALLINT", "INTEGER", "BIGINT", "DECIMAL", "REAL", "DOUBLE_PRECISION", "BOOLEAN", "CHAR", "VARCHAR", "DATE", "TIMESTAMP", "TIMESTAMPTZ", "TIME", "TIMETZ", "VARBYTE" ]
"enum" : [ "SMALLINT", "INTEGER", "BIGINT", "DECIMAL", "REAL", "DOUBLE_PRECISION", "BOOLEAN", "CHAR", "VARCHAR", "DATE", "TIMESTAMP", "TIMESTAMPTZ", "TIME", "TIMETZ", "VARBYTE", "BINARY", "BYTE", "CHARACTER", "DOUBLE", "FLOAT", "INT", "LONG", "NUMERIC", "SHORT", "STRING", "TIMESTAMP_LTZ", "TIMESTAMP_NTZ", "TINYINT" ]
}
},
"required" : [ "Name", "Type" ]
Expand Down
9 changes: 8 additions & 1 deletion aws-cloudformation-schema/aws-cleanrooms-collaboration.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
"description" : "Represents a collaboration between AWS accounts that allows for secure data collaboration",
"documentationUrl" : "https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cleanrooms-collaboration.html",
"definitions" : {
"AnalyticsEngine" : {
"type" : "string",
"enum" : [ "CLEAN_ROOMS_SQL", "SPARK" ]
},
"CollaborationQueryLogStatus" : {
"type" : "string",
"enum" : [ "ENABLED", "DISABLED" ]
Expand Down Expand Up @@ -161,13 +165,16 @@
"QueryLogStatus" : {
"$ref" : "#/definitions/CollaborationQueryLogStatus"
},
"AnalyticsEngine" : {
"$ref" : "#/definitions/AnalyticsEngine"
},
"CreatorPaymentConfiguration" : {
"$ref" : "#/definitions/PaymentConfiguration"
}
},
"required" : [ "CreatorDisplayName", "CreatorMemberAbilities", "Members", "Name", "Description", "QueryLogStatus" ],
"readOnlyProperties" : [ "/properties/Arn", "/properties/CollaborationIdentifier" ],
"createOnlyProperties" : [ "/properties/CreatorDisplayName", "/properties/CreatorMemberAbilities", "/properties/DataEncryptionMetadata", "/properties/QueryLogStatus", "/properties/Members", "/properties/CreatorPaymentConfiguration" ],
"createOnlyProperties" : [ "/properties/CreatorDisplayName", "/properties/CreatorMemberAbilities", "/properties/DataEncryptionMetadata", "/properties/QueryLogStatus", "/properties/Members", "/properties/CreatorPaymentConfiguration", "/properties/AnalyticsEngine" ],
"primaryIdentifier" : [ "/properties/CollaborationIdentifier" ],
"tagging" : {
"taggable" : true,
Expand Down
101 changes: 100 additions & 1 deletion aws-cloudformation-schema/aws-codebuild-fleet.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
},
"ComputeType" : {
"type" : "string",
"enum" : [ "BUILD_GENERAL1_SMALL", "BUILD_GENERAL1_MEDIUM", "BUILD_GENERAL1_LARGE", "BUILD_GENERAL1_XLARGE", "BUILD_GENERAL1_2XLARGE" ]
"enum" : [ "BUILD_GENERAL1_SMALL", "BUILD_GENERAL1_MEDIUM", "BUILD_GENERAL1_LARGE", "BUILD_GENERAL1_XLARGE", "BUILD_GENERAL1_2XLARGE", "ATTRIBUTE_BASED_COMPUTE" ]
},
"OverflowBehavior" : {
"type" : "string",
Expand All @@ -31,6 +31,9 @@
"FleetVpcConfig" : {
"$ref" : "#/definitions/VpcConfig"
},
"FleetProxyConfiguration" : {
"$ref" : "#/definitions/ProxyConfiguration"
},
"Tags" : {
"type" : "array",
"insertionOrder" : false,
Expand All @@ -45,6 +48,12 @@
"ImageId" : {
"type" : "string",
"pattern" : "^((aws/codebuild/[A-Za-z-]+:[0-9]+(-[0-9._]+)?)|ami-[a-z0-9]{1,1020})$"
},
"ScalingConfiguration" : {
"$ref" : "#/definitions/ScalingConfigurationInput"
},
"ComputeConfiguration" : {
"$ref" : "#/definitions/ComputeConfiguration"
}
},
"definitions" : {
Expand Down Expand Up @@ -91,6 +100,96 @@
}
}
}
},
"ProxyConfiguration" : {
"type" : "object",
"additionalProperties" : false,
"properties" : {
"DefaultBehavior" : {
"type" : "string",
"enum" : [ "ALLOW_ALL", "DENY_ALL" ]
},
"OrderedProxyRules" : {
"type" : "array",
"insertionOrder" : true,
"items" : {
"$ref" : "#/definitions/FleetProxyRule"
}
}
}
},
"FleetProxyRule" : {
"type" : "object",
"additionalProperties" : false,
"properties" : {
"Type" : {
"type" : "string",
"enum" : [ "DOMAIN", "IP" ]
},
"Effect" : {
"type" : "string",
"enum" : [ "ALLOW", "DENY" ]
},
"Entities" : {
"type" : "array",
"insertionOrder" : false,
"items" : {
"type" : "string"
}
}
}
},
"ScalingConfigurationInput" : {
"type" : "object",
"additionalProperties" : false,
"properties" : {
"MaxCapacity" : {
"type" : "integer",
"minimum" : 1
},
"ScalingType" : {
"type" : "string",
"enum" : [ "TARGET_TRACKING_SCALING" ]
},
"TargetTrackingScalingConfigs" : {
"type" : "array",
"items" : {
"$ref" : "#/definitions/TargetTrackingScalingConfiguration"
}
}
}
},
"TargetTrackingScalingConfiguration" : {
"type" : "object",
"additionalProperties" : false,
"properties" : {
"MetricType" : {
"type" : "string",
"enum" : [ "FLEET_UTILIZATION_RATE" ]
},
"TargetValue" : {
"type" : "number"
}
}
},
"ComputeConfiguration" : {
"type" : "object",
"additionalProperties" : false,
"properties" : {
"vCpu" : {
"type" : "integer"
},
"memory" : {
"type" : "integer"
},
"disk" : {
"type" : "integer"
},
"machineType" : {
"type" : "string",
"enum" : [ "GENERAL", "NVME" ]
}
}
}
},
"primaryIdentifier" : [ "/properties/Arn" ],
Expand Down
38 changes: 34 additions & 4 deletions aws-cloudformation-schema/aws-ecs-service.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"cloudFormationSystemTags" : false
},
"propertyTransform" : {
"/properties/Role" : "Role $OR $join([\"arn:(aws)[-]{0,1}[a-z]{0,2}[-]{0,1}[a-z]{0,3}:iam::[0-9]{12}[:]role/{1}\", Role])"
"/properties/Role" : "Role $OR $join([\"arn:(aws)[-]{0,1}[a-z]{0,3}[-]{0,1}[a-z]{0,3}:iam::[0-9]{12}[:]role/{1}\", Role])"
},
"handlers" : {
"read" : {
Expand Down Expand Up @@ -106,6 +106,23 @@
}
}
},
"VpcLatticeConfiguration" : {
"description" : "",
"additionalProperties" : false,
"type" : "object",
"properties" : {
"TargetGroupArn" : {
"type" : "string"
},
"PortName" : {
"type" : "string"
},
"RoleArn" : {
"type" : "string"
}
},
"required" : [ "RoleArn", "TargetGroupArn", "PortName" ]
},
"LoadBalancer" : {
"description" : "The ``LoadBalancer`` property specifies details on a load balancer that is used with a service.\n If the service is using the ``CODE_DEPLOY`` deployment controller, the service is required to use either an Application Load Balancer or Network Load Balancer. When you are creating an ACDlong deployment group, you specify two target groups (referred to as a ``targetGroupPair``). Each target group binds to a separate task set in the deployment. The load balancer can also have up to two listeners, a required listener for production traffic and an optional listener that allows you to test new revisions of the service before routing production traffic to it.\n Services with tasks that use the ``awsvpc`` network mode (for example, those with the Fargate launch type) only support Application Load Balancers and Network Load Balancers. Classic Load Balancers are not supported. Also, when you create any target groups for these services, you must choose ``ip`` as the target type, not ``instance``. Tasks that use the ``awsvpc`` network mode are associated with an elastic network interface, not an Amazon EC2 instance.",
"additionalProperties" : false,
Expand All @@ -116,7 +133,7 @@
"type" : "string"
},
"LoadBalancerName" : {
"description" : "The name of the load balancer to associate with the service or task set.\n If you are using an Application Load Balancer or a Network Load Balancer the load balancer name parameter should be omitted.",
"description" : "The name of the load balancer to associate with the Amazon ECS service or task set.\n If you are using an Application Load Balancer or a Network Load Balancer the load balancer name parameter should be omitted.",
"type" : "string"
},
"ContainerName" : {
Expand Down Expand Up @@ -442,7 +459,7 @@
"required" : [ "Enable", "Rollback" ]
},
"DeploymentConfiguration" : {
"description" : "Optional deployment parameters that control how many tasks run during the deployment and the failure detection methods.",
"description" : "Optional deployment parameters that control how many tasks run during a deployment and the ordering of stopping and starting tasks.",
"additionalProperties" : false,
"type" : "object",
"properties" : {
Expand Down Expand Up @@ -576,6 +593,12 @@
"description" : "",
"type" : "string"
},
"AvailabilityZoneRebalancing" : {
"default" : "DISABLED",
"description" : "",
"type" : "string",
"enum" : [ "ENABLED", "DISABLED" ]
},
"SchedulingStrategy" : {
"description" : "The scheduling strategy to use for the service. For more information, see [Services](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs_services.html).\n There are two service scheduler strategies available:\n + ``REPLICA``-The replica scheduling strategy places and maintains the desired number of tasks across your cluster. By default, the service scheduler spreads tasks across Availability Zones. You can use task placement strategies and constraints to customize task placement decisions. This scheduler strategy is required if the service uses the ``CODE_DEPLOY`` or ``EXTERNAL`` deployment controller types.\n + ``DAEMON``-The daemon scheduling strategy deploys exactly one task on each active container instance that meets all of the task placement constraints that you specify in your cluster. The service scheduler also evaluates the task placement constraints for running tasks and will stop tasks that don't meet the placement constraints. When you're using this strategy, you don't need to specify a desired number of tasks, a task placement strategy, or use Service Auto Scaling policies.\n Tasks using the Fargate launch type or the ``CODE_DEPLOY`` or ``EXTERNAL`` deployment controller types don't support the ``DAEMON`` scheduling strategy.",
"type" : "string",
Expand Down Expand Up @@ -630,6 +653,13 @@
"description" : "The number of instantiations of the specified task definition to place and keep running in your service.\n For new services, if a desired count is not specified, a default value of ``1`` is used. When using the ``DAEMON`` scheduling strategy, the desired count is not required.\n For existing services, if a desired count is not specified, it is omitted from the operation.",
"type" : "integer"
},
"VpcLatticeConfigurations" : {
"description" : "",
"type" : "array",
"items" : {
"$ref" : "#/definitions/VpcLatticeConfiguration"
}
},
"DeploymentController" : {
"description" : "The deployment controller to use for the service. If no deployment controller is specified, the default value of ``ECS`` is used.",
"$ref" : "#/definitions/DeploymentController"
Expand All @@ -647,7 +677,7 @@
"type" : "string"
},
"DeploymentConfiguration" : {
"description" : "Optional deployment parameters that control how many tasks run during the deployment and the failure detection methods.",
"description" : "Optional deployment parameters that control how many tasks run during the deployment and the ordering of stopping and starting tasks.",
"$ref" : "#/definitions/DeploymentConfiguration"
}
}
Expand Down
10 changes: 9 additions & 1 deletion aws-cloudformation-schema/aws-emrcontainers-virtualcluster.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,14 @@
"createOnlyProperties" : [ "/properties/ContainerProvider", "/properties/Name" ],
"readOnlyProperties" : [ "/properties/Arn", "/properties/Id" ],
"primaryIdentifier" : [ "/properties/Id" ],
"tagging" : {
"taggable" : true,
"tagOnCreate" : true,
"tagUpdatable" : true,
"cloudFormationSystemTags" : true,
"tagProperty" : "/properties/Tags",
"permissions" : [ "emr-containers:TagResource", "emr-containers:UntagResource" ]
},
"handlers" : {
"create" : {
"permissions" : [ "emr-containers:CreateVirtualCluster", "emr-containers:TagResource", "iam:CreateServiceLinkedRole" ]
Expand All @@ -108,7 +116,7 @@
"permissions" : [ "emr-containers:DescribeVirtualCluster" ]
},
"delete" : {
"permissions" : [ "emr-containers:DeleteVirtualCluster" ]
"permissions" : [ "emr-containers:DeleteVirtualCluster", "emr-containers:DescribeVirtualCluster" ]
},
"list" : {
"permissions" : [ "emr-containers:ListVirtualClusters" ]
Expand Down
2 changes: 1 addition & 1 deletion aws-cloudformation-schema/aws-gamelift-alias.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"FleetId" : {
"description" : "A unique identifier for a fleet that the alias points to. If you specify SIMPLE for the Type property, you must specify this property.",
"type" : "string",
"pattern" : "^fleet-\\S+"
"pattern" : "^[a-z]*fleet-[a-zA-Z0-9\\-]+"
},
"Type" : {
"description" : "Simple routing strategy. The alias resolves to one specific fleet. Use this type when routing to active fleets.",
Expand Down
Loading
Loading