Skip to content
v2.277.0

IamInstanceProfileSpecificationProperty Struct ​

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_workspacesinstances as workspacesinstances } from 'aws-cdk-lib';
const iamInstanceProfileSpecificationProperty: workspacesinstances.CfnWorkspaceInstance.IamInstanceProfileSpecificationProperty = {
  arn: 'arn',
  name: 'name',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_workspacesinstances as workspacesinstances

iam_instance_profile_specification_property = workspacesinstances.CfnWorkspaceInstance.IamInstanceProfileSpecificationProperty(
    arn="arn",
    name="name"
)
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.workspacesinstances.*;

IamInstanceProfileSpecificationProperty iamInstanceProfileSpecificationProperty = IamInstanceProfileSpecificationProperty.builder()
        .arn("arn")
        .name("name")
        .build();
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.WorkspacesInstances;

var iamInstanceProfileSpecificationProperty = new IamInstanceProfileSpecificationProperty {
    Arn = "arn",
    Name = "name"
};
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"

iamInstanceProfileSpecificationProperty := &IamInstanceProfileSpecificationProperty{
	Arn: jsii.String("arn"),
	Name: jsii.String("name"),
}

Properties ​

arnoptionalstringarnoptionalstrarnoptionalStringArnoptionalstringArnoptional*string #
nameoptionalstringnameoptionalstrnameoptionalStringNameoptionalstringNameoptional*string #