Skip to content

Commit

Permalink
Update to latest available resources (#181)
Browse files Browse the repository at this point in the history
  • Loading branch information
lblackstone committed Oct 19, 2021
1 parent 7fd9e0d commit c1be8d4
Show file tree
Hide file tree
Showing 244 changed files with 20,876 additions and 1,898 deletions.
50 changes: 10 additions & 40 deletions aws-cloudformation-schema/aws-apigateway-authorizer.json
Original file line number Diff line number Diff line change
@@ -1,78 +1,48 @@
{
"typeName" : "AWS::ApiGateway::Authorizer",
"description" : "Represents an authorization layer for methods. If enabled on a method, API Gateway will activate the authorizer when a client calls the method.",
"sourceUrl" : "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-apigateway.git",
"description" : "Resource Type definition for AWS::ApiGateway::Authorizer",
"additionalProperties" : false,
"properties" : {
"RestApiId" : {
"description" : "The identifier of the API.",
"type" : "string"
},
"AuthorizerId" : {
"Id" : {
"type" : "string"
},
"AuthType" : {
"description" : "Optional customer-defined field, used in OpenAPI imports and exports without functional impact.",
"type" : "string"
},
"AuthorizerCredentials" : {
"description" : "Specifies the required credentials as an IAM role for API Gateway to invoke the authorizer.",
"type" : "string"
},
"AuthorizerResultTtlInSeconds" : {
"description" : "The TTL in seconds of cached authorizer results.",
"type" : "integer"
},
"AuthorizerUri" : {
"description" : "Specifies the authorizer's Uniform Resource Identifier (URI).",
"type" : "string"
},
"IdentitySource" : {
"description" : "The identity source for which authorization is requested.",
"type" : "string"
},
"IdentityValidationExpression" : {
"description" : "A validation expression for the incoming identity token.",
"type" : "string"
},
"Name" : {
"description" : "The name of the authorizer.",
"type" : "string"
},
"ProviderARNs" : {
"description" : "A list of the Amazon Cognito user pool ARNs for the COGNITO_USER_POOLS authorizer.",
"type" : "array",
"uniqueItems" : true,
"items" : {
"type" : "string"
},
"insertionOrder" : false
}
},
"RestApiId" : {
"type" : "string"
},
"Type" : {
"description" : "The authorizer type.",
"type" : "string"
}
},
"taggable" : false,
"additionalProperties" : false,
"required" : [ "RestApiId", "Type", "Name" ],
"required" : [ "Type", "RestApiId" ],
"createOnlyProperties" : [ "/properties/RestApiId" ],
"primaryIdentifier" : [ "/properties/RestApiId", "/properties/AuthorizerId" ],
"readOnlyProperties" : [ "/properties/AuthorizerId" ],
"handlers" : {
"create" : {
"permissions" : [ "apigateway:POST" ]
},
"read" : {
"permissions" : [ "apigateway:GET" ]
},
"update" : {
"permissions" : [ "apigateway:GET", "apigateway:PATCH" ]
},
"delete" : {
"permissions" : [ "apigateway:DELETE" ]
},
"list" : {
"permissions" : [ "apigateway:GET" ]
}
}
"primaryIdentifier" : [ "/properties/Id" ],
"readOnlyProperties" : [ "/properties/Id" ]
}
44 changes: 36 additions & 8 deletions aws-cloudformation-schema/aws-autoscaling-lifecyclehook.json
Original file line number Diff line number Diff line change
@@ -1,38 +1,66 @@
{
"$schema" : "https://raw.githubusercontent.com/aws-cloudformation/cloudformation-resource-schema/master/src/main/resources/schema/provider.definition.schema.v1.json",
"typeName" : "AWS::AutoScaling::LifecycleHook",
"description" : "Resource Type definition for AWS::AutoScaling::LifecycleHook",
"additionalProperties" : false,
"sourceUrl" : "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-autoscaling.git",
"properties" : {
"Id" : {
"type" : "string"
},
"AutoScalingGroupName" : {
"description" : "The name of the Auto Scaling group for the lifecycle hook.",
"type" : "string"
},
"DefaultResult" : {
"description" : "The action the Auto Scaling group takes when the lifecycle hook timeout elapses or if an unexpected failure occurs. The valid values are CONTINUE and ABANDON (default).",
"type" : "string"
},
"HeartbeatTimeout" : {
"description" : "The maximum time, in seconds, that can elapse before the lifecycle hook times out. The range is from 30 to 7200 seconds. The default value is 3600 seconds (1 hour). If the lifecycle hook times out, Amazon EC2 Auto Scaling performs the action that you specified in the DefaultResult property.",
"type" : "integer"
},
"LifecycleHookName" : {
"type" : "string"
"description" : "The name of the lifecycle hook.",
"type" : "string",
"minLength" : 1,
"maxLength" : 255
},
"LifecycleTransition" : {
"description" : "The instance state to which you want to attach the lifecycle hook.",
"type" : "string"
},
"NotificationMetadata" : {
"type" : "string"
"description" : "Additional information that is included any time Amazon EC2 Auto Scaling sends a message to the notification target.",
"type" : "string",
"minLength" : 1,
"maxLength" : 1023
},
"NotificationTargetARN" : {
"description" : "The Amazon Resource Name (ARN) of the notification target that Amazon EC2 Auto Scaling uses to notify you when an instance is in the transition state for the lifecycle hook. You can specify an Amazon SQS queue or an Amazon SNS topic. The notification message includes the following information: lifecycle action token, user account ID, Auto Scaling group name, lifecycle hook name, instance ID, lifecycle transition, and notification metadata.",
"type" : "string"
},
"RoleARN" : {
"description" : "The ARN of the IAM role that allows the Auto Scaling group to publish to the specified notification target, for example, an Amazon SNS topic or an Amazon SQS queue.",
"type" : "string"
}
},
"additionalProperties" : false,
"required" : [ "LifecycleTransition", "AutoScalingGroupName" ],
"createOnlyProperties" : [ "/properties/AutoScalingGroupName", "/properties/LifecycleHookName" ],
"primaryIdentifier" : [ "/properties/Id" ],
"readOnlyProperties" : [ "/properties/Id" ]
"primaryIdentifier" : [ "/properties/AutoScalingGroupName", "/properties/LifecycleHookName" ],
"taggable" : false,
"handlers" : {
"create" : {
"permissions" : [ "autoscaling:PutLifecycleHook", "autoscaling:DescribeLifecycleHooks", "iam:PassRole" ]
},
"read" : {
"permissions" : [ "autoscaling:DescribeLifecycleHooks" ]
},
"update" : {
"permissions" : [ "autoscaling:PutLifecycleHook", "autoscaling:DescribeLifecycleHooks", "iam:PassRole" ]
},
"delete" : {
"permissions" : [ "autoscaling:DeleteLifecycleHook", "autoscaling:DescribeLifecycleHooks" ]
},
"list" : {
"permissions" : [ "autoscaling:DescribeLifecycleHooks" ]
}
}
}
3 changes: 3 additions & 0 deletions aws-cloudformation-schema/aws-codebuild-project.json
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,9 @@
"ServiceRole" : {
"type" : "string"
},
"BatchReportMode" : {
"type" : "string"
},
"TimeoutInMins" : {
"type" : "integer"
},
Expand Down
112 changes: 112 additions & 0 deletions aws-cloudformation-schema/aws-devicefarm-devicepool.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
{
"typeName" : "AWS::DeviceFarm::DevicePool",
"description" : "AWS::DeviceFarm::DevicePool creates a new Device Pool for a given DF Project",
"properties" : {
"Description" : {
"type" : "string",
"minLength" : 1,
"maxLength" : 16384
},
"MaxDevices" : {
"type" : "integer"
},
"Name" : {
"type" : "string",
"minLength" : 1,
"maxLength" : 256
},
"ProjectArn" : {
"type" : "string",
"minLength" : 32,
"maxLength" : 1011,
"pattern" : "^arn:.+"
},
"Arn" : {
"type" : "string",
"minLength" : 32,
"maxLength" : 1011,
"pattern" : "^arn:.+"
},
"Rules" : {
"type" : "array",
"uniqueItems" : false,
"insertionOrder" : false,
"items" : {
"$ref" : "#/definitions/Rule"
}
},
"Tags" : {
"type" : "array",
"uniqueItems" : false,
"insertionOrder" : false,
"items" : {
"$ref" : "#/definitions/Tag"
}
}
},
"definitions" : {
"Rule" : {
"description" : "Represents a condition for a device pool.",
"type" : "object",
"additionalProperties" : false,
"properties" : {
"Attribute" : {
"type" : "string",
"description" : "The rule's stringified attribute.",
"enum" : [ "ARN", "PLATFORM", "FORM_FACTOR", "MANUFACTURER", "REMOTE_ACCESS_ENABLED", "REMOTE_DEBUG_ENABLED", "APPIUM_VERSION", "INSTANCE_ARN", "INSTANCE_LABELS", "FLEET_TYPE", "OS_VERSION", "MODEL", "AVAILABILITY" ]
},
"Operator" : {
"type" : "string",
"description" : "Specifies how Device Farm compares the rule's attribute to the value.",
"enum" : [ "EQUALS", "LESS_THAN", "LESS_THAN_OR_EQUALS", "GREATER_THAN", "GREATER_THAN_OR_EQUALS", "IN", "NOT_IN", "CONTAINS" ]
},
"Value" : {
"type" : "string",
"description" : "The rule's value."
}
}
},
"Tag" : {
"type" : "object",
"additionalProperties" : false,
"insertionOrder" : false,
"properties" : {
"Key" : {
"type" : "string",
"minLength" : 1,
"maxLength" : 128
},
"Value" : {
"type" : "string",
"minLength" : 1,
"maxLength" : 256
}
},
"required" : [ "Key", "Value" ]
}
},
"additionalProperties" : false,
"required" : [ "Name", "Rules", "ProjectArn" ],
"primaryIdentifier" : [ "/properties/Arn" ],
"readOnlyProperties" : [ "/properties/Arn" ],
"createOnlyProperties" : [ "/properties/ProjectArn" ],
"writeOnlyProperties" : [ "/properties/ProjectArn" ],
"taggable" : true,
"handlers" : {
"create" : {
"permissions" : [ "devicefarm:CreateDevicePool", "devicefarm:TagResource" ]
},
"read" : {
"permissions" : [ "devicefarm:GetDevicePool", "devicefarm:ListTagsForResource" ]
},
"update" : {
"permissions" : [ "devicefarm:UpdateDevicePool", "devicefarm:TagResource", "devicefarm:UntagResource", "devicefarm:ListTagsForResource" ]
},
"delete" : {
"permissions" : [ "devicefarm:DeleteDevicePool" ]
},
"list" : {
"permissions" : [ "devicefarm:ListDevicePools" ]
}
}
}
87 changes: 87 additions & 0 deletions aws-cloudformation-schema/aws-devicefarm-instanceprofile.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
{
"typeName" : "AWS::DeviceFarm::InstanceProfile",
"description" : "AWS::DeviceFarm::InstanceProfile creates a new Device Farm Instance Profile",
"properties" : {
"Description" : {
"type" : "string",
"minLength" : 1,
"maxLength" : 16384
},
"ExcludeAppPackagesFromCleanup" : {
"type" : "array",
"insertionOrder" : false,
"items" : {
"type" : "string",
"minLength" : 1,
"maxLength" : 256
}
},
"Name" : {
"type" : "string",
"minLength" : 1,
"maxLength" : 256
},
"PackageCleanup" : {
"type" : "boolean"
},
"RebootAfterUse" : {
"type" : "boolean"
},
"Arn" : {
"type" : "string",
"minLength" : 32,
"maxLength" : 1011,
"pattern" : "^arn:.+"
},
"Tags" : {
"type" : "array",
"uniqueItems" : false,
"insertionOrder" : false,
"items" : {
"$ref" : "#/definitions/Tag"
}
}
},
"definitions" : {
"Tag" : {
"type" : "object",
"additionalProperties" : false,
"insertionOrder" : false,
"properties" : {
"Key" : {
"type" : "string",
"minLength" : 1,
"maxLength" : 128
},
"Value" : {
"type" : "string",
"minLength" : 1,
"maxLength" : 256
}
},
"required" : [ "Key", "Value" ]
}
},
"additionalProperties" : false,
"required" : [ "Name" ],
"primaryIdentifier" : [ "/properties/Arn" ],
"readOnlyProperties" : [ "/properties/Arn" ],
"taggable" : true,
"handlers" : {
"create" : {
"permissions" : [ "devicefarm:CreateInstanceProfile", "devicefarm:TagResource" ]
},
"read" : {
"permissions" : [ "devicefarm:GetInstanceProfile", "devicefarm:ListTagsForResource" ]
},
"update" : {
"permissions" : [ "devicefarm:UpdateInstanceProfile", "devicefarm:TagResource", "devicefarm:UntagResource", "devicefarm:ListTagsForResource" ]
},
"delete" : {
"permissions" : [ "devicefarm:DeleteInstanceProfile" ]
},
"list" : {
"permissions" : [ "devicefarm:ListInstanceProfiles" ]
}
}
}
Loading

0 comments on commit c1be8d4

Please sign in to comment.