Skip to content
v2.278.0

AllowListReceiptFilterProps Struct ​

Construction properties for am AllowListReceiptFilter.

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 ​

ipsstring[]ipstyping.List[str]ipsList<String>Ipsstring[]Ips*[]*string required #
A list of ip addresses or ranges to allow list.