We recommend new projects start with resources from the AWS provider.
aws-native.appstream.AppBlock
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Resource Type definition for AWS::AppStream::AppBlock
Create AppBlock Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AppBlock(name: string, args: AppBlockArgs, opts?: CustomResourceOptions);
@overload
def AppBlock(resource_name: str,
args: AppBlockArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AppBlock(resource_name: str,
opts: Optional[ResourceOptions] = None,
source_s3_location: Optional[AppBlockS3LocationArgs] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
name: Optional[str] = None,
packaging_type: Optional[str] = None,
post_setup_script_details: Optional[AppBlockScriptDetailsArgs] = None,
setup_script_details: Optional[AppBlockScriptDetailsArgs] = None,
tags: Optional[Sequence[Union[AppBlockTag0PropertiesArgs, AppBlockTag1PropertiesArgs]]] = None)
func NewAppBlock(ctx *Context, name string, args AppBlockArgs, opts ...ResourceOption) (*AppBlock, error)
public AppBlock(string name, AppBlockArgs args, CustomResourceOptions? opts = null)
public AppBlock(String name, AppBlockArgs args)
public AppBlock(String name, AppBlockArgs args, CustomResourceOptions options)
type: aws-native:appstream:AppBlock
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args AppBlockArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args AppBlockArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args AppBlockArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AppBlockArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AppBlockArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
AppBlock Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The AppBlock resource accepts the following input properties:
- Source
S3Location Pulumi.Aws Native. App Stream. Inputs. App Block S3Location - The source S3 location of the app block.
- Description string
- The description of the app block.
- Display
Name string - The display name of the app block.
- Name string
The name of the app block.
Pattern :
^[a-zA-Z0-9][a-zA-Z0-9_.-]{0,100}$
- Packaging
Type string - The packaging type of the app block.
- Post
Setup Pulumi.Script Details Aws Native. App Stream. Inputs. App Block Script Details - The post setup script details of the app block.
- Setup
Script Pulumi.Details Aws Native. App Stream. Inputs. App Block Script Details - The setup script details of the app block.
- List<Union<Pulumi.
Aws Native. App Stream. Inputs. App Block Tag0Properties, Pulumi. Aws Native. App Stream. Inputs. App Block Tag1Properties Args>> - The tags of the app block.
- Source
S3Location AppBlock S3Location Args - The source S3 location of the app block.
- Description string
- The description of the app block.
- Display
Name string - The display name of the app block.
- Name string
The name of the app block.
Pattern :
^[a-zA-Z0-9][a-zA-Z0-9_.-]{0,100}$
- Packaging
Type string - The packaging type of the app block.
- Post
Setup AppScript Details Block Script Details Args - The post setup script details of the app block.
- Setup
Script AppDetails Block Script Details Args - The setup script details of the app block.
- []interface{}
- The tags of the app block.
- source
S3Location AppBlock S3Location - The source S3 location of the app block.
- description String
- The description of the app block.
- display
Name String - The display name of the app block.
- name String
The name of the app block.
Pattern :
^[a-zA-Z0-9][a-zA-Z0-9_.-]{0,100}$
- packaging
Type String - The packaging type of the app block.
- post
Setup AppScript Details Block Script Details - The post setup script details of the app block.
- setup
Script AppDetails Block Script Details - The setup script details of the app block.
- List<Either<App
Block Tag0Properties,App Block Tag1Properties Args>> - The tags of the app block.
- source
S3Location AppBlock S3Location - The source S3 location of the app block.
- description string
- The description of the app block.
- display
Name string - The display name of the app block.
- name string
The name of the app block.
Pattern :
^[a-zA-Z0-9][a-zA-Z0-9_.-]{0,100}$
- packaging
Type string - The packaging type of the app block.
- post
Setup AppScript Details Block Script Details - The post setup script details of the app block.
- setup
Script AppDetails Block Script Details - The setup script details of the app block.
- (App
Block Tag0Properties | App Block Tag1Properties Args)[] - The tags of the app block.
- source_
s3_ Applocation Block S3Location Args - The source S3 location of the app block.
- description str
- The description of the app block.
- display_
name str - The display name of the app block.
- name str
The name of the app block.
Pattern :
^[a-zA-Z0-9][a-zA-Z0-9_.-]{0,100}$
- packaging_
type str - The packaging type of the app block.
- post_
setup_ Appscript_ details Block Script Details Args - The post setup script details of the app block.
- setup_
script_ Appdetails Block Script Details Args - The setup script details of the app block.
- Sequence[Union[App
Block Tag0Properties Args, App Block Tag1Properties Args]] - The tags of the app block.
- source
S3Location Property Map - The source S3 location of the app block.
- description String
- The description of the app block.
- display
Name String - The display name of the app block.
- name String
The name of the app block.
Pattern :
^[a-zA-Z0-9][a-zA-Z0-9_.-]{0,100}$
- packaging
Type String - The packaging type of the app block.
- post
Setup Property MapScript Details - The post setup script details of the app block.
- setup
Script Property MapDetails - The setup script details of the app block.
- List<Property Map | Property Map>
- The tags of the app block.
Outputs
All input properties are implicitly available as output properties. Additionally, the AppBlock resource produces the following output properties:
- Arn string
- The ARN of the app block.
- Created
Time string - The time when the app block was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Arn string
- The ARN of the app block.
- Created
Time string - The time when the app block was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- arn String
- The ARN of the app block.
- created
Time String - The time when the app block was created.
- id String
- The provider-assigned unique ID for this managed resource.
- arn string
- The ARN of the app block.
- created
Time string - The time when the app block was created.
- id string
- The provider-assigned unique ID for this managed resource.
- arn str
- The ARN of the app block.
- created_
time str - The time when the app block was created.
- id str
- The provider-assigned unique ID for this managed resource.
- arn String
- The ARN of the app block.
- created
Time String - The time when the app block was created.
- id String
- The provider-assigned unique ID for this managed resource.
Supporting Types
AppBlockS3Location, AppBlockS3LocationArgs
AppBlockScriptDetails, AppBlockScriptDetailsArgs
- Executable
Path string - The run path for the script.
- Script
S3Location Pulumi.Aws Native. App Stream. Inputs. App Block S3Location - The S3 object location of the script.
- Timeout
In intSeconds - The run timeout, in seconds, for the script.
- Executable
Parameters string - The parameters used in the run path for the script.
- Executable
Path string - The run path for the script.
- Script
S3Location AppBlock S3Location - The S3 object location of the script.
- Timeout
In intSeconds - The run timeout, in seconds, for the script.
- Executable
Parameters string - The parameters used in the run path for the script.
- executable
Path String - The run path for the script.
- script
S3Location AppBlock S3Location - The S3 object location of the script.
- timeout
In IntegerSeconds - The run timeout, in seconds, for the script.
- executable
Parameters String - The parameters used in the run path for the script.
- executable
Path string - The run path for the script.
- script
S3Location AppBlock S3Location - The S3 object location of the script.
- timeout
In numberSeconds - The run timeout, in seconds, for the script.
- executable
Parameters string - The parameters used in the run path for the script.
- executable_
path str - The run path for the script.
- script_
s3_ Applocation Block S3Location - The S3 object location of the script.
- timeout_
in_ intseconds - The run timeout, in seconds, for the script.
- executable_
parameters str - The parameters used in the run path for the script.
- executable
Path String - The run path for the script.
- script
S3Location Property Map - The S3 object location of the script.
- timeout
In NumberSeconds - The run timeout, in seconds, for the script.
- executable
Parameters String - The parameters used in the run path for the script.
AppBlockTag0Properties, AppBlockTag0PropertiesArgs
AppBlockTag1Properties, AppBlockTag1PropertiesArgs
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.