CfnModelInvocationJobPropsMixin
- class aws_cdk.cfn_property_mixins.aws_bedrock.CfnModelInvocationJobPropsMixin(props, *, strategy=None)
Bases:
MixinResource Type definition for AWS::Bedrock::ModelInvocationJob.
- See:
- 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:
props (
Union[CfnModelInvocationJobMixinProps,Dict[str,Any]]) – L1 properties to apply.strategy (
Optional[IMergeStrategy]) – Strategy for merging nested properties. Default: - PropertyMergeStrategy.combine()
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
xis a Mixin.- Parameters:
x (
Any) – Any object.- Return type:
bool- Returns:
true if
xis an object created from a class which extendsMixin.
ModelInvocationJobInputDataConfigProperty
- class CfnModelInvocationJobPropsMixin.ModelInvocationJobInputDataConfigProperty(*, s3_input_data_config=None)
Bases:
objectDetails 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:
- 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.
ModelInvocationJobOutputDataConfigProperty
- class CfnModelInvocationJobPropsMixin.ModelInvocationJobOutputDataConfigProperty(*, s3_output_data_config=None)
Bases:
objectDetails 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:
- 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.
ModelInvocationJobS3InputDataConfigProperty
- class CfnModelInvocationJobPropsMixin.ModelInvocationJobS3InputDataConfigProperty(*, s3_bucket_owner=None, s3_uri=None)
Bases:
objectContains 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:
- 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.
ModelInvocationJobS3OutputDataConfigProperty
- class CfnModelInvocationJobPropsMixin.ModelInvocationJobS3OutputDataConfigProperty(*, s3_bucket_owner=None, s3_encryption_key_id=None, s3_uri=None)
Bases:
objectContains 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:
- 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.
- s3_encryption_key_id
The unique identifier of the key that encrypts the S3 location of the output data.
VpcConfigProperty
- class CfnModelInvocationJobPropsMixin.VpcConfigProperty(*, security_group_ids=None, subnet_ids=None)
Bases:
objectThe 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:
- 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.
- subnet_ids
An array of IDs for each subnet in the VPC to use.