diff --git a/examples/cognitoidp/userpoolclient-observe.yaml b/examples/cognitoidp/userpoolclient-observe.yaml new file mode 100644 index 0000000000..74e11659e3 --- /dev/null +++ b/examples/cognitoidp/userpoolclient-observe.yaml @@ -0,0 +1,35 @@ +--- +apiVersion: cognitoidp.aws.upbound.io/v1beta1 +kind: UserPool +metadata: + annotations: + uptest.upbound.io/timeout: "900" + labels: + testing.upbound.io/example-name: observe + name: observe +spec: + forProvider: + name: example + region: us-west-1 + +--- + +apiVersion: cognitoidp.aws.upbound.io/v1beta1 +kind: UserPoolClient +metadata: + annotations: + uptest.upbound.io/timeout: "900" + crossplane.io/external-name: anything + labels: + testing.upbound.io/example-name: observe + name: observe +spec: + managementPolicies: + - Observe + forProvider: + name: name + region: us-west-1 + userPoolIdSelector: + matchLabels: + testing.upbound.io/example-name: observe + diff --git a/examples/cognitoidp/userpoolclient-with-dashes.yaml b/examples/cognitoidp/userpoolclient-with-dashes.yaml new file mode 100644 index 0000000000..d89596a0ed --- /dev/null +++ b/examples/cognitoidp/userpoolclient-with-dashes.yaml @@ -0,0 +1,32 @@ +--- +apiVersion: cognitoidp.aws.upbound.io/v1beta1 +kind: UserPool +metadata: + annotations: + uptest.upbound.io/timeout: "900" + labels: + testing.upbound.io/example-name: example-with-dashes + name: example-with-dashes +spec: + forProvider: + name: example + region: us-west-1 + +--- + +apiVersion: cognitoidp.aws.upbound.io/v1beta1 +kind: UserPoolClient +metadata: + annotations: + uptest.upbound.io/timeout: "900" + labels: + testing.upbound.io/example-name: example-with-dashes + name: example-with-dashes +spec: + forProvider: + name: name-that-doesnt-match-id-regex + region: us-west-1 + userPoolIdSelector: + matchLabels: + testing.upbound.io/example-name: example-with-dashes +