AWS Native is in preview. AWS Classic is fully supported.
aws-native.sagemaker.InferenceComponent
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
Resource Type definition for AWS::SageMaker::InferenceComponent
Create InferenceComponent Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new InferenceComponent(name: string, args: InferenceComponentArgs, opts?: CustomResourceOptions);
@overload
def InferenceComponent(resource_name: str,
args: InferenceComponentArgs,
opts: Optional[ResourceOptions] = None)
@overload
def InferenceComponent(resource_name: str,
opts: Optional[ResourceOptions] = None,
endpoint_name: Optional[str] = None,
runtime_config: Optional[InferenceComponentRuntimeConfigArgs] = None,
specification: Optional[InferenceComponentSpecificationArgs] = None,
variant_name: Optional[str] = None,
endpoint_arn: Optional[str] = None,
inference_component_name: Optional[str] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = None)
func NewInferenceComponent(ctx *Context, name string, args InferenceComponentArgs, opts ...ResourceOption) (*InferenceComponent, error)
public InferenceComponent(string name, InferenceComponentArgs args, CustomResourceOptions? opts = null)
public InferenceComponent(String name, InferenceComponentArgs args)
public InferenceComponent(String name, InferenceComponentArgs args, CustomResourceOptions options)
type: aws-native:sagemaker:InferenceComponent
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args InferenceComponentArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args InferenceComponentArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args InferenceComponentArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args InferenceComponentArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args InferenceComponentArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Example
The following reference example uses placeholder values for all input properties.
Coming soon!
Coming soon!
Coming soon!
Coming soon!
const inferenceComponentResource = new aws_native.sagemaker.InferenceComponent("inferenceComponentResource", {
endpointName: "string",
runtimeConfig: {
copyCount: 0,
currentCopyCount: 0,
desiredCopyCount: 0,
},
specification: {
computeResourceRequirements: {
maxMemoryRequiredInMb: 0,
minMemoryRequiredInMb: 0,
numberOfAcceleratorDevicesRequired: 0,
numberOfCpuCoresRequired: 0,
},
container: {
artifactUrl: "string",
deployedImage: {
resolutionTime: "string",
resolvedImage: "string",
specifiedImage: "string",
},
environment: {
string: "string",
},
image: "string",
},
modelName: "string",
startupParameters: {
containerStartupHealthCheckTimeoutInSeconds: 0,
modelDataDownloadTimeoutInSeconds: 0,
},
},
variantName: "string",
endpointArn: "string",
inferenceComponentName: "string",
tags: [{
key: "string",
value: "string",
}],
});
Coming soon!
InferenceComponent Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The InferenceComponent resource accepts the following input properties:
Outputs
All input properties are implicitly available as output properties. Additionally, the InferenceComponent resource produces the following output properties:
- Creation
Time string - Failure
Reason string - Id string
- The provider-assigned unique ID for this managed resource.
- Inference
Component stringArn - Inference
Component Pulumi.Status Aws Native. Sage Maker. Inference Component Status - Last
Modified stringTime
- Creation
Time string - Failure
Reason string - Id string
- The provider-assigned unique ID for this managed resource.
- Inference
Component stringArn - Inference
Component InferenceStatus Component Status - Last
Modified stringTime
- creation
Time String - failure
Reason String - id String
- The provider-assigned unique ID for this managed resource.
- inference
Component StringArn - inference
Component InferenceStatus Component Status - last
Modified StringTime
- creation
Time string - failure
Reason string - id string
- The provider-assigned unique ID for this managed resource.
- inference
Component stringArn - inference
Component InferenceStatus Component Status - last
Modified stringTime
- creation_
time str - failure_
reason str - id str
- The provider-assigned unique ID for this managed resource.
- inference_
component_ strarn - inference_
component_ Inferencestatus Component Status - last_
modified_ strtime
- creation
Time String - failure
Reason String - id String
- The provider-assigned unique ID for this managed resource.
- inference
Component StringArn - inference
Component "InStatus Service" | "Creating" | "Updating" | "Failed" | "Deleting" - last
Modified StringTime
Supporting Types
InferenceComponentComputeResourceRequirements, InferenceComponentComputeResourceRequirementsArgs
- max
Memory IntegerRequired In Mb - min
Memory IntegerRequired In Mb - number
Of DoubleAccelerator Devices Required - number
Of DoubleCpu Cores Required
- max
Memory numberRequired In Mb - min
Memory numberRequired In Mb - number
Of numberAccelerator Devices Required - number
Of numberCpu Cores Required
- max
Memory NumberRequired In Mb - min
Memory NumberRequired In Mb - number
Of NumberAccelerator Devices Required - number
Of NumberCpu Cores Required
InferenceComponentContainerSpecification, InferenceComponentContainerSpecificationArgs
- Artifact
Url string - Deployed
Image Pulumi.Aws Native. Sage Maker. Inputs. Inference Component Deployed Image - Environment Dictionary<string, string>
- Image string
- Artifact
Url string - Deployed
Image InferenceComponent Deployed Image - Environment map[string]string
- Image string
- artifact
Url String - deployed
Image InferenceComponent Deployed Image - environment Map<String,String>
- image String
- artifact
Url string - deployed
Image InferenceComponent Deployed Image - environment {[key: string]: string}
- image string
- artifact_
url str - deployed_
image InferenceComponent Deployed Image - environment Mapping[str, str]
- image str
- artifact
Url String - deployed
Image Property Map - environment Map<String>
- image String
InferenceComponentDeployedImage, InferenceComponentDeployedImageArgs
- Resolution
Time string - Resolved
Image string - Specified
Image string
- Resolution
Time string - Resolved
Image string - Specified
Image string
- resolution
Time String - resolved
Image String - specified
Image String
- resolution
Time string - resolved
Image string - specified
Image string
- resolution_
time str - resolved_
image str - specified_
image str
- resolution
Time String - resolved
Image String - specified
Image String
InferenceComponentRuntimeConfig, InferenceComponentRuntimeConfigArgs
- Copy
Count int - Current
Copy intCount - Desired
Copy intCount
- Copy
Count int - Current
Copy intCount - Desired
Copy intCount
- copy
Count Integer - current
Copy IntegerCount - desired
Copy IntegerCount
- copy
Count number - current
Copy numberCount - desired
Copy numberCount
- copy_
count int - current_
copy_ intcount - desired_
copy_ intcount
- copy
Count Number - current
Copy NumberCount - desired
Copy NumberCount
InferenceComponentSpecification, InferenceComponentSpecificationArgs
InferenceComponentStartupParameters, InferenceComponentStartupParametersArgs
InferenceComponentStatus, InferenceComponentStatusArgs
- In
Service - InService
- Creating
- Creating
- Updating
- Updating
- Failed
- Failed
- Deleting
- Deleting
- Inference
Component Status In Service - InService
- Inference
Component Status Creating - Creating
- Inference
Component Status Updating - Updating
- Inference
Component Status Failed - Failed
- Inference
Component Status Deleting - Deleting
- In
Service - InService
- Creating
- Creating
- Updating
- Updating
- Failed
- Failed
- Deleting
- Deleting
- In
Service - InService
- Creating
- Creating
- Updating
- Updating
- Failed
- Failed
- Deleting
- Deleting
- IN_SERVICE
- InService
- CREATING
- Creating
- UPDATING
- Updating
- FAILED
- Failed
- DELETING
- Deleting
- "In
Service" - InService
- "Creating"
- Creating
- "Updating"
- Updating
- "Failed"
- Failed
- "Deleting"
- Deleting
Tag, TagArgs
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
AWS Native is in preview. AWS Classic is fully supported.