1. Packages
  2. AWS Native
  3. API Docs
  4. connect
  5. getRule

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi

aws-native.connect.getRule

Explore with Pulumi AI

aws-native logo

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.109.0 published on Wednesday, Jun 26, 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:

    RuleArn string
    The Amazon Resource Name (ARN) of the rule.
    RuleArn string
    The Amazon Resource Name (ARN) of the rule.
    ruleArn String
    The Amazon Resource Name (ARN) of the rule.
    ruleArn string
    The Amazon Resource Name (ARN) of the rule.
    rule_arn str
    The Amazon Resource Name (ARN) of the rule.
    ruleArn String
    The Amazon Resource Name (ARN) of the rule.

    getRule Result

    The following output properties are available:

    Actions Pulumi.AwsNative.Connect.Outputs.RuleActions
    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.
    PublishStatus Pulumi.AwsNative.Connect.RulePublishStatus
    The publish status of a rule, either draft or published.
    RuleArn string
    The Amazon Resource Name (ARN) of the rule.
    Tags List<Pulumi.AwsNative.Outputs.Tag>
    One or more tags.
    Actions RuleActions
    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.
    PublishStatus RulePublishStatus
    The publish status of a rule, either draft or published.
    RuleArn string
    The Amazon Resource Name (ARN) of the rule.
    Tags Tag
    One or more tags.
    actions RuleActions
    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.
    publishStatus RulePublishStatus
    The publish status of a rule, either draft or published.
    ruleArn String
    The Amazon Resource Name (ARN) of the rule.
    tags List<Tag>
    One or more tags.
    actions RuleActions
    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.
    publishStatus RulePublishStatus
    The publish status of a rule, either draft or published.
    ruleArn string
    The Amazon Resource Name (ARN) of the rule.
    tags Tag[]
    One or more tags.
    actions RuleActions
    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 RulePublishStatus
    The publish status of a rule, either draft or published.
    rule_arn str
    The Amazon Resource Name (ARN) of the rule.
    tags 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.
    publishStatus "DRAFT" | "PUBLISHED"
    The publish status of a rule, either draft or published.
    ruleArn String
    The Amazon Resource Name (ARN) of the rule.
    tags List<Property Map>
    One or more tags.

    Supporting Types

    RuleActions

    AssignContactCategoryActions List<Pulumi.AwsNative.Connect.Inputs.RuleAssignContactCategoryAction>
    Information about the contact category action. The syntax can be empty, for example, {} .
    CreateCaseActions List<Pulumi.AwsNative.Connect.Inputs.RuleCreateCaseAction>
    EndAssociatedTasksActions List<Pulumi.AwsNative.Connect.Inputs.RuleEndAssociatedTasksAction>
    EventBridgeActions List<Pulumi.AwsNative.Connect.Inputs.RuleEventBridgeAction>
    Information about the EventBridge action.
    SendNotificationActions List<Pulumi.AwsNative.Connect.Inputs.RuleSendNotificationAction>
    Information about the send notification action.
    SubmitAutoEvaluationActions List<Pulumi.AwsNative.Connect.Inputs.RuleSubmitAutoEvaluationAction>
    TaskActions List<Pulumi.AwsNative.Connect.Inputs.RuleTaskAction>
    Information about the task action. This field is required if TriggerEventSource is one of the following values: OnZendeskTicketCreate | OnZendeskTicketStatusUpdate | OnSalesforceCaseCreate
    UpdateCaseActions List<Pulumi.AwsNative.Connect.Inputs.RuleUpdateCaseAction>
    AssignContactCategoryActions []RuleAssignContactCategoryAction
    Information about the contact category action. The syntax can be empty, for example, {} .
    CreateCaseActions []RuleCreateCaseAction
    EndAssociatedTasksActions []RuleEndAssociatedTasksAction
    EventBridgeActions []RuleEventBridgeAction
    Information about the EventBridge action.
    SendNotificationActions []RuleSendNotificationAction
    Information about the send notification action.
    SubmitAutoEvaluationActions []RuleSubmitAutoEvaluationAction
    TaskActions []RuleTaskAction
    Information about the task action. This field is required if TriggerEventSource is one of the following values: OnZendeskTicketCreate | OnZendeskTicketStatusUpdate | OnSalesforceCaseCreate
    UpdateCaseActions []RuleUpdateCaseAction
    assignContactCategoryActions List<RuleAssignContactCategoryAction>
    Information about the contact category action. The syntax can be empty, for example, {} .
    createCaseActions List<RuleCreateCaseAction>
    endAssociatedTasksActions List<RuleEndAssociatedTasksAction>
    eventBridgeActions List<RuleEventBridgeAction>
    Information about the EventBridge action.
    sendNotificationActions List<RuleSendNotificationAction>
    Information about the send notification action.
    submitAutoEvaluationActions List<RuleSubmitAutoEvaluationAction>
    taskActions List<RuleTaskAction>
    Information about the task action. This field is required if TriggerEventSource is one of the following values: OnZendeskTicketCreate | OnZendeskTicketStatusUpdate | OnSalesforceCaseCreate
    updateCaseActions List<RuleUpdateCaseAction>
    assignContactCategoryActions RuleAssignContactCategoryAction[]
    Information about the contact category action. The syntax can be empty, for example, {} .
    createCaseActions RuleCreateCaseAction[]
    endAssociatedTasksActions RuleEndAssociatedTasksAction[]
    eventBridgeActions RuleEventBridgeAction[]
    Information about the EventBridge action.
    sendNotificationActions RuleSendNotificationAction[]
    Information about the send notification action.
    submitAutoEvaluationActions RuleSubmitAutoEvaluationAction[]
    taskActions RuleTaskAction[]
    Information about the task action. This field is required if TriggerEventSource is one of the following values: OnZendeskTicketCreate | OnZendeskTicketStatusUpdate | OnSalesforceCaseCreate
    updateCaseActions RuleUpdateCaseAction[]
    assign_contact_category_actions Sequence[RuleAssignContactCategoryAction]
    Information about the contact category action. The syntax can be empty, for example, {} .
    create_case_actions Sequence[RuleCreateCaseAction]
    end_associated_tasks_actions Sequence[RuleEndAssociatedTasksAction]
    event_bridge_actions Sequence[RuleEventBridgeAction]
    Information about the EventBridge action.
    send_notification_actions Sequence[RuleSendNotificationAction]
    Information about the send notification action.
    submit_auto_evaluation_actions Sequence[RuleSubmitAutoEvaluationAction]
    task_actions Sequence[RuleTaskAction]
    Information about the task action. This field is required if TriggerEventSource is one of the following values: OnZendeskTicketCreate | OnZendeskTicketStatusUpdate | OnSalesforceCaseCreate
    update_case_actions Sequence[RuleUpdateCaseAction]
    assignContactCategoryActions List<Property Map>
    Information about the contact category action. The syntax can be empty, for example, {} .
    createCaseActions List<Property Map>
    endAssociatedTasksActions List<Property Map>
    eventBridgeActions List<Property Map>
    Information about the EventBridge action.
    sendNotificationActions List<Property Map>
    Information about the send notification action.
    submitAutoEvaluationActions List<Property Map>
    taskActions List<Property Map>
    Information about the task action. This field is required if TriggerEventSource is one of the following values: OnZendeskTicketCreate | OnZendeskTicketStatusUpdate | OnSalesforceCaseCreate
    updateCaseActions List<Property Map>

    RuleCreateCaseAction

    Fields []RuleField
    TemplateId string
    The Id of template.
    fields List<RuleField>
    templateId String
    The Id of template.
    fields RuleField[]
    templateId string
    The Id of template.
    fields Sequence[RuleField]
    template_id str
    The Id of template.
    fields List<Property Map>
    templateId 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 RuleFieldValue
    id String
    The Id of the field
    value RuleFieldValue
    id string
    The Id of the field
    value RuleFieldValue
    id str
    The Id of the field
    value RuleFieldValue
    id String
    The Id of the field
    value Property Map

    RuleFieldValue

    BooleanValue bool
    DoubleValue float64
    EmptyValue interface{}
    StringValue string

    RuleNotificationRecipientType

    UserArns List<string>
    The list of recipients by user arns.
    UserTags Dictionary<string, string>
    The collection of recipients who are identified by user tags
    UserArns []string
    The list of recipients by user arns.
    UserTags map[string]string
    The collection of recipients who are identified by user tags
    userArns List<String>
    The list of recipients by user arns.
    userTags Map<String,String>
    The collection of recipients who are identified by user tags
    userArns string[]
    The list of recipients by user arns.
    userTags {[key: string]: string}
    The collection of recipients who are identified by user tags
    user_arns Sequence[str]
    The list of recipients by user arns.
    user_tags Mapping[str, str]
    The collection of recipients who are identified by user tags
    userArns List<String>
    The list of recipients by user arns.
    userTags Map<String>
    The collection of recipients who are identified by user tags

    RulePublishStatus

    RuleReference

    RuleReferenceType

    RuleSendNotificationAction

    Content string
    The content of notification.
    ContentType RuleSendNotificationActionContentType
    The type of content.
    DeliveryMethod RuleSendNotificationActionDeliveryMethod
    The means of delivery.
    Recipient RuleNotificationRecipientType
    Subject string
    The subject of notification.
    content String
    The content of notification.
    contentType RuleSendNotificationActionContentType
    The type of content.
    deliveryMethod RuleSendNotificationActionDeliveryMethod
    The means of delivery.
    recipient RuleNotificationRecipientType
    subject String
    The subject of notification.
    content string
    The content of notification.
    contentType RuleSendNotificationActionContentType
    The type of content.
    deliveryMethod RuleSendNotificationActionDeliveryMethod
    The means of delivery.
    recipient RuleNotificationRecipientType
    subject string
    The subject of notification.
    content str
    The content of notification.
    content_type RuleSendNotificationActionContentType
    The type of content.
    delivery_method RuleSendNotificationActionDeliveryMethod
    The means of delivery.
    recipient RuleNotificationRecipientType
    subject str
    The subject of notification.
    content String
    The content of notification.
    contentType "PLAIN_TEXT"
    The type of content.
    deliveryMethod "EMAIL"
    The means of delivery.
    recipient Property Map
    subject String
    The subject of notification.

    RuleSendNotificationActionContentType

    RuleSendNotificationActionDeliveryMethod

    RuleSubmitAutoEvaluationAction

    EvaluationFormArn string
    The Amazon Resource Name (ARN) of the evaluation form.
    EvaluationFormArn string
    The Amazon Resource Name (ARN) of the evaluation form.
    evaluationFormArn String
    The Amazon Resource Name (ARN) of the evaluation form.
    evaluationFormArn string
    The Amazon Resource Name (ARN) of the evaluation form.
    evaluation_form_arn str
    The Amazon Resource Name (ARN) of the evaluation form.
    evaluationFormArn String
    The Amazon Resource Name (ARN) of the evaluation form.

    RuleTaskAction

    ContactFlowArn string
    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.AwsNative.Connect.Inputs.RuleReference>
    A formatted URL that is shown to an agent in the Contact Control Panel (CCP).
    ContactFlowArn string
    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]RuleReference
    A formatted URL that is shown to an agent in the Contact Control Panel (CCP).
    contactFlowArn String
    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,RuleReference>
    A formatted URL that is shown to an agent in the Contact Control Panel (CCP).
    contactFlowArn string
    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]: RuleReference}
    A formatted URL that is shown to an agent in the Contact Control Panel (CCP).
    contact_flow_arn str
    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, RuleReference]
    A formatted URL that is shown to an agent in the Contact Control Panel (CCP).
    contactFlowArn String
    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

    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi