aws-cdk-lib.aws_rolesanywhere.CfnTrustAnchorProps

interface CfnTrustAnchorProps

LanguageType name
.NETAmazon.CDK.AWS.RolesAnywhere.CfnTrustAnchorProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsrolesanywhere#CfnTrustAnchorProps
Javasoftware.amazon.awscdk.services.rolesanywhere.CfnTrustAnchorProps
Pythonaws_cdk.aws_rolesanywhere.CfnTrustAnchorProps
TypeScript aws-cdk-lib » aws_rolesanywhere » CfnTrustAnchorProps

Properties for defining a CfnTrustAnchor.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_rolesanywhere as rolesanywhere } from 'aws-cdk-lib';
const cfnTrustAnchorProps: rolesanywhere.CfnTrustAnchorProps = {
  name: 'name',
  source: {
    sourceData: {
      acmPcaArn: 'acmPcaArn',
      x509CertificateData: 'x509CertificateData',
    },
    sourceType: 'sourceType',
  },

  // the properties below are optional
  enabled: false,
  tags: [{
    key: 'key',
    value: 'value',
  }],
};

Properties

NameTypeDescription
namestringThe name of the trust anchor.
sourceIResolvable | SourcePropertyThe trust anchor type and its related certificate data.
enabled?boolean | IResolvableIndicates whether the trust anchor is enabled.
tags?CfnTag[]The tags to attach to the trust anchor.

name

Type: string

The name of the trust anchor.


source

Type: IResolvable | SourceProperty

The trust anchor type and its related certificate data.


enabled?

Type: boolean | IResolvable (optional)

Indicates whether the trust anchor is enabled.


tags?

Type: CfnTag[] (optional)

The tags to attach to the trust anchor.