Skip to content
v2.277.0

ReceiptRuleAttributes Struct ​

Properties of a reference to an existing receipt rule.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ses as ses } from 'aws-cdk-lib';
import { aws_ses as interfaces_ses } from 'aws-cdk-lib/interfaces';

declare const receiptRuleSetRef: interfaces_ses.IReceiptRuleSetRef;
const receiptRuleAttributes: ses.ReceiptRuleAttributes = {
  receiptRuleName: 'receiptRuleName',
  ruleSet: receiptRuleSetRef,
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_ses as ses
from aws_cdk.interfaces import aws_ses as interfaces_ses

# receipt_rule_set_ref: interfaces_ses.IReceiptRuleSetRef

receipt_rule_attributes = ses.ReceiptRuleAttributes(
    receipt_rule_name="receiptRuleName",
    rule_set=receipt_rule_set_ref
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.ses.*;
import software.amazon.awscdk.interfaces.ses.*;

IReceiptRuleSetRef receiptRuleSetRef;

ReceiptRuleAttributes receiptRuleAttributes = ReceiptRuleAttributes.builder()
        .receiptRuleName("receiptRuleName")
        .ruleSet(receiptRuleSetRef)
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.SES;
using Amazon.CDK.Interfaces.SES;

IReceiptRuleSetRef receiptRuleSetRef;

var receiptRuleAttributes = new ReceiptRuleAttributes {
    ReceiptRuleName = "receiptRuleName",
    RuleSet = receiptRuleSetRef
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
import "github.com/aws/aws-cdk-go/awscdk"

var receiptRuleSetRef IReceiptRuleSetRef

receiptRuleAttributes := &ReceiptRuleAttributes{
	ReceiptRuleName: jsii.String("receiptRuleName"),
	RuleSet: receiptRuleSetRef,
}

Properties ​

receiptRuleNamestringreceipt_rule_namestrreceiptRuleNameStringReceiptRuleNamestringReceiptRuleName*stringrequired#
The name of the receipt rule.
The rule set that the receipt rule belongs to.