Skip to content
v2.276.0

Experimental

@aws-cdk/aws-gamelift-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.

RuleSetContentProps Struct ​

Properties for a new matchmaking ruleSet content.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as gamelift_alpha from '@aws-cdk/aws-gamelift-alpha';

declare const ruleSetBody: gamelift_alpha.IRuleSetBody;
const ruleSetContentProps: gamelift_alpha.RuleSetContentProps = {
  content: ruleSetBody,
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_gamelift_alpha as gamelift_alpha

# rule_set_body: gamelift_alpha.IRuleSetBody

rule_set_content_props = gamelift_alpha.RuleSetContentProps(
    content=rule_set_body
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.gamelift.alpha.*;

IRuleSetBody ruleSetBody;

RuleSetContentProps ruleSetContentProps = RuleSetContentProps.builder()
        .content(ruleSetBody)
        .build();
csharp
// Install: dotnet add package Amazon.CDK.AWS.GameLift.Alpha
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.GameLift.Alpha;

IRuleSetBody ruleSetBody;

var ruleSetContentProps = new RuleSetContentProps {
    Content = ruleSetBody
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdkgameliftalpha/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import gamelift_alpha "github.com/aws/aws-cdk-go/awscdkgameliftalpha"

var ruleSetBody IRuleSetBody

ruleSetContentProps := &RuleSetContentProps{
	Content: ruleSetBody,
}

Properties ​

contentoptionalIRuleSetBodycontentoptionalIRuleSetBodycontentoptionalIRuleSetBodyContentoptionalIRuleSetBodyContentoptionalIRuleSetBody#
RuleSet body content.

Default: use a default empty RuleSet body