Skip to content
v2.278.0

AnalysisProperty Struct ​

The result of an analysis can be used in conditions to trigger actions.

Analyses can inspect the email content and report a certain aspect of the email.

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 analysisProperty: ses.CfnMailManagerRuleSet.AnalysisProperty = {
  analyzer: 'analyzer',
  resultField: 'resultField',
};
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

analysis_property = ses.CfnMailManagerRuleSet.AnalysisProperty(
    analyzer="analyzer",
    result_field="resultField"
)
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.*;

AnalysisProperty analysisProperty = AnalysisProperty.builder()
        .analyzer("analyzer")
        .resultField("resultField")
        .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 analysisProperty = new AnalysisProperty {
    Analyzer = "analyzer",
    ResultField = "resultField"
};
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"

analysisProperty := &AnalysisProperty{
	Analyzer: jsii.String("analyzer"),
	ResultField: jsii.String("resultField"),
}

Properties ​

analyzerstringanalyzerstranalyzerStringAnalyzerstringAnalyzer*string required #
The Amazon Resource Name (ARN) of an Add On.
resultFieldstringresult_fieldstrresultFieldStringResultFieldstringResultField*string required #
The returned value from an Add On.