Class CfnPartnerApp.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnPartnerApp.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPartnerApp>
- Enclosing class:
CfnPartnerApp
@Stability(Stable)
public static final class CfnPartnerApp.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPartnerApp>
A fluent builder for
CfnPartnerApp.-
Method Summary
Modifier and TypeMethodDescriptionapplicationConfig(IResolvable applicationConfig) A collection of configuration settings for the PartnerApp.applicationConfig(CfnPartnerApp.PartnerAppConfigProperty applicationConfig) A collection of configuration settings for the PartnerApp.The Auth type of PartnerApp.build()clientToken(String clientToken) Deprecated.this property has been deprecatedstatic CfnPartnerApp.BuilderenableIamSessionBasedIdentity(Boolean enableIamSessionBasedIdentity) Enables IAM Session based Identity for PartnerApp.enableIamSessionBasedIdentity(IResolvable enableIamSessionBasedIdentity) Enables IAM Session based Identity for PartnerApp.executionRoleArn(String executionRoleArn) The execution role for the user.The AWS KMS customer managed key used to encrypt the data associated with the PartnerApp.maintenanceConfig(IResolvable maintenanceConfig) A collection of settings that specify the maintenance schedule for the PartnerApp.maintenanceConfig(CfnPartnerApp.PartnerAppMaintenanceConfigProperty maintenanceConfig) A collection of settings that specify the maintenance schedule for the PartnerApp.The name of the SageMaker Partner AI App.A list of tags to apply to the PartnerApp.The tier of the PartnerApp.The type of SageMaker Partner AI App to create.
-
Method Details
-
create
@Stability(Stable) public static CfnPartnerApp.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnPartnerApp.Builder.
-
authType
The Auth type of PartnerApp.- Parameters:
authType- The Auth type of PartnerApp. This parameter is required.- Returns:
this- See Also:
-
executionRoleArn
The execution role for the user.- Parameters:
executionRoleArn- The execution role for the user. This parameter is required.- Returns:
this- See Also:
-
name
The name of the SageMaker Partner AI App.- Parameters:
name- The name of the SageMaker Partner AI App. This parameter is required.- Returns:
this- See Also:
-
tier
The tier of the PartnerApp.- Parameters:
tier- The tier of the PartnerApp. This parameter is required.- Returns:
this- See Also:
-
type
The type of SageMaker Partner AI App to create.Must be one of the following:
lakera-guard,comet,deepchecks-llm-evaluation, orfiddler.- Parameters:
type- The type of SageMaker Partner AI App to create. This parameter is required.- Returns:
this- See Also:
-
applicationConfig
A collection of configuration settings for the PartnerApp.- Parameters:
applicationConfig- A collection of configuration settings for the PartnerApp. This parameter is required.- Returns:
this- See Also:
-
applicationConfig
@Stability(Stable) public CfnPartnerApp.Builder applicationConfig(CfnPartnerApp.PartnerAppConfigProperty applicationConfig) A collection of configuration settings for the PartnerApp.- Parameters:
applicationConfig- A collection of configuration settings for the PartnerApp. This parameter is required.- Returns:
this- See Also:
-
clientToken
Deprecated.this property has been deprecated(deprecated) The client token for the PartnerApp.- Parameters:
clientToken- The client token for the PartnerApp. This parameter is required.- Returns:
this- See Also:
-
enableIamSessionBasedIdentity
@Stability(Stable) public CfnPartnerApp.Builder enableIamSessionBasedIdentity(Boolean enableIamSessionBasedIdentity) Enables IAM Session based Identity for PartnerApp.- Parameters:
enableIamSessionBasedIdentity- Enables IAM Session based Identity for PartnerApp. This parameter is required.- Returns:
this- See Also:
-
enableIamSessionBasedIdentity
@Stability(Stable) public CfnPartnerApp.Builder enableIamSessionBasedIdentity(IResolvable enableIamSessionBasedIdentity) Enables IAM Session based Identity for PartnerApp.- Parameters:
enableIamSessionBasedIdentity- Enables IAM Session based Identity for PartnerApp. This parameter is required.- Returns:
this- See Also:
-
kmsKeyId
The AWS KMS customer managed key used to encrypt the data associated with the PartnerApp.- Parameters:
kmsKeyId- The AWS KMS customer managed key used to encrypt the data associated with the PartnerApp. This parameter is required.- Returns:
this- See Also:
-
maintenanceConfig
A collection of settings that specify the maintenance schedule for the PartnerApp.- Parameters:
maintenanceConfig- A collection of settings that specify the maintenance schedule for the PartnerApp. This parameter is required.- Returns:
this- See Also:
-
maintenanceConfig
@Stability(Stable) public CfnPartnerApp.Builder maintenanceConfig(CfnPartnerApp.PartnerAppMaintenanceConfigProperty maintenanceConfig) A collection of settings that specify the maintenance schedule for the PartnerApp.- Parameters:
maintenanceConfig- A collection of settings that specify the maintenance schedule for the PartnerApp. This parameter is required.- Returns:
this- See Also:
-
tags
A list of tags to apply to the PartnerApp.- Parameters:
tags- A list of tags to apply to the PartnerApp. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPartnerApp>- Returns:
- a newly built instance of
CfnPartnerApp.
-