nginx-proxy-manager/backend/internal/dnsproviders/dns_aws.go

31 lines
619 B
Go
Raw Normal View History

package dnsproviders
func getDNSAws() Provider {
return Provider{
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,
},
"AWS_SECRET_ACCESS_KEY": {
Title: "secret-access-key",
Type: "string",
MinLength: 10,
IsSecret: true,
},
"AWS_DNS_SLOWRATE": {
Title: "slow-rate",
Type: "integer",
},
},
}
}