Show / Hide Table of Contents

Class CfnSessionLogger

The session logger resource.

Inheritance
object
CfnElement
CfnRefElement
CfnResource
CfnSessionLogger
Implements
IInspectable
ISessionLoggerRef
IConstruct
IDependable
IEnvironmentAware
ITaggableV2
Inherited Members
CfnResource.IsCfnResource(object)
CfnResource.AddDeletionOverride(string)
CfnResource.AddDependency(CfnResource)
CfnResource.AddDependsOn(CfnResource)
CfnResource.AddMetadata(string, object)
CfnResource.AddOverride(string, object)
CfnResource.AddPropertyDeletionOverride(string)
CfnResource.AddPropertyOverride(string, object)
CfnResource.ApplyRemovalPolicy(RemovalPolicy?, IRemovalPolicyOptions)
CfnResource.GetAtt(string, ResolutionTypeHint?)
CfnResource.GetMetadata(string)
CfnResource.ObtainDependencies()
CfnResource.ObtainResourceDependencies()
CfnResource.RemoveDependency(CfnResource)
CfnResource.ReplaceDependency(CfnResource, CfnResource)
CfnResource.ShouldSynthesize()
CfnResource.ToString()
CfnResource.ValidateProperties(object)
CfnResource.CfnOptions
CfnResource.CfnResourceType
CfnResource.Env
CfnResource.UpdatedProperites
CfnResource.UpdatedProperties
CfnRefElement.Ref
CfnElement.IsCfnElement(object)
CfnElement.OverrideLogicalId(string)
CfnElement.CreationStack
CfnElement.LogicalId
CfnElement.Stack
Namespace: Amazon.CDK.AWS.WorkSpacesWeb
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnSessionLogger : CfnResource, IInspectable, ISessionLoggerRef, IConstruct, IDependable, IEnvironmentAware, ITaggableV2
Syntax (vb)
Public Class CfnSessionLogger Inherits CfnResource Implements IInspectable, ISessionLoggerRef, IConstruct, IDependable, IEnvironmentAware, ITaggableV2
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-sessionlogger.html

CloudformationResource: AWS::WorkSpacesWeb::SessionLogger

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.WorkSpacesWeb;

             var all;

             var cfnSessionLogger = new CfnSessionLogger(this, "MyCfnSessionLogger", new CfnSessionLoggerProps {
                 EventFilter = new EventFilterProperty {
                     All = all,
                     Include = new [] { "include" }
                 },
                 LogConfiguration = new LogConfigurationProperty {
                     S3 = new S3LogConfigurationProperty {
                         Bucket = "bucket",
                         FolderStructure = "folderStructure",
                         LogFileFormat = "logFileFormat",

                         // the properties below are optional
                         BucketOwner = "bucketOwner",
                         KeyPrefix = "keyPrefix"
                     }
                 },

                 // the properties below are optional
                 AdditionalEncryptionContext = new Dictionary<string, string> {
                     { "additionalEncryptionContextKey", "additionalEncryptionContext" }
                 },
                 CustomerManagedKey = "customerManagedKey",
                 DisplayName = "displayName",
                 Tags = new [] { new CfnTag {
                     Key = "key",
                     Value = "value"
                 } }
             });

Synopsis

Constructors

CfnSessionLogger(Construct, string, ICfnSessionLoggerProps)

Create a new AWS::WorkSpacesWeb::SessionLogger.

Properties

AdditionalEncryptionContext

The additional encryption context of the session logger.

AttrAssociatedPortalArns

The associated portal ARN.

AttrCreationDate

The date the session logger resource was created.

AttrSessionLoggerArn

The ARN of the session logger resource.

CFN_RESOURCE_TYPE_NAME

The CloudFormation resource type name for this resource class.

CdkTagManager

Tag Manager which manages the tags for this resource.

CfnProperties

The session logger resource.

CustomerManagedKey

The custom managed key of the session logger.

DisplayName

The human-readable display name.

EventFilter

The filter that specifies which events to monitor.

LogConfiguration

The configuration that specifies where logs are fowarded.

SessionLoggerRef

A reference to a SessionLogger resource.

Tags

The tags of the session logger.

Methods

ArnForSessionLogger(ISessionLoggerRef)

The session logger resource.

Inspect(TreeInspector)

Examines the CloudFormation resource and discloses attributes.

IsCfnSessionLogger(object)

Checks whether the given object is a CfnSessionLogger.

RenderProperties(IDictionary<string, object>)

The session logger resource.

Constructors

CfnSessionLogger(Construct, string, ICfnSessionLoggerProps)

Create a new AWS::WorkSpacesWeb::SessionLogger.

public CfnSessionLogger(Construct scope, string id, ICfnSessionLoggerProps props)
Parameters
scope Construct

Scope in which this resource is defined.

id string

Construct identifier for this resource (unique in its scope).

props ICfnSessionLoggerProps

Resource properties.

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-sessionlogger.html

CloudformationResource: AWS::WorkSpacesWeb::SessionLogger

ExampleMetadata: fixture=_generated

Properties

AdditionalEncryptionContext

The additional encryption context of the session logger.

public virtual object? AdditionalEncryptionContext { get; set; }
Property Value

object

Remarks

Type union: either Dictionary<string, string> or IResolvable

AttrAssociatedPortalArns

The associated portal ARN.

public virtual string[] AttrAssociatedPortalArns { get; }
Property Value

