This repository has been archived by the owner on Jul 9, 2021. It is now read-only.
forked from cloudfoundry/csb-brokerpak-aws
-
Notifications
You must be signed in to change notification settings - Fork 1
/
aws-ses.yml
134 lines (134 loc) · 4.04 KB
/
aws-ses.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
# Copyright 2020 Pivotal Software, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http:#www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
---
version: 1
name: csb-aws-ses
id: b90ace67-954b-4b33-8f84-95cacc55b94c
description: AWS SES
display_name: AWS SES
image_url: https://www.pikpng.com/pngl/m/107-1078218_aws-ses-logo-png-transparent-ses-aws-clipart.png
documentation_url: https://aws.amazon.com/ses/
support_url: https://aws.amazon.com/ses/
tags: [aws, ses, preview]
plan_updateable: true
plans:
- name: common
id: dc109a6e-c4a8-4fbb-8c49-acf9740ab819
description: 'Amazon Simple Email Service (SES) is a pay-as-you-go service based on the volume of emails sent and received.'
display_name: "common"
properties:
provision:
plan_inputs:
user_inputs:
- field_name: region
type: string
details: The region of the SES service.
default: us-east-1
enum:
us-east-2 : us-east-2
us-east-1 : us-east-1
us-west-1 : us-west-1
us-west-2 : us-west-2
ap-east-1 : ap-east-1
ap-south-1 : ap-south-1
ap-northeast-3 : ap-northeast-3
ap-northeast-2 : ap-northeast-2
ap-southeast-1 : ap-southeast-1
ap-southeast-2 : ap-southeast-2
ap-northeast-1 : ap-northeast-1
ca-central-1 : ca-central-1
cn-north-1 : cn-north-1
cn-northwest-1 : cn-northwest-1
eu-central-1 : eu-central-1
eu-west-1 : eu-west-1
eu-west-2 : eu-west-2
eu-west-3 : eu-west-3
eu-north-1 : eu-north-1
me-south-1 : me-south-1
sa-east-1 : sa-east-1
- field_name: aws_access_key_id
type: string
details: AWS access key
default: ${config("aws.access_key_id")}
- field_name: aws_secret_access_key
type: string
details: AWS secret key
default: ${config("aws.secret_access_key")}
- field_name: domain
type: string
details: AWS SES Domain Identity
default: ${config("aws.zone")}
computed_inputs:
- name: labels
default: ${json.marshal(request.default_labels)}
overwrite: true
type: object
- name: instance_name
required: true
type: string
default: ${request.instance_id}
template_refs:
main: terraform/ses/provision/main.tf
outputs: terraform/ses/provision/outputs.tf
provider: terraform/ses/provision/provider.tf
variables: terraform/ses/provision/variables.tf
outputs:
- field_name: region
type: string
details: AWS region for the SES
bind:
plan_inputs: []
user_inputs:
- field_name: aws_access_key_id
type: string
details: AWS access key
default: ${config("aws.access_key_id")}
- field_name: aws_secret_access_key
type: string
details: AWS secret key
default: ${config("aws.secret_access_key")}
computed_inputs:
- name: region
default: ${instance.details["region"]}
overwrite: true
type: string
- name: user_name
default: csb-${request.binding_id}
overwrite: true
type: string
- name: instance_name
default: ${instance.name}
overwrite: true
type: string
template_refs:
main: terraform/ses/bind/main.tf
outputs: terraform/ses/bind/outputs.tf
provider: terraform/ses/bind/provider.tf
variables: terraform/ses/bind/variables.tf
outputs:
- field_name: ses_smtp_server
type: string
details: AWS SES SMTP server
- field_name: ses_smtp_user
type: string
details: AWS SES SMTP user
- field_name: ses_smtp_password
type: string
details: AWS SES SMTP password
examples:
- name: ses
description: SES common
plan_id: dc109a6e-c4a8-4fbb-8c49-acf9740ab819
provision_params: {}
bind_params: {}