aws-native logo
AWS Native v0.63.0, May 25 23

aws-native.macie.Session

Explore with Pulumi AI

The AWS::Macie::Session resource specifies a new Amazon Macie session. A session is an object that represents the Amazon Macie service. A session is required for Amazon Macie to become operational.

Create Session Resource

new Session(name: string, args?: SessionArgs, opts?: CustomResourceOptions);
@overload
def Session(resource_name: str,
            opts: Optional[ResourceOptions] = None,
            finding_publishing_frequency: Optional[SessionFindingPublishingFrequency] = None,
            status: Optional[SessionStatus] = None)
@overload
def Session(resource_name: str,
            args: Optional[SessionArgs] = None,
            opts: Optional[ResourceOptions] = None)
func NewSession(ctx *Context, name string, args *SessionArgs, opts ...ResourceOption) (*Session, error)
public Session(string name, SessionArgs? args = null, CustomResourceOptions? opts = null)
public Session(String name, SessionArgs args)
public Session(String name, SessionArgs args, CustomResourceOptions options)
type: aws-native:macie:Session
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args SessionArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args SessionArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args SessionArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args SessionArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args SessionArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Session Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The Session resource accepts the following input properties:

FindingPublishingFrequency Pulumi.AwsNative.Macie.SessionFindingPublishingFrequency

A enumeration value that specifies how frequently finding updates are published.

Status Pulumi.AwsNative.Macie.SessionStatus

A enumeration value that specifies the status of the Macie Session.

FindingPublishingFrequency SessionFindingPublishingFrequency

A enumeration value that specifies how frequently finding updates are published.

Status SessionStatus

A enumeration value that specifies the status of the Macie Session.

findingPublishingFrequency SessionFindingPublishingFrequency

A enumeration value that specifies how frequently finding updates are published.

status SessionStatus

A enumeration value that specifies the status of the Macie Session.

findingPublishingFrequency SessionFindingPublishingFrequency

A enumeration value that specifies how frequently finding updates are published.

status SessionStatus

A enumeration value that specifies the status of the Macie Session.

finding_publishing_frequency SessionFindingPublishingFrequency

A enumeration value that specifies how frequently finding updates are published.

status SessionStatus

A enumeration value that specifies the status of the Macie Session.

findingPublishingFrequency "FIFTEEN_MINUTES" | "ONE_HOUR" | "SIX_HOURS"

A enumeration value that specifies how frequently finding updates are published.

status "ENABLED" | "PAUSED"

A enumeration value that specifies the status of the Macie Session.

Outputs

All input properties are implicitly available as output properties. Additionally, the Session resource produces the following output properties:

AwsAccountId string

AWS account ID of customer

Id string

The provider-assigned unique ID for this managed resource.

ServiceRole string

Service role used by Macie

AwsAccountId string

AWS account ID of customer

Id string

The provider-assigned unique ID for this managed resource.

ServiceRole string

Service role used by Macie

awsAccountId String

AWS account ID of customer

id String

The provider-assigned unique ID for this managed resource.

serviceRole String

Service role used by Macie

awsAccountId string

AWS account ID of customer

id string

The provider-assigned unique ID for this managed resource.

serviceRole string

Service role used by Macie

aws_account_id str

AWS account ID of customer

id str

The provider-assigned unique ID for this managed resource.

service_role str

Service role used by Macie

awsAccountId String

AWS account ID of customer

id String

The provider-assigned unique ID for this managed resource.

serviceRole String

Service role used by Macie

Supporting Types

SessionFindingPublishingFrequency

FifteenMinutes
FIFTEEN_MINUTES
OneHour
ONE_HOUR
SixHours
SIX_HOURS
SessionFindingPublishingFrequencyFifteenMinutes
FIFTEEN_MINUTES
SessionFindingPublishingFrequencyOneHour
ONE_HOUR
SessionFindingPublishingFrequencySixHours
SIX_HOURS
FifteenMinutes
FIFTEEN_MINUTES
OneHour
ONE_HOUR
SixHours
SIX_HOURS
FifteenMinutes
FIFTEEN_MINUTES
OneHour
ONE_HOUR
SixHours
SIX_HOURS
FIFTEEN_MINUTES
FIFTEEN_MINUTES
ONE_HOUR
ONE_HOUR
SIX_HOURS
SIX_HOURS
"FIFTEEN_MINUTES"
FIFTEEN_MINUTES
"ONE_HOUR"
ONE_HOUR
"SIX_HOURS"
SIX_HOURS

SessionStatus

Enabled
ENABLED
Paused
PAUSED
SessionStatusEnabled
ENABLED
SessionStatusPaused
PAUSED
Enabled
ENABLED
Paused
PAUSED
Enabled
ENABLED
Paused
PAUSED
ENABLED
ENABLED
PAUSED
PAUSED
"ENABLED"
ENABLED
"PAUSED"
PAUSED

Package Details

Repository
AWS Native pulumi/pulumi-aws-native
License
Apache-2.0