# CfnAppBlockBuilderProps

Properties for defining a `CfnAppBlockBuilder`.

Used as props by: [CfnAppBlockBuilder](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_appstream.CfnAppBlockBuilder.html)

- Source: Generated at build time
- Type last changed: v2.273.0 · 8 Oct 2026

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_appstream as appstream } from 'aws-cdk-lib';
const cfnAppBlockBuilderProps: appstream.CfnAppBlockBuilderProps = {
  instanceType: 'instanceType',
  name: 'name',
  platform: 'platform',
  vpcConfig: {
    securityGroupIds: ['securityGroupIds'],
    subnetIds: ['subnetIds'],
  },

  // the properties below are optional
  accessEndpoints: [{
    endpointType: 'endpointType',
    vpceId: 'vpceId',
  }],
  appBlockArns: ['appBlockArns'],
  description: 'description',
  disableImdsv1: false,
  displayName: 'displayName',
  enableDefaultInternetAccess: false,
  iamRoleArn: 'iamRoleArn',
  tags: [{
    key: 'key',
    value: 'value',
  }],
};
```

Python:

```python
from aws_cdk import CfnTag
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_appstream as appstream

cfn_app_block_builder_props = appstream.CfnAppBlockBuilderProps(
    instance_type="instanceType",
    name="name",
    platform="platform",
    vpc_config=appstream.CfnAppBlockBuilder.VpcConfigProperty(
        security_group_ids=["securityGroupIds"],
        subnet_ids=["subnetIds"]
    ),

    # the properties below are optional
    access_endpoints=[appstream.CfnAppBlockBuilder.AccessEndpointProperty(
        endpoint_type="endpointType",
        vpce_id="vpceId"
    )],
    app_block_arns=["appBlockArns"],
    description="description",
    disable_imdsv1=False,
    display_name="displayName",
    enable_default_internet_access=False,
    iam_role_arn="iamRoleArn",
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)
```

Java:

```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.appstream.*;

CfnAppBlockBuilderProps cfnAppBlockBuilderProps = CfnAppBlockBuilderProps.builder()
        .instanceType("instanceType")
        .name("name")
        .platform("platform")
        .vpcConfig(VpcConfigProperty.builder()
                .securityGroupIds(List.of("securityGroupIds"))
                .subnetIds(List.of("subnetIds"))
                .build())

        // the properties below are optional
        .accessEndpoints(List.of(AccessEndpointProperty.builder()
                .endpointType("endpointType")
                .vpceId("vpceId")
                .build()))
        .appBlockArns(List.of("appBlockArns"))
        .description("description")
        .disableImdsv1(false)
        .displayName("displayName")
        .enableDefaultInternetAccess(false)
        .iamRoleArn("iamRoleArn")
        .tags(List.of(CfnTag.builder()
                .key("key")
                .value("value")
                .build()))
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.AppStream;

var cfnAppBlockBuilderProps = new CfnAppBlockBuilderProps {
    InstanceType = "instanceType",
    Name = "name",
    Platform = "platform",
    VpcConfig = new VpcConfigProperty {
        SecurityGroupIds = new [] { "securityGroupIds" },
        SubnetIds = new [] { "subnetIds" }
    },

    // the properties below are optional
    AccessEndpoints = new [] { new AccessEndpointProperty {
        EndpointType = "endpointType",
        VpceId = "vpceId"
    } },
    AppBlockArns = new [] { "appBlockArns" },
    Description = "description",
    DisableImdsv1 = false,
    DisplayName = "displayName",
    EnableDefaultInternetAccess = false,
    IamRoleArn = "iamRoleArn",
    Tags = new [] { new CfnTag {
        Key = "key",
        Value = "value"
    } }
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

cfnAppBlockBuilderProps := &CfnAppBlockBuilderProps{
	InstanceType: jsii.String("instanceType"),
	Name: jsii.String("name"),
	Platform: jsii.String("platform"),
	VpcConfig: &VpcConfigProperty{
		SecurityGroupIds: []*string{
			jsii.String("securityGroupIds"),
		},
		SubnetIds: []*string{
			jsii.String("subnetIds"),
		},
	},

	// the properties below are optional
	AccessEndpoints: []interface{}{
		&AccessEndpointProperty{
			EndpointType: jsii.String("endpointType"),
			VpceId: jsii.String("vpceId"),
		},
	},
	AppBlockArns: []*string{
		jsii.String("appBlockArns"),
	},
	Description: jsii.String("description"),
	DisableImdsv1: jsii.Boolean(false),
	DisplayName: jsii.String("displayName"),
	EnableDefaultInternetAccess: jsii.Boolean(false),
	IamRoleArn: jsii.String("iamRoleArn"),
	Tags: []CfnTag{
		&CfnTag{
			Key: jsii.String("key"),
			Value: jsii.String("value"),
		},
	},
}
```

## Properties

- `accessEndpoints`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnAppBlockBuilder.AccessEndpointProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_appstream.CfnAppBlockBuilder.AccessEndpointProperty.html)[] — The access endpoints of the app block builder.

- `appBlockArns`: string[] — The ARN of the app block.

  *Maximum* : `1`

- `description`: string — The description of the app block builder.

- `disableImdsv1`: boolean | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html)

- `displayName`: string — The display name of the app block builder.

- `enableDefaultInternetAccess`: boolean | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) — Indicates whether default internet access is enabled for the app block builder.

- `iamRoleArn`: string — The ARN of the IAM role that is applied to the app block builder.

- `instanceType`: string (required) — The instance type of the app block builder.

- `name`: string (required) — The name of the app block builder.

- `platform`: string (required) — The platform of the app block builder.

  *Allowed values* : `WINDOWS_SERVER_2019`

- `tags`: [CfnTag](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.CfnTag.html)[] — The tags of the app block builder.

- `vpcConfig`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnAppBlockBuilder.VpcConfigProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_appstream.CfnAppBlockBuilder.VpcConfigProperty.html) (required) — The VPC configuration for the app block builder.
