Class CfnGatewayRuleMixinProps
Properties for CfnGatewayRulePropsMixin.
Implements
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.BedrockAgentCore
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnGatewayRuleMixinProps : ICfnGatewayRuleMixinProps
Syntax (vb)
Public Class CfnGatewayRuleMixinProps Implements ICfnGatewayRuleMixinProps
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.BedrockAgentCore;
var cfnGatewayRuleMixinProps = new CfnGatewayRuleMixinProps {
Actions = new [] { new ActionProperty {
ConfigurationBundle = new ConfigurationBundleActionProperty {
StaticOverride = new StaticOverrideProperty {
BundleArn = "bundleArn",
BundleVersion = "bundleVersion"
},
WeightedOverride = new WeightedOverrideProperty {
TrafficSplit = new [] { new TrafficSplitEntryProperty {
ConfigurationBundle = new ConfigurationBundleReferenceProperty {
BundleArn = "bundleArn",
BundleVersion = "bundleVersion"
},
Description = "description",
Metadata = new Dictionary<string, string> {
{ "metadataKey", "metadata" }
},
Name = "name",
Weight = 123
} }
}
},
RouteToTarget = new RouteToTargetActionProperty {
StaticRoute = new StaticRouteProperty {
TargetName = "targetName"
},
WeightedRoute = new WeightedRouteProperty {
TrafficSplit = new [] { new TargetTrafficSplitEntryProperty {
Description = "description",
Metadata = new Dictionary<string, string> {
{ "metadataKey", "metadata" }
},
Name = "name",
TargetName = "targetName",
Weight = 123
} }
}
}
} },
Conditions = new [] { new ConditionProperty {
MatchPaths = new MatchPathsProperty {
AnyOf = new [] { "anyOf" }
},
MatchPrincipals = new MatchPrincipalsProperty {
AnyOf = new [] { new MatchPrincipalEntryProperty {
IamPrincipal = new IamPrincipalProperty {
Arn = "arn",
Operator = "operator"
}
} }
}
} },
Description = "description",
GatewayIdentifier = "gatewayIdentifier",
Priority = 123
};
Synopsis
Constructors
| CfnGatewayRuleMixinProps() | Properties for CfnGatewayRulePropsMixin. |
Properties
| Actions | Properties for CfnGatewayRulePropsMixin. |
| Conditions | Properties for CfnGatewayRulePropsMixin. |
| Description | Properties for CfnGatewayRulePropsMixin. |
| GatewayIdentifier | Properties for CfnGatewayRulePropsMixin. |
| Priority | Properties for CfnGatewayRulePropsMixin. |
Constructors
CfnGatewayRuleMixinProps()
Properties for CfnGatewayRulePropsMixin.
public CfnGatewayRuleMixinProps()
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.BedrockAgentCore;
var cfnGatewayRuleMixinProps = new CfnGatewayRuleMixinProps {
Actions = new [] { new ActionProperty {
ConfigurationBundle = new ConfigurationBundleActionProperty {
StaticOverride = new StaticOverrideProperty {
BundleArn = "bundleArn",
BundleVersion = "bundleVersion"
},
WeightedOverride = new WeightedOverrideProperty {
TrafficSplit = new [] { new TrafficSplitEntryProperty {
ConfigurationBundle = new ConfigurationBundleReferenceProperty {
BundleArn = "bundleArn",
BundleVersion = "bundleVersion"
},
Description = "description",
Metadata = new Dictionary<string, string> {
{ "metadataKey", "metadata" }
},
Name = "name",
Weight = 123
} }
}
},
RouteToTarget = new RouteToTargetActionProperty {
StaticRoute = new StaticRouteProperty {
TargetName = "targetName"
},
WeightedRoute = new WeightedRouteProperty {
TrafficSplit = new [] { new TargetTrafficSplitEntryProperty {
Description = "description",
Metadata = new Dictionary<string, string> {
{ "metadataKey", "metadata" }
},
Name = "name",
TargetName = "targetName",
Weight = 123
} }
}
}
} },
Conditions = new [] { new ConditionProperty {
MatchPaths = new MatchPathsProperty {
AnyOf = new [] { "anyOf" }
},
MatchPrincipals = new MatchPrincipalsProperty {
AnyOf = new [] { new MatchPrincipalEntryProperty {
IamPrincipal = new IamPrincipalProperty {
Arn = "arn",
Operator = "operator"
}
} }
}
} },
Description = "description",
GatewayIdentifier = "gatewayIdentifier",
Priority = 123
};
Properties
Actions
Properties for CfnGatewayRulePropsMixin.
public object? Actions { get; set; }
Property Value
Remarks
Conditions
Properties for CfnGatewayRulePropsMixin.
public object? Conditions { get; set; }
Property Value
Remarks
Description
Properties for CfnGatewayRulePropsMixin.
public string? Description { get; set; }
Property Value
Remarks
GatewayIdentifier
Properties for CfnGatewayRulePropsMixin.
public string? GatewayIdentifier { get; set; }
Property Value
Remarks
Priority
Properties for CfnGatewayRulePropsMixin.
public double? Priority { get; set; }