Class CfnPartnerApp

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
All Implemented Interfaces:
IInspectable, ITaggableV2, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.104.0 (build e79254c)", date="2024-12-27T17:02:09.820Z") @Stability(Stable) public class CfnPartnerApp extends CfnResource implements IInspectable, ITaggableV2
Resource Type definition for AWS::SageMaker::PartnerApp.

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)
         .maintenanceConfig(PartnerAppMaintenanceConfigProperty.builder()
                 .maintenanceWindowStart("maintenanceWindowStart")
                 .build())
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .build();
 

See Also:
  • Field Details

    • CFN_RESOURCE_TYPE_NAME

      @Stability(Stable) public static final String 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

      @Stability(Stable) public void inspect(@NotNull TreeInspector inspector)
      Examines the CloudFormation resource and discloses attributes.

      Specified by:
      inspect in interface IInspectable
      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:
      renderProperties in class CfnResource
      Parameters:
      props - This parameter is required.
    • getAttrArn

      @Stability(Stable) @NotNull public String getAttrArn()
      The Amazon Resource Name (ARN) of the created PartnerApp.
    • getAttrBaseUrl

      @Stability(Stable) @NotNull public String getAttrBaseUrl()
      The AppServerUrl based on app and account-info.
    • getCdkTagManager

      @Stability(Stable) @NotNull public TagManager getCdkTagManager()
      Tag Manager which manages the tags for this resource.
      Specified by:
      getCdkTagManager in interface ITaggableV2
    • getCfnProperties

      @Stability(Stable) @NotNull protected Map<String,Object> getCfnProperties()
      Overrides:
      getCfnProperties in class CfnResource
    • getAuthType

      @Stability(Stable) @NotNull public String getAuthType()
      The Auth type of PartnerApp.
    • setAuthType

      @Stability(Stable) public void setAuthType(@NotNull String value)
      The Auth type of PartnerApp.
    • getExecutionRoleArn

      @Stability(Stable) @NotNull public String getExecutionRoleArn()
      The execution role for the user.
    • setExecutionRoleArn

      @Stability(Stable) public void setExecutionRoleArn(@NotNull String value)
      The execution role for the user.
    • getName

      @Stability(Stable) @NotNull public String getName()
      A name for the PartnerApp.
    • setName

      @Stability(Stable) public void setName(@NotNull String value)
      A name for the PartnerApp.
    • getTier

      @Stability(Stable) @NotNull public String getTier()
      The tier of the PartnerApp.
    • setTier

      @Stability(Stable) public void setTier(@NotNull String value)
      The tier of the PartnerApp.
    • getType

      @Stability(Stable) @NotNull public String getType()
      The type of PartnerApp.
    • setType

      @Stability(Stable) public void setType(@NotNull String value)
      The type of PartnerApp.
    • getApplicationConfig

      @Stability(Stable) @Nullable public Object getApplicationConfig()
      A collection of configuration settings for the PartnerApp.
    • setApplicationConfig

      @Stability(Stable) public void setApplicationConfig(@Nullable IResolvable value)
      A collection of configuration settings for the PartnerApp.
    • setApplicationConfig

      @Stability(Stable) public void setApplicationConfig(@Nullable CfnPartnerApp.PartnerAppConfigProperty value)
      A collection of configuration settings for the PartnerApp.
    • getClientToken

      @Stability(Stable) @Nullable public String getClientToken()
      The client token for the PartnerApp.
    • setClientToken

      @Stability(Stable) public void setClientToken(@Nullable String value)
      The client token for the PartnerApp.
    • getEnableIamSessionBasedIdentity

      @Stability(Stable) @Nullable public Object getEnableIamSessionBasedIdentity()
      Enables IAM Session based Identity for PartnerApp.
    • setEnableIamSessionBasedIdentity

      @Stability(Stable) public void setEnableIamSessionBasedIdentity(@Nullable Boolean value)
      Enables IAM Session based Identity for PartnerApp.
    • setEnableIamSessionBasedIdentity

      @Stability(Stable) public void setEnableIamSessionBasedIdentity(@Nullable IResolvable value)
      Enables IAM Session based Identity for PartnerApp.
    • getMaintenanceConfig

      @Stability(Stable) @Nullable public Object getMaintenanceConfig()
      A collection of settings that specify the maintenance schedule for the PartnerApp.
    • setMaintenanceConfig

      @Stability(Stable) public void setMaintenanceConfig(@Nullable IResolvable value)
      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

      @Stability(Stable) @Nullable public List<CfnTag> getTags()
      A list of tags to apply to the PartnerApp.
    • setTags

      @Stability(Stable) public void setTags(@Nullable List<CfnTag> value)
      A list of tags to apply to the PartnerApp.