Created
May 5, 2019 02:17
-
-
Save christopherhein/a55ce30dad92cc8f8014cf3ac7241628 to your computer and use it in GitHub Desktop.
Example APIGateway Account CRD
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
apiVersion: apiextensions.k8s.io/v1beta1 | |
kind: CustomResourceDefinition | |
metadata: | |
name: accounts.apigateway.awsoperator.io | |
spec: | |
group: apigateway.awsoperator.io | |
versions: | |
- name: v1alpha1 | |
served: true | |
storage: true | |
scope: Namespaced | |
names: | |
plural: accounts | |
singular: account | |
kind: Account | |
shortNames: [] | |
categories: | |
- aws | |
- apigateway | |
additionalPrinterColumns: | |
- name: Status | |
type: string | |
description: Status for the AWS CloudFormation stack. | |
JSONPath: ".status.reason" | |
- name: Message | |
type: string | |
description: Message accompanying it's current stack status. | |
JSONPath: ".status.message" | |
priority: 1 | |
- name: Created At | |
type: date | |
description: When the resource was created | |
JSONPath: ".metadata.creationTimestamp" | |
subresources: | |
status: {} | |
validation: | |
openAPIV3Schema: | |
properties: | |
spec: | |
description: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-account.html | |
type: object | |
required: [] | |
properties: | |
cloudWatchRole: | |
description: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-account.html#cfn-apigateway-account-cloudwatchrolearn | |
type: object | |
properties: | |
arn: | |
type: string | |
description: raw arn for the CloudWatchRoleArn | |
cloudWatchRoleRef: | |
type: object | |
description: CloudWatchRoleArn reference using other CRDs | |
properties: | |
name: | |
type: string | |
description: CloudWatchRoleArn name reference for other CRD | |
namespace: | |
type: string | |
description: CloudWatchRoleArn namespace reference for other | |
CRD |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment