Skip to content
v2.278.0

OwnershipSettingsProperty ​

Struct External

The collection of ownership settings for a space.

Example ​

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 ownershipSettingsProperty: sagemaker.CfnSpace.OwnershipSettingsProperty = {
  ownerUserProfileName: 'ownerUserProfileName',
};
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

ownership_settings_property = sagemaker.CfnSpace.OwnershipSettingsProperty(
    owner_user_profile_name="ownerUserProfileName"
)
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.*;

OwnershipSettingsProperty ownershipSettingsProperty = OwnershipSettingsProperty.builder()
        .ownerUserProfileName("ownerUserProfileName")
        .build();
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 ownershipSettingsProperty = new OwnershipSettingsProperty {
    OwnerUserProfileName = "ownerUserProfileName"
};
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"

ownershipSettingsProperty := &OwnershipSettingsProperty{
	OwnerUserProfileName: jsii.String("ownerUserProfileName"),
}

Properties ​

ownerUserProfileNamestringowner_user_profile_namestrownerUserProfileNameStringOwnerUserProfileNamestringOwnerUserProfileName*string required #
The user profile who is the owner of the space.