Skip to content
v2.277.0

SessionLoggerReference Struct ​

A reference to a SessionLogger resource.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_workspacesweb as interfaces_workspacesweb } from 'aws-cdk-lib/interfaces';
const sessionLoggerReference: interfaces_workspacesweb.SessionLoggerReference = {
  sessionLoggerArn: 'sessionLoggerArn',
};
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_workspacesweb as interfaces_workspacesweb

session_logger_reference = interfaces_workspacesweb.SessionLoggerReference(
    session_logger_arn="sessionLoggerArn"
)
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.workspacesweb.*;

SessionLoggerReference sessionLoggerReference = SessionLoggerReference.builder()
        .sessionLoggerArn("sessionLoggerArn")
        .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.WorkSpacesWeb;

var sessionLoggerReference = new SessionLoggerReference {
    SessionLoggerArn = "sessionLoggerArn"
};
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"

sessionLoggerReference := &SessionLoggerReference{
	SessionLoggerArn: jsii.String("sessionLoggerArn"),
}

Properties ​

sessionLoggerArnstringsession_logger_arnstrsessionLoggerArnStringSessionLoggerArnstringSessionLoggerArn*stringrequired#
The SessionLoggerArn of the SessionLogger resource.