AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Container for the parameters to the CreateCapacityProvider operation. Creates a capacity provider that manages compute resources for Lambda functions

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.Lambda.AmazonLambdaRequest
      Amazon.Lambda.Model.CreateCapacityProviderRequest

Namespace: Amazon.Lambda.Model
Assembly: AWSSDK.Lambda.dll
Version: 3.x.y.z

Syntax

C#
public class CreateCapacityProviderRequest : AmazonLambdaRequest
         IAmazonWebServiceRequest

The CreateCapacityProviderRequest type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property CapacityProviderName System.String

Gets and sets the property CapacityProviderName.

The name of the capacity provider.

Public Property CapacityProviderScalingConfig Amazon.Lambda.Model.CapacityProviderScalingConfig

Gets and sets the property CapacityProviderScalingConfig.

The scaling configuration that defines how the capacity provider scales compute instances, including maximum vCPU count and scaling policies.

Public Property InstanceRequirements Amazon.Lambda.Model.InstanceRequirements

Gets and sets the property InstanceRequirements.

The instance requirements that specify the compute instance characteristics, including architectures and allowed or excluded instance types.

Public Property KmsKeyArn System.String

Gets and sets the property KmsKeyArn.

The ARN of the KMS key used to encrypt data associated with the capacity provider.

Public Property PermissionsConfig Amazon.Lambda.Model.CapacityProviderPermissionsConfig

Gets and sets the property PermissionsConfig.

The permissions configuration that specifies the IAM role ARN used by the capacity provider to manage compute resources.

Public Property Tags System.Collections.Generic.Dictionary<System.String, System.String>

Gets and sets the property Tags.

A list of tags to associate with the capacity provider.

Public Property VpcConfig Amazon.Lambda.Model.CapacityProviderVpcConfig

Gets and sets the property VpcConfig.

The VPC configuration for the capacity provider, including subnet IDs and security group IDs where compute instances will be launched.

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5 and newer, 3.5