CfnModelInvocationJobPropsMixin

class aws_cdk.cfn_property_mixins.aws_bedrock.CfnModelInvocationJobPropsMixin(props, *, strategy=None)

Bases: Mixin

Resource Type definition for AWS::Bedrock::ModelInvocationJob.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-modelinvocationjob.html

CloudformationResource:

AWS::Bedrock::ModelInvocationJob

Mixin:

true

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.cfn_property_mixins import aws_bedrock as bedrock
import aws_cdk as cdk

# merge_strategy: cdk.IMergeStrategy

cfn_model_invocation_job_props_mixin = bedrock.CfnModelInvocationJobPropsMixin(bedrock.CfnModelInvocationJobMixinProps(),
    strategy=merge_strategy
)

Create a mixin to apply properties to AWS::Bedrock::ModelInvocationJob.

Parameters:

Methods

apply_to(construct)

Apply the mixin properties to the construct.

Parameters:

construct (IConstruct)

Return type:

None

supports(construct)

Check if this mixin supports the given construct.

Parameters:

construct (IConstruct)

Return type:

bool

Attributes

CFN_PROPERTY_KEYS = []

Static Methods

classmethod is_mixin(x)

Checks if x is a Mixin.

Parameters:

x (Any) – Any object.

Return type:

bool

Returns:

true if x is an object created from a class which extends Mixin.

ModelInvocationJobInputDataConfigProperty

class CfnModelInvocationJobPropsMixin.ModelInvocationJobInputDataConfigProperty(*, s3_input_data_config=None)

Bases: object

Details about the location of the input to the batch inference job.

Parameters:

s3_input_data_config (Union[IResolvable, ModelInvocationJobS3InputDataConfigProperty, Dict[str, Any], None]) – Contains the configuration of the S3 location of the input data.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-modelinvocationjob-modelinvocationjobinputdataconfig.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.cfn_property_mixins import aws_bedrock as bedrock

model_invocation_job_input_data_config_property = bedrock.CfnModelInvocationJobPropsMixin.ModelInvocationJobInputDataConfigProperty(
    s3_input_data_config=bedrock.CfnModelInvocationJobPropsMixin.ModelInvocationJobS3InputDataConfigProperty(
        s3_bucket_owner="s3BucketOwner",
        s3_uri="s3Uri"
    )
)

Attributes

s3_input_data_config

Contains the configuration of the S3 location of the input data.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-modelinvocationjob-modelinvocationjobinputdataconfig.html#cfn-bedrock-modelinvocationjob-modelinvocationjobinputdataconfig-s3inputdataconfig

ModelInvocationJobOutputDataConfigProperty

class CfnModelInvocationJobPropsMixin.ModelInvocationJobOutputDataConfigProperty(*, s3_output_data_config=None)

Bases: object

Details about the location of the output of the batch inference job.

Parameters:

s3_output_data_config (Union[IResolvable, ModelInvocationJobS3OutputDataConfigProperty, Dict[str, Any], None]) – Contains the configuration of the S3 location of the output data.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-modelinvocationjob-modelinvocationjoboutputdataconfig.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.cfn_property_mixins import aws_bedrock as bedrock

model_invocation_job_output_data_config_property = bedrock.CfnModelInvocationJobPropsMixin.ModelInvocationJobOutputDataConfigProperty(
    s3_output_data_config=bedrock.CfnModelInvocationJobPropsMixin.ModelInvocationJobS3OutputDataConfigProperty(
        s3_bucket_owner="s3BucketOwner",
        s3_encryption_key_id="s3EncryptionKeyId",
        s3_uri="s3Uri"
    )
)

Attributes

s3_output_data_config

Contains the configuration of the S3 location of the output data.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-modelinvocationjob-modelinvocationjoboutputdataconfig.html#cfn-bedrock-modelinvocationjob-modelinvocationjoboutputdataconfig-s3outputdataconfig

ModelInvocationJobS3InputDataConfigProperty

class CfnModelInvocationJobPropsMixin.ModelInvocationJobS3InputDataConfigProperty(*, s3_bucket_owner=None, s3_uri=None)

Bases: object

Contains the configuration of the S3 location of the input data.

