Class ReceiptFilter
Provides an SES receipt filter resource
Example Usage
using Pulumi;
using Aws = Pulumi.Aws;
class MyStack : Stack
{
public MyStack()
{
var filter = new Aws.Ses.ReceiptFilter("filter", new Aws.Ses.ReceiptFilterArgs
{
Cidr = "10.10.10.10",
Policy = "Block",
});
}
}
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Aws.Ses
Assembly: Pulumi.Aws.dll
Syntax
public class ReceiptFilter : CustomResource
Constructors
View SourceReceiptFilter(String, ReceiptFilterArgs, CustomResourceOptions)
Create a ReceiptFilter resource with the given unique name, arguments, and options.
Declaration
public ReceiptFilter(string name, ReceiptFilterArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| ReceiptFilterArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceCidr
The IP address or address range to filter, in CIDR notation
Declaration
public Output<string> Cidr { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Name
The name of the filter
Declaration
public Output<string> Name { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Policy
Block or Allow
Declaration
public Output<string> Policy { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(String, Input<String>, ReceiptFilterState, CustomResourceOptions)
Get an existing ReceiptFilter resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static ReceiptFilter Get(string name, Input<string> id, ReceiptFilterState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| ReceiptFilterState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| ReceiptFilter |