Skip to content
v2.275.0

CfnConsentPortalProps Struct Added in v2.275.0 ​

Properties for defining a CfnConsentPortal.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_bedrockagentcore as bedrockagentcore } from 'aws-cdk-lib';
const cfnConsentPortalProps: bedrockagentcore.CfnConsentPortalProps = {
  executionRoleArn: 'executionRoleArn',
  idpConfig: {
    credentialProviderArn: 'credentialProviderArn',
    scopes: ['scopes'],

    // the properties below are optional
    audience: 'audience',
  },
  name: 'name',
  sources: [{
    identifier: 'identifier',
    type: 'type',
  }],

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

Properties ​

descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string#
executionRoleArnstringexecution_role_arnstrexecutionRoleArnStringExecutionRoleArnstringExecutionRoleArn*stringrequired#
idpConfigIResolvable | CfnConsentPortal.IdpConfigPropertyidp_configtyping.Union[IResolvable, IdpConfigProperty]idpConfigIResolvableIdpConfigIResolvableIdpConfiginterface{}required#
namestringnamestrnameStringNamestringName*stringrequired#
sourcesIResolvable | IResolvable | CfnConsentPortal.ConsentPortalSourceProperty[]sourcestyping.Union[IResolvable, typing.List[typing.Union[IResolvable, ConsentPortalSourceProperty]]]sourcesIResolvableSourcesIResolvableSourcesinterface{}required#
tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag#
Tags to assign to the consent portal.