Class CfnPartnerApp
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.sagemaker.CfnPartnerApp
- All Implemented Interfaces:
IInspectable,ITaggableV2,IPartnerAppRef,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-29T11:15:48.231Z")
@Stability(Stable)
public class CfnPartnerApp
extends CfnResource
implements IInspectable, IPartnerAppRef, ITaggableV2
The
AWS::SageMaker::PartnerApp resource creates an Amazon SageMaker Partner AI App.
For more information, see Partner AI Apps .
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.sagemaker.*;
CfnPartnerApp cfnPartnerApp = CfnPartnerApp.Builder.create(this, "MyCfnPartnerApp")
.authType("authType")
.executionRoleArn("executionRoleArn")
.name("name")
.tier("tier")
.type("type")
// the properties below are optional
.applicationConfig(PartnerAppConfigProperty.builder()
.adminUsers(List.of("adminUsers"))
.arguments(Map.of(
"argumentsKey", "arguments"))
.build())
.clientToken("clientToken")
.enableIamSessionBasedIdentity(false)
.kmsKeyId("kmsKeyId")
.maintenanceConfig(PartnerAppMaintenanceConfigProperty.builder()
.maintenanceWindowStart("maintenanceWindowStart")
.build())
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnPartnerApp.static interfaceA collection of configuration settings for the PartnerApp.static interfaceA collection of settings that specify the maintenance schedule for the PartnerApp.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.services.sagemaker.IPartnerAppRef
IPartnerAppRef.Jsii$Default, IPartnerAppRef.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnPartnerApp(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnPartnerApp(software.amazon.jsii.JsiiObjectRef objRef) CfnPartnerApp(software.constructs.Construct scope, String id, CfnPartnerAppProps props) -
Method Summary
Modifier and TypeMethodDescriptionConfiguration settings for the Partner AI App.The Amazon Resource Name (ARN) of the created PartnerApp.The AppServerUrl based on app and account-info.Defines the authentication type used for the Partner AI App.Tag Manager which manages the tags for this resource.Deprecated.this property has been deprecatedEnables IAM Session based Identity for PartnerApp.The Amazon Resource Name (ARN) of the IAM role of the user.The AWS KMS customer managed key used to encrypt the data associated with the PartnerApp.A collection of settings that specify the maintenance schedule for the PartnerApp.getName()The name of the Partner AI App.A reference to a PartnerApp resource.getTags()A list of tags to apply to the PartnerApp.getTier()Specifies the tier or level of the Partner AI App.getType()Specifies the type of Partner AI App being created.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidsetApplicationConfig(IResolvable value) Configuration settings for the Partner AI App.voidConfiguration settings for the Partner AI App.voidsetAuthType(String value) Defines the authentication type used for the Partner AI App.voidsetClientToken(String value) Deprecated.this property has been deprecatedvoidEnables IAM Session based Identity for PartnerApp.voidEnables IAM Session based Identity for PartnerApp.voidsetExecutionRoleArn(String value) The Amazon Resource Name (ARN) of the IAM role of the user.voidsetKmsKeyId(String value) The AWS KMS customer managed key used to encrypt the data associated with the PartnerApp.voidsetMaintenanceConfig(IResolvable value) A collection of settings that specify the maintenance schedule for the PartnerApp.voidA collection of settings that specify the maintenance schedule for the PartnerApp.voidThe name of the Partner AI App.voidA list of tags to apply to the PartnerApp.voidSpecifies the tier or level of the Partner AI App.voidSpecifies the type of Partner AI App being created.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnPartnerApp
protected CfnPartnerApp(software.amazon.jsii.JsiiObjectRef objRef) -
CfnPartnerApp
protected CfnPartnerApp(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnPartnerApp
@Stability(Stable) public CfnPartnerApp(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnPartnerAppProps props) - 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.props- Resource properties. This parameter is required.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrArn
The Amazon Resource Name (ARN) of the created PartnerApp. -
getAttrBaseUrl
The AppServerUrl based on app and account-info. -
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManagerin interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getPartnerAppRef
A reference to a PartnerApp resource.- Specified by:
getPartnerAppRefin interfaceIPartnerAppRef
-
getAuthType
Defines the authentication type used for the Partner AI App. -
setAuthType
Defines the authentication type used for the Partner AI App. -
getExecutionRoleArn
The Amazon Resource Name (ARN) of the IAM role of the user. -
setExecutionRoleArn
The Amazon Resource Name (ARN) of the IAM role of the user. -
getName
The name of the Partner AI App. -
setName
The name of the Partner AI App. -
getTier
Specifies the tier or level of the Partner AI App. -
setTier
Specifies the tier or level of the Partner AI App. -
getType
Specifies the type of Partner AI App being created. -
setType
Specifies the type of Partner AI App being created. -
getApplicationConfig
Configuration settings for the Partner AI App.Returns union: either
IResolvableorCfnPartnerApp.PartnerAppConfigProperty -
setApplicationConfig
Configuration settings for the Partner AI App. -
setApplicationConfig
@Stability(Stable) public void setApplicationConfig(@Nullable CfnPartnerApp.PartnerAppConfigProperty value) Configuration settings for the Partner AI App. -
getClientToken
Deprecated.this property has been deprecated(deprecated) The client token for the PartnerApp. -
setClientToken
Deprecated.this property has been deprecated(deprecated) The client token for the PartnerApp. -
getEnableIamSessionBasedIdentity
Enables IAM Session based Identity for PartnerApp.Returns union: either
BooleanorIResolvable -
setEnableIamSessionBasedIdentity
Enables IAM Session based Identity for PartnerApp. -
setEnableIamSessionBasedIdentity
Enables IAM Session based Identity for PartnerApp. -
getKmsKeyId
The AWS KMS customer managed key used to encrypt the data associated with the PartnerApp. -
setKmsKeyId
The AWS KMS customer managed key used to encrypt the data associated with the PartnerApp. -
getMaintenanceConfig
A collection of settings that specify the maintenance schedule for the PartnerApp.Returns union: either
IResolvableorCfnPartnerApp.PartnerAppMaintenanceConfigProperty -
setMaintenanceConfig
A collection of settings that specify the maintenance schedule for the PartnerApp. -
setMaintenanceConfig
@Stability(Stable) public void setMaintenanceConfig(@Nullable CfnPartnerApp.PartnerAppMaintenanceConfigProperty value) A collection of settings that specify the maintenance schedule for the PartnerApp. -
getTags
A list of tags to apply to the PartnerApp. -
setTags
A list of tags to apply to the PartnerApp.
-