Package com.pulumi.aws.sesv2
Class DedicatedIpPool
- java.lang.Object
-
- com.pulumi.resources.Resource
-
- com.pulumi.resources.CustomResource
-
- com.pulumi.aws.sesv2.DedicatedIpPool
-
public class DedicatedIpPool extends com.pulumi.resources.CustomResource
Resource for managing an AWS SESv2 (Simple Email V2) Dedicated IP Pool. ## Example Usage ### Basic Usage ```java package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.aws.sesv2.DedicatedIpPool; import com.pulumi.aws.sesv2.DedicatedIpPoolArgs; 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 example = new DedicatedIpPool("example", DedicatedIpPoolArgs.builder() .poolName("my-pool") .build()); } } ``` ### Managed Pool ```java package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.aws.sesv2.DedicatedIpPool; import com.pulumi.aws.sesv2.DedicatedIpPoolArgs; 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 example = new DedicatedIpPool("example", DedicatedIpPoolArgs.builder() .poolName("my-managed-pool") .scalingMode("MANAGED") .build()); } } ``` ## Import Using `pulumi import`, import SESv2 (Simple Email V2) Dedicated IP Pool using the `pool_name`. For example: ```sh $ pulumi import aws:sesv2/dedicatedIpPool:DedicatedIpPool example my-pool ```
-
-
Constructor Summary
Constructors Constructor Description DedicatedIpPool(java.lang.String name)
DedicatedIpPool(java.lang.String name, DedicatedIpPoolArgs args)
DedicatedIpPool(java.lang.String name, DedicatedIpPoolArgs 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()
static DedicatedIpPool
get(java.lang.String name, com.pulumi.core.Output<java.lang.String> id, DedicatedIpPoolState 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>
poolName()
com.pulumi.core.Output<java.lang.String>
scalingMode()
com.pulumi.core.Output<java.util.Optional<java.util.Map<java.lang.String,java.lang.String>>>
tags()
com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>>
tagsAll()
-
-
-
Constructor Detail
-
DedicatedIpPool
public DedicatedIpPool(java.lang.String name)
- Parameters:
name
- The _unique_ name of the resulting resource.
-
DedicatedIpPool
public DedicatedIpPool(java.lang.String name, DedicatedIpPoolArgs args)
- Parameters:
name
- The _unique_ name of the resulting resource.args
- The arguments to use to populate this resource's properties.
-
DedicatedIpPool
public DedicatedIpPool(java.lang.String name, DedicatedIpPoolArgs 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:
- ARN of the Dedicated IP Pool.
-
poolName
public com.pulumi.core.Output<java.lang.String> poolName()
- Returns:
- Name of the dedicated IP pool. The following arguments are optional:
-
scalingMode
public com.pulumi.core.Output<java.lang.String> scalingMode()
- Returns:
- IP pool scaling mode. Valid values: `STANDARD`, `MANAGED`. If omitted, the AWS API will default to a standard pool.
-
tags
public com.pulumi.core.Output<java.util.Optional<java.util.Map<java.lang.String,java.lang.String>>> tags()
- Returns:
- A map of tags to assign to the pool. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
-
tagsAll
public com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tagsAll()
-
get
public static DedicatedIpPool get(java.lang.String name, com.pulumi.core.Output<java.lang.String> id, @Nullable DedicatedIpPoolState 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.
-
-