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

Regenerated SDKs from aws-cloudformation-user-guide
19dc52cd3f2007d6d268b65b739ffb5ebf8c1e76

### Changes
Found 4 breaking changes:

#### Resources
- "aws-native:securitylake:Subscriber":
- inputs: "sources": items type changed from "" to
"#/types/aws-native:securitylake:SubscriberSource"
- properties: "sources": items type changed from "" to
"#/types/aws-native:securitylake:SubscriberSource"

#### Types
- "aws-native:securitylake:SubscriberSource0Properties" missing
- "aws-native:securitylake:SubscriberSource1Properties" missing

#### New resources:

- `datazone.GroupProfile`
- `datazone.ProjectMembership`
- `datazone.UserProfile`

#### New functions:

- `datazone.getGroupProfile`
- `datazone.getUserProfile`
  • Loading branch information
pulumi-bot committed May 22, 2024
1 parent 19a566d commit a8c4998
Show file tree
Hide file tree
Showing 120 changed files with 8,049 additions and 1,505 deletions.
3 changes: 3 additions & 0 deletions aws-cloudformation-schema/aws-apigateway-account.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
{
"sourceUrl" : "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-apigateway",
"tagging" : {
"taggable" : false
},
"handlers" : {
"read" : {
"permissions" : [ "apigateway:GET" ]
Expand Down
8 changes: 8 additions & 0 deletions aws-cloudformation-schema/aws-apigateway-apikey.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,14 @@
"description" : ""
}
},
"tagging" : {
"taggable" : true,
"tagOnCreate" : true,
"tagUpdatable" : true,
"cloudFormationSystemTags" : true,
"tagProperty" : "/properties/Tags",
"permissions" : [ "apigateway:PUT", "apigateway:DELETE", "apigateway:GET" ]
},
"createOnlyProperties" : [ "/properties/GenerateDistinctId", "/properties/Name", "/properties/Value" ],
"writeOnlyProperties" : [ "/properties/GenerateDistinctId" ],
"primaryIdentifier" : [ "/properties/APIKeyId" ],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,14 @@
"description" : ""
}
},
"tagging" : {
"taggable" : true,
"tagOnCreate" : true,
"tagUpdatable" : true,
"cloudFormationSystemTags" : true,
"tagProperty" : "/properties/Tags",
"permissions" : [ "apigateway:PUT", "apigateway:DELETE", "apigateway:GET" ]
},
"primaryIdentifier" : [ "/properties/ClientCertificateId" ],
"readOnlyProperties" : [ "/properties/ClientCertificateId" ],
"handlers" : {
Expand Down
4 changes: 3 additions & 1 deletion aws-cloudformation-schema/aws-apigateway-deployment.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{
"taggable" : true,
"tagging" : {
"taggable" : false
},
"typeName" : "AWS::ApiGateway::Deployment",
"readOnlyProperties" : [ "/properties/DeploymentId" ],
"description" : "The ``AWS::ApiGateway::Deployment`` resource deploys an API Gateway ``RestApi`` resource to a stage so that clients can call the API over the internet. The stage acts as an environment.",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@
},
"required" : [ "Location", "Properties", "RestApiId" ],
"createOnlyProperties" : [ "/properties/Location", "/properties/RestApiId" ],
"tagging" : {
"taggable" : false
},
"primaryIdentifier" : [ "/properties/DocumentationPartId", "/properties/RestApiId" ],
"readOnlyProperties" : [ "/properties/DocumentationPartId" ],
"handlers" : {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@
"additionalProperties" : false,
"required" : [ "DocumentationVersion", "RestApiId" ],
"createOnlyProperties" : [ "/properties/DocumentationVersion", "/properties/RestApiId" ],
"tagging" : {
"taggable" : false
},
"primaryIdentifier" : [ "/properties/DocumentationVersion", "/properties/RestApiId" ],
"handlers" : {
"create" : {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@
"createOnlyProperties" : [ "/properties/ResponseType", "/properties/RestApiId" ],
"primaryIdentifier" : [ "/properties/Id" ],
"readOnlyProperties" : [ "/properties/Id" ],
"taggable" : false,
"tagging" : {
"taggable" : false
},
"handlers" : {
"create" : {
"permissions" : [ "apigateway:PUT", "apigateway:GET" ]
Expand Down
3 changes: 3 additions & 0 deletions aws-cloudformation-schema/aws-apigateway-model.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@
}
},
"required" : [ "RestApiId" ],
"tagging" : {
"taggable" : false
},
"createOnlyProperties" : [ "/properties/ContentType", "/properties/Name", "/properties/RestApiId" ],
"primaryIdentifier" : [ "/properties/RestApiId", "/properties/Name" ],
"handlers" : {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@
"required" : [ "RestApiId" ],
"createOnlyProperties" : [ "/properties/Name", "/properties/RestApiId" ],
"readOnlyProperties" : [ "/properties/RequestValidatorId" ],
"tagging" : {
"taggable" : false
},
"primaryIdentifier" : [ "/properties/RestApiId", "/properties/RequestValidatorId" ],
"handlers" : {
"create" : {
Expand Down
4 changes: 3 additions & 1 deletion aws-cloudformation-schema/aws-apigateway-resource.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
{
"sourceUrl" : "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-apigateway",
"tagging" : {
"taggable" : false
},
"handlers" : {
"read" : {
"permissions" : [ "apigateway:GET" ]
Expand All @@ -25,7 +28,6 @@
"permissions" : [ "apigateway:DELETE" ]
}
},
"taggable" : false,
"typeName" : "AWS::ApiGateway::Resource",
"readOnlyProperties" : [ "/properties/ResourceId" ],
"description" : "The ``AWS::ApiGateway::Resource`` resource creates a resource in an API.",
Expand Down
1 change: 1 addition & 0 deletions aws-cloudformation-schema/aws-apigateway-restapi.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"sourceUrl" : "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git",
"tagging" : {
"permissions" : [ "apigateway:PUT", "apigateway:DELETE", "apigateway:GET" ],
"taggable" : true,
"tagOnCreate" : true,
"tagUpdatable" : true,
Expand Down
3 changes: 2 additions & 1 deletion aws-cloudformation-schema/aws-apigateway-stage.json
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,8 @@
"tagOnCreate" : true,
"tagUpdatable" : true,
"cloudFormationSystemTags" : true,
"tagProperty" : "/properties/Tags"
"tagProperty" : "/properties/Tags",
"permissions" : [ "apigateway:PUT", "apigateway:DELETE", "apigateway:GET" ]
},
"handlers" : {
"create" : {
Expand Down
3 changes: 2 additions & 1 deletion aws-cloudformation-schema/aws-apigateway-usageplan.json
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,8 @@
"tagOnCreate" : true,
"tagUpdatable" : true,
"cloudFormationSystemTags" : true,
"tagProperty" : "/properties/Tags"
"tagProperty" : "/properties/Tags",
"permissions" : [ "apigateway:PUT", "apigateway:DELETE", "apigateway:GET" ]
},
"primaryIdentifier" : [ "/properties/Id" ],
"readOnlyProperties" : [ "/properties/Id" ],
Expand Down
4 changes: 3 additions & 1 deletion aws-cloudformation-schema/aws-apigateway-usageplankey.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@
"type" : "string"
}
},
"taggable" : false,
"tagging" : {
"taggable" : false
},
"required" : [ "KeyType", "UsagePlanId", "KeyId" ],
"createOnlyProperties" : [ "/properties/KeyId", "/properties/UsagePlanId", "/properties/KeyType" ],
"primaryIdentifier" : [ "/properties/Id" ],
Expand Down
81 changes: 81 additions & 0 deletions aws-cloudformation-schema/aws-datazone-groupprofile.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
{
"typeName" : "AWS::DataZone::GroupProfile",
"description" : "Group profiles represent groups of Amazon DataZone users. Groups can be manually created, or mapped to Active Directory groups of enterprise customers. In Amazon DataZone, groups serve two purposes. First, a group can map to a team of users in the organizational chart, and thus reduce the administrative work of a Amazon DataZone project owner when there are new employees joining or leaving a team. Second, corporate administrators use Active Directory groups to manage and update user statuses and so Amazon DataZone domain administrators can use these group memberships to implement Amazon DataZone domain policies.",
"sourceUrl" : "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-datazone",
"definitions" : {
"GroupProfileStatus" : {
"type" : "string",
"description" : "The status of the group profile.",
"enum" : [ "ASSIGNED", "NOT_ASSIGNED" ]
}
},
"properties" : {
"DomainId" : {
"type" : "string",
"description" : "The identifier of the Amazon DataZone domain in which the group profile is created.",
"pattern" : "^dzd[-_][a-zA-Z0-9_-]{1,36}$"
},
"DomainIdentifier" : {
"type" : "string",
"description" : "The identifier of the Amazon DataZone domain in which the group profile would be created.",
"pattern" : "^dzd[-_][a-zA-Z0-9_-]{1,36}$"
},
"GroupIdentifier" : {
"type" : "string",
"description" : "The ID of the group.",
"pattern" : "(^([0-9a-f]{10}-|)[A-Fa-f0-9]{8}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{12}$|[\\p{L}\\p{M}\\p{S}\\p{N}\\p{P}\\t\\n\\r ]+)"
},
"GroupName" : {
"type" : "string",
"description" : "The group-name of the Group Profile.",
"maxLength" : 1024,
"minLength" : 1,
"pattern" : "^[a-zA-Z_0-9+=,.@-]+$"
},
"Id" : {
"type" : "string",
"description" : "The ID of the Amazon DataZone group profile.",
"pattern" : "^([0-9a-f]{10}-|)[A-Fa-f0-9]{8}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{12}$"
},
"Status" : {
"$ref" : "#/definitions/GroupProfileStatus"
}
},
"required" : [ "DomainIdentifier", "GroupIdentifier" ],
"readOnlyProperties" : [ "/properties/DomainId", "/properties/GroupName", "/properties/Id" ],
"writeOnlyProperties" : [ "/properties/DomainIdentifier", "/properties/GroupIdentifier" ],
"createOnlyProperties" : [ "/properties/DomainIdentifier", "/properties/GroupIdentifier" ],
"primaryIdentifier" : [ "/properties/DomainId", "/properties/Id" ],
"tagging" : {
"taggable" : false,
"tagOnCreate" : false,
"tagUpdatable" : false,
"cloudFormationSystemTags" : false
},
"handlers" : {
"create" : {
"permissions" : [ "datazone:CreateGroupProfile", "datazone:GetGroupProfile", "datazone:UpdateGroupProfile", "sso:ListProfiles", "sso:GetProfile", "sso:AssociateProfile", "sso:DisassociateProfile" ]
},
"read" : {
"permissions" : [ "datazone:GetGroupProfile" ]
},
"update" : {
"permissions" : [ "datazone:UpdateGroupProfile", "datazone:GetGroupProfile", "sso:ListProfiles", "sso:GetProfile", "sso:AssociateProfile", "sso:DisassociateProfile" ]
},
"delete" : {
"permissions" : [ "datazone:DeleteGroupProfile", "datazone:GetGroupProfile", "datazone:UpdateGroupProfile", "sso:ListProfiles", "sso:GetProfile", "sso:AssociateProfile", "sso:DisassociateProfile" ]
},
"list" : {
"handlerSchema" : {
"properties" : {
"DomainIdentifier" : {
"$ref" : "resource-schema.json#/properties/DomainIdentifier"
}
},
"required" : [ "DomainIdentifier" ]
},
"permissions" : [ "datazone:SearchGroupProfiles" ]
}
},
"additionalProperties" : false
}
90 changes: 90 additions & 0 deletions aws-cloudformation-schema/aws-datazone-projectmembership.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
{
"tagging" : {
"taggable" : false
},
"typeName" : "AWS::DataZone::ProjectMembership",
"description" : "Definition of AWS::DataZone::ProjectMembership Resource Type",
"createOnlyProperties" : [ "/properties/DomainIdentifier", "/properties/ProjectIdentifier", "/properties/Member" ],
"primaryIdentifier" : [ "/properties/DomainIdentifier", "/properties/MemberIdentifier", "/properties/MemberIdentifierType", "/properties/ProjectIdentifier" ],
"required" : [ "Designation", "DomainIdentifier", "ProjectIdentifier", "Member" ],
"sourceUrl" : "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-datazone",
"handlers" : {
"read" : {
"permissions" : [ "datazone:ListProjectMemberships" ]
},
"create" : {
"permissions" : [ "datazone:CreateProjectMembership", "datazone:ListProjectMemberships", "iam:GetRole", "datazone:GetGroupProfile", "datazone:GetUserProfile" ]
},
"update" : {
"permissions" : [ "datazone:CreateProjectMembership", "datazone:DeleteProjectMembership" ]
},
"list" : {
"permissions" : [ "datazone:ListProjectMemberships" ],
"handlerSchema" : {
"properties" : {
"ProjectIdentifier" : {
"$ref" : "resource-schema.json#/properties/ProjectIdentifier"
},
"DomainIdentifier" : {
"$ref" : "resource-schema.json#/properties/DomainIdentifier"
}
},
"required" : [ "DomainIdentifier", "ProjectIdentifier" ]
}
},
"delete" : {
"permissions" : [ "datazone:DeleteProjectMembership" ]
}
},
"writeOnlyProperties" : [ "/properties/Designation", "/properties/Member" ],
"additionalProperties" : false,
"definitions" : {
"UserDesignation" : {
"type" : "string",
"enum" : [ "PROJECT_OWNER", "PROJECT_CONTRIBUTOR" ]
},
"MemberIdentifierType" : {
"type" : "string",
"enum" : [ "USER_IDENTIFIER", "GROUP_IDENTIFIER" ]
},
"Member" : {
"oneOf" : [ {
"additionalProperties" : false,
"type" : "object",
"title" : "UserIdentifier",
"properties" : {
"UserIdentifier" : {
"type" : "string"
}
},
"required" : [ "UserIdentifier" ]
}, {
"additionalProperties" : false,
"type" : "object",
"title" : "GroupIdentifier",
"properties" : {
"GroupIdentifier" : {
"type" : "string"
}
},
"required" : [ "GroupIdentifier" ]
} ]
}
},
"properties" : {
"ProjectIdentifier" : {
"pattern" : "^[a-zA-Z0-9_-]{1,36}$",
"type" : "string"
},
"Designation" : {
"$ref" : "#/definitions/UserDesignation"
},
"Member" : {
"$ref" : "#/definitions/Member"
},
"DomainIdentifier" : {
"pattern" : "^dzd[-_][a-zA-Z0-9_-]{1,36}$",
"type" : "string"
}
}
}
Loading

0 comments on commit a8c4998

Please sign in to comment.