We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi
aws-native.connect.getRule
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi
Resource Type definition for AWS:Connect::Rule
Using getRule
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getRule(args: GetRuleArgs, opts?: InvokeOptions): Promise<GetRuleResult>
function getRuleOutput(args: GetRuleOutputArgs, opts?: InvokeOptions): Output<GetRuleResult>
def get_rule(rule_arn: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetRuleResult
def get_rule_output(rule_arn: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetRuleResult]
func LookupRule(ctx *Context, args *LookupRuleArgs, opts ...InvokeOption) (*LookupRuleResult, error)
func LookupRuleOutput(ctx *Context, args *LookupRuleOutputArgs, opts ...InvokeOption) LookupRuleResultOutput
> Note: This function is named LookupRule
in the Go SDK.
public static class GetRule
{
public static Task<GetRuleResult> InvokeAsync(GetRuleArgs args, InvokeOptions? opts = null)
public static Output<GetRuleResult> Invoke(GetRuleInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetRuleResult> getRule(GetRuleArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws-native:connect:getRule
arguments:
# arguments dictionary
The following arguments are supported:
- Rule
Arn string - The Amazon Resource Name (ARN) of the rule.
- Rule
Arn string - The Amazon Resource Name (ARN) of the rule.
- rule
Arn String - The Amazon Resource Name (ARN) of the rule.
- rule
Arn string - The Amazon Resource Name (ARN) of the rule.
- rule_
arn str - The Amazon Resource Name (ARN) of the rule.
- rule
Arn String - The Amazon Resource Name (ARN) of the rule.
getRule Result
The following output properties are available:
- Actions
Pulumi.
Aws Native. Connect. Outputs. Rule Actions - The list of actions that will be executed when a rule is triggered.
- Function string
- The conditions of a rule.
- Name string
- The name of the rule.
- Publish
Status Pulumi.Aws Native. Connect. Rule Publish Status - The publish status of a rule, either draft or published.
- Rule
Arn string - The Amazon Resource Name (ARN) of the rule.
- List<Pulumi.
Aws Native. Outputs. Tag> - One or more tags.
- Actions
Rule
Actions - The list of actions that will be executed when a rule is triggered.
- Function string
- The conditions of a rule.
- Name string
- The name of the rule.
- Publish
Status RulePublish Status - The publish status of a rule, either draft or published.
- Rule
Arn string - The Amazon Resource Name (ARN) of the rule.
- Tag
- One or more tags.
- actions
Rule
Actions - The list of actions that will be executed when a rule is triggered.
- function String
- The conditions of a rule.
- name String
- The name of the rule.
- publish
Status RulePublish Status - The publish status of a rule, either draft or published.
- rule
Arn String - The Amazon Resource Name (ARN) of the rule.
- List<Tag>
- One or more tags.
- actions
Rule
Actions - The list of actions that will be executed when a rule is triggered.
- function string
- The conditions of a rule.
- name string
- The name of the rule.
- publish
Status RulePublish Status - The publish status of a rule, either draft or published.
- rule
Arn string - The Amazon Resource Name (ARN) of the rule.
- Tag[]
- One or more tags.
- actions
Rule
Actions - The list of actions that will be executed when a rule is triggered.
- function str
- The conditions of a rule.
- name str
- The name of the rule.
- publish_
status RulePublish Status - The publish status of a rule, either draft or published.
- rule_
arn str - The Amazon Resource Name (ARN) of the rule.
- Sequence[root_Tag]
- One or more tags.
- actions Property Map
- The list of actions that will be executed when a rule is triggered.
- function String
- The conditions of a rule.
- name String
- The name of the rule.
- publish
Status "DRAFT" | "PUBLISHED" - The publish status of a rule, either draft or published.
- rule
Arn String - The Amazon Resource Name (ARN) of the rule.
- List<Property Map>
- One or more tags.
Supporting Types
RuleActions
- Assign
Contact List<Pulumi.Category Actions Aws Native. Connect. Inputs. Rule Assign Contact Category Action> - Information about the contact category action. The syntax can be empty, for example,
{}
. - Create
Case List<Pulumi.Actions Aws Native. Connect. Inputs. Rule Create Case Action> - End
Associated List<Pulumi.Tasks Actions Aws Native. Connect. Inputs. Rule End Associated Tasks Action> - Event
Bridge List<Pulumi.Actions Aws Native. Connect. Inputs. Rule Event Bridge Action> - Information about the EventBridge action.
- Send
Notification List<Pulumi.Actions Aws Native. Connect. Inputs. Rule Send Notification Action> - Information about the send notification action.
- Submit
Auto List<Pulumi.Evaluation Actions Aws Native. Connect. Inputs. Rule Submit Auto Evaluation Action> - Task
Actions List<Pulumi.Aws Native. Connect. Inputs. Rule Task Action> - Information about the task action. This field is required if
TriggerEventSource
is one of the following values:OnZendeskTicketCreate
|OnZendeskTicketStatusUpdate
|OnSalesforceCaseCreate
- Update
Case List<Pulumi.Actions Aws Native. Connect. Inputs. Rule Update Case Action>
- Assign
Contact []RuleCategory Actions Assign Contact Category Action - Information about the contact category action. The syntax can be empty, for example,
{}
. - Create
Case []RuleActions Create Case Action - End
Associated []RuleTasks Actions End Associated Tasks Action - Event
Bridge []RuleActions Event Bridge Action - Information about the EventBridge action.
- Send
Notification []RuleActions Send Notification Action - Information about the send notification action.
- Submit
Auto []RuleEvaluation Actions Submit Auto Evaluation Action - Task
Actions []RuleTask Action - Information about the task action. This field is required if
TriggerEventSource
is one of the following values:OnZendeskTicketCreate
|OnZendeskTicketStatusUpdate
|OnSalesforceCaseCreate
- Update
Case []RuleActions Update Case Action
- assign
Contact List<RuleCategory Actions Assign Contact Category Action> - Information about the contact category action. The syntax can be empty, for example,
{}
. - create
Case List<RuleActions Create Case Action> - end
Associated List<RuleTasks Actions End Associated Tasks Action> - event
Bridge List<RuleActions Event Bridge Action> - Information about the EventBridge action.
- send
Notification List<RuleActions Send Notification Action> - Information about the send notification action.
- submit
Auto List<RuleEvaluation Actions Submit Auto Evaluation Action> - task
Actions List<RuleTask Action> - Information about the task action. This field is required if
TriggerEventSource
is one of the following values:OnZendeskTicketCreate
|OnZendeskTicketStatusUpdate
|OnSalesforceCaseCreate
- update
Case List<RuleActions Update Case Action>
- assign
Contact RuleCategory Actions Assign Contact Category Action[] - Information about the contact category action. The syntax can be empty, for example,
{}
. - create
Case RuleActions Create Case Action[] - end
Associated RuleTasks Actions End Associated Tasks Action[] - event
Bridge RuleActions Event Bridge Action[] - Information about the EventBridge action.
- send
Notification RuleActions Send Notification Action[] - Information about the send notification action.
- submit
Auto RuleEvaluation Actions Submit Auto Evaluation Action[] - task
Actions RuleTask Action[] - Information about the task action. This field is required if
TriggerEventSource
is one of the following values:OnZendeskTicketCreate
|OnZendeskTicketStatusUpdate
|OnSalesforceCaseCreate
- update
Case RuleActions Update Case Action[]
- assign_
contact_ Sequence[Rulecategory_ actions Assign Contact Category Action] - Information about the contact category action. The syntax can be empty, for example,
{}
. - create_
case_ Sequence[Ruleactions Create Case Action] - end_
associated_ Sequence[Ruletasks_ actions End Associated Tasks Action] - event_
bridge_ Sequence[Ruleactions Event Bridge Action] - Information about the EventBridge action.
- send_
notification_ Sequence[Ruleactions Send Notification Action] - Information about the send notification action.
- submit_
auto_ Sequence[Ruleevaluation_ actions Submit Auto Evaluation Action] - task_
actions Sequence[RuleTask Action] - Information about the task action. This field is required if
TriggerEventSource
is one of the following values:OnZendeskTicketCreate
|OnZendeskTicketStatusUpdate
|OnSalesforceCaseCreate
- update_
case_ Sequence[Ruleactions Update Case Action]
- assign
Contact List<Property Map>Category Actions - Information about the contact category action. The syntax can be empty, for example,
{}
. - create
Case List<Property Map>Actions - end
Associated List<Property Map>Tasks Actions - event
Bridge List<Property Map>Actions - Information about the EventBridge action.
- send
Notification List<Property Map>Actions - Information about the send notification action.
- submit
Auto List<Property Map>Evaluation Actions - task
Actions List<Property Map> - Information about the task action. This field is required if
TriggerEventSource
is one of the following values:OnZendeskTicketCreate
|OnZendeskTicketStatusUpdate
|OnSalesforceCaseCreate
- update
Case List<Property Map>Actions
RuleCreateCaseAction
- Fields
List<Pulumi.
Aws Native. Connect. Inputs. Rule Field> - Template
Id string - The Id of template.
- Fields
[]Rule
Field - Template
Id string - The Id of template.
- fields
List<Rule
Field> - template
Id String - The Id of template.
- fields
Rule
Field[] - template
Id string - The Id of template.
- fields
Sequence[Rule
Field] - template_
id str - The Id of template.
- fields List<Property Map>
- template
Id String - The Id of template.
RuleEventBridgeAction
- Name string
- The name of the event bridge action.
- Name string
- The name of the event bridge action.
- name String
- The name of the event bridge action.
- name string
- The name of the event bridge action.
- name str
- The name of the event bridge action.
- name String
- The name of the event bridge action.
RuleField
- Id string
- The Id of the field
- Value
Pulumi.
Aws Native. Connect. Inputs. Rule Field Value
- Id string
- The Id of the field
- Value
Rule
Field Value
- id String
- The Id of the field
- value
Rule
Field Value
- id string
- The Id of the field
- value
Rule
Field Value
- id str
- The Id of the field
- value
Rule
Field Value
- id String
- The Id of the field
- value Property Map
RuleFieldValue
- Boolean
Value bool - Double
Value double - Empty
Value object - String
Value string
- Boolean
Value bool - Double
Value float64 - Empty
Value interface{} - String
Value string
- boolean
Value Boolean - double
Value Double - empty
Value Object - string
Value String
- boolean
Value boolean - double
Value number - empty
Value any - string
Value string
- boolean_
value bool - double_
value float - empty_
value Any - string_
value str
- boolean
Value Boolean - double
Value Number - empty
Value Any - string
Value String
RuleNotificationRecipientType
- User
Arns List<string> - The list of recipients by user arns.
- Dictionary<string, string>
- The collection of recipients who are identified by user tags
- User
Arns []string - The list of recipients by user arns.
- map[string]string
- The collection of recipients who are identified by user tags
- user
Arns List<String> - The list of recipients by user arns.
- Map<String,String>
- The collection of recipients who are identified by user tags
- user
Arns string[] - The list of recipients by user arns.
- {[key: string]: string}
- The collection of recipients who are identified by user tags
- user_
arns Sequence[str] - The list of recipients by user arns.
- Mapping[str, str]
- The collection of recipients who are identified by user tags
- user
Arns List<String> - The list of recipients by user arns.
- Map<String>
- The collection of recipients who are identified by user tags
RulePublishStatus
RuleReference
- Type
Rule
Reference Type - Value string
- type
Rule
Reference Type - value String
- type
Rule
Reference Type - value string
RuleReferenceType
RuleSendNotificationAction
- Content string
- The content of notification.
- Content
Type Pulumi.Aws Native. Connect. Rule Send Notification Action Content Type - The type of content.
- Delivery
Method Pulumi.Aws Native. Connect. Rule Send Notification Action Delivery Method - The means of delivery.
- Recipient
Pulumi.
Aws Native. Connect. Inputs. Rule Notification Recipient Type - Subject string
- The subject of notification.
- Content string
- The content of notification.
- Content
Type RuleSend Notification Action Content Type - The type of content.
- Delivery
Method RuleSend Notification Action Delivery Method - The means of delivery.
- Recipient
Rule
Notification Recipient Type - Subject string
- The subject of notification.
- content String
- The content of notification.
- content
Type RuleSend Notification Action Content Type - The type of content.
- delivery
Method RuleSend Notification Action Delivery Method - The means of delivery.
- recipient
Rule
Notification Recipient Type - subject String
- The subject of notification.
- content string
- The content of notification.
- content
Type RuleSend Notification Action Content Type - The type of content.
- delivery
Method RuleSend Notification Action Delivery Method - The means of delivery.
- recipient
Rule
Notification Recipient Type - subject string
- The subject of notification.
- content str
- The content of notification.
- content_
type RuleSend Notification Action Content Type - The type of content.
- delivery_
method RuleSend Notification Action Delivery Method - The means of delivery.
- recipient
Rule
Notification Recipient Type - subject str
- The subject of notification.
- content String
- The content of notification.
- content
Type "PLAIN_TEXT" - The type of content.
- delivery
Method "EMAIL" - The means of delivery.
- recipient Property Map
- subject String
- The subject of notification.
RuleSendNotificationActionContentType
RuleSendNotificationActionDeliveryMethod
RuleSubmitAutoEvaluationAction
- Evaluation
Form stringArn - The Amazon Resource Name (ARN) of the evaluation form.
- Evaluation
Form stringArn - The Amazon Resource Name (ARN) of the evaluation form.
- evaluation
Form StringArn - The Amazon Resource Name (ARN) of the evaluation form.
- evaluation
Form stringArn - The Amazon Resource Name (ARN) of the evaluation form.
- evaluation_
form_ strarn - The Amazon Resource Name (ARN) of the evaluation form.
- evaluation
Form StringArn - The Amazon Resource Name (ARN) of the evaluation form.
RuleTaskAction
- Contact
Flow stringArn - The Amazon Resource Name (ARN) of the contact flow.
- Name string
- The name which appears in the agent's Contact Control Panel (CCP).
- Description string
- The description which appears in the agent's Contact Control Panel (CCP).
- References
Dictionary<string, Pulumi.
Aws Native. Connect. Inputs. Rule Reference> - A formatted URL that is shown to an agent in the Contact Control Panel (CCP).
- Contact
Flow stringArn - The Amazon Resource Name (ARN) of the contact flow.
- Name string
- The name which appears in the agent's Contact Control Panel (CCP).
- Description string
- The description which appears in the agent's Contact Control Panel (CCP).
- References
map[string]Rule
Reference - A formatted URL that is shown to an agent in the Contact Control Panel (CCP).
- contact
Flow StringArn - The Amazon Resource Name (ARN) of the contact flow.
- name String
- The name which appears in the agent's Contact Control Panel (CCP).
- description String
- The description which appears in the agent's Contact Control Panel (CCP).
- references
Map<String,Rule
Reference> - A formatted URL that is shown to an agent in the Contact Control Panel (CCP).
- contact
Flow stringArn - The Amazon Resource Name (ARN) of the contact flow.
- name string
- The name which appears in the agent's Contact Control Panel (CCP).
- description string
- The description which appears in the agent's Contact Control Panel (CCP).
- references
{[key: string]: Rule
Reference} - A formatted URL that is shown to an agent in the Contact Control Panel (CCP).
- contact_
flow_ strarn - The Amazon Resource Name (ARN) of the contact flow.
- name str
- The name which appears in the agent's Contact Control Panel (CCP).
- description str
- The description which appears in the agent's Contact Control Panel (CCP).
- references
Mapping[str, Rule
Reference] - A formatted URL that is shown to an agent in the Contact Control Panel (CCP).
- contact
Flow StringArn - The Amazon Resource Name (ARN) of the contact flow.
- name String
- The name which appears in the agent's Contact Control Panel (CCP).
- description String
- The description which appears in the agent's Contact Control Panel (CCP).
- references Map<Property Map>
- A formatted URL that is shown to an agent in the Contact Control Panel (CCP).
RuleUpdateCaseAction
Tag
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi