generated from ditrit/leto-modelizer-plugin-template
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #122 from ditrit/feature/adding_metadata
Feature: adding metadata
- Loading branch information
Showing
10 changed files
with
128 additions
and
195 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
export const vpcIdLink = { | ||
name: 'vpc_id', | ||
displayName: 'VPC ID', | ||
containerRef: 'aws_vpc', | ||
linkAttribute: 'id', | ||
linkRef: 'aws_vpc', | ||
linkType: 'Default', | ||
linkModel: 'defaultLink', | ||
type: 'Link', | ||
}; | ||
|
||
export const vpcIdReference = { | ||
name: 'vpc_id', | ||
displayName: 'VPC ID', | ||
containerRef: 'aws_vpc', | ||
type: 'Reference', | ||
}; | ||
|
||
export const tags = { | ||
name: 'tags', | ||
displayName: 'Tags', | ||
description: 'A map of tags to assign to the resource.', | ||
type: 'Object', | ||
url: 'https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html', | ||
}; | ||
|
||
export const securityGroups = { | ||
name: 'security_groups', | ||
displayName: 'Security groups', | ||
description: 'List of security group names to associate with.', | ||
linkAttribute: 'name', | ||
linkRef: 'aws_security_group', | ||
linkType: 'Default', | ||
linkModel: 'defaultLink', | ||
type: 'Link', | ||
}; | ||
|
||
export const subnetId = { | ||
name: 'subnet_id', | ||
displayName: 'Subnet ID', | ||
linkAttribute: 'id', | ||
linkRef: 'aws_subnet', | ||
linkType: 'Default', | ||
linkModel: 'defaultLink', | ||
type: 'Link', | ||
}; | ||
|
||
export const port = { | ||
name: 'port', | ||
displayName: 'Port', | ||
type: 'Number', | ||
rules: { | ||
max: '65535', | ||
min: '1', | ||
}, | ||
}; | ||
|
||
export const ipv6Address = { | ||
name: 'ipv6_address', | ||
displayName: 'IPv6 address', | ||
description: 'The IPv6 address.', | ||
type: 'String', | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.