Package com.pulumi.aws.pinpoint.inputs
Class Smsvoicev2PhoneNumberState
- java.lang.Object
-
- com.pulumi.resources.InputArgs
-
- com.pulumi.resources.ResourceArgs
-
- com.pulumi.aws.pinpoint.inputs.Smsvoicev2PhoneNumberState
-
public final class Smsvoicev2PhoneNumberState extends com.pulumi.resources.ResourceArgs
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSmsvoicev2PhoneNumberState.Builder
-
Field Summary
Fields Modifier and Type Field Description static Smsvoicev2PhoneNumberStateEmpty
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<com.pulumi.core.Output<java.lang.String>>arn()static Smsvoicev2PhoneNumberState.Builderbuilder()static Smsvoicev2PhoneNumberState.Builderbuilder(Smsvoicev2PhoneNumberState defaults)java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>>deletionProtectionEnabled()java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>>forceDisassociate()java.util.Optional<com.pulumi.core.Output<java.lang.String>>isoCountryCode()java.util.Optional<com.pulumi.core.Output<java.lang.String>>messageType()java.util.Optional<com.pulumi.core.Output<java.lang.String>>monthlyLeasingPrice()java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>>numberCapabilities()java.util.Optional<com.pulumi.core.Output<java.lang.String>>numberType()java.util.Optional<com.pulumi.core.Output<java.lang.String>>optOutListName()java.util.Optional<com.pulumi.core.Output<java.lang.String>>phoneNumber()java.util.Optional<com.pulumi.core.Output<java.lang.String>>region()java.util.Optional<com.pulumi.core.Output<java.lang.String>>registrationId()java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>>selfManagedOptOutsEnabled()java.util.Optional<com.pulumi.core.Output<java.lang.String>>status()java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>>>tags()java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>>>tagsAll()java.util.Optional<com.pulumi.core.Output<Smsvoicev2PhoneNumberTimeoutsArgs>>timeouts()java.util.Optional<com.pulumi.core.Output<java.lang.String>>twoWayChannelArn()java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>>twoWayChannelEnabled()java.util.Optional<com.pulumi.core.Output<java.lang.String>>twoWayChannelRole()java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>>waitForActive()
-
-
-
Field Detail
-
Empty
public static final Smsvoicev2PhoneNumberState Empty
-
-
Method Detail
-
arn
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> arn()
- Returns:
- ARN of the phone number.
-
deletionProtectionEnabled
public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> deletionProtectionEnabled()
- Returns:
- Whether deletion protection is enabled. When `true`, the phone number cannot be deleted.
-
forceDisassociate
public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> forceDisassociate()
- Returns:
- Whether to disassociate the phone number from any pool it is associated with before destroying it.
-
isoCountryCode
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> isoCountryCode()
- Returns:
- Two-character code, in ISO 3166-1 alpha-2 format, for the country or region.
-
messageType
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> messageType()
- Returns:
- Type of message. Valid values are `TRANSACTIONAL` for messages that are critical or time-sensitive and `PROMOTIONAL` for messages that aren’t critical or time-sensitive.
-
monthlyLeasingPrice
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> monthlyLeasingPrice()
- Returns:
- Monthly price, in US dollars, to lease the phone number.
-
numberCapabilities
public java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> numberCapabilities()
- Returns:
- Whether the origination identity can be used for text messages, voice calls or both. Valid values are `SMS` and `VOICE`.
-
numberType
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> numberType()
- Returns:
- Type of phone number to request. Possible values are `LONG_CODE`, `TOLL_FREE`, `TEN_DLC`, or `SIMULATOR`. The following arguments are optional:
-
optOutListName
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> optOutListName()
- Returns:
- Name of the opt-out list to associate with the phone number. If omitted, AWS assigns the `Default` opt-out list.
-
phoneNumber
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> phoneNumber()
- Returns:
- New phone number that was requested.
-
region
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> region()
- Returns:
- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
-
registrationId
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> registrationId()
- Returns:
- Use this field to attach your phone number for an external registration process.
-
selfManagedOptOutsEnabled
public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> selfManagedOptOutsEnabled()
- Returns:
- When set to `false` an end recipient sends a message that begins with HELP or STOP to one of your dedicated numbers, AWS End User Messaging SMS and Voice automatically replies with a customizable message and adds the end recipient to the opt-out list. When set to true you’re responsible for responding to HELP and STOP requests. You’re also responsible for tracking and honoring opt-out request.
-
status
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> status()
- Returns:
- Status of the phone number. Possible values are `PENDING`, `ACTIVE`, `ASSOCIATING`, `DISASSOCIATING`, and `DELETED`.
-
tags
public java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>>> tags()
- Returns:
- Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
-
tagsAll
public java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>>> tagsAll()
- Returns:
- Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
-
timeouts
public java.util.Optional<com.pulumi.core.Output<Smsvoicev2PhoneNumberTimeoutsArgs>> timeouts()
-
twoWayChannelArn
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> twoWayChannelArn()
- Returns:
- Configuration for two-way SMS. Specify an ARN to receive incoming SMS messages, or `connect.[region].amazonaws.com` (with `[region]` replaced by the AWS Region of the Amazon Connect instance) to set Amazon Connect as the inbound destination.
-
twoWayChannelEnabled
public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> twoWayChannelEnabled()
- Returns:
- Whether two-way messaging is enabled. When `true`, you can receive incoming text messages from your end recipients. If omitted, AWS sets this to `false`.
-
twoWayChannelRole
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> twoWayChannelRole()
- Returns:
- IAM Role ARN for a service to assume, to be able to post inbound SMS messages.
-
waitForActive
public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> waitForActive()
- Returns:
- Whether to wait for the phone number to reach `ACTIVE` status before considering the resource created or updated. Defaults to `true`. Set to `false` for number types gated on carrier or registration approval (for example, `TEN_DLC`, `TOLL_FREE`, or any number submitted with `registrationId`), which can remain `PENDING` for days or weeks. When `false`, `pulumi up` returns once AWS accepts the phone number request; track activation with the `status` attribute.
-
builder
public static Smsvoicev2PhoneNumberState.Builder builder()
-
builder
public static Smsvoicev2PhoneNumberState.Builder builder(Smsvoicev2PhoneNumberState defaults)
-
-