CreditSpecificationRequestProperty Struct
| Source | |
|---|---|
| Type last changed |
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 creditSpecificationRequestProperty: workspacesinstances.CfnWorkspaceInstance.CreditSpecificationRequestProperty = {
cpuCredits: 'cpuCredits',
};
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
credit_specification_request_property = workspacesinstances.CfnWorkspaceInstance.CreditSpecificationRequestProperty(
cpu_credits="cpuCredits"
)
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.*;
CreditSpecificationRequestProperty creditSpecificationRequestProperty = CreditSpecificationRequestProperty.builder()
.cpuCredits("cpuCredits")
.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 creditSpecificationRequestProperty = new CreditSpecificationRequestProperty {
CpuCredits = "cpuCredits"
};
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"
creditSpecificationRequestProperty := &CreditSpecificationRequestProperty{
CpuCredits: jsii.String("cpuCredits"),
}
Properties
cpuCreditsoptionalstringcpu_creditsoptionalstrcpuCreditsoptionalStringCpuCreditsoptionalstringCpuCreditsoptional*string #