Class CfnApplicationInferenceProfilePropsMixin
Specifies an inference profile as a resource in a top-level template.
Implements
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.Bedrock
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnApplicationInferenceProfilePropsMixin : Mixin, IMixin
Syntax (vb)
Public Class CfnApplicationInferenceProfilePropsMixin Inherits Mixin Implements IMixin
Remarks
Use the ModelSource field to specify the inference profile to copy into the resource. For more information about using inference profiles in Amazon Bedrock , see Improve resilience with cross-region inference .
See the Properties section below for descriptions of both the required and optional properties.
CloudformationResource: AWS::Bedrock::ApplicationInferenceProfile
Mixin: true
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.Bedrock;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnApplicationInferenceProfilePropsMixin = new CfnApplicationInferenceProfilePropsMixin(new CfnApplicationInferenceProfileMixinProps {
Description = "description",
InferenceProfileName = "inferenceProfileName",
ModelSource = new InferenceProfileModelSourceProperty {
CopyFrom = "copyFrom"
},
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Synopsis
Constructors
| CfnApplicationInferenceProfilePropsMixin(ICfnApplicationInferenceProfileMixinProps, ICfnPropertyMixinOptions?) | Create a mixin to apply properties to |
Properties
| CFN_PROPERTY_KEYS | Specifies an inference profile as a resource in a top-level template. |
| Props | Specifies an inference profile as a resource in a top-level template. |
| Strategy | Specifies an inference profile as a resource in a top-level template. |
Methods
| ApplyTo(IConstruct) | Apply the mixin properties to the construct. |
| Supports(IConstruct) | Check if this mixin supports the given construct. |
Constructors
CfnApplicationInferenceProfilePropsMixin(ICfnApplicationInferenceProfileMixinProps, ICfnPropertyMixinOptions?)
Create a mixin to apply properties to AWS::Bedrock::ApplicationInferenceProfile.
public CfnApplicationInferenceProfilePropsMixin(ICfnApplicationInferenceProfileMixinProps props, ICfnPropertyMixinOptions? options = null)
Parameters
- props ICfnApplicationInferenceProfileMixinProps
L1 properties to apply.
- options ICfnPropertyMixinOptions
Mixin options.
Remarks
Use the ModelSource field to specify the inference profile to copy into the resource. For more information about using inference profiles in Amazon Bedrock , see Improve resilience with cross-region inference .
See the Properties section below for descriptions of both the required and optional properties.
CloudformationResource: AWS::Bedrock::ApplicationInferenceProfile
Mixin: true
ExampleMetadata: fixture=_generated
Properties
CFN_PROPERTY_KEYS
Specifies an inference profile as a resource in a top-level template.
protected static string[] CFN_PROPERTY_KEYS { get; }
Property Value
string[]
Remarks
Use the ModelSource field to specify the inference profile to copy into the resource. For more information about using inference profiles in Amazon Bedrock , see Improve resilience with cross-region inference .
See the Properties section below for descriptions of both the required and optional properties.
CloudformationResource: AWS::Bedrock::ApplicationInferenceProfile
Mixin: true
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.Bedrock;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnApplicationInferenceProfilePropsMixin = new CfnApplicationInferenceProfilePropsMixin(new CfnApplicationInferenceProfileMixinProps {
Description = "description",
InferenceProfileName = "inferenceProfileName",
ModelSource = new InferenceProfileModelSourceProperty {
CopyFrom = "copyFrom"
},
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Props
Specifies an inference profile as a resource in a top-level template.
protected virtual ICfnApplicationInferenceProfileMixinProps Props { get; }
Property Value
ICfnApplicationInferenceProfileMixinProps
Remarks
Use the ModelSource field to specify the inference profile to copy into the resource. For more information about using inference profiles in Amazon Bedrock , see Improve resilience with cross-region inference .
See the Properties section below for descriptions of both the required and optional properties.
CloudformationResource: AWS::Bedrock::ApplicationInferenceProfile
Mixin: true
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.Bedrock;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnApplicationInferenceProfilePropsMixin = new CfnApplicationInferenceProfilePropsMixin(new CfnApplicationInferenceProfileMixinProps {
Description = "description",
InferenceProfileName = "inferenceProfileName",
ModelSource = new InferenceProfileModelSourceProperty {
CopyFrom = "copyFrom"
},
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Strategy
Specifies an inference profile as a resource in a top-level template.
protected virtual IMergeStrategy Strategy { get; }
Property Value
Remarks
Use the ModelSource field to specify the inference profile to copy into the resource. For more information about using inference profiles in Amazon Bedrock , see Improve resilience with cross-region inference .
See the Properties section below for descriptions of both the required and optional properties.
CloudformationResource: AWS::Bedrock::ApplicationInferenceProfile
Mixin: true
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.Bedrock;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnApplicationInferenceProfilePropsMixin = new CfnApplicationInferenceProfilePropsMixin(new CfnApplicationInferenceProfileMixinProps {
Description = "description",
InferenceProfileName = "inferenceProfileName",
ModelSource = new InferenceProfileModelSourceProperty {
CopyFrom = "copyFrom"
},
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Methods
ApplyTo(IConstruct)
Apply the mixin properties to the construct.
public override void ApplyTo(IConstruct construct)
Parameters
- construct IConstruct
Overrides
Remarks
Use the ModelSource field to specify the inference profile to copy into the resource. For more information about using inference profiles in Amazon Bedrock , see Improve resilience with cross-region inference .
See the Properties section below for descriptions of both the required and optional properties.
CloudformationResource: AWS::Bedrock::ApplicationInferenceProfile
Mixin: true
ExampleMetadata: fixture=_generated
Supports(IConstruct)
Check if this mixin supports the given construct.
public override bool Supports(IConstruct construct)
Parameters
- construct IConstruct
Returns
Overrides
Remarks
Use the ModelSource field to specify the inference profile to copy into the resource. For more information about using inference profiles in Amazon Bedrock , see Improve resilience with cross-region inference .
See the Properties section below for descriptions of both the required and optional properties.
CloudformationResource: AWS::Bedrock::ApplicationInferenceProfile
Mixin: true
ExampleMetadata: fixture=_generated