Class EventRuleArgs.Builder

  • Enclosing class:
    EventRuleArgs

    public static final class EventRuleArgs.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • eventPattern

        public EventRuleArgs.Builder eventPattern​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> eventPattern)
        Parameters:
        eventPattern - JSON string defining the event pattern to match. Maximum length is 4096 characters.
        Returns:
        builder
      • eventPattern

        public EventRuleArgs.Builder eventPattern​(java.lang.String eventPattern)
        Parameters:
        eventPattern - JSON string defining the event pattern to match. Maximum length is 4096 characters.
        Returns:
        builder
      • eventType

        public EventRuleArgs.Builder eventType​(com.pulumi.core.Output<java.lang.String> eventType)
        Parameters:
        eventType - Type of event to match. Must be between 1 and 128 characters, and match the pattern `([a-zA-Z0-9 \-\(\)])+`.
        Returns:
        builder
      • eventType

        public EventRuleArgs.Builder eventType​(java.lang.String eventType)
        Parameters:
        eventType - Type of event to match. Must be between 1 and 128 characters, and match the pattern `([a-zA-Z0-9 \-\(\)])+`.
        Returns:
        builder
      • notificationConfigurationArn

        public EventRuleArgs.Builder notificationConfigurationArn​(com.pulumi.core.Output<java.lang.String> notificationConfigurationArn)
        Parameters:
        notificationConfigurationArn - ARN of the notification configuration to associate with this event rule. Must match the pattern `arn:aws:notifications::[0-9]{12}:configuration/[a-z0-9]{27}`.
        Returns:
        builder
      • notificationConfigurationArn

        public EventRuleArgs.Builder notificationConfigurationArn​(java.lang.String notificationConfigurationArn)
        Parameters:
        notificationConfigurationArn - ARN of the notification configuration to associate with this event rule. Must match the pattern `arn:aws:notifications::[0-9]{12}:configuration/[a-z0-9]{27}`.
        Returns:
        builder
      • regions

        public EventRuleArgs.Builder regions​(com.pulumi.core.Output<java.util.List<java.lang.String>> regions)
        Parameters:
        regions - Set of AWS regions where the event rule will be applied. Each region must be between 2 and 25 characters, and match the pattern `([a-z]{1,2})-([a-z]{1,15}-)+([0-9])`.
        Returns:
        builder
      • regions

        public EventRuleArgs.Builder regions​(java.util.List<java.lang.String> regions)
        Parameters:
        regions - Set of AWS regions where the event rule will be applied. Each region must be between 2 and 25 characters, and match the pattern `([a-z]{1,2})-([a-z]{1,15}-)+([0-9])`.
        Returns:
        builder
      • regions

        public EventRuleArgs.Builder regions​(java.lang.String... regions)
        Parameters:
        regions - Set of AWS regions where the event rule will be applied. Each region must be between 2 and 25 characters, and match the pattern `([a-z]{1,2})-([a-z]{1,15}-)+([0-9])`.
        Returns:
        builder
      • source

        public EventRuleArgs.Builder source​(com.pulumi.core.Output<java.lang.String> source)
        Parameters:
        source - Source of the event. Must be between 1 and 36 characters, and match the pattern `aws.([a-z0-9\-])+`. The following arguments are optional:
        Returns:
        builder
      • source

        public EventRuleArgs.Builder source​(java.lang.String source)
        Parameters:
        source - Source of the event. Must be between 1 and 36 characters, and match the pattern `aws.([a-z0-9\-])+`. The following arguments are optional:
        Returns:
        builder