Parameters:
  • s3_bucket_owner (Optional[str]) – The ID of the AWS account that owns the S3 bucket containing the input data.

  • s3_uri (Optional[str]) – The S3 location of the input data.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-modelinvocationjob-modelinvocationjobs3inputdataconfig.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.cfn_property_mixins import aws_bedrock as bedrock

model_invocation_job_s3_input_data_config_property = bedrock.CfnModelInvocationJobPropsMixin.ModelInvocationJobS3InputDataConfigProperty(
    s3_bucket_owner="s3BucketOwner",
    s3_uri="s3Uri"
)

Attributes

s3_bucket_owner

The ID of the AWS account that owns the S3 bucket containing the input data.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-modelinvocationjob-modelinvocationjobs3inputdataconfig.html#cfn-bedrock-modelinvocationjob-modelinvocationjobs3inputdataconfig-s3bucketowner

s3_uri

The S3 location of the input data.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-modelinvocationjob-modelinvocationjobs3inputdataconfig.html#cfn-bedrock-modelinvocationjob-modelinvocationjobs3inputdataconfig-s3uri

ModelInvocationJobS3OutputDataConfigProperty

class CfnModelInvocationJobPropsMixin.ModelInvocationJobS3OutputDataConfigProperty(*, s3_bucket_owner=None, s3_encryption_key_id=None, s3_uri=None)

Bases: object

Contains the configuration of the S3 location of the output data.

Parameters:
  • s3_bucket_owner (Optional[str]) – The ID of the AWS account that owns the S3 bucket containing the output data.

  • s3_encryption_key_id (Optional[str]) – The unique identifier of the key that encrypts the S3 location of the output data.

  • s3_uri (Optional[str]) – The S3 location of the output data.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-modelinvocationjob-modelinvocationjobs3outputdataconfig.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.cfn_property_mixins import aws_bedrock as bedrock

model_invocation_job_s3_output_data_config_property = bedrock.CfnModelInvocationJobPropsMixin.ModelInvocationJobS3OutputDataConfigProperty(
    s3_bucket_owner="s3BucketOwner",
    s3_encryption_key_id="s3EncryptionKeyId",
    s3_uri="s3Uri"
)

Attributes

s3_bucket_owner

The ID of the AWS account that owns the S3 bucket containing the output data.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-modelinvocationjob-modelinvocationjobs3outputdataconfig.html#cfn-bedrock-modelinvocationjob-modelinvocationjobs3outputdataconfig-s3bucketowner

s3_encryption_key_id

The unique identifier of the key that encrypts the S3 location of the output data.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-modelinvocationjob-modelinvocationjobs3outputdataconfig.html#cfn-bedrock-modelinvocationjob-modelinvocationjobs3outputdataconfig-s3encryptionkeyid

s3_uri

The S3 location of the output data.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-modelinvocationjob-modelinvocationjobs3outputdataconfig.html#cfn-bedrock-modelinvocationjob-modelinvocationjobs3outputdataconfig-s3uri

VpcConfigProperty

class CfnModelInvocationJobPropsMixin.VpcConfigProperty(*, security_group_ids=None, subnet_ids=None)

Bases: object

The configuration of a virtual private cloud (VPC).

Parameters:
  • security_group_ids (Optional[Sequence[str]]) – An array of IDs for each security group in the VPC to use.

  • subnet_ids (Optional[Sequence[str]]) – An array of IDs for each subnet in the VPC to use.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-modelinvocationjob-vpcconfig.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.cfn_property_mixins import aws_bedrock as bedrock

vpc_config_property = bedrock.CfnModelInvocationJobPropsMixin.VpcConfigProperty(
    security_group_ids=["securityGroupIds"],
    subnet_ids=["subnetIds"]
)

Attributes

security_group_ids

An array of IDs for each security group in the VPC to use.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-modelinvocationjob-vpcconfig.html#cfn-bedrock-modelinvocationjob-vpcconfig-securitygroupids

subnet_ids

An array of IDs for each subnet in the VPC to use.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-modelinvocationjob-vpcconfig.html#cfn-bedrock-modelinvocationjob-vpcconfig-subnetids