Skip to content
v2.278.0

ApplicationLocationProperty Struct ​

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_sam as sam } from 'aws-cdk-lib';
const applicationLocationProperty: sam.CfnApplication.ApplicationLocationProperty = {
  applicationId: 'applicationId',
  semanticVersion: 'semanticVersion',
};
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_sam as sam

application_location_property = sam.CfnApplication.ApplicationLocationProperty(
    application_id="applicationId",
    semantic_version="semanticVersion"
)
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.sam.*;

ApplicationLocationProperty applicationLocationProperty = ApplicationLocationProperty.builder()
        .applicationId("applicationId")
        .semanticVersion("semanticVersion")
        .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.SAM;

var applicationLocationProperty = new ApplicationLocationProperty {
    ApplicationId = "applicationId",
    SemanticVersion = "semanticVersion"
};
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"

applicationLocationProperty := &ApplicationLocationProperty{
	ApplicationId: jsii.String("applicationId"),
	SemanticVersion: jsii.String("semanticVersion"),
}

Properties ​

applicationIdstringapplication_idstrapplicationIdStringApplicationIdstringApplicationId*string required #
semanticVersionstringsemantic_versionstrsemanticVersionStringSemanticVersionstringSemanticVersion*string required #