# RStudioServerProDomainSettingsProperty

A collection of settings that configure the `RStudioServerPro` Domain-level app.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_sagemaker as sagemaker } from 'aws-cdk-lib';
const rStudioServerProDomainSettingsProperty: sagemaker.CfnDomain.RStudioServerProDomainSettingsProperty = {
  domainExecutionRoleArn: 'domainExecutionRoleArn',

  // the properties below are optional
  defaultResourceSpec: {
    instanceType: 'instanceType',
    lifecycleConfigArn: 'lifecycleConfigArn',
    sageMakerImageArn: 'sageMakerImageArn',
    sageMakerImageVersionArn: 'sageMakerImageVersionArn',
    trainingPlanArn: 'trainingPlanArn',
  },
  rStudioConnectUrl: 'rStudioConnectUrl',
  rStudioPackageManagerUrl: 'rStudioPackageManagerUrl',
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_sagemaker as sagemaker

r_studio_server_pro_domain_settings_property = sagemaker.CfnDomain.RStudioServerProDomainSettingsProperty(
    domain_execution_role_arn="domainExecutionRoleArn",

    # the properties below are optional
    default_resource_spec=sagemaker.CfnDomain.ResourceSpecProperty(
        instance_type="instanceType",
        lifecycle_config_arn="lifecycleConfigArn",
        sage_maker_image_arn="sageMakerImageArn",
        sage_maker_image_version_arn="sageMakerImageVersionArn",
        training_plan_arn="trainingPlanArn"
    ),
    r_studio_connect_url="rStudioConnectUrl",
    r_studio_package_manager_url="rStudioPackageManagerUrl"
)
```

Java:

```java
// 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.*;

RStudioServerProDomainSettingsProperty rStudioServerProDomainSettingsProperty = RStudioServerProDomainSettingsProperty.builder()
        .domainExecutionRoleArn("domainExecutionRoleArn")

        // the properties below are optional
        .defaultResourceSpec(ResourceSpecProperty.builder()
                .instanceType("instanceType")
                .lifecycleConfigArn("lifecycleConfigArn")
                .sageMakerImageArn("sageMakerImageArn")
                .sageMakerImageVersionArn("sageMakerImageVersionArn")
                .trainingPlanArn("trainingPlanArn")
                .build())
        .rStudioConnectUrl("rStudioConnectUrl")
        .rStudioPackageManagerUrl("rStudioPackageManagerUrl")
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Sagemaker;

var rStudioServerProDomainSettingsProperty = new RStudioServerProDomainSettingsProperty {
    DomainExecutionRoleArn = "domainExecutionRoleArn",

    // the properties below are optional
    DefaultResourceSpec = new ResourceSpecProperty {
        InstanceType = "instanceType",
        LifecycleConfigArn = "lifecycleConfigArn",
        SageMakerImageArn = "sageMakerImageArn",
        SageMakerImageVersionArn = "sageMakerImageVersionArn",
        TrainingPlanArn = "trainingPlanArn"
    },
    RStudioConnectUrl = "rStudioConnectUrl",
    RStudioPackageManagerUrl = "rStudioPackageManagerUrl"
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

rStudioServerProDomainSettingsProperty := &RStudioServerProDomainSettingsProperty{
	DomainExecutionRoleArn: jsii.String("domainExecutionRoleArn"),

	// the properties below are optional
	DefaultResourceSpec: &ResourceSpecProperty{
		InstanceType: jsii.String("instanceType"),
		LifecycleConfigArn: jsii.String("lifecycleConfigArn"),
		SageMakerImageArn: jsii.String("sageMakerImageArn"),
		SageMakerImageVersionArn: jsii.String("sageMakerImageVersionArn"),
		TrainingPlanArn: jsii.String("trainingPlanArn"),
	},
	RStudioConnectUrl: jsii.String("rStudioConnectUrl"),
	RStudioPackageManagerUrl: jsii.String("rStudioPackageManagerUrl"),
}
```

## Properties

- `defaultResourceSpec`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnDomain.ResourceSpecProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_sagemaker.CfnDomain.ResourceSpecProperty.html) — A collection that defines the default `InstanceType` , `SageMakerImageArn` , and `SageMakerImageVersionArn` for the Domain.

- `domainExecutionRoleArn`: string (required) — The ARN of the execution role for the `RStudioServerPro` Domain-level app.

- `rStudioConnectUrl`: string — A URL pointing to an RStudio Connect server.

- `rStudioPackageManagerUrl`: string — A URL pointing to an RStudio Package Manager server.
