class Aws::Chime::Types::CreateSipRuleRequest

@note When making an API call, you may pass CreateSipRuleRequest

data as a hash:

    {
      name: "SipRuleName", # required
      trigger_type: "ToPhoneNumber", # required, accepts ToPhoneNumber, RequestUriHostname
      trigger_value: "NonEmptyString", # required
      disabled: false,
      target_applications: [ # required
        {
          sip_media_application_id: "NonEmptyString",
          priority: 1,
          aws_region: "String",
        },
      ],
    }

@!attribute [rw] name

The name of the SIP rule.
@return [String]

@!attribute [rw] trigger_type

The type of trigger assigned to the SIP rule in `TriggerValue`,
currently `RequestUriHostname` or `ToPhoneNumber`.
@return [String]

@!attribute [rw] trigger_value

If `TriggerType` is `RequestUriHostname`, the value can be the
outbound host name of an Amazon Chime Voice Connector. If
`TriggerType` is `ToPhoneNumber`, the value can be a customer-owned
phone number in the E164 format. The `SipMediaApplication` specified
in the `SipRule` is triggered if the request URI in an incoming SIP
request matches the `RequestUriHostname`, or if the `To` header in
the incoming SIP request matches the `ToPhoneNumber` value.
@return [String]

@!attribute [rw] disabled

Enables or disables a rule. You must disable rules before you can
delete them.
@return [Boolean]

@!attribute [rw] target_applications

List of SIP media applications with priority and AWS Region. Only
one SIP application per AWS Region can be used.
@return [Array<Types::SipRuleTargetApplication>]

@see docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateSipRuleRequest AWS API Documentation

Constants

SENSITIVE