ModelCardExportJob constructor
ModelCardExportJob(
- String name, {
- ModelCardExportJobArgs? args,
- CustomResourceOptions? options,
Creates a new ModelCardExportJob.
name The Pulumi resource name.
args Arguments used to configure this ModelCardExportJob. The set of arguments for ModelCardExportJob.
options Resource options controlling this resource's behavior.
Implementation
ModelCardExportJob(
String name, {
ModelCardExportJobArgs? args,
pulumi.CustomResourceOptions? options,
}) : super(
'aws:sagemaker/modelCardExportJob:ModelCardExportJob',
name,
pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
pulumi.CustomResourceOptions(version: '7.44.0').merge(options),
) {
exportArtifacts = registerOutput<List<ModelCardExportJobExportArtifact>>('exportArtifacts', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return pulumi.Input.decodeList<ModelCardExportJobExportArtifact>(guardedValue, (value) => ModelCardExportJobExportArtifact.fromMap((value as Map).cast<String, dynamic>())); });
modelCardExportJobArn = registerOutput<String>('modelCardExportJobArn');
modelCardExportJobName = registerOutput<String>('modelCardExportJobName');
modelCardName = registerOutput<String>('modelCardName');
modelCardVersion = registerOutput<int>('modelCardVersion');
outputConfig = registerOutput<ModelCardExportJobOutputConfig>('outputConfig', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return ModelCardExportJobOutputConfig.fromMap((guardedValue as Map).cast<String, dynamic>()); });
region = registerOutput<String>('region');
timeouts = registerOutput<ModelCardExportJobTimeouts?>('timeouts', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return ModelCardExportJobTimeouts.fromMap((guardedValue as Map).cast<String, dynamic>()); });
}