2022-05-11 22:47:31 +00:00
|
|
|
package dnsproviders
|
|
|
|
|
|
|
|
func getDNSAws() Provider {
|
|
|
|
return Provider{
|
2023-01-12 06:25:43 +00:00
|
|
|
Title: "dns_aws",
|
|
|
|
Type: "object",
|
|
|
|
AdditionalProperties: false,
|
|
|
|
Required: []string{
|
|
|
|
"AWS_ACCESS_KEY_ID",
|
|
|
|
"AWS_SECRET_ACCESS_KEY",
|
|
|
|
},
|
|
|
|
Properties: map[string]providerField{
|
|
|
|
"AWS_ACCESS_KEY_ID": {
|
|
|
|
Title: "access-key-id",
|
|
|
|
Type: "string",
|
|
|
|
MinLength: 10,
|
2022-05-11 22:47:31 +00:00
|
|
|
},
|
2023-01-12 06:25:43 +00:00
|
|
|
"AWS_SECRET_ACCESS_KEY": {
|
|
|
|
Title: "secret-access-key",
|
|
|
|
Type: "string",
|
|
|
|
MinLength: 10,
|
|
|
|
IsSecret: true,
|
2022-05-11 22:47:31 +00:00
|
|
|
},
|
2023-01-12 06:25:43 +00:00
|
|
|
"AWS_DNS_SLOWRATE": {
|
|
|
|
Title: "slow-rate",
|
|
|
|
Type: "integer",
|
2022-05-11 22:47:31 +00:00
|
|
|
},
|
|
|
|
},
|
|
|
|
}
|
|
|
|
}
|