Skip to content
v2.275.0

ConditionProperty Struct ​

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 conditionProperty: bedrockagentcore.CfnGatewayRule.ConditionProperty = {
  matchPaths: {
    anyOf: ['anyOf'],
  },
  matchPrincipals: {
    anyOf: [{
      iamPrincipal: {
        arn: 'arn',

        // the properties below are optional
        operator: 'operator',
      },
    }],
  },
};

Properties ​

matchPathsoptionalIResolvable | CfnGatewayRule.MatchPathsPropertymatch_pathsoptionaltyping.Union[IResolvable, MatchPathsProperty]matchPathsoptionalIResolvableMatchPathsoptionalIResolvableMatchPathsoptionalinterface{}#
matchPrincipalsoptionalIResolvable | CfnGatewayRule.MatchPrincipalsPropertymatch_principalsoptionaltyping.Union[IResolvable, MatchPrincipalsProperty]matchPrincipalsoptionalIResolvableMatchPrincipalsoptionalIResolvableMatchPrincipalsoptionalinterface{}#