string[]

Remarks

CloudformationAttribute: AssociatedPortalArns

AttrCreationDate

The date the session logger resource was created.

public virtual string AttrCreationDate { get; }
Property Value

string

Remarks

CloudformationAttribute: CreationDate

AttrSessionLoggerArn

The ARN of the session logger resource.

public virtual string AttrSessionLoggerArn { get; }
Property Value

string

Remarks

CloudformationAttribute: SessionLoggerArn

CFN_RESOURCE_TYPE_NAME

The CloudFormation resource type name for this resource class.

public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-sessionlogger.html

CloudformationResource: AWS::WorkSpacesWeb::SessionLogger

ExampleMetadata: fixture=_generated

CdkTagManager

Tag Manager which manages the tags for this resource.

public virtual TagManager CdkTagManager { get; }
Property Value

TagManager

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-sessionlogger.html

CloudformationResource: AWS::WorkSpacesWeb::SessionLogger

ExampleMetadata: fixture=_generated

CfnProperties

The session logger resource.

protected override IDictionary<string, object> CfnProperties { get; }
Property Value

IDictionary<string, object>

Overrides
CfnResource.CfnProperties
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-sessionlogger.html

CloudformationResource: AWS::WorkSpacesWeb::SessionLogger

ExampleMetadata: fixture=_generated

CustomerManagedKey

The custom managed key of the session logger.

public virtual string? CustomerManagedKey { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-sessionlogger.html

CloudformationResource: AWS::WorkSpacesWeb::SessionLogger

ExampleMetadata: fixture=_generated

DisplayName

The human-readable display name.

public virtual string? DisplayName { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-sessionlogger.html

CloudformationResource: AWS::WorkSpacesWeb::SessionLogger

ExampleMetadata: fixture=_generated

EventFilter

The filter that specifies which events to monitor.

public virtual object EventFilter { get; set; }
Property Value

object

Remarks

Type union: either IResolvable or CfnSessionLogger.IEventFilterProperty

LogConfiguration

The configuration that specifies where logs are fowarded.

public virtual object LogConfiguration { get; set; }
Property Value

object

Remarks

Type union: either IResolvable or CfnSessionLogger.ILogConfigurationProperty

SessionLoggerRef

A reference to a SessionLogger resource.

public virtual ISessionLoggerReference SessionLoggerRef { get; }
Property Value

ISessionLoggerReference

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-sessionlogger.html

CloudformationResource: AWS::WorkSpacesWeb::SessionLogger

ExampleMetadata: fixture=_generated

Tags

The tags of the session logger.

public virtual ICfnTag[]? Tags { get; set; }
Property Value

ICfnTag[]

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-sessionlogger.html

CloudformationResource: AWS::WorkSpacesWeb::SessionLogger

ExampleMetadata: fixture=_generated

Methods

ArnForSessionLogger(ISessionLoggerRef)

The session logger resource.

public static string ArnForSessionLogger(ISessionLoggerRef resource)
Parameters
resource ISessionLoggerRef
Returns

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-sessionlogger.html

CloudformationResource: AWS::WorkSpacesWeb::SessionLogger

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.WorkSpacesWeb;

             var all;

             var cfnSessionLogger = new CfnSessionLogger(this, "MyCfnSessionLogger", new CfnSessionLoggerProps {
                 EventFilter = new EventFilterProperty {
                     All = all,
                     Include = new [] { "include" }
                 },
                 LogConfiguration = new LogConfigurationProperty {
                     S3 = new S3LogConfigurationProperty {
                         Bucket = "bucket",
                         FolderStructure = "folderStructure",
                         LogFileFormat = "logFileFormat",

                         // the properties below are optional
                         BucketOwner = "bucketOwner",
                         KeyPrefix = "keyPrefix"
                     }
                 },

                 // the properties below are optional
                 AdditionalEncryptionContext = new Dictionary<string, string> {
                     { "additionalEncryptionContextKey", "additionalEncryptionContext" }
                 },
                 CustomerManagedKey = "customerManagedKey",
                 DisplayName = "displayName",
                 Tags = new [] { new CfnTag {
                     Key = "key",
                     Value = "value"
                 } }
             });

Inspect(TreeInspector)

Examines the CloudFormation resource and discloses attributes.

public virtual void Inspect(TreeInspector inspector)
Parameters
inspector TreeInspector

tree inspector to collect and process attributes.

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-sessionlogger.html

CloudformationResource: AWS::WorkSpacesWeb::SessionLogger

ExampleMetadata: fixture=_generated

IsCfnSessionLogger(object)

Checks whether the given object is a CfnSessionLogger.

public static bool IsCfnSessionLogger(object x)
Parameters
x object
Returns

bool

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-sessionlogger.html

CloudformationResource: AWS::WorkSpacesWeb::SessionLogger

ExampleMetadata: fixture=_generated

RenderProperties(IDictionary<string, object>)

The session logger resource.

protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
props IDictionary<string, object>
Returns

IDictionary<string, object>

Overrides
CfnResource.RenderProperties(IDictionary<string, object>)
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-sessionlogger.html

CloudformationResource: AWS::WorkSpacesWeb::SessionLogger

ExampleMetadata: fixture=_generated

Implements

IInspectable
ISessionLoggerRef
Constructs.IConstruct
Constructs.IDependable
IEnvironmentAware
ITaggableV2
Back to top Generated by DocFX