CfnSessionProps Struct
Properties for defining a CfnSession.
| 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 macie } from 'aws-cdk-lib';
const cfnSessionProps: macie.CfnSessionProps = {
findingPublishingFrequency: 'findingPublishingFrequency',
status: 'status',
};
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_macie as macie
cfn_session_props = macie.CfnSessionProps(
finding_publishing_frequency="findingPublishingFrequency",
status="status"
)
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.macie.*;
CfnSessionProps cfnSessionProps = CfnSessionProps.builder()
.findingPublishingFrequency("findingPublishingFrequency")
.status("status")
.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.Macie;
var cfnSessionProps = new CfnSessionProps {
FindingPublishingFrequency = "findingPublishingFrequency",
Status = "status"
};
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"
cfnSessionProps := &CfnSessionProps{
FindingPublishingFrequency: jsii.String("findingPublishingFrequency"),
Status: jsii.String("status"),
}
Properties
findingPublishingFrequencyoptionalstringfinding_publishing_frequencyoptionalstrfindingPublishingFrequencyoptionalStringFindingPublishingFrequencyoptionalstringFindingPublishingFrequencyoptional*string = "SIX_HOURS" #Specifies how often Amazon Macie publishes updates to policy findings for the account.
This includes publishing updates to AWS Security Hub CSPM and Amazon EventBridge (formerly Amazon CloudWatch Events ). Valid values are:
- FIFTEEN_MINUTES
- ONE_HOUR
- SIX_HOURS
statusoptionalstringstatusoptionalstrstatusoptionalStringStatusoptionalstringStatusoptional*string = "ENABLED" #The status of Amazon Macie for the account.
Valid values are: ENABLED , start or resume Macie activities for the account; and, PAUSED , suspend Macie activities for the account.