Interface ScriptAttributes
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ScriptAttributes.Jsii$Proxy
@Generated(value="jsii-pacmak/1.120.0 (build 192dc88)",
date="2025-12-05T22:26:49.838Z")
@Stability(Experimental)
public interface ScriptAttributes
extends software.amazon.jsii.JsiiSerializable
(experimental) Represents a Script content defined outside of this stack.
Example:
// 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.*;
import software.amazon.awscdk.services.iam.*;
Role role;
ScriptAttributes scriptAttributes = ScriptAttributes.builder()
.scriptArn("scriptArn")
// the properties below are optional
.role(role)
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forScriptAttributesstatic final classAn implementation forScriptAttributes -
Method Summary
Modifier and TypeMethodDescriptionstatic ScriptAttributes.Builderbuilder()default IRolegetRole()(experimental) The IAM role assumed by GameLift to access server script in S3.(experimental) The ARN of the realtime server script.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getScriptArn
(experimental) The ARN of the realtime server script. -
getRole
(experimental) The IAM role assumed by GameLift to access server script in S3.Default: - undefined
-
builder
- Returns:
- a
ScriptAttributes.BuilderofScriptAttributes
-