Interface ICfnStateMachineProps
Properties for defining a CfnStateMachine
.
Namespace: Amazon.CDK.AWS.SAM
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ICfnStateMachineProps
Syntax (vb)
Public Interface ICfnStateMachineProps
Remarks
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.SAM;
var definition;
var cfnStateMachineProps = new CfnStateMachineProps {
Definition = definition,
DefinitionSubstitutions = new Dictionary<string, string> {
{ "definitionSubstitutionsKey", "definitionSubstitutions" }
},
DefinitionUri = "definitionUri",
Events = new Dictionary<string, object> {
{ "eventsKey", new EventSourceProperty {
Properties = new ApiEventProperty {
Method = "method",
Path = "path",
// the properties below are optional
RestApiId = "restApiId"
},
Type = "type"
} }
},
Logging = new LoggingConfigurationProperty {
Destinations = new [] { new LogDestinationProperty {
CloudWatchLogsLogGroup = new CloudWatchLogsLogGroupProperty {
LogGroupArn = "logGroupArn"
}
} },
IncludeExecutionData = false,
Level = "level"
},
Name = "name",
PermissionsBoundaries = "permissionsBoundaries",
Policies = "policies",
Role = "role",
Tags = new Dictionary<string, string> {
{ "tagsKey", "tags" }
},
Tracing = new TracingConfigurationProperty {
Enabled = false
},
Type = "type"
};
Synopsis
Properties
Definition | |
DefinitionSubstitutions | |
DefinitionUri | |
Events | |
Logging | |
Name | |
PermissionsBoundaries | |
Policies | |
Role | |
Tags | |
Tracing | |
Type |
Properties
Definition
virtual object Definition { get; }
Property Value
System.Object
Remarks
DefinitionSubstitutions
virtual object DefinitionSubstitutions { get; }
Property Value
System.Object
Remarks
DefinitionUri
virtual object DefinitionUri { get; }
Property Value
System.Object
Remarks
Events
virtual object Events { get; }
Property Value
System.Object
Remarks
Logging
virtual object Logging { get; }
Property Value
System.Object
Remarks
Name
virtual string Name { get; }
Property Value
System.String
Remarks
PermissionsBoundaries
virtual string PermissionsBoundaries { get; }
Property Value
System.String
Remarks
Policies
virtual object Policies { get; }
Property Value
System.Object
Remarks
Role
virtual string Role { get; }
Property Value
System.String
Remarks
Tags
virtual IDictionary<string, string> Tags { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.String>
Remarks
Tracing
virtual object Tracing { get; }
Property Value
System.Object
Remarks
Type
virtual string Type { get; }
Property Value
System.String