interface IInferenceProfile
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Bedrock.Alpha.IInferenceProfile |
![]() | github.com/aws/aws-cdk-go/awsbedrockalpha/v2#IInferenceProfile |
![]() | software.amazon.awscdk.services.bedrock.alpha.IInferenceProfile |
![]() | aws_cdk.aws_bedrock_alpha.IInferenceProfile |
![]() | @aws-cdk/aws-bedrock-alpha ยป IInferenceProfile |
Implemented by
Application
, Cross
Obtainable from
Application
.fromApplicationInferenceProfileAttributes()
, Application
.fromCfnApplicationInferenceProfile()
Represents an Inference Profile, either created with CDK or imported.
Properties
Name | Type | Description |
---|---|---|
inference | string | The ARN of the inference profile. |
inference | string | The unique identifier of the inference profile. |
type | Inference | The type of inference profile. |
inferenceProfileArn
Type:
string
The ARN of the inference profile.
inferenceProfileId
Type:
string
The unique identifier of the inference profile.
type
Type:
Inference
The type of inference profile.
Methods
Name | Description |
---|---|
grant | Grants appropriate permissions to use the inference profile. |
grantProfileUsage(grantee)
public grantProfileUsage(grantee: IGrantable): Grant
Parameters
- grantee
IGrantable
โ - The IAM principal to grant permissions to.
Returns
Grants appropriate permissions to use the inference profile.
Each profile type requires different permissions based on its usage pattern.