Package com.pulumi.aws.ses
Class ReceiptFilter
- java.lang.Object
-
- com.pulumi.resources.Resource
-
- com.pulumi.resources.CustomResource
-
- com.pulumi.aws.ses.ReceiptFilter
-
public class ReceiptFilter extends com.pulumi.resources.CustomResource
Provides an SES receipt filter resource ## Example Usage ```java package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.aws.ses.ReceiptFilter; import com.pulumi.aws.ses.ReceiptFilterArgs; import java.util.List; import java.util.ArrayList; import java.util.Map; import java.io.File; import java.nio.file.Files; import java.nio.file.Paths; public class App { public static void main(String[] args) { Pulumi.run(App::stack); } public static void stack(Context ctx) { var filter = new ReceiptFilter("filter", ReceiptFilterArgs.builder() .cidr("10.10.10.10") .policy("Block") .build()); } } ``` ## Import Using `pulumi import`, import SES Receipt Filter using their `name`. For example: ```sh $ pulumi import aws:ses/receiptFilter:ReceiptFilter test some-filter ```
-
-
Constructor Summary
Constructors Constructor Description ReceiptFilter(java.lang.String name)
ReceiptFilter(java.lang.String name, ReceiptFilterArgs args)
ReceiptFilter(java.lang.String name, ReceiptFilterArgs args, com.pulumi.resources.CustomResourceOptions options)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.pulumi.core.Output<java.lang.String>
arn()
com.pulumi.core.Output<java.lang.String>
cidr()
static ReceiptFilter
get(java.lang.String name, com.pulumi.core.Output<java.lang.String> id, ReceiptFilterState state, com.pulumi.resources.CustomResourceOptions options)
Get an existing Host resource's state with the given name, ID, and optional extra properties used to qualify the lookup.com.pulumi.core.Output<java.lang.String>
name()
com.pulumi.core.Output<java.lang.String>
policy()
-
-
-
Constructor Detail
-
ReceiptFilter
public ReceiptFilter(java.lang.String name)
- Parameters:
name
- The _unique_ name of the resulting resource.
-
ReceiptFilter
public ReceiptFilter(java.lang.String name, ReceiptFilterArgs args)
- Parameters:
name
- The _unique_ name of the resulting resource.args
- The arguments to use to populate this resource's properties.
-
ReceiptFilter
public ReceiptFilter(java.lang.String name, ReceiptFilterArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options)
- Parameters:
name
- The _unique_ name of the resulting resource.args
- The arguments to use to populate this resource's properties.options
- A bag of options that control this resource's behavior.
-
-
Method Detail
-
arn
public com.pulumi.core.Output<java.lang.String> arn()
- Returns:
- The SES receipt filter ARN.
-
cidr
public com.pulumi.core.Output<java.lang.String> cidr()
- Returns:
- The IP address or address range to filter, in CIDR notation
-
name
public com.pulumi.core.Output<java.lang.String> name()
- Returns:
- The name of the filter
-
policy
public com.pulumi.core.Output<java.lang.String> policy()
- Returns:
- Block or Allow
-
get
public static ReceiptFilter get(java.lang.String name, com.pulumi.core.Output<java.lang.String> id, @Nullable ReceiptFilterState state, @Nullable com.pulumi.resources.CustomResourceOptions options)
Get an existing Host resource's state with the given name, ID, and optional extra properties used to qualify the lookup.- Parameters:
name
- The _unique_ name of the resulting resource.id
- The _unique_ provider ID of the resource to lookup.state
-options
- Optional settings to control the behavior of the CustomResource.
-
-