Interface ScriptAttributes
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ScriptAttributes.Jsii$Proxy
@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)",
date="2024-10-25T14:21:25.781Z")
@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
Modifier and TypeInterfaceDescriptionstatic final class
A builder forScriptAttributes
static final class
An implementation forScriptAttributes
-
Method Summary
Modifier and TypeMethodDescriptionstatic ScriptAttributes.Builder
builder()
default IRole
getRole()
(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.Builder
ofScriptAttributes
-