Skip to content
v2.278.0

ProfileReference Struct ​

A reference to a Profile resource.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_transfer as interfaces_transfer } from 'aws-cdk-lib/interfaces';
const profileReference: interfaces_transfer.ProfileReference = {
  profileArn: 'profileArn',
  profileId: 'profileId',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.interfaces import aws_transfer as interfaces_transfer

profile_reference = interfaces_transfer.ProfileReference(
    profile_arn="profileArn",
    profile_id="profileId"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.interfaces.transfer.*;

ProfileReference profileReference = ProfileReference.builder()
        .profileArn("profileArn")
        .profileId("profileId")
        .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.Interfaces.Transfer;

var profileReference = new ProfileReference {
    ProfileArn = "profileArn",
    ProfileId = "profileId"
};
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"

profileReference := &ProfileReference{
	ProfileArn: jsii.String("profileArn"),
	ProfileId: jsii.String("profileId"),
}

Properties ​

profileArnstringprofile_arnstrprofileArnStringProfileArnstringProfileArn*string required #
The ARN of the Profile resource.
profileIdstringprofile_idstrprofileIdStringProfileIdstringProfileId*string required #
The ProfileId of the Profile resource.