Skip to content
v2.278.0

RuleStringToEvaluateProperty Struct ​

The string to evaluate in a string condition expression.

This data type is a UNION, so only one of the following members can be specified when used or returned.

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';
const ruleStringToEvaluateProperty: ses.CfnMailManagerRuleSet.RuleStringToEvaluateProperty = {
  analysis: {
    analyzer: 'analyzer',
    resultField: 'resultField',
  },
  attribute: 'attribute',
  clientCertificateAttribute: 'clientCertificateAttribute',
  mimeHeaderAttribute: 'mimeHeaderAttribute',
};
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

rule_string_to_evaluate_property = ses.CfnMailManagerRuleSet.RuleStringToEvaluateProperty(
    analysis=ses.CfnMailManagerRuleSet.AnalysisProperty(
        analyzer="analyzer",
        result_field="resultField"
    ),
    attribute="attribute",
    client_certificate_attribute="clientCertificateAttribute",
    mime_header_attribute="mimeHeaderAttribute"
)
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.*;

RuleStringToEvaluateProperty ruleStringToEvaluateProperty = RuleStringToEvaluateProperty.builder()
        .analysis(AnalysisProperty.builder()
                .analyzer("analyzer")
                .resultField("resultField")
                .build())
        .attribute("attribute")
        .clientCertificateAttribute("clientCertificateAttribute")
        .mimeHeaderAttribute("mimeHeaderAttribute")
        .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;

var ruleStringToEvaluateProperty = new RuleStringToEvaluateProperty {
    Analysis = new AnalysisProperty {
        Analyzer = "analyzer",
        ResultField = "resultField"
    },
    Attribute = "attribute",
    ClientCertificateAttribute = "clientCertificateAttribute",
    MimeHeaderAttribute = "mimeHeaderAttribute"
};
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"

ruleStringToEvaluateProperty := &RuleStringToEvaluateProperty{
	Analysis: &AnalysisProperty{
		Analyzer: jsii.String("analyzer"),
		ResultField: jsii.String("resultField"),
	},
	Attribute: jsii.String("attribute"),
	ClientCertificateAttribute: jsii.String("clientCertificateAttribute"),
	MimeHeaderAttribute: jsii.String("mimeHeaderAttribute"),
}

Properties ​

analysisoptionalIResolvable | CfnMailManagerRuleSet.AnalysisPropertyanalysisoptionaltyping.Union[IResolvable, AnalysisProperty]analysisoptionalIResolvableAnalysisoptionalIResolvableAnalysisoptionalinterface{} #
The Add On ARN and its returned value to evaluate in a string condition expression.
attributeoptionalstringattributeoptionalstrattributeoptionalStringAttributeoptionalstringAttributeoptional*string #
The email attribute to evaluate in a string condition expression.
clientCertificateAttributeoptionalstringclient_certificate_attributeoptionalstrclientCertificateAttributeoptionalStringClientCertificateAttributeoptionalstringClientCertificateAttributeoptional*string #
mimeHeaderAttributeoptionalstringmime_header_attributeoptionalstrmimeHeaderAttributeoptionalStringMimeHeaderAttributeoptionalstringMimeHeaderAttributeoptional*string #
The email MIME X-Header attribute to evaluate in a string condition expression.