IInferenceProfile

class aws_cdk.aws_bedrock_alpha.IInferenceProfile(*args, **kwargs)

Bases: Protocol

(experimental) Represents an Inference Profile, either created with CDK or imported.

Stability:

experimental

Methods

grant_profile_usage(grantee)

(experimental) Grants appropriate permissions to use the inference profile.

Each profile type requires different permissions based on its usage pattern.

Parameters:

grantee (IGrantable) –

  • The IAM principal to grant permissions to.

Return type:

Grant

Returns:

An IAM Grant object representing the granted permissions

Stability:

experimental

Attributes

inference_profile_arn

(experimental) The ARN of the inference profile.

Stability:

experimental

Attribute:

true

inference_profile_id

(experimental) The unique identifier of the inference profile.

Stability:

experimental

Attribute:

true

type

(experimental) The type of inference profile.

Stability:

experimental