# RuleStringToEvaluateProperty

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.

- Source: Generated at build time
- Type last changed: v2.251.0 · 24 Apr 2026

## Example

TypeScript:

```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:

```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:

```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();
```

C# / .NET:

```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"
};
```

Golang:

```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

- `analysis`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnMailManagerRuleSet.AnalysisProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ses.CfnMailManagerRuleSet.AnalysisProperty.html) — The Add On ARN and its returned value to evaluate in a string condition expression.

- `attribute`: string — The email attribute to evaluate in a string condition expression.

- `clientCertificateAttribute`: string

- `mimeHeaderAttribute`: string — The email MIME X-Header attribute to evaluate in a string condition expression.
