1. Packages
  2. AWS Native
  3. API Docs
  4. sagemaker
  5. InferenceComponent

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.102.0 published on Tuesday, Apr 16, 2024 by Pulumi

aws-native.sagemaker.InferenceComponent

Explore with Pulumi AI

aws-native logo

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.102.0 published on Tuesday, Apr 16, 2024 by Pulumi

    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:

    CreationTime string
    FailureReason string
    Id string
    The provider-assigned unique ID for this managed resource.
    InferenceComponentArn string
    InferenceComponentStatus Pulumi.AwsNative.SageMaker.InferenceComponentStatus
    LastModifiedTime string
    CreationTime string
    FailureReason string
    Id string
    The provider-assigned unique ID for this managed resource.
    InferenceComponentArn string
    InferenceComponentStatus InferenceComponentStatus
    LastModifiedTime string
    creationTime String
    failureReason String
    id String
    The provider-assigned unique ID for this managed resource.
    inferenceComponentArn String
    inferenceComponentStatus InferenceComponentStatus
    lastModifiedTime String
    creationTime string
    failureReason string
    id string
    The provider-assigned unique ID for this managed resource.
    inferenceComponentArn string
    inferenceComponentStatus InferenceComponentStatus
    lastModifiedTime string

    Supporting Types

    InferenceComponentComputeResourceRequirements, InferenceComponentComputeResourceRequirementsArgs

    InferenceComponentContainerSpecification, InferenceComponentContainerSpecificationArgs

    InferenceComponentDeployedImage, InferenceComponentDeployedImageArgs

    InferenceComponentRuntimeConfig, InferenceComponentRuntimeConfigArgs

    InferenceComponentSpecification, InferenceComponentSpecificationArgs

    InferenceComponentStartupParameters, InferenceComponentStartupParametersArgs

    InferenceComponentStatus, InferenceComponentStatusArgs

    InService
    InService
    Creating
    Creating
    Updating
    Updating
    Failed
    Failed
    Deleting
    Deleting
    InferenceComponentStatusInService
    InService
    InferenceComponentStatusCreating
    Creating
    InferenceComponentStatusUpdating
    Updating
    InferenceComponentStatusFailed
    Failed
    InferenceComponentStatusDeleting
    Deleting
    InService
    InService
    Creating
    Creating
    Updating
    Updating
    Failed
    Failed
    Deleting
    Deleting
    InService
    InService
    Creating
    Creating
    Updating
    Updating
    Failed
    Failed
    Deleting
    Deleting
    IN_SERVICE
    InService
    CREATING
    Creating
    UPDATING
    Updating
    FAILED
    Failed
    DELETING
    Deleting
    "InService"
    InService
    "Creating"
    Creating
    "Updating"
    Updating
    "Failed"
    Failed
    "Deleting"
    Deleting

    Tag, TagArgs

    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.102.0 published on Tuesday, Apr 16, 2024 by Pulumi