You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::Chime::Types::CreateSipRuleRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::Chime::Types::CreateSipRuleRequest
- Defined in:
- (unknown)
Overview
When passing CreateSipRuleRequest as input to an Aws::Client method, you can use a vanilla 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",
},
],
}
Instance Attribute Summary collapse
-
#disabled ⇒ Boolean
Enables or disables a rule.
-
#name ⇒ String
The name of the SIP rule.
-
#target_applications ⇒ Array<Types::SipRuleTargetApplication>
List of SIP media applications with priority and AWS Region.
-
#trigger_type ⇒ String
The type of trigger whose value is assigned to the SIP rule in
TriggerValue
. -
#trigger_value ⇒ String
If
TriggerType
isRequestUriHostname
then the value can be the outbound host name of an Amazon Chime Voice Connector.
Instance Attribute Details
#disabled ⇒ Boolean
Enables or disables a rule. You must disable rules before you can delete them.
#name ⇒ String
The name of the SIP rule.
#target_applications ⇒ Array<Types::SipRuleTargetApplication>
List of SIP media applications with priority and AWS Region. Only one SIP application per AWS Region can be used.
#trigger_type ⇒ String
The type of trigger whose value is assigned to the SIP rule in
TriggerValue
. Allowed trigger values are RequestUriHostname
and
ToPhoneNumber
.
Possible values:
- ToPhoneNumber
- RequestUriHostname
#trigger_value ⇒ String
If TriggerType
is RequestUriHostname
then the value can be the
outbound host name of an Amazon Chime Voice Connector. If TriggerType
is ToPhoneNumber
then the value can be a customer-owned phone number
in E164 format. SipRule
is triggered if the SIP application requests a
host name, or a If TriggerType
is RequestUriHostname
, then the value
can be the outbound hostname of an Amazon Chime Voice Connector. If
TriggerType
is ToPhoneNumber
, then the value can be a customer-owned
phone number in E164 format. SipRule
is triggered if the SIP
application requests a host name, or a ToPhoneNumber
value matches the
incoming SIP request.