Smsvoicev2OptOutListArgs

data class Smsvoicev2OptOutListArgs(val name: Output<String>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<Smsvoicev2OptOutListArgs>

Manages an AWS End User Messaging SMS opt-out list.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.pinpoint.Smsvoicev2OptOutList("example", {name: "example-opt-out-list"});
import pulumi
import pulumi_aws as aws
example = aws.pinpoint.Smsvoicev2OptOutList("example", name="example-opt-out-list")
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = new Aws.Pinpoint.Smsvoicev2OptOutList("example", new()
{
Name = "example-opt-out-list",
});
});
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/pinpoint"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := pinpoint.NewSmsvoicev2OptOutList(ctx, "example", &pinpoint.Smsvoicev2OptOutListArgs{
Name: pulumi.String("example-opt-out-list"),
})
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.pinpoint.Smsvoicev2OptOutList;
import com.pulumi.aws.pinpoint.Smsvoicev2OptOutListArgs;
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 Smsvoicev2OptOutList("example", Smsvoicev2OptOutListArgs.builder()
.name("example-opt-out-list")
.build());
}
}
resources:
example:
type: aws:pinpoint:Smsvoicev2OptOutList
properties:
name: example-opt-out-list

Import

Using pulumi import, import opt-out lists using the name. For example:

$ pulumi import aws:pinpoint/smsvoicev2OptOutList:Smsvoicev2OptOutList example example-opt-out-list

Constructors

Link copied to clipboard
constructor(name: Output<String>? = null, tags: Output<Map<String, String>>? = null)

Properties

Link copied to clipboard
val name: Output<String>? = null

The name of the opt-out list.

Link copied to clipboard
val tags: Output<Map<String, String>>? = null

Key-value map of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

Functions

Link copied to clipboard
open override fun toJava(): Smsvoicev2OptOutListArgs