AllowListReceiptFilterProps Struct
Construction properties for am AllowListReceiptFilter.
| Source | aws-ses/lib/receipt-filter.ts |
|---|
Example
ts
new ses.AllowListReceiptFilter(this, 'AllowList', {
ips: [
'10.0.0.0/16',
'1.2.3.4/16',
],
});
python
ses.AllowListReceiptFilter(self, "AllowList",
ips=["10.0.0.0/16", "1.2.3.4/16"
]
)
java
AllowListReceiptFilter.Builder.create(this, "AllowList")
.ips(List.of("10.0.0.0/16", "1.2.3.4/16"))
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
new AllowListReceiptFilter(this, "AllowList", new AllowListReceiptFilterProps {
Ips = new [] { "10.0.0.0/16", "1.2.3.4/16" }
});
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
ses.NewAllowListReceiptFilter(this, jsii.String("AllowList"), &AllowListReceiptFilterProps{
Ips: []*string{
jsii.String("10.0.0.0/16"),
jsii.String("1.2.3.4/16"),
},
})
Properties
A list of ip addresses or ranges to allow list.