Class CfnRealtimeLogConfig
A real-time log configuration.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.CloudFront
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnRealtimeLogConfig : CfnResource, IInspectable
Syntax (vb)
Public Class CfnRealtimeLogConfig
Inherits CfnResource
Implements IInspectable
Remarks
CloudformationResource: AWS::CloudFront::RealtimeLogConfig
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.CloudFront;
var cfnRealtimeLogConfig = new CfnRealtimeLogConfig(this, "MyCfnRealtimeLogConfig", new CfnRealtimeLogConfigProps {
EndPoints = new [] { new EndPointProperty {
KinesisStreamConfig = new KinesisStreamConfigProperty {
RoleArn = "roleArn",
StreamArn = "streamArn"
},
StreamType = "streamType"
} },
Fields = new [] { "fields" },
Name = "name",
SamplingRate = 123
});
Synopsis
Constructors
Cfn |
Used by jsii to construct an instance of this class from a Javascript-owned object reference |
Cfn |
Used by jsii to construct an instance of this class from DeputyProps |
Cfn |
Properties
Attr |
The Amazon Resource Name (ARN) of the real-time log configuration. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
Cfn |
|
End |
Contains information about the Amazon Kinesis data stream where you are sending real-time log data for this real-time log configuration. |
Fields | A list of fields that are included in each real-time log record. |
Name | The unique name of this real-time log configuration. |
Sampling |
The sampling rate for this real-time log configuration. |
Methods
Inspect(Tree |
Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnRealtimeLogConfig(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnRealtimeLogConfig(ByRefValue reference)
Parameters
- reference Amazon.
JSII. Runtime. Deputy. By Ref Value The Javascript-owned object reference
CfnRealtimeLogConfig(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnRealtimeLogConfig(DeputyBase.DeputyProps props)
Parameters
- props Amazon.
JSII. Runtime. Deputy. Deputy Base. Deputy Props The deputy props
CfnRealtimeLogConfig(Construct, String, ICfnRealtimeLogConfigProps)
public CfnRealtimeLogConfig(Construct scope, string id, ICfnRealtimeLogConfigProps props)
Parameters
- scope Constructs.
Construct Scope in which this resource is defined.
- id System.
String Construct identifier for this resource (unique in its scope).
- props ICfn
Realtime Log Config Props Resource properties.
Properties
AttrArn
The Amazon Resource Name (ARN) of the real-time log configuration.
public virtual string AttrArn { get; }
Property Value
System.
Remarks
For example: arn:aws:cloudfront::111122223333:realtime-log-config/ExampleNameForRealtimeLogConfig
.
CloudformationAttribute: Arn
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.
Overrides
EndPoints
Contains information about the Amazon Kinesis data stream where you are sending real-time log data for this real-time log configuration.
public virtual object EndPoints { get; set; }
Property Value
System.
Fields
A list of fields that are included in each real-time log record.
public virtual string[] Fields { get; set; }
Property Value
System.
Name
The unique name of this real-time log configuration.
public virtual string Name { get; set; }
Property Value
System.
SamplingRate
The sampling rate for this real-time log configuration.
public virtual double SamplingRate { get; set; }
Property Value
System.
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector Tree
Inspector tree inspector to collect and process attributes.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.
Collections. <System.Generic. IDictionary String , System.Object >
Returns
System.