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:
- SourceS3Location 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.
- DisplayName 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}$
- PackagingType string
- The packaging type of the app block.
- PostSetup Pulumi.Script Details Aws Native. App Stream. Inputs. App Block Script Details 
- The post setup script details of the app block.
- SetupScript 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.
- SourceS3Location AppBlock S3Location Args 
- The source S3 location of the app block.
- Description string
- The description of the app block.
- DisplayName 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}$
- PackagingType string
- The packaging type of the app block.
- PostSetup AppScript Details Block Script Details Args 
- The post setup script details of the app block.
- SetupScript AppDetails Block Script Details Args 
- The setup script details of the app block.
- []interface{}
- The tags of the app block.
- sourceS3Location AppBlock S3Location 
- The source S3 location of the app block.
- description String
- The description of the app block.
- displayName 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}$
- packagingType String
- The packaging type of the app block.
- postSetup AppScript Details Block Script Details 
- The post setup script details of the app block.
- setupScript AppDetails Block Script Details 
- The setup script details of the app block.
- 
List<Either<AppBlock Tag0Properties,App Block Tag1Properties Args>> 
- The tags of the app block.
- sourceS3Location AppBlock S3Location 
- The source S3 location of the app block.
- description string
- The description of the app block.
- displayName 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}$
- packagingType string
- The packaging type of the app block.
- postSetup AppScript Details Block Script Details 
- The post setup script details of the app block.
- setupScript AppDetails Block Script Details 
- The setup script details of the app block.
- 
(AppBlock 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[AppBlock Tag0Properties Args, App Block Tag1Properties Args]] 
- The tags of the app block.
- sourceS3Location Property Map
- The source S3 location of the app block.
- description String
- The description of the app block.
- displayName 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}$
- packagingType String
- The packaging type of the app block.
- postSetup Property MapScript Details 
- The post setup script details of the app block.
- setupScript 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.
- CreatedTime 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.
- CreatedTime 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.
- createdTime 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.
- createdTime 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.
- createdTime 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        
- ExecutablePath string
- The run path for the script.
- ScriptS3Location Pulumi.Aws Native. App Stream. Inputs. App Block S3Location 
- The S3 object location of the script.
- TimeoutIn intSeconds 
- The run timeout, in seconds, for the script.
- ExecutableParameters string
- The parameters used in the run path for the script.
- ExecutablePath string
- The run path for the script.
- ScriptS3Location AppBlock S3Location 
- The S3 object location of the script.
- TimeoutIn intSeconds 
- The run timeout, in seconds, for the script.
- ExecutableParameters string
- The parameters used in the run path for the script.
- executablePath String
- The run path for the script.
- scriptS3Location AppBlock S3Location 
- The S3 object location of the script.
- timeoutIn IntegerSeconds 
- The run timeout, in seconds, for the script.
- executableParameters String
- The parameters used in the run path for the script.
- executablePath string
- The run path for the script.
- scriptS3Location AppBlock S3Location 
- The S3 object location of the script.
- timeoutIn numberSeconds 
- The run timeout, in seconds, for the script.
- executableParameters 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.
- executablePath String
- The run path for the script.
- scriptS3Location Property Map
- The S3 object location of the script.
- timeoutIn NumberSeconds 
- The run timeout, in seconds, for the script.
- executableParameters 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.