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 #1918

Merged
merged 3 commits into from
Dec 18, 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 @@
bb1b881ba9806d63dc07f76fc4082158eef07974
d5c4f2b3a13546420e779899f745eab045ae114a
4 changes: 2 additions & 2 deletions aws-cloudformation-schema/aws-cloudformation-guardhook.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"TargetOperation" : {
"description" : "Which operations should this Hook run against? Resource changes, stacks or change sets.",
"type" : "string",
"enum" : [ "RESOURCE", "STACK", "CHANGE_SET" ]
"enum" : [ "RESOURCE", "STACK", "CHANGE_SET", "CLOUD_CONTROL" ]
},
"TargetName" : {
"description" : "Type name of hook target. Hook targets are the destination where hooks will be invoked against.",
Expand Down Expand Up @@ -235,7 +235,7 @@
},
"Alias" : {
"description" : "The typename alias for the hook.",
"pattern" : "^[A-Za-z0-9]{2,64}::[A-Za-z0-9]{2,64}::[A-Za-z0-9]{2,64}$",
"pattern" : "^(?!(?i)aws)[A-Za-z0-9]{2,64}::[A-Za-z0-9]{2,64}::[A-Za-z0-9]{2,64}$",
"type" : "string"
},
"HookArn" : {
Expand Down
4 changes: 2 additions & 2 deletions aws-cloudformation-schema/aws-cloudformation-lambdahook.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"TargetOperation" : {
"description" : "Which operations should this Hook run against? Resource changes, stacks or change sets.",
"type" : "string",
"enum" : [ "RESOURCE", "STACK", "CHANGE_SET" ]
"enum" : [ "RESOURCE", "STACK", "CHANGE_SET", "CLOUD_CONTROL" ]
},
"TargetName" : {
"description" : "Type name of hook target. Hook targets are the destination where hooks will be invoked against.",
Expand Down Expand Up @@ -218,7 +218,7 @@
},
"Alias" : {
"description" : "The typename alias for the hook.",
"pattern" : "^[A-Za-z0-9]{2,64}::[A-Za-z0-9]{2,64}::[A-Za-z0-9]{2,64}$",
"pattern" : "^(?!(?i)aws)[A-Za-z0-9]{2,64}::[A-Za-z0-9]{2,64}::[A-Za-z0-9]{2,64}$",
"type" : "string"
},
"HookArn" : {
Expand Down
3 changes: 2 additions & 1 deletion aws-cloudformation-schema/aws-cloudwatch-alarm.json
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,7 @@
"tagOnCreate" : true,
"tagUpdatable" : true,
"cloudFormationSystemTags" : true,
"tagProperty" : "/properties/Tags"
"tagProperty" : "/properties/Tags",
"permissions" : [ "cloudwatch:TagResource", "cloudwatch:UntagResource", "cloudwatch:ListTagsForResource" ]
}
}
3 changes: 2 additions & 1 deletion aws-cloudformation-schema/aws-cloudwatch-compositealarm.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"tagOnCreate" : true,
"tagUpdatable" : true,
"cloudFormationSystemTags" : true,
"tagProperty" : "/properties/Tags"
"tagProperty" : "/properties/Tags",
"permissions" : [ "cloudwatch:TagResource", "cloudwatch:UntagResource", "cloudwatch:ListTagsForResource" ]
},
"properties" : {
"Arn" : {
Expand Down
14 changes: 14 additions & 0 deletions aws-cloudformation-schema/aws-databrew-dataset.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@
"description" : "Input",
"$ref" : "#/definitions/Input"
},
"Source" : {
"description" : "Source type of the dataset",
"type" : "string",
"enum" : [ "S3", "DATA-CATALOG", "DATABASE" ]
},
"PathOptions" : {
"description" : "PathOptions",
"$ref" : "#/definitions/PathOptions"
Expand Down Expand Up @@ -137,6 +142,9 @@
},
"Key" : {
"type" : "string"
},
"BucketOwner" : {
"$ref" : "#/definitions/BucketOwner"
}
},
"additionalProperties" : false,
Expand Down Expand Up @@ -195,6 +203,12 @@
},
"additionalProperties" : false
},
"BucketOwner" : {
"description" : "Bucket owner",
"type" : "string",
"minLength" : 12,
"maxLength" : 12
},
"PathOptions" : {
"description" : "Path options for dataset",
"type" : "object",
Expand Down
6 changes: 3 additions & 3 deletions aws-cloudformation-schema/aws-datazone-domain.json
Original file line number Diff line number Diff line change
Expand Up @@ -133,16 +133,16 @@
},
"handlers" : {
"create" : {
"permissions" : [ "datazone:CreateDomain", "datazone:UpdateDomain", "datazone:GetDomain", "datazone:TagResource", "sso:CreateManagedApplicationInstance", "sso:DeleteManagedApplicationInstance", "sso:PutApplicationAssignmentConfiguration" ]
"permissions" : [ "datazone:CreateDomain", "datazone:UpdateDomain", "datazone:GetDomain", "datazone:TagResource", "sso:CreateManagedApplicationInstance", "sso:DeleteManagedApplicationInstance", "sso:PutApplicationAssignmentConfiguration", "sso:ListInstances", "iam:PassRole" ]
},
"read" : {
"permissions" : [ "datazone:GetDomain" ]
},
"update" : {
"permissions" : [ "datazone:UpdateDomain", "datazone:GetDomain", "datazone:TagResource", "datazone:UntagResource", "sso:CreateManagedApplicationInstance", "sso:DeleteManagedApplicationInstance", "sso:PutApplicationAssignmentConfiguration" ]
"permissions" : [ "datazone:UpdateDomain", "datazone:GetDomain", "datazone:TagResource", "datazone:UntagResource", "sso:CreateManagedApplicationInstance", "sso:DeleteManagedApplicationInstance", "sso:PutApplicationAssignmentConfiguration", "sso:ListInstances", "iam:PassRole" ]
},
"delete" : {
"permissions" : [ "datazone:DeleteDomain", "datazone:GetDomain", "sso:DeleteManagedApplicationInstance", "sso:PutApplicationAssignmentConfiguration" ]
"permissions" : [ "datazone:DeleteDomain", "datazone:GetDomain", "sso:DeleteManagedApplicationInstance", "sso:PutApplicationAssignmentConfiguration", "sso:ListInstances" ]
},
"list" : {
"permissions" : [ "datazone:ListDomains" ]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"definitions" : {
"UserDesignation" : {
"type" : "string",
"enum" : [ "PROJECT_OWNER", "PROJECT_CONTRIBUTOR" ]
"enum" : [ "PROJECT_OWNER", "PROJECT_CONTRIBUTOR", "PROJECT_CATALOG_VIEWER", "PROJECT_CATALOG_CONSUMER", "PROJECT_CATALOG_STEWARD" ]
},
"MemberIdentifierType" : {
"type" : "string",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@
"description" : "The Amazon DataZone user who updated the subscription target."
}
},
"required" : [ "ApplicableAssetTypes", "AuthorizedPrincipals", "DomainIdentifier", "EnvironmentIdentifier", "ManageAccessRole", "Name", "SubscriptionTargetConfig", "Type" ],
"required" : [ "ApplicableAssetTypes", "AuthorizedPrincipals", "DomainIdentifier", "EnvironmentIdentifier", "Name", "SubscriptionTargetConfig", "Type" ],
"readOnlyProperties" : [ "/properties/CreatedAt", "/properties/CreatedBy", "/properties/DomainId", "/properties/EnvironmentId", "/properties/Id", "/properties/ProjectId", "/properties/UpdatedAt", "/properties/UpdatedBy" ],
"createOnlyProperties" : [ "/properties/Type", "/properties/DomainIdentifier", "/properties/EnvironmentIdentifier" ],
"writeOnlyProperties" : [ "/properties/DomainIdentifier", "/properties/EnvironmentIdentifier" ],
Expand Down
49 changes: 49 additions & 0 deletions aws-cloudformation-schema/aws-ec2-ec2fleet.json
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,24 @@
}
}
},
"BlockDeviceMapping" : {
"additionalProperties" : false,
"type" : "object",
"properties" : {
"Ebs" : {
"$ref" : "#/definitions/EbsBlockDevice"
},
"NoDevice" : {
"type" : "string"
},
"VirtualName" : {
"type" : "string"
},
"DeviceName" : {
"type" : "string"
}
}
},
"AcceleratorCountRequest" : {
"additionalProperties" : false,
"type" : "object",
Expand Down Expand Up @@ -435,6 +453,9 @@
"AcceleratorCount" : {
"$ref" : "#/definitions/AcceleratorCountRequest"
},
"BaselinePerformanceFactors" : {
"$ref" : "#/definitions/BaselinePerformanceFactorsRequest"
},
"SpotMaxPricePercentageOverLowestPrice" : {
"type" : "integer"
},
Expand Down Expand Up @@ -511,6 +532,34 @@
}
}
},
"EbsBlockDevice" : {
"additionalProperties" : false,
"type" : "object",
"properties" : {
"SnapshotId" : {
"type" : "string"
},
"VolumeType" : {
"type" : "string",
"enum" : [ "gp2", "gp3", "io1", "io2", "sc1", "st1", "standard" ]
},
"KmsKeyId" : {
"type" : "string"
},
"Encrypted" : {
"type" : "boolean"
},
"Iops" : {
"type" : "integer"
},
"VolumeSize" : {
"type" : "integer"
},
"DeleteOnTermination" : {
"type" : "boolean"
}
}
},
"Tag" : {
"additionalProperties" : false,
"type" : "object",
Expand Down
2 changes: 1 addition & 1 deletion aws-cloudformation-schema/aws-ec2-networkacl.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
},
"typeName" : "AWS::EC2::NetworkAcl",
"readOnlyProperties" : [ "/properties/Id" ],
"description" : "Specifies a network ACL for your VPC.",
"description" : "Specifies a network ACL for your VPC.\n To add a network ACL entry, see [AWS::EC2::NetworkAclEntry](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-networkaclentry.html).",
"createOnlyProperties" : [ "/properties/VpcId" ],
"additionalProperties" : false,
"primaryIdentifier" : [ "/properties/Id" ],
Expand Down
Loading
Loading