AWS Native

Pulumi Official
Package maintained by Pulumi
v0.19.0 published on Wednesday, Jun 8, 2022 by Pulumi

getSession

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.

Using getSession

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getSession(args: GetSessionArgs, opts?: InvokeOptions): Promise<GetSessionResult>
function getSessionOutput(args: GetSessionOutputArgs, opts?: InvokeOptions): Output<GetSessionResult>
def get_session(aws_account_id: Optional[str] = None,
                opts: Optional[InvokeOptions] = None) -> GetSessionResult
def get_session_output(aws_account_id: Optional[pulumi.Input[str]] = None,
                opts: Optional[InvokeOptions] = None) -> Output[GetSessionResult]
func LookupSession(ctx *Context, args *LookupSessionArgs, opts ...InvokeOption) (*LookupSessionResult, error)
func LookupSessionOutput(ctx *Context, args *LookupSessionOutputArgs, opts ...InvokeOption) LookupSessionResultOutput

> Note: This function is named LookupSession in the Go SDK.

public static class GetSession 
{
    public static Task<GetSessionResult> InvokeAsync(GetSessionArgs args, InvokeOptions? opts = null)
    public static Output<GetSessionResult> Invoke(GetSessionInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetSessionResult> getSession(GetSessionArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: aws-native:macie:getSession
  Arguments:
    # Arguments dictionary

The following arguments are supported:

AwsAccountId string

AWS account ID of customer

AwsAccountId string

AWS account ID of customer

awsAccountId String

AWS account ID of customer

awsAccountId string

AWS account ID of customer

aws_account_id str

AWS account ID of customer

awsAccountId String

AWS account ID of customer

getSession Result

The following output properties are available:

AwsAccountId string

AWS account ID of customer

FindingPublishingFrequency Pulumi.AwsNative.Macie.SessionFindingPublishingFrequency

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

ServiceRole string

Service role used by Macie

Status Pulumi.AwsNative.Macie.SessionStatus

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

AwsAccountId string

AWS account ID of customer

FindingPublishingFrequency SessionFindingPublishingFrequency

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

ServiceRole string

Service role used by Macie

Status SessionStatus

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

awsAccountId String

AWS account ID of customer

findingPublishingFrequency SessionFindingPublishingFrequency

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

serviceRole String

Service role used by Macie

status SessionStatus

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

awsAccountId string

AWS account ID of customer

findingPublishingFrequency SessionFindingPublishingFrequency

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

serviceRole string

Service role used by Macie

status SessionStatus

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

aws_account_id str

AWS account ID of customer

finding_publishing_frequency SessionFindingPublishingFrequency

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

service_role str

Service role used by Macie

status SessionStatus

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

awsAccountId String

AWS account ID of customer

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

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

serviceRole String

Service role used by Macie

status "ENABLED" | "PAUSED"

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

Supporting Types

SessionFindingPublishingFrequency

SessionStatus

Package Details

Repository
https://github.com/pulumi/pulumi-aws-native
License
Apache-2.0