@@ -122,11 +122,11 @@ def __init__(
122
122
framework_version (str): The version of SageMaker PySpark.
123
123
py_version (str): The version of python.
124
124
container_version (str): The version of spark container.
125
- role (str): An AWS IAM role name or ARN. The Amazon SageMaker training jobs
126
- and APIs that create Amazon SageMaker endpoints use this role
127
- to access training data and model artifacts. After the endpoint
128
- is created , the inference code might use the IAM role, if it
129
- needs to access an AWS resource .
125
+ role (str): An AWS IAM role name or ARN. Amazon SageMaker Processing
126
+ uses this role to access AWS resources, such as
127
+ data stored in Amazon S3 (default: None).
128
+ If not specified , the value from the defaults configuration file
129
+ will be used .
130
130
instance_type (str): Type of EC2 instance to use for
131
131
processing, for example, 'ml.c4.xlarge'.
132
132
instance_count (int): The number of instances to run
@@ -741,9 +741,9 @@ class PySparkProcessor(_SparkProcessorBase):
741
741
742
742
def __init__ (
743
743
self ,
744
- role : str ,
745
- instance_type : Union [str , PipelineVariable ],
746
- instance_count : Union [int , PipelineVariable ],
744
+ role : str = None ,
745
+ instance_type : Union [str , PipelineVariable ] = None ,
746
+ instance_count : Union [int , PipelineVariable ] = None ,
747
747
framework_version : Optional [str ] = None ,
748
748
py_version : Optional [str ] = None ,
749
749
container_version : Optional [str ] = None ,
@@ -769,11 +769,11 @@ def __init__(
769
769
framework_version (str): The version of SageMaker PySpark.
770
770
py_version (str): The version of python.
771
771
container_version (str): The version of spark container.
772
- role (str): An AWS IAM role name or ARN. The Amazon SageMaker training jobs
773
- and APIs that create Amazon SageMaker endpoints use this role
774
- to access training data and model artifacts. After the endpoint
775
- is created , the inference code might use the IAM role, if it
776
- needs to access an AWS resource .
772
+ role (str): An AWS IAM role name or ARN. Amazon SageMaker Processing
773
+ uses this role to access AWS resources, such as
774
+ data stored in Amazon S3 (default: None).
775
+ If not specified , the value from the defaults configuration file
776
+ will be used .
777
777
instance_type (str or PipelineVariable): Type of EC2 instance to use for
778
778
processing, for example, 'ml.c4.xlarge'.
779
779
instance_count (int or PipelineVariable): The number of instances to run
@@ -1018,9 +1018,9 @@ class SparkJarProcessor(_SparkProcessorBase):
1018
1018
1019
1019
def __init__ (
1020
1020
self ,
1021
- role : str ,
1022
- instance_type : Union [str , PipelineVariable ],
1023
- instance_count : Union [int , PipelineVariable ],
1021
+ role : str = None ,
1022
+ instance_type : Union [str , PipelineVariable ] = None ,
1023
+ instance_count : Union [int , PipelineVariable ] = None ,
1024
1024
framework_version : Optional [str ] = None ,
1025
1025
py_version : Optional [str ] = None ,
1026
1026
container_version : Optional [str ] = None ,
@@ -1046,11 +1046,11 @@ def __init__(
1046
1046
framework_version (str): The version of SageMaker PySpark.
1047
1047
py_version (str): The version of python.
1048
1048
container_version (str): The version of spark container.
1049
- role (str): An AWS IAM role name or ARN. The Amazon SageMaker training jobs
1050
- and APIs that create Amazon SageMaker endpoints use this role
1051
- to access training data and model artifacts. After the endpoint
1052
- is created , the inference code might use the IAM role, if it
1053
- needs to access an AWS resource .
1049
+ role (str): An AWS IAM role name or ARN. Amazon SageMaker Processing
1050
+ uses this role to access AWS resources, such as
1051
+ data stored in Amazon S3 (default: None).
1052
+ If not specified , the value from the defaults configuration file
1053
+ will be used .
1054
1054
instance_type (str or PipelineVariable): Type of EC2 instance to use for
1055
1055
processing, for example, 'ml.c4.xlarge'.
1056
1056
instance_count (int or PipelineVariable): The number of instances to run
0 commit comments