Try AWS Native preview for resources not in the classic version.
aws.sesv2.DedicatedIpPool
Explore with Pulumi AI
Try AWS Native preview for resources not in the classic version.
Resource for managing an AWS SESv2 (Simple Email V2) Dedicated IP Pool.
Example Usage
Basic Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = new Aws.SesV2.DedicatedIpPool("example", new()
{
PoolName = "my-pool",
});
});
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/sesv2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := sesv2.NewDedicatedIpPool(ctx, "example", &sesv2.DedicatedIpPoolArgs{
PoolName: pulumi.String("my-pool"),
})
if err != nil {
return err
}
return nil
})
}
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());
}
}
import pulumi
import pulumi_aws as aws
example = aws.sesv2.DedicatedIpPool("example", pool_name="my-pool")
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.sesv2.DedicatedIpPool("example", {poolName: "my-pool"});
resources:
example:
type: aws:sesv2:DedicatedIpPool
properties:
poolName: my-pool
Managed Pool
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = new Aws.SesV2.DedicatedIpPool("example", new()
{
PoolName = "my-managed-pool",
ScalingMode = "MANAGED",
});
});
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/sesv2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := sesv2.NewDedicatedIpPool(ctx, "example", &sesv2.DedicatedIpPoolArgs{
PoolName: pulumi.String("my-managed-pool"),
ScalingMode: pulumi.String("MANAGED"),
})
if err != nil {
return err
}
return nil
})
}
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 pulumi
import pulumi_aws as aws
example = aws.sesv2.DedicatedIpPool("example",
pool_name="my-managed-pool",
scaling_mode="MANAGED")
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.sesv2.DedicatedIpPool("example", {
poolName: "my-managed-pool",
scalingMode: "MANAGED",
});
resources:
example:
type: aws:sesv2:DedicatedIpPool
properties:
poolName: my-managed-pool
scalingMode: MANAGED
Create DedicatedIpPool Resource
new DedicatedIpPool(name: string, args: DedicatedIpPoolArgs, opts?: CustomResourceOptions);
@overload
def DedicatedIpPool(resource_name: str,
opts: Optional[ResourceOptions] = None,
pool_name: Optional[str] = None,
scaling_mode: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None)
@overload
def DedicatedIpPool(resource_name: str,
args: DedicatedIpPoolArgs,
opts: Optional[ResourceOptions] = None)
func NewDedicatedIpPool(ctx *Context, name string, args DedicatedIpPoolArgs, opts ...ResourceOption) (*DedicatedIpPool, error)
public DedicatedIpPool(string name, DedicatedIpPoolArgs args, CustomResourceOptions? opts = null)
public DedicatedIpPool(String name, DedicatedIpPoolArgs args)
public DedicatedIpPool(String name, DedicatedIpPoolArgs args, CustomResourceOptions options)
type: aws:sesv2:DedicatedIpPool
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DedicatedIpPoolArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args DedicatedIpPoolArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args DedicatedIpPoolArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DedicatedIpPoolArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DedicatedIpPoolArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
DedicatedIpPool Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The DedicatedIpPool resource accepts the following input properties:
- Pool
Name string Name of the dedicated IP pool.
- Scaling
Mode string IP pool scaling mode. Valid values:
STANDARD
,MANAGED
. If omitted, the AWS API will default to a standard pool.- Dictionary<string, string>
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.
- Pool
Name string Name of the dedicated IP pool.
- Scaling
Mode string IP pool scaling mode. Valid values:
STANDARD
,MANAGED
. If omitted, the AWS API will default to a standard pool.- map[string]string
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.
- pool
Name String Name of the dedicated IP pool.
- scaling
Mode String IP pool scaling mode. Valid values:
STANDARD
,MANAGED
. If omitted, the AWS API will default to a standard pool.- Map<String,String>
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.
- pool
Name string Name of the dedicated IP pool.
- scaling
Mode string IP pool scaling mode. Valid values:
STANDARD
,MANAGED
. If omitted, the AWS API will default to a standard pool.- {[key: string]: string}
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.
- pool_
name str Name of the dedicated IP pool.
- scaling_
mode str IP pool scaling mode. Valid values:
STANDARD
,MANAGED
. If omitted, the AWS API will default to a standard pool.- Mapping[str, str]
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.
- pool
Name String Name of the dedicated IP pool.
- scaling
Mode String IP pool scaling mode. Valid values:
STANDARD
,MANAGED
. If omitted, the AWS API will default to a standard pool.- Map<String>
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.
Outputs
All input properties are implicitly available as output properties. Additionally, the DedicatedIpPool resource produces the following output properties:
Look up Existing DedicatedIpPool Resource
Get an existing DedicatedIpPool resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: DedicatedIpPoolState, opts?: CustomResourceOptions): DedicatedIpPool
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
arn: Optional[str] = None,
pool_name: Optional[str] = None,
scaling_mode: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
tags_all: Optional[Mapping[str, str]] = None) -> DedicatedIpPool
func GetDedicatedIpPool(ctx *Context, name string, id IDInput, state *DedicatedIpPoolState, opts ...ResourceOption) (*DedicatedIpPool, error)
public static DedicatedIpPool Get(string name, Input<string> id, DedicatedIpPoolState? state, CustomResourceOptions? opts = null)
public static DedicatedIpPool get(String name, Output<String> id, DedicatedIpPoolState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Arn string
ARN of the Dedicated IP Pool.
- Pool
Name string Name of the dedicated IP pool.
- Scaling
Mode string IP pool scaling mode. Valid values:
STANDARD
,MANAGED
. If omitted, the AWS API will default to a standard pool.- Dictionary<string, string>
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.- Dictionary<string, string>
- Arn string
ARN of the Dedicated IP Pool.
- Pool
Name string Name of the dedicated IP pool.
- Scaling
Mode string IP pool scaling mode. Valid values:
STANDARD
,MANAGED
. If omitted, the AWS API will default to a standard pool.- map[string]string
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.- map[string]string
- arn String
ARN of the Dedicated IP Pool.
- pool
Name String Name of the dedicated IP pool.
- scaling
Mode String IP pool scaling mode. Valid values:
STANDARD
,MANAGED
. If omitted, the AWS API will default to a standard pool.- Map<String,String>
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.- Map<String,String>
- arn string
ARN of the Dedicated IP Pool.
- pool
Name string Name of the dedicated IP pool.
- scaling
Mode string IP pool scaling mode. Valid values:
STANDARD
,MANAGED
. If omitted, the AWS API will default to a standard pool.- {[key: string]: string}
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.- {[key: string]: string}
- arn str
ARN of the Dedicated IP Pool.
- pool_
name str Name of the dedicated IP pool.
- scaling_
mode str IP pool scaling mode. Valid values:
STANDARD
,MANAGED
. If omitted, the AWS API will default to a standard pool.- Mapping[str, str]
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.- Mapping[str, str]
- arn String
ARN of the Dedicated IP Pool.
- pool
Name String Name of the dedicated IP pool.
- scaling
Mode String IP pool scaling mode. Valid values:
STANDARD
,MANAGED
. If omitted, the AWS API will default to a standard pool.- Map<String>
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.- Map<String>
Import
SESv2 (Simple Email V2) Dedicated IP Pool can be imported using the pool_name
, e.g.,
$ pulumi import aws:sesv2/dedicatedIpPool:DedicatedIpPool example my-pool
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
aws
Terraform Provider.
Try AWS Native preview for resources not in the classic version.