Ejemplo n.º 1
0
 def __init__(self, cfn_model):
     """
     Initialize
     :param cfn_model: 
     """
     ModelElement.__init__(self, cfn_model)
     self.policy_document = None
     self.resource_type = 'AWS::S3::BucketPolicy'
Ejemplo n.º 2
0
    def __init__(self, cfn_model):
        """
        Initialize
        :param cfn_model: 
        """
        ModelElement.__init__(self, cfn_model)

        self.groups = []
        self.roles = []
        self.users = []
        self.resource_type = 'AWS::IAM::Policy'
Ejemplo n.º 3
0
 def __init__(self, cfn_model):
     """
     Initialize
     :param cfn_model: 
     """
     ModelElement.__init__(self, cfn_model)
     self.policies = []
     self.policy_objects = []
     self.group_names = []
     self.groups = []
     self.resource_type = 'AWS::IAM::User'
Ejemplo n.º 4
0
    def __init__(self, cfn_model):
        """
        Initialize
        :param cfn_model:
        """

        ModelElement.__init__(self, cfn_model)

        self._topics = []
        self.policy_document = None
        self._resource_type = 'AWS::SNS::TopicPolicy'
Ejemplo n.º 5
0
    def __init__(self, cfn_model):
        """
        Initialize
        :param cfn_model: 
        """

        ModelElement.__init__(self, cfn_model)

        self.queues = []
        self.policy_document = None
        self.resource_type = 'AWS::SQS::QueuePolicy'
Ejemplo n.º 6
0
    def __init__(self, cfn_model):
        """
        Initialize
        :param cfn_model: 
        """
        # attr_accessor :security_groups
        ModelElement.__init__(self, cfn_model)

        self.securityGroupIds = []
        self.networkInterfaces = []
        self.security_groups = []
        self.resource_type = 'AWS::EC2::Instance'
Ejemplo n.º 7
0
    def __init__(self, cfn_model):
        """
        Initialize
        :param cfn_model: 
        """
        ModelElement.__init__(self, cfn_model)

        self.managedPolicyArns = []
        self.policies = []
        self.policy_objects = []

        self.resource_type = 'AWS::IAM::Group'
Ejemplo n.º 8
0
    def __init__(self, cfn_model):
        """
        Initialize
        :param cfn_model: 
        """
        ModelElement.__init__(self, cfn_model)

        self.policies = []
        self.managedPolicyArns = []
        self.policy_objects = []
        self.assume_role_policy_document = None
        self.resource_type = 'AWS::IAM::Role'
    def __init__(self, cfn_model):
        """
        Initialize
        :param cfn_model: 
        """
        ModelElement.__init__(self, cfn_model)

        self.groupSet = []
        self.ipv6Addresses = []
        self.privateIpAddresses = []
        self.tags = []
        self.security_groups = []
        self.resource_type = 'AWS::EC2::NetworkInterface'
    def __init__(self, cfn_model):
        """
        Initialize
        :param cfn_model: 
        """
        ModelElement.__init__(self, cfn_model)

        self.securityGroups = []
        self.security_groups = []
        self.loadBalancerAttributes = []
        self.subnets = []
        self.tags = []
        self.resource_type = 'AWS::ElasticLoadBalancingV2::LoadBalancer'
    def __init__(self, cfn_model, debug=False):
        """
        Initialize
        :param cfn_model: 
        :param debug: 
        """
        self.debug = debug

        if self.debug:
            print('EC2SecurityGroupIngress __init__')
        ModelElement.__init__(self, cfn_model)

        self.resource_type = 'AWS::EC2::SecurityGroupIngress'
Ejemplo n.º 12
0
    def __init__(self, cfn_model):
        """
        Initialize
        :param cfn_model: 
        """

        ModelElement.__init__(self, cfn_model)
        #self.securityGroupIngress = []
        #self.securityGroupEgress = []
        self.ingresses = []
        self.egresses = []
        self.tags = []

        self.resource_type = 'AWS::EC2::SecurityGroup'