Class EmailForwardingRuleSet.Builder

    • Method Detail

      • emailForwardingProps

        @Stability(Stable)
        public EmailForwardingRuleSet.Builder emailForwardingProps​(List<? extends EmailForwardingProps> emailForwardingProps)
        A list of mapping options to define how emails should be forwarded.

        Parameters:
        emailForwardingProps - A list of mapping options to define how emails should be forwarded. This parameter is required.
        Returns:
        this
      • enableRuleSet

        @Stability(Stable)
        public EmailForwardingRuleSet.Builder enableRuleSet​(Boolean enableRuleSet)
        Optional: whether to enable the rule set or not.

        Default: true

        Parameters:
        enableRuleSet - Optional: whether to enable the rule set or not. This parameter is required.
        Returns:
        this
      • ruleSet

        @Stability(Stable)
        public EmailForwardingRuleSet.Builder ruleSet​(software.amazon.awscdk.services.ses.IReceiptRuleSet ruleSet)
        Optional: an existing SES receipt rule set.

        If none is provided, a new one will be created using the name provided with ruleSetName or a default one.

        Parameters:
        ruleSet - Optional: an existing SES receipt rule set. This parameter is required.
        Returns:
        this
      • ruleSetName

        @Stability(Stable)
        public EmailForwardingRuleSet.Builder ruleSetName​(String ruleSetName)
        Optional: provide a name for the receipt rule set that this construct creates if you don't provide one.

        Default: custom-rule-set

        Parameters:
        ruleSetName - Optional: provide a name for the receipt rule set that this construct creates if you don't provide one. This parameter is required.
        Returns:
        this