Class Smsvoicev2PhoneNumberArgs


  • public final class Smsvoicev2PhoneNumberArgs
    extends com.pulumi.resources.ResourceArgs
    • Method Detail

      • 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 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 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.
      • numberCapabilities

        public 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 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.
      • 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.
      • 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.
      • 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.