We recommend new projects start with resources from the AWS provider.
aws-native.macie.Session
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
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
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Session(name: string, args?: SessionArgs, opts?: CustomResourceOptions);
@overload
def Session(resource_name: str,
args: Optional[SessionArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def Session(resource_name: str,
opts: Optional[ResourceOptions] = None,
finding_publishing_frequency: Optional[SessionFindingPublishingFrequency] = None,
status: Optional[SessionStatus] = 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.
Parameters
- 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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Session resource accepts the following input properties:
- Finding
Publishing Pulumi.Frequency Aws Native. Macie. Session Finding Publishing Frequency - A enumeration value that specifies how frequently finding updates are published.
- Status
Pulumi.
Aws Native. Macie. Session Status - A enumeration value that specifies the status of the Macie Session.
- Finding
Publishing SessionFrequency Finding Publishing Frequency - A enumeration value that specifies how frequently finding updates are published.
- Status
Session
Status - A enumeration value that specifies the status of the Macie Session.
- finding
Publishing SessionFrequency Finding Publishing Frequency - A enumeration value that specifies how frequently finding updates are published.
- status
Session
Status - A enumeration value that specifies the status of the Macie Session.
- finding
Publishing SessionFrequency Finding Publishing Frequency - A enumeration value that specifies how frequently finding updates are published.
- status
Session
Status - A enumeration value that specifies the status of the Macie Session.
- finding_
publishing_ Sessionfrequency Finding Publishing Frequency - A enumeration value that specifies how frequently finding updates are published.
- status
Session
Status - A enumeration value that specifies the status of the Macie Session.
- finding
Publishing "FIFTEEN_MINUTES" | "ONE_HOUR" | "SIX_HOURS"Frequency - 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:
- Aws
Account stringId - AWS account ID of customer
- Id string
- The provider-assigned unique ID for this managed resource.
- Service
Role string - Service role used by Macie
- Aws
Account stringId - AWS account ID of customer
- Id string
- The provider-assigned unique ID for this managed resource.
- Service
Role string - Service role used by Macie
- aws
Account StringId - AWS account ID of customer
- id String
- The provider-assigned unique ID for this managed resource.
- service
Role String - Service role used by Macie
- aws
Account stringId - AWS account ID of customer
- id string
- The provider-assigned unique ID for this managed resource.
- service
Role string - Service role used by Macie
- aws_
account_ strid - AWS account ID of customer
- id str
- The provider-assigned unique ID for this managed resource.
- service_
role str - Service role used by Macie
- aws
Account StringId - AWS account ID of customer
- id String
- The provider-assigned unique ID for this managed resource.
- service
Role String - Service role used by Macie
Supporting Types
SessionFindingPublishingFrequency, SessionFindingPublishingFrequencyArgs
- Fifteen
Minutes - FIFTEEN_MINUTES
- One
Hour - ONE_HOUR
- Six
Hours - SIX_HOURS
- Session
Finding Publishing Frequency Fifteen Minutes - FIFTEEN_MINUTES
- Session
Finding Publishing Frequency One Hour - ONE_HOUR
- Session
Finding Publishing Frequency Six Hours - 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
- 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, SessionStatusArgs
- Enabled
- ENABLED
- Paused
- PAUSED
- Session
Status Enabled - ENABLED
- Session
Status Paused - 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
We recommend new projects start with resources from the AWS provider.