SessionReference Struct
A reference to a Session resource.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_macie as interfaces_macie } from 'aws-cdk-lib/interfaces';
const sessionReference: interfaces_macie.SessionReference = {
awsAccountId: 'awsAccountId',
};
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_macie as interfaces_macie
session_reference = interfaces_macie.SessionReference(
aws_account_id="awsAccountId"
)
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.macie.*;
SessionReference sessionReference = SessionReference.builder()
.awsAccountId("awsAccountId")
.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.Macie;
var sessionReference = new SessionReference {
AwsAccountId = "awsAccountId"
};
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"
sessionReference := &SessionReference{
AwsAccountId: jsii.String("awsAccountId"),
}
Properties
awsAccountIdstringaws_account_idstrawsAccountIdStringAwsAccountIdstringAwsAccountId*string required #The AwsAccountId of the Session resource.