Skip to content
v2.278.0

CfnContextTrust Struct Added in v2.278.0 ​

Provenance and confidence for context.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as cdk from 'aws-cdk-lib';
const cfnContextTrust: cdk.CfnContextTrust = {
  conf: cdk.CfnContextTrustConfidence.HIGH,
  src: cdk.CfnContextTrustSource.AUTHORED,

  // the properties below are optional
  cite: 'cite',
  note: 'note',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk as cdk

cfn_context_trust = cdk.CfnContextTrust(
    conf=cdk.CfnContextTrustConfidence.HIGH,
    src=cdk.CfnContextTrustSource.AUTHORED,

    # the properties below are optional
    cite="cite",
    note="note"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.*;

CfnContextTrust cfnContextTrust = CfnContextTrust.builder()
        .conf(CfnContextTrustConfidence.HIGH)
        .src(CfnContextTrustSource.AUTHORED)

        // the properties below are optional
        .cite("cite")
        .note("note")
        .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;

var cfnContextTrust = new CfnContextTrust {
    Conf = CfnContextTrustConfidence.HIGH,
    Src = CfnContextTrustSource.AUTHORED,

    // the properties below are optional
    Cite = "cite",
    Note = "note"
};
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"

cfnContextTrust := &CfnContextTrust{
	Conf: cdk.CfnContextTrustConfidence_HIGH,
	Src: cdk.CfnContextTrustSource_AUTHORED,

	// the properties below are optional
	Cite: jsii.String("cite"),
	Note: jsii.String("note"),
}

Properties ​

citeoptionalstringciteoptionalstrciteoptionalStringCiteoptionalstringCiteoptional*string #
Reference to the source of the context.

Default: no citation

noteoptionalstringnoteoptionalstrnoteoptionalStringNoteoptionalstringNoteoptional*string #
Additional provenance details.

Default: